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

CI/CD - Update packages to use npm/pnpm's version feature #101

Open
elycruz opened this issue May 27, 2024 · 0 comments
Open

CI/CD - Update packages to use npm/pnpm's version feature #101

elycruz opened this issue May 27, 2024 · 0 comments

Comments

@elycruz
Copy link
Member

elycruz commented May 27, 2024

The version feature allows us to manage the (semantic) version changing of our packages; E.g.,

We should be able to add the required scripts to our package.json:

Example:

{
  "scripts": {
    "preversion": "npm test",
    "version": "npm run build && git add -A dist",
    "postversion": "git push && git push --tags && rm -rf build/temp"
  }
}

See npm version docs for more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

1 participant