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

Add some guidance on contributing and bump version #84

Merged
merged 7 commits into from
Apr 5, 2024

Conversation

somewhatabstract
Copy link
Member

Summary:

This PR adds a CODE_OF_CONDUCT.md and CONTRIBUTING.md file to the repository, which were copied from Wonder Stuff before tweaking CONTRIBUTING.md to cover Gerald's specifics.

This also bumps the package.json to version 4.0.0, ready for a new tag once this lands.

This PR also should test the updated autofix action, which hopefully means no more Node16 deprecation warnings.

Issue: FEI-5545

Test plan:

I did a yarn build locally to check the dist changes. Pushing this PR up should trigger our workflow runs to verify they are correct.

@somewhatabstract somewhatabstract self-assigned this Apr 5, 2024
@somewhatabstract somewhatabstract requested a review from a team April 5, 2024 17:35
@khan-actions-bot
Copy link
Contributor

khan-actions-bot commented Apr 5, 2024

Gerald

Required Reviewers
  • @Khan/github-actions for changes to CODE_OF_CONDUCT.md, CONTRIBUTING.md, package.json, src/execCmd.js, .github/workflows/pr-autofix.yml

Don't want to be involved in this pull request? Comment #removeme and we won't notify you of further changes.

@khan-actions-bot khan-actions-bot requested a review from a team April 5, 2024 17:36
Copy link
Member Author

Choose a reason for hiding this comment

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

note: Copied from Wonder Stuff

Copy link
Member Author

Choose a reason for hiding this comment

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

note: Copied from Wonder Stuff and updated for Gerald specifics.


### Publishing

Once changes are landed to `main` and the `dist` directory is up-to-date, you should bump the version in the `package.json` (either major or minor version), commit and land that change to `main` via a PR, and then create a tag in the format `vX.Y` where `X.Y` is the version number. Then push the tag to GitHub with `git push --tags`.
Copy link
Member Author

Choose a reason for hiding this comment

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

note: This was the main reason I added this. I wanted to document the process for future me (and others).

@@ -1,5 +1,5 @@
{
"version": "3.4.0",
"version": "4.0.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

note: Bump to v4 ready for tagging, to test out the updated autofix action. Major bump due to the Node 20 stuff.

@@ -42,6 +42,6 @@ jobs:
run: yarn build
if: steps.paths_src_.outputs.changed == 'true'

- uses: Khan/autofix-commit-action@master
- uses: Khan/autofix-commit-action@main
Copy link
Member Author

Choose a reason for hiding this comment

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

note: Caught this because I was still getting Node16 deprecation warnings after fixing that in the Khan/autofix-commit-action repo.

Includes src file change to ensure we test the build case
Copy link
Member

@jeresig jeresig left a comment

Choose a reason for hiding this comment

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

Great, thank you Jeff!

@somewhatabstract somewhatabstract merged commit 4893adc into main Apr 5, 2024
4 checks passed
@somewhatabstract somewhatabstract deleted the fei5545.2.versionbumpanddocs branch April 5, 2024 18:07
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.

3 participants