If the github action from step 4 completes successfully, the changes should be published to npm. This again is driven by the same github action. If the pull request in step 3 is merged into master, the packages will be automatically released to NPM. Review the changes and verify everything looks correct. The changeset github action will automatically bump any references to the changed packages and submit this new "release" pull request. This means the testing-pnpm-package-a and testing-pnpm-package-c will be bumped with a patch version number and a new pull request will be created with these new versions. changeset/*.md directory the following message will automatically appear in the pull request: If the pull request contains any new markdown files in the. Git push -set-upstream origin new-feature 2. Git commit -m 'chore: changeset ' # chore: changeset # 1 file changed, 5 insertions(+) # create mode 100644. # On branch new-feature # Untracked files: #. true # □ Changeset added! - you can now commit it # □ # □ If you want to modify or expand on the changeset summary, you can find it here # □ info /repo-name/.changeset/green-beds-yell.md. ![]() Added new thingy to package-a # □ = Releasing the following packages = # □ # □ testing-pnpm-package-a # □ Is this your desired changeset? (Y/n).To do this all you need to do is create a. No items were selected # □ The following packages will be patch bumped: # □ # □ Please enter a summary for this change (this will be in the changelogs). You can create private libraries in your monorepo that you can share between your other packages and applications.No items were selected # □ Which packages should have a minor bump?.testing-pnpm-package-a # Choose the type of bump # □ Which packages should have a major bump? Monorepos have a lot of advantages, but to make them work you need to have the right tools.# Run changeset CLI # > changeset # Choose the package(s) # □ Which packages would you like to include? Git commit -m 'feature: new thingy ' # feature: new thingy # 1 file changed, 1 insertion(+), 1 deletion(-) # On branch new-feature # Changes not staged for commit: # modified: src/packages/package-a/src/index.js
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |