Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
fb63b49
docs(schematics): add v22 builder ng-add + ng-update design spec
just-jeb Jun 1, 2026
03e9a83
docs(schematics): cover v22-held breaking PRs (#2191/#2212) and MIGRA…
just-jeb Jun 1, 2026
9788b5b
docs(schematics): add Plan 0 — common/schematics core + packaging
just-jeb Jun 2, 2026
62790e1
docs(schematics): add Plans 01-03 — jest, custom-esbuild, custom-webpack
just-jeb Jun 2, 2026
454cebf
docs(schematics): add v17→v22 migration coverage caveat + 2c/2d execu…
just-jeb Jun 2, 2026
6e38d83
docs(schematics): amend design for Karma roadmap (not removed in v22)
just-jeb Jun 2, 2026
a614178
docs(schematics): apply §12 amendments to builder plans
just-jeb Jun 2, 2026
f8a538a
docs(schematics): add Plan 04 — schematics integration/e2e tests
just-jeb Jun 2, 2026
35fb2b7
build(common): add schematics subpath packaging (tsconfig + exports +…
just-jeb Jun 3, 2026
e947d67
feat(common): add schematics version helpers
just-jeb Jun 3, 2026
bd75c3a
feat(common): add SchematicTestHarness for schematics unit tests
just-jeb Jun 3, 2026
e6c7897
feat(common): add workspace detection helpers for schematics
just-jeb Jun 3, 2026
7ddd9fb
feat(common): add composable schematics rule factories
just-jeb Jun 3, 2026
6ca961f
feat(common): export schematics core via ./schematics subpath
just-jeb Jun 3, 2026
f0abe33
build(jest): add schematics packaging (tsconfig + fields + copy)
just-jeb Jun 3, 2026
f0704e3
feat(jest): add ng-add collection + schema (project flag only)
just-jeb Jun 3, 2026
edbd18d
feat(jest): ng-add adds jest stack and rewrites test target
just-jeb Jun 3, 2026
cdb29b5
feat(jest): declare ng-update migrations manifest (v21, v22)
just-jeb Jun 3, 2026
675fa97
feat(jest): v21 migration bumps deps and applies Node16 tsconfig
just-jeb Jun 3, 2026
6ff5c15
feat(jest): v22 advisory migration (isolatedModules, coverage path)
just-jeb Jun 3, 2026
3138e17
build(custom-esbuild): add schematics packaging (tsconfig + ng-add fi…
just-jeb Jun 3, 2026
7328ca9
feat(custom-esbuild): add ng-add collection + schema manifests
just-jeb Jun 3, 2026
5760f54
feat(custom-esbuild): ng-add rewrites build/serve preserving options
just-jeb Jun 3, 2026
6da27e9
feat(custom-esbuild): ng-add guards webpack builds, adds --from-webpa…
just-jeb Jun 3, 2026
37a16bf
feat(custom-esbuild): ng-add auto-rewrites Vitest test target with bu…
just-jeb Jun 3, 2026
42506a0
feat(custom-esbuild): ng-add leaves Karma/Jest tests, logs unit-test …
just-jeb Jun 3, 2026
78d04b5
feat(custom-esbuild): ng-add --unit-test force-creates Vitest target
just-jeb Jun 3, 2026
8b408a7
test(custom-esbuild): assert ng-add idempotency
just-jeb Jun 3, 2026
d6fe87b
build(custom-esbuild): verify schematics build
just-jeb Jun 3, 2026
805355d
build(custom-webpack): add schematics packaging (tsconfig + ng-add fi…
just-jeb Jun 3, 2026
4e07ee6
feat(custom-webpack): add ng-add schema (project flag, no prompts)
just-jeb Jun 3, 2026
d2b7839
feat(custom-webpack): add starter webpack.config scaffold template
just-jeb Jun 3, 2026
75129b4
feat(custom-webpack): add ng-add (build/serve rewrite + config scaffold)
just-jeb Jun 3, 2026
a0d6c51
test(custom-webpack): verify schematics build + no-migrations invariant
just-jeb Jun 3, 2026
778603e
fix(jest): add WorkspaceDefinition casts and JsonValue fixes for sche…
just-jeb Jun 3, 2026
c02cc6a
test(schematics): add local-only ng add e2e harness helpers
just-jeb Jun 3, 2026
384b476
build(schematics): use Node16 module resolution for schematics build
just-jeb Jun 3, 2026
b51ed65
test(schematics): generate ng-add e2e fixtures inline, default to no-…
just-jeb Jun 3, 2026
b33864d
fix(schematics): handle Angular 22 unified :unit-test runner model
just-jeb Jun 3, 2026
d933573
test(jest): add Karma->Jest ng add e2e (inline fixture, real ng test)
just-jeb Jun 3, 2026
da95039
test(jest): add Vitest->Jest ng add e2e (ng build + ng test green)
just-jeb Jun 3, 2026
ed82f02
test(custom-esbuild): add build/serve rewrite ng add e2e
just-jeb Jun 3, 2026
68e8809
test(custom-esbuild): add webpack-build guard ng add e2e
just-jeb Jun 3, 2026
5af058f
test(custom-webpack): add build/serve rewrite + scaffold ng add e2e
just-jeb Jun 3, 2026
f91f863
test(jest): add @21 migration post-build smoke; fix testPathPatterns …
just-jeb Jun 3, 2026
1d7f1cd
docs(runbook): record RC-validated multi-major ng update window
just-jeb Jun 3, 2026
d2501fa
test(schematics): neutralise package manager during ng add via PATH shim
just-jeb Jun 3, 2026
61f4649
fix(custom-webpack): declare @angular-devkit/schematics and @schemati…
just-jeb Jun 3, 2026
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
15 changes: 15 additions & 0 deletions __mocks__/ora.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Stub for the ESM-only `ora` package. Tests never exercise the
// package-manager task executor that uses ora, so a no-op spinner is enough.
'use strict';

function ora() {
return {
start: () => ({ stop: () => {}, succeed: () => {}, fail: () => {} }),
stop: () => {},
succeed: () => {},
fail: () => {},
};
}

module.exports = ora;
module.exports.default = ora;
17 changes: 17 additions & 0 deletions docs/runbooks/angular-major-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,23 @@ For the major, **enumerate every `breaking-change`-labeled PR** targeting it (`g

This is an **invariant**: a breaking change must not land in a major without both. CHANGELOGs are auto-generated from commits (orthogonal).

#### RC-validated: multi-major `ng update` window (v22)

Validated against `@angular/cli@22.0.0-rc.2` on `2026-06-03` via the `ng-update-jest-v21-smoke` e2e
(`scripts/e2e-jest-migration.js`):

- `ng update @angular-builders/jest --migrate-only --from=20.0.0 --to=22.0.0` runs **all** migrations
whose version falls in the `(from, to]` window in one step — observed `migration-v21` (the heavy
config transform) **and** the `migration-v22` advisory both firing. So a user on an old major who
jumps straight to 22 gets the spanned migrations; they are not skipped.
- Supported flow for older users: upgrade the Angular framework to 22, then run
`ng update @angular-builders/jest` once (or `--migrate-only --from=<old>` to run only the builder's
migrations). The post-migration config builds and tests green under v22 — proven by the e2e, which
runs `ng build` + `ng test` on the migrated app.
- E2E coverage of the migration output itself lives in `packages/jest/tests/integration.js`
(`ng-update-jest-v21-smoke`); the ng-add paths are the `ng-add-*` entries there and in the
`custom-esbuild`/`custom-webpack` integration files.

### 6. Stack feature work

Develop/rebase v`<N>`-bound features (e.g. schematics) and held breaking PRs on `release/v<N>`.
Expand Down
Loading
Loading