-
-
Notifications
You must be signed in to change notification settings - Fork 315
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] Add CONTRIBUTING.md #2408
Conversation
CONTRIBUTING.md
Outdated
To help you with assets, we provide the following commands that can be run at the root of the repository or in each package directory: | ||
- `yarn run build`: build (compile) assets, | ||
- `yarn run test`: run the tests (through Vitest), | ||
- `yarn run lint`: lint assets (through Biome.js), | ||
- `yarn run format`: format assets (through Biome.js), | ||
- `yarn run check-lint`: check assets linting (through Biome.js), | ||
- `yarn run check-format`: check assets formatting (through Biome.js) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To help you with assets, we provide the following commands that can be run at the root of the repository or in each package directory: | |
- `yarn run build`: build (compile) assets, | |
- `yarn run test`: run the tests (through Vitest), | |
- `yarn run lint`: lint assets (through Biome.js), | |
- `yarn run format`: format assets (through Biome.js), | |
- `yarn run check-lint`: check assets linting (through Biome.js), | |
- `yarn run check-format`: check assets formatting (through Biome.js) | |
To help you with assets, we provide the following commands to lint, build, and test assets : | |
- `yarn run build`: build (compile) assets, | |
- `yarn run lint`: lint assets | |
- `yarn run format`: format assets | |
- `yarn run test`: run the tests |
You can run the following commands either at the root of the repository or within each package directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd say "Let's focus on minimum knowledge / info "
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but commands behave differently depending of where you run them
$ git checkout my-feature-branch && \ | ||
git rebase upstream/2.x && \ | ||
git push -u origin my-feature-branch | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note for late: what about addind gh cli usage ?
gh repo sync
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was one of my first attentions, but... 🤷🏻
TIL, I always use gco 2.x && gf upstream && grb upstream/2.x && git push
😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sfux
😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing start. Thank you very much @Kocal.
7429711
to
bf34286
Compare
Contributing was never easy for newcomers, let's simplify that a lot :) cc @smnandre
Rendered: https://github.com/Kocal/symfony-ux/blob/doc-contributing/CONTRIBUTING.md