Skip to content

chore: simplify set-version and package scripts - #467

Merged
penge merged 1 commit into
masterfrom
chore/release-scripts
Oct 24, 2026
Merged

penge merged 1 commit into
masterfrom
chore/release-scripts

Conversation

@penge

@penge penge commented Oct 24, 2026

Copy link
Copy Markdown
Owner

Simplifies the set-version and package scripts.

Changes

  • Set the version in package.json and package-lock.json with npm version --no-git-tag-version in set-version (added in chore: add set-version script #445), instead of writing package.json and running npm install
  • Run npm ci at the start of npm run package (added in chore: add package script #466), so the release zip is built from the dependencies in the lockfile
  • Document the install step of npm run package in the README

- Set the version in `package.json` and `package-lock.json` with
  `npm version --no-git-tag-version` in `set-version`, instead of
  writing `package.json` and running `npm install`
- Run `npm ci` at the start of `npm run package`, so the release zip
  is built from the dependencies in the lockfile
- Document the install step of `npm run package` in the README

Signed-off-by: penge <ppenge@gmail.com>
@penge penge self-assigned this Oct 24, 2026
@penge
penge merged commit fafc1c3 into master Oct 24, 2026
1 check passed
@penge
penge deleted the chore/release-scripts branch October 24, 2026 23:02
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.

1 participant