Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"dev:prod": "pnpm --filter=dev-app dev:prod",
"dev:build": "pnpm --filter=dev-app dev:build",
"benchmarks": "node scripts/benchmarks/index.mts",
"diff-release-package": "node scripts/diff-release-package.mts"
"diff-release-package": "node scripts/diff-release-package.mts",
"zonejs:release": "pnpm --filter=zone.js release"
},
"// 1": "dependencies are used locally and by bazel",
"dependencies": {
Expand Down
14 changes: 14 additions & 0 deletions packages/zone.js/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,20 @@ Releasing `zone.js` is a two step process.
1. Create a PR which updates the changelog, and get it merged using normal merge process.
2. Once the PR is merged check out the merge SHA of the PR and release `zone.js` from that SHA and tag it.

### Automated Release

You can use the automated release script which handles both steps (run from the root of the repo):

```bash
pnpm zonejs:release
```

Follow the interactive prompts to either create a PR or cut a release.

---

### Manual Release (Legacy)

#### 1. Creating a PR for release

```
Expand Down
3 changes: 2 additions & 1 deletion packages/zone.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"jest:test": "jest --config ./test/jest/jest.config.js",
"jest:nodetest": "jest --config ./test/jest/jest.node.config.js",
"vitest:test": "vitest ./test/vitest/vitest.spec.js",
"promisefinallytest": "mocha ./test/promise/promise.finally.spec.mjs"
"promisefinallytest": "mocha ./test/promise/promise.finally.spec.mjs",
"release": "node tools/release.mts"
},
"repository": {
"type": "git",
Expand Down
Loading