Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(*): update CONTRIBUTING.md #7165

Merged
merged 3 commits into from Mar 25, 2024
Merged

Conversation

manudeli
Copy link
Contributor

@manudeli manudeli commented Mar 23, 2024

No description provided.

Copy link

vercel bot commented Mar 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
query ⬜️ Ignored (Inspect) Visit Preview Mar 24, 2024 1:39pm

Copy link

nx-cloud bot commented Mar 23, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit b1f8669. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link

codesandbox-ci bot commented Mar 23, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b1f8669:

Sandbox Source
@tanstack/query-example-angular-basic Configuration
@tanstack/query-example-react-basic-typescript Configuration
@tanstack/query-example-solid-basic-typescript Configuration
@tanstack/query-example-svelte-basic Configuration
@tanstack/query-example-vue-basic Configuration

Copy link
Contributor Author

@manudeli manudeli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left intentions

CONTRIBUTING.md Outdated
- **chore**: Changes to the build process or auxiliary tools and libraries such as documentation
generation
- **chore**: Changes to the build process or auxiliary tools and libraries such as documentation generation
- **types**: A code change related with TypeScript type
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When making below commit, @TkDodo used types commit type

39b2f81

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I just did that wrong:

https://www.conventionalcommits.org/en/v1.0.0/

types other than fix: and feat: are allowed, for example @commitlint/config-conventional (based on the Angular convention) recommends build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it now

@@ -63,7 +111,7 @@ We have very precise rules over how our git commit messages can be formatted. Th
Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
format that includes a **type**, a **scope** and a **subject**:

```
```text
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit. Markdownlint (I used this plugin) check this

https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md040.md


### Scope

The scope could be anything specifying place of the commit change. For example `useQuery`, `useMutation` etc...
The scope could be anything specifying place of the commit change. For example `query-core`, `react-query` etc...
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TanStack Query has become a framework-independent library, and this monorepo is developing adapters for TanStack Query for various frameworks.

So I thought it would be better for this scope to use the library name (react-query) rather than a name that could be duplicated, such as useQuery.

https://github.com/TanStack/query/commits/main/

image

Comment on lines +22 to +24
```bash
pnpm install
```
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When using bash, I thought it would be good to make it easy to copy bash commands.

@manudeli manudeli marked this pull request as ready for review March 23, 2024 13:51
@manudeli manudeli requested a review from TkDodo March 24, 2024 13:40
@TkDodo TkDodo merged commit b48d71e into TanStack:main Mar 25, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants