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

chore(repo): revamp package publish script #133

Merged
merged 6 commits into from Jan 3, 2020
Merged

Conversation

shellscape
Copy link
Collaborator

@shellscape shellscape commented Jan 2, 2020

Rollup Plugin Name: n/a

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

Fixes #24

This PR revamps the pnpm run publish -- {name} command. The new script will:

  • parse commits from last package release tag
  • determine new version
  • aggregate commits
  • write to a changelog
  • update package.json
  • publish the package
  • create a release commit and release tag
  • push commit and tag to repo

Flags are supported for forcing a particular version bump: --major, --minor, --patch.

This is going to require going through all existing changelogs to assert a title format, and adding a bare changelog where none exist. I'll submit a separate PR for those changes. This PR shouldn't be merged until changelogs are asserted.

@shellscape shellscape merged commit ed22851 into master Jan 3, 2020
LarsDenBakker pushed a commit to LarsDenBakker/plugins that referenced this pull request Sep 12, 2020
* chore: work on publishing

* chore: progress

* chore: almost there

* chore: testing breaking major

* chore(repo): revamp package publishing
@shellscape shellscape deleted the chore/publish branch June 7, 2021 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Monorepo: Seamless Package Publishing
2 participants