-
Notifications
You must be signed in to change notification settings - Fork 32
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
chore: release script to create a new version and publish to npm #92
Conversation
3356254
to
4327428
Compare
4327428
to
1b067f4
Compare
CONTRIBUTING.md
Outdated
## Publishing a new release | ||
|
||
Checkout the latest `master` branch of the repo. Run the `yarn release <version> <npm-tag>` command by providing the appropriate arguments to publish a new release of the package. A release commit should have been automatically created on your local branch. Push the release commit and the git tag to the remote repo. |
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.
should you do yarn install
prior yarn release
?
25f2328
to
656d9f4
Compare
CONTRIBUTING.md
Outdated
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge. Also make sure to reference the related issues in the pull request message if any. |
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.
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge. Also make sure to reference the related issues in the pull request message if any. | |
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge. Also make sure to reference the related issues in the pull request message, if any. |
package.json
Outdated
@@ -7,7 +7,8 @@ | |||
"test": "jest --config ./scripts/jest/root.config.js", | |||
"clean": "lerna run clean && lerna clean --yes && rm -rf node_modules", | |||
"lint": "eslint packages/ scripts/", | |||
"format": "prettier --write '{packages,scripts}/**/*.{js,ts,json,md}'" | |||
"format": "prettier --write '{packages,scripts}/**/*.{js,ts,json,md}'", | |||
"release": "./scripts/release_npm.sh" |
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.
"release": "./scripts/release_npm.sh" | |
"release": "yarn install && ./scripts/release_npm.sh" |
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 some nits, looks good.
656d9f4
to
6b219a0
Compare
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.
lgtm
No description provided.