* fix release script * fix svgcanvas edge cases * Update path-actions.js * add modern js * update deps * Update CHANGES.md
1.1 KiB
1.1 KiB
Creating a new svg-edit release
Prepare
npm test- Must pass before version bump (accessibility tests are currently failing; address or accept the known failure before proceeding).npm run build- Must pass before version bump; builds all workspaces and the main editor from the root.
Update the main project
- Run
npm run version-bump(after tests/builds are green) to bump the root and all workspace package versions together and refreshpackage-lock.json. - Update the
CHANGES.mdfile with a summary of all changes (adding the version of the new release).
Publish to npm
- From the repo root, run
npm run publish. The script will:- Confirm the version bump is already done.
- Confirm
CHANGES.mdhas been updated. - Run the full release checks (
npm run test-build→ tests, docs, and build); it exits on failure. - Ask before creating a release commit and tag (defaults to
v<version>); declining aborts the publish. - Publish all workspaces first, then the root package.
You will need to be a member of the npm group to do this step.