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

[pull] master from angular:master #79

Open
wants to merge 1,417 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1417 commits
Select commit Hold shift + click to select a range
063acc3
test: change `puppeteer` imports to use primary entry-point
alan-agius4 Feb 10, 2022
87120cd
build: update scorecard action dependencies to 3d2ad0b
renovate-bot Feb 10, 2022
88f23e0
build: update angular
renovate-bot Feb 9, 2022
fafbbea
fix(@angular-devkit/build-angular): update license-webpack-plugin to …
annervisser Feb 10, 2022
e4e1505
build: lock file maintenance
renovate-bot Feb 10, 2022
5792a2f
build: update dependency npm-pick-manifest to v7
renovate-bot Feb 11, 2022
6323e1b
build: update all non-major dependencies
renovate-bot Feb 11, 2022
0096ffe
build: update dependency npm-package-arg to v9
renovate-bot Feb 11, 2022
0301895
build: update angular
renovate-bot Feb 11, 2022
b69ca3a
refactor(@angular/cli): remove deprecated command aliases for `extrac…
alan-agius4 Feb 11, 2022
f6984d5
refactor(@angular/cli): remove node.js check in extract-i18n
alan-agius4 Feb 11, 2022
3b7eec7
build: update all non-major dependencies
renovate-bot Feb 13, 2022
fea9984
build: update dependency minimatch to v4
renovate-bot Feb 13, 2022
3709c23
build: update github/codeql-action commit hash to 2c6b76b
renovate-bot Feb 12, 2022
410ff10
build: update angular
renovate-bot Feb 13, 2022
e1d9b5b
build: lock file maintenance
renovate-bot Feb 14, 2022
b8c8cc4
build: add permissions to current github action workflows
clydin Feb 11, 2022
d1fffd6
build: update angular
renovate-bot Feb 15, 2022
65be45b
build: update all non-major dependencies
renovate-bot Feb 16, 2022
d79f2b7
build: update dependency minimatch to v5
renovate-bot Feb 16, 2022
1fca0f1
build: update dependency pacote to v13
renovate-bot Feb 16, 2022
1b51673
test: remove unneeded public API golden file for removed build optimi…
clydin Feb 16, 2022
51e1521
build: remove unused development dependency `seedrandom`
clydin Feb 16, 2022
3243148
build: remove unused/outdated Dockerfile
clydin Feb 16, 2022
f2df132
build: update scorecard action dependencies to ef024e7
renovate-bot Feb 16, 2022
40301a2
build: revert to `@babel/core` version `7.17.2`
alan-agius4 Feb 16, 2022
ee95366
build: rollback `@babel/generator` to `7.17.0`
alan-agius4 Feb 16, 2022
3c31c22
build: update all non-major dependencies
renovate-bot Feb 17, 2022
c4cd673
docs: release notes for the v13.2.4 release
josephperrott Feb 17, 2022
2acec7f
release: cut the v14.0.0-next.2 release
josephperrott Feb 17, 2022
ed790c1
test: update E2E production application size expectations
clydin Feb 18, 2022
41a649a
build: update bazel to 5.0.0
clydin Feb 16, 2022
e0e4cd6
build: update dependency sass to v1.49.8
renovate-bot Feb 18, 2022
175cd51
build: remove multiple unused development dependencies
clydin Feb 18, 2022
af0ef74
test: remove `common-tags` dependency from E2E tests
clydin Feb 18, 2022
59497a9
build: update snapshot e2e setup to reflect builds repository rename
devversion Feb 22, 2022
34bf5a7
build: lock file maintenance
renovate-bot Feb 21, 2022
748d3ab
build: update all non-major dependencies
renovate-bot Feb 22, 2022
de14293
fix(@angular-devkit/build-angular): don't rename blocks which have a …
alan-agius4 Feb 21, 2022
92cc05b
ci: use renovate Github Action tag version pinning
clydin Feb 16, 2022
68c01b5
build: update scorecard action dependencies
renovate-bot Feb 23, 2022
54b1ca2
docs: release notes for the v13.2.5 release
dgp1130 Feb 23, 2022
52be302
release: cut the v14.0.0-next.3 release
dgp1130 Feb 23, 2022
b20f34e
docs(@angular-devkit/core): typo in string.ts doc
ilmalte Feb 23, 2022
c4d3dfa
build: update github/codeql-action action to v1.1.3
renovate-bot Feb 24, 2022
ed67d9a
refactor(@angular-devkit/build-angular): replace most custom path res…
clydin Feb 24, 2022
e529fb8
refactor(@angular/cli): remove unused `INITIAL_COMMIT_MESSAGE` text file
alan-agius4 Feb 25, 2022
f0daa8c
refactor(@angular-devkit/build-angular): remove unneeded JsonObject t…
clydin Feb 25, 2022
38a9d9e
build: update angular
renovate-bot Feb 28, 2022
f8765cc
refactor: remove ng-dev deep imports
alan-agius4 Feb 28, 2022
4df12dc
build: update all non-major dependencies
renovate-bot Mar 1, 2022
21034b6
build: lock file maintenance
renovate-bot Mar 1, 2022
5330d52
refactor(@angular-devkit/schematics-cli): replace parser with yargs-p…
alan-agius4 Feb 28, 2022
b6de2d2
refactor(@angular-devkit/benchmark): replace parser with yargs-parser
alan-agius4 Feb 28, 2022
c7556b6
refactor(@angular-devkit/architect-cli): replace parser with yargs-pa…
alan-agius4 Mar 1, 2022
4fe0a51
build: update actions/checkout action to v3
renovate-bot Mar 2, 2022
5f04105
build: update actions/checkout action to v3
renovate-bot Mar 2, 2022
aea0d9b
ci: remove Node.js v12 E2E job
clydin Mar 2, 2022
3d0204d
release: cut the v14.0.0-next.4 release
clydin Mar 2, 2022
ac98f25
build: update `@types/yargs-parser` to `21.0.0`
alan-agius4 Mar 2, 2022
a3c0aa9
build: update all non-major dependencies
renovate-bot Mar 3, 2022
b85b674
build: update actions/upload-artifact action to v3
renovate-bot Mar 4, 2022
a11c947
build: update all non-major dependencies
renovate-bot Mar 4, 2022
e28c715
fix(@angular-devkit/build-angular): ignore css only chunks during naming
alan-agius4 Mar 4, 2022
d0407b3
docs(@angular-devkit/build-angular): update link to Angular Package F…
alan-agius4 Mar 4, 2022
433b6b4
docs: remove redundant default empty strings values
alan-agius4 Mar 4, 2022
ef75362
refactor(@angular-devkit/build-angular): move dev-server specs into a…
alan-agius4 Mar 4, 2022
4ebfe03
feat(@angular/cli): drop support for Node.js 12
alan-agius4 Mar 4, 2022
3f8968a
ci: update job to run Node.js 14.19
alan-agius4 Mar 4, 2022
df41f2b
build: update all non-major dependencies
renovate-bot Mar 7, 2022
90a5a4c
build: update `@types/node` to `^14.15.0`
alan-agius4 Mar 7, 2022
3ab4d79
build: update all non-major dependencies
renovate-bot Mar 8, 2022
21cff22
build: update github/codeql-action action to v1.1.4
renovate-bot Mar 8, 2022
bc1b36d
build: lock file maintenance
renovate-bot Mar 7, 2022
2e04931
refactor(@angular/cli): replace command line arguments parser
alan-agius4 Feb 28, 2022
29c2b3a
refactor(@angular/cli): introspect yargs to generate JSON Help
alan-agius4 Feb 28, 2022
78683db
build: update UA validation script
alan-agius4 Feb 28, 2022
10cce2c
refactor(@angular/cli): re-organize the Angular CLI package folder st…
alan-agius4 Mar 1, 2022
ead9aa1
test: add temporary circular dependencies
alan-agius4 Mar 2, 2022
98984bf
refactor(@angular/cli): move move architect common logic into a base …
alan-agius4 Mar 2, 2022
33ec5e7
refactor(@angular/cli): remove unnecessary castings and types
alan-agius4 Mar 3, 2022
92528b1
refactor(@angular/cli): several small refactoring and code quality im…
alan-agius4 Mar 9, 2022
8673e3d
build: update all non-major dependencies
renovate-bot Mar 9, 2022
a517160
build: fix order of JSON help generation
alan-agius4 Mar 9, 2022
a6d78a9
refactor(@angular/cli): always use posix separator in `longDescriptio…
alan-agius4 Mar 9, 2022
425984e
release: cut the v14.0.0-next.5 release
josephperrott Mar 9, 2022
df6ec4d
docs: release notes for the v13.2.6 release
josephperrott Mar 9, 2022
6d37ffc
refactor(@angular/cli): replace `longDescription` line endings with `\n`
alan-agius4 Mar 10, 2022
9edeb86
fix(@angular/cli): add long description to `ng update`
alan-agius4 Mar 10, 2022
96a0d92
fix(@angular/cli): remove JSON serialized description from help output
alan-agius4 Mar 10, 2022
7fa3e65
feat(@angular/cli): support TypeScript 4.6.2
alan-agius4 Mar 10, 2022
9ddb220
docs: replace `app` with `application`
alan-agius4 Mar 10, 2022
e873cd1
build: update all non-major dependencies
renovate-bot Mar 14, 2022
a49cdfb
fix(@angular/cli): don't prompt for analytics when running `ng analyt…
alan-agius4 Mar 9, 2022
b188585
docs(@angular/cli): improve several `ng update` option descriptions
alan-agius4 Mar 11, 2022
5b9fe13
build: lock file maintenance
renovate-bot Mar 14, 2022
ca40125
fix(@angular/cli): sort commands in help output
alan-agius4 Mar 14, 2022
054ae02
fix(@angular/cli): favor project in cwd when running architect commands
alan-agius4 Mar 9, 2022
9c8b3a1
build: update all non-major dependencies
renovate-bot Mar 15, 2022
455c6bc
build: update dependency cacache to v16
renovate-bot Mar 15, 2022
b8564a6
refactor(@angular-devkit/build-angular): remove deprecated `NG_BUILD_…
alan-agius4 Mar 15, 2022
afafa57
feat(@angular/cli): add `--global` option to `ng analytics` command
alan-agius4 Mar 9, 2022
bb55043
feat(@angular/cli): add `ng analytics info` command
alan-agius4 Mar 11, 2022
46a7be3
refactor(@angular/cli): clean up analytics methods
alan-agius4 Mar 15, 2022
7ab22ed
feat(@angular/cli): add disable/enable aliases for off/on `ng analyti…
alan-agius4 Mar 15, 2022
1542365
refactor(@angular/cli): add package manager in command context
alan-agius4 Mar 9, 2022
d560e23
refactor(@angular/cli): remove old `CommandModule` and `SchematicComm…
alan-agius4 Mar 15, 2022
c0fe062
build: handle default sub command in json help output
alan-agius4 Mar 16, 2022
cf04d00
build: update github/codeql-action action to v1.1.5
renovate-bot Mar 16, 2022
c927c03
fix(@schematics/angular): remove `@types/node` from new projects
clydin Feb 24, 2022
1a36fd9
build: update all non-major dependencies
renovate-bot Mar 16, 2022
a497d12
refactor(@angular/cli): remove `hasAnalyticsConfig` analytics logic
alan-agius4 Mar 16, 2022
e636a92
docs: release notes for the v13.3.0 release
dgp1130 Mar 16, 2022
5ac6fd3
release: cut the v14.0.0-next.6 release
dgp1130 Mar 16, 2022
8e66c91
fix(@angular/cli): `ng g` show descrption from `collection.json` if n…
alan-agius4 Mar 17, 2022
5a8bdeb
fix(@angular/cli): hide private schematics from `ng g` help output
alan-agius4 Mar 17, 2022
8a396de
fix(@angular/cli): print entire config when no positional args are pr…
alan-agius4 Mar 17, 2022
becd7b6
build: update all non-major dependencies
renovate-bot Mar 18, 2022
eef17b3
refactor(@angular/cli): group and move all env variables into a singl…
alan-agius4 Mar 18, 2022
e5bf35e
feat(@angular/cli): add `ng cache` command
alan-agius4 Mar 18, 2022
09a71ba
fix(@schematics/angular): Consolidated setup with a single `beforeEac…
PowerKiKi Mar 18, 2022
1376516
refactor: replace deprecated String.prototype.substr()
CommanderRoot Mar 20, 2022
4cbfb87
refactor(@schematics/angular): remove usage of deprecated `defaultPro…
alan-agius4 Mar 15, 2022
e49220f
feat(@schematics/angular): add migratiom to remove `defaultProject` i…
alan-agius4 Mar 18, 2022
036327e
feat(@angular/cli): deprecated `defaultProject` option
alan-agius4 Mar 21, 2022
e5a7bb1
build: update all non-major dependencies
renovate-bot Mar 21, 2022
4e472b9
build: lock file maintenance
renovate-bot Mar 21, 2022
c9c781c
feat(@angular-devkit/schematics): add parameter to `listSchematicName…
alan-agius4 Mar 18, 2022
366cabc
feat(@angular/cli): add support for multiple schematics collections
alan-agius4 Mar 22, 2022
0c34425
fix(@ngtools/webpack): update peer dependency to reflect TS 4.6 support
devversion Mar 22, 2022
933b3ca
refactor(@angular/cli): lazy import `inquirer`
alan-agius4 Mar 22, 2022
861ec0f
refactor(@angular-devkit/build-angular): lazy import `inquirer`
alan-agius4 Mar 22, 2022
e4f7b5e
refactor(@angular/cli): call package manager supports method async
alan-agius4 Mar 23, 2022
966d25b
fix(@angular-devkit/build-angular): remove unneeded JIT reflect metad…
clydin Mar 22, 2022
c315b47
build: update all non-major dependencies
renovate-bot Mar 22, 2022
f13db1d
build: update bazel rules_nodejs to v5.3.0
clydin Feb 18, 2022
07a3f1c
build: change bazel project_id option to bes_instance_name
clydin Feb 22, 2022
4336ae3
build: update dev-infra tooling to 216c252
clydin Mar 1, 2022
f65248b
build: update dependency jasmine-core to v4
renovate-bot Mar 24, 2022
455aeea
fix(@angular-devkit/core): add Angular CLI major version as analytics…
alan-agius4 Nov 10, 2021
56b44ab
refactor(@angular-devkit/build-angular): remove types for `@discovery…
alan-agius4 Mar 23, 2022
53771e1
build: update dependency @types/jasmine to v4
renovate-bot Mar 16, 2022
b50efbb
build: update dependency jasmine to v4
renovate-bot Mar 24, 2022
4b4cecf
test: update tests to work with Jasmine version 4
alan-agius4 Mar 24, 2022
cea83b2
build: update build_angular_test_lib to include all non builders spec…
alan-agius4 Mar 24, 2022
5d38bee
build: update angular
renovate-bot Mar 24, 2022
80d486f
test: update API golden files due to dev-infra update
alan-agius4 Mar 24, 2022
797c652
refactor(@angular/cli): clean up package-metadata retrieval logic
alan-agius4 Mar 23, 2022
f222f38
build: update dependency typescript to v4.6.3
renovate-bot Mar 26, 2022
17a7fdc
build: update all non-major dependencies
renovate-bot Mar 26, 2022
77a828a
build: update angular
renovate-bot Mar 27, 2022
9f33876
build: update all non-major dependencies
renovate-bot Mar 28, 2022
2ab7742
fix(@angular-devkit/build-angular): allow Workers in Stackblitz
alan-agius4 Mar 28, 2022
2ec6aa8
build: lock file maintenance
renovate-bot Mar 28, 2022
156006a
build: update angular to d5d65d3
renovate-bot Mar 29, 2022
65dc6f6
build: fix node module repository symlinking disabled in Bazel
devversion Mar 29, 2022
efc3c32
fix(@angular/cli): remove analytics prompt postinstall script
alan-agius4 Mar 29, 2022
f2598a4
build: update angular to 7c2e257
renovate-bot Mar 30, 2022
fac9cca
fix(@angular-devkit/build-angular): don't override asset info when up…
alan-agius4 Mar 30, 2022
a5e9976
fix(@schematics/angular): fix extra comma added when use --change-det…
gauravsoni119 Mar 29, 2022
c5b3e92
refactor(@angular-devkit/core): deprecate unused exception classes
alan-agius4 Mar 30, 2022
6a6386a
build: update all non-major dependencies
renovate-bot Mar 30, 2022
af8dd62
refactor(@angular-devkit/build-angular): remove esbuild-check workaround
alan-agius4 Mar 30, 2022
28721c3
refactor(@angular/cli): improved code quality
Mar 30, 2022
746d0c5
refactor(@angular/cli): add global configuration in command context
alan-agius4 Mar 30, 2022
1bbabb2
refactor(@angular/cli): create package manager util class
alan-agius4 Mar 30, 2022
371da23
fix(@angular-devkit/build-angular): add `node_modules` prefix to excl…
alan-agius4 Mar 30, 2022
09f8659
fix(@angular/cli): display package manager during `ng update`
alan-agius4 Mar 30, 2022
9807291
refactor(@angular/cli): remove `getProjectsByPath` config util
alan-agius4 Mar 30, 2022
5922649
refactor(@angular-devkit/build-angular): replace `try/catch` block wi…
alan-agius4 Mar 30, 2022
811487f
refactor(@angular/cli): remove unused `testing` option
alan-agius4 Mar 30, 2022
94a9952
refactor(@angular/cli): change workspace host to use async Node APIs
alan-agius4 Mar 30, 2022
bf02cd3
docs: release notes for the v13.3.1 release
dgp1130 Mar 30, 2022
cb5c072
release: cut the v14.0.0-next.7 release
dgp1130 Mar 30, 2022
689c827
docs: release notes for the v12.2.19 release
dgp1130 Mar 31, 2022
f11fcaa
refactor(@angular/cli): remove coercion from `packages` positional c…
alan-agius4 Mar 31, 2022
dcc00f4
build: update all non-major dependencies
renovate-bot Mar 31, 2022
b8e9e09
refactor(@angular-devkit/build-angular): replace most custom path nor…
clydin Mar 31, 2022
f6965fe
build: update angular
renovate-bot Mar 31, 2022
674d968
docs: release notes for the v12.2.17 release
dgp1130 Mar 31, 2022
0160f1a
build: update github/codeql-action action to v2
renovate-bot Apr 1, 2022
3d77846
refactor(@angular/cli): create a `memoize` decorator
alan-agius4 Apr 1, 2022
7db433b
fix(@schematics/angular): provide actionable error message when routi…
alan-agius4 Apr 1, 2022
5ebfe80
build: update all non-major dependencies
renovate-bot Apr 4, 2022
d163229
build: update angular to 2fbc7c8
renovate-bot Apr 3, 2022
67144b9
refactor(@angular-devkit/core): remove deprecated `parseJson` and `Pa…
alan-agius4 Apr 5, 2022
0316dea
feat(@angular/cli): add prompts on missing builder targets
alan-agius4 Apr 5, 2022
55e9161
build: update github/codeql-action action to v2.1.7
renovate-bot Apr 6, 2022
4b05c44
build: update all non-major dependencies
renovate-bot Apr 6, 2022
725e326
build: update angular to 7c6fc3e
renovate-bot Apr 5, 2022
6984740
docs: release notes for the v13.3.2 release
josephperrott Apr 6, 2022
45b1365
release: cut the v14.0.0-next.8 release
josephperrott Apr 6, 2022
ebbb0ad
build: update dependency ini to v3
renovate-bot Apr 6, 2022
a66cfd0
refactor(@angular-devkit/core): replace `fast-json-stable-stringify` …
alan-agius4 Apr 8, 2022
3909528
build: update angular
renovate-bot Apr 8, 2022
78b3537
build: update all non-major dependencies
renovate-bot Apr 8, 2022
9a5251c
refactor(@angular-devkit/schematics): provide schematic collection de…
clydin Apr 7, 2022
d87b858
refactor(@angular/cli): add infrastructure support for schematics bui…
clydin Apr 7, 2022
ff4eba3
fix(@angular/cli): handle duplicate arguments
alan-agius4 Apr 11, 2022
3afd1ab
fix(@angular-devkit/build-webpack): emit devserver setup errors
alan-agius4 Apr 11, 2022
be2b268
fix(@angular-devkit/build-angular): display debug logs when using the…
alan-agius4 Apr 11, 2022
e88c480
build: update angular to 89573ed
renovate-bot Apr 11, 2022
a63df1e
build: update github/codeql-action action to v2.1.8
renovate-bot Apr 9, 2022
cb6dd19
build: update all non-major dependencies
renovate-bot Apr 11, 2022
8eaa680
refactor(@angular/cli): remove most of `getWorkspaceRaw` usages
alan-agius4 Apr 11, 2022
bf891c3
build: update angular to 0e12514
renovate-bot Apr 12, 2022
95954bb
build: update all non-major dependencies
renovate-bot Apr 12, 2022
607a723
feat(@angular/cli): add support for auto completion
alan-agius4 Apr 13, 2022
108a0b6
refactor(@angular-devkit/core): remove `fast-json-stable-stringify` u…
alan-agius4 Apr 13, 2022
bf15b20
fix(@angular/cli): remove cache path from global valid paths
alan-agius4 Apr 13, 2022
d144caa
test: use yargs-parser in E2E test suite runner
clydin Apr 13, 2022
bc3ce03
docs: release notes for the v13.3.3 release
clydin Apr 13, 2022
c94e6fb
test: change prod-build E2E bootstrap check to allow underscore in va…
clydin Apr 13, 2022
86678f9
release: cut the v14.0.0-next.9 release
clydin Apr 13, 2022
1fd3893
build: update angular
renovate-bot Apr 14, 2022
3739a0f
build: update dependency karma-jasmine to v5
renovate-bot Apr 14, 2022
c636cc8
build: update dependency karma-jasmine to v5
renovate-bot Apr 14, 2022
d270258
build: update dependency glob to v8
alan-agius4 Apr 14, 2022
c0eb926
refactor(@angular-devkit/core): remove custom json parser
alan-agius4 Apr 11, 2022
f74a79f
refactor(@angular-devkit/core): remove no longer needed `fast-json-st…
alan-agius4 Apr 14, 2022
41982aa
build: update all non-major dependencies
renovate-bot Apr 14, 2022
c24be81
build: update actions/checkout action to v3.0.1
renovate-bot Apr 15, 2022
1a160da
fix(@angular-devkit/build-angular): ensure karma sourcemap support on…
clydin Apr 15, 2022
bbf88ab
build: update angular to afacf03
renovate-bot Apr 17, 2022
78460e9
fix(@angular/cli): remove type casting and add optional chaining for …
ddubrava Sep 21, 2021
464cf33
feat(@angular-devkit/schematics): support null for options parameter …
ddubrava Sep 21, 2021
d6ecb66
build: update all non-major dependencies
renovate-bot Apr 19, 2022
fbd6b51
release: cut the v14.0.0-next.10 release
josephperrott Apr 20, 2022
88da071
release: cut the v14.0.0-next.11 release
josephperrott Apr 21, 2022
b298786
build: preparation for primary branch rename in the Angular repos
devversion Apr 21, 2022
25498ad
feat(@angular-devkit/schematics): re-export core string helpers from …
clydin Apr 20, 2022
291bbff
refactor(@schematics/angular): use string helper re-export from `@ang…
clydin Apr 20, 2022
ccd7e71
refactor(@schematics/angular): minor cleanup of unneeded `@angular-de…
clydin Apr 20, 2022
8b36762
build: update angular
renovate-bot Apr 22, 2022
ba92525
build: update actions/checkout action to v3.0.2
renovate-bot Apr 22, 2022
00186fb
feat(@angular-devkit/build-angular): add initial experimental esbuild…
clydin Apr 6, 2022
ef23b39
ci: add initial E2E test subset for experimental esbuild builder
clydin Apr 14, 2022
94288c7
build: update angular to e9949aa
renovate-bot Apr 25, 2022
0441015
perf(@ngtools/webpack): use Webpack's built-in xxhash64 support
clydin Apr 23, 2022
01297f4
feat(@angular-devkit/schematics): support reading text content direct…
clydin Apr 19, 2022
33f9f3d
feat(@angular-devkit/schematics): support reading JSON content direct…
clydin Apr 19, 2022
a0e3de2
refactor(@schematics/angular): use Tree's newly introduced `readText`…
clydin Apr 19, 2022
4b07aa3
fix(@angular/cli): change wrapping of schematic code
wagnermaciel Apr 26, 2022
586f393
build: update angular to 7b6d862
renovate-bot Apr 26, 2022
7abe212
fix(@angular-devkit/build-angular): correctly resolve custom service …
clydin Apr 27, 2022
7b78b78
feat(@schematics/angular): add --standalone to ng generate
crisbeto Apr 26, 2022
418a75a
docs: release notes for the v13.3.4 release
dgp1130 Apr 27, 2022
bafd68c
release: cut the v14.0.0-next.12 release
dgp1130 Apr 27, 2022
5c5c5ec
build: update github/codeql-action action to v2.1.9
renovate-bot Apr 28, 2022
a99c9ad
build: update dev-infra to latest snapshot
devversion Apr 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 19 additions & 17 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,14 @@ test:saucelabs --define=KARMA_WEB_TEST_MODE=SL_REQUIRED
# Releases should always be stamped with version control info
# This command assumes node on the path and is a workaround for
# https://github.com/bazelbuild/bazel/issues/4802
build:release --workspace_status_command="yarn -s ng-dev release build-env-stamp"
build:release --workspace_status_command="yarn -s ng-dev release build-env-stamp --mode=release"
build:release --stamp

build:snapshot --workspace_status_command="yarn -s ng-dev release build-env-stamp --mode=snapshot"
build:snapshot --stamp
build:snapshot --//:enable_snapshot_repo_deps

build:local --//:enable_package_json_tar_deps

###############################
# Output #
Expand All @@ -92,8 +99,8 @@ test --test_output=errors
################################

# Use the Angular team internal GCP instance for remote execution.
build:remote --remote_instance_name=projects/internal-200822/instances/default_instance
build:remote --project_id=internal-200822
build:remote --remote_instance_name=projects/internal-200822/instances/primary_instance
build:remote --bes_instance_name=internal-200822

# Starting with Bazel 0.27.0 strategies do not need to be explicitly
# defined. See https://github.com/bazelbuild/bazel/issues/7480
Expand All @@ -105,20 +112,15 @@ build:remote --remote_executor=remotebuildexecution.googleapis.com
build:remote --remote_timeout=600
build:remote --jobs=150

# Setup the toolchain and platform for the remote build execution. The platform
# is automatically configured by the "rbe_autoconfig" rule in the project workpsace.
build:remote --host_javabase=@rbe_ubuntu1604_angular//java:jdk
build:remote --javabase=@rbe_ubuntu1604_angular//java:jdk
build:remote --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
build:remote --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
build:remote --crosstool_top=@rbe_ubuntu1604_angular//cc:toolchain
build:remote --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
build:remote --extra_toolchains=@rbe_ubuntu1604_angular//config:cc-toolchain
build:remote --extra_execution_platforms=//tools:rbe_ubuntu1604-angular
build:remote --host_platform=//tools:rbe_ubuntu1604-angular
build:remote --platforms=//tools:rbe_ubuntu1604-angular

# Set remote caching settings
# Setup the toolchain and platform for the remote build execution. The platform
# is provided by the shared dev-infra package and targets k8 remote containers.
build:remote --crosstool_top=@npm//@angular/dev-infra-private/bazel/remote-execution/cpp:cc_toolchain_suite
build:remote --extra_toolchains=@npm//@angular/dev-infra-private/bazel/remote-execution/cpp:cc_toolchain
build:remote --extra_execution_platforms=//tools:rbe_platform_with_network_access
build:remote --host_platform=//tools:rbe_platform_with_network_access
build:remote --platforms=//tools:rbe_platform_with_network_access

# Set remote caching settings
build:remote --remote_accept_cached=true

# Force remote executions to consider the entire run as linux.
Expand Down
4 changes: 1 addition & 3 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
4.0.0
# [NB: this comment has to be after the first line, see https://github.com/bazelbuild/bazelisk/issues/117]
# When updating the Bazel version you also need to update the RBE toolchains version in WORKSPACE
5.0.0
91 changes: 68 additions & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
version: 2.1

orbs:
browser-tools: circleci/browser-tools@1.0.1
browser-tools: circleci/browser-tools@1.1.3

# Variables

## IMPORTANT
# Windows needs its own cache key because binaries in node_modules are different.
# See https://circleci.com/docs/2.0/caching/#restoring-cache for how prefixes work in CircleCI.
var_1: &cache_key v1-angular_devkit-14.15-{{ checksum "yarn.lock" }}
var_1_win: &cache_key_win v1-angular_devkit-win-12.22-{{ checksum "yarn.lock" }}
var_3: &default_nodeversion '14.15'
var_1: &cache_key v1-angular_devkit-14.19-{{ checksum "yarn.lock" }}
var_1_win: &cache_key_win v1-angular_devkit-win-14.19-{{ checksum "yarn.lock" }}
var_3: &default_nodeversion '14.19'
# Workspace initially persisted by the `setup` job, and then enhanced by `setup-and-build-win`.
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
# https://circleci.com/blog/deep-diving-into-circleci-workspaces/
Expand All @@ -29,6 +29,8 @@ var_5: &only_release_branches
filters:
branches:
only:
- main
# TODO(BRANCH_RENAME_CLEANUP): remove
- master
- /\d+\.\d+\.x/

Expand Down Expand Up @@ -68,15 +70,23 @@ executors:
# Command Definitions
# https://circleci.com/docs/2.0/reusing-config/#authoring-reusable-commands
commands:
fail_fast:
steps:
- run:
name: 'Cancel workflow on fail'
when: on_fail
command: |
curl -X POST --header "Content-Type: application/json" "https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID}/cancel?circle-token=${CIRCLE_TOKEN}"

custom_attach_workspace:
description: Attach workspace at a predefined location
steps:
- attach_workspace:
at: *workspace_location
setup_windows:
steps:
- run: nvm install 12.22.1
- run: nvm use 12.22.1
- run: nvm install 14.19
- run: nvm use 14.19
- run: npm install -g [email protected]
- run: node --version
- run: yarn --version
Expand All @@ -97,7 +107,7 @@ commands:
openssl aes-256-cbc -d -in .circleci/gcp_token -md md5 -k "${<< parameters.key >>}" -out /home/circleci/.gcp_credentials;
sudo bash -c "echo -e 'build --google_credentials=/home/circleci/.gcp_credentials' >> .bazelrc.user";
# Upload/don't upload local results to cache based on environment
if [[ -n "{$CIRCLE_PR_NUMBER}" ]]; then
if [[ -n "{$CIRCLE_PULL_REQUEST}" ]]; then
sudo bash -c "echo -e 'build:remote --remote_upload_local_results=false\n' >> .bazelrc.user";
echo "Not uploading local build results to remote cache.";
else
Expand Down Expand Up @@ -154,11 +164,6 @@ jobs:
steps:
- custom_attach_workspace
- run: yarn lint
- run: 'yarn bazel:format -mode=check ||
(echo "BUILD files not formatted. Please run ''yarn bazel:format''" ; exit 1)'
# Run the skylark linter to check our Bazel rules
- run: 'yarn bazel:lint ||
(echo -e "\n.bzl files have lint errors. Please run ''yarn bazel:lint-fix''"; exit 1)'

validate:
executor: action-executor
Expand All @@ -173,7 +178,16 @@ jobs:
echo "This build is not over a PR, nothing to do."
fi
- run:
command: yarn -s admin validate --ci
name: Validate Code Formatting
command: yarn -s ng-dev format changed <<pipeline.git.base_revision>> --check
- run:
name: Validate NgBot Configuration
command: yarn ng-dev ngbot verify
- run:
name: Validate Circular Dependencies
command: yarn ts-circular-deps:check
- run: yarn -s admin validate
- run: yarn -s check-tooling-setup

e2e-cli:
parameters:
Expand All @@ -192,7 +206,10 @@ jobs:
- browser-tools/install-chrome
- run:
name: Initialize Environment
command: ./.circleci/env.sh
# npm 7 currently does not properly publish the packages locally
command: |
./.circleci/env.sh
sudo npm install --global npm@6
- run:
name: Execute CLI E2E Tests
command: |
Expand All @@ -203,6 +220,12 @@ jobs:
command: |
mkdir /mnt/ramdisk/e2e-yarn
node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} <<# parameters.snapshots >>--ng-snapshots<</ parameters.snapshots >> --yarn --tmpdir=/mnt/ramdisk/e2e-yarn --glob="{tests/basic/**,tests/update/**,tests/commands/add/**}"
- run:
name: Execute CLI E2E Tests Subset with esbuild builder
command: |
mkdir /mnt/ramdisk/e2e-esbuild
node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} <<# parameters.snapshots >>--ng-snapshots<</ parameters.snapshots >> --esbuild --tmpdir=/mnt/ramdisk/e2e-esbuild --glob="{tests/basic/**,tests/build/prod-build.ts}" --ignore="tests/basic/{environment,rebuild,serve,scripts-array}.ts"
- fail_fast

test-browsers:
executor:
Expand All @@ -228,6 +251,7 @@ jobs:
- run: node ./tests/legacy-cli/run_e2e ./tests/legacy-cli/e2e/tests/misc/browsers.ts --ve
- run: node ./tests/legacy-cli/run_e2e ./tests/legacy-cli/e2e/tests/misc/browsers.ts
- run: ./scripts/saucelabs/stop-tunnel.sh
- fail_fast

build:
executor: action-executor
Expand All @@ -245,13 +269,17 @@ jobs:
- run: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
- run:
command: yarn bazel:test
no_output_timeout: 20m
# This timeout provides time for the actual tests to timeout and report status
# instead of CircleCI stopping the job without test failure information.
no_output_timeout: 40m
- fail_fast

snapshot_publish:
executor: action-executor
resource_class: medium
steps:
- custom_attach_workspace
- install_python
- run:
name: Decrypt Credentials
# Note: when changing the image, you might have to re-encrypt the credentials with a
Expand All @@ -263,13 +291,26 @@ jobs:
name: Deployment to Snapshot
command: |
yarn admin snapshots --verbose --githubTokenFile=${HOME}/github_token
- fail_fast

# Windows jobs
e2e-cli-win:
executor: windows-executor
parallelism: 8
steps:
- custom_attach_workspace
- checkout
- run:
name: Rebase PR on target branch
command: |
if (Test-Path env:CIRCLE_PR_NUMBER) {
# User is required for rebase.
git config user.name "angular-ci"
git config user.email "angular-ci"
# Rebase PR on top of target branch.
node tools/rebase-pr.js angular/angular-cli $env:CIRCLE_PR_NUMBER
} else {
echo "This build is not over a PR, nothing to do."
}
- setup_windows
- restore_cache:
keys:
Expand All @@ -283,11 +324,12 @@ jobs:
- run:
name: Execute E2E Tests
command: |
if (Test-Path env:CIRCLE_PR_NUMBER) {
node tests\legacy-cli\run_e2e.js "--glob={tests/basic/**,tests/i18n/extract-ivy*.ts,tests/build/profile.ts}" --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX
if (Test-Path env:CIRCLE_PULL_REQUEST) {
node tests\legacy-cli\run_e2e.js "--glob={tests/basic/**,tests/i18n/extract-ivy*.ts,tests/build/profile.ts,tests/test/test-sourcemap.ts}" --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX
} else {
node tests\legacy-cli\run_e2e.js --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX
}
- fail_fast

workflows:
version: 2
Expand All @@ -306,6 +348,7 @@ workflows:
- setup
- e2e-cli:
name: e2e-cli
nodeversion: '14.15'
post-steps:
- store_artifacts:
path: /tmp/dist
Expand All @@ -316,18 +359,20 @@ workflows:
name: e2e-cli-ng-snapshots
snapshots: true
requires:
- e2e-cli
- build
filters:
branches:
only:
- renovate/angular
- main
# TODO(BRANCH_RENAME_CLEANUP): remove
- master
- e2e-cli:
name: e2e-cli-node-12
nodeversion: '12.18'
name: e2e-cli-node-16
nodeversion: '16.10'
<<: *only_release_branches
requires:
- e2e-cli
- build
- test-browsers:
requires:
- build
Expand All @@ -343,7 +388,7 @@ workflows:
# Windows jobs
- e2e-cli-win:
requires:
- test
- build

# Publish jobs
- snapshot_publish:
Expand Down
13 changes: 13 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/bazel-out/
/dist-schema/
/goldens/public-api
/packages/angular_devkit/build_angular/test/
/packages/angular_devkit/build_webpack/test/
/packages/angular_devkit/schematics_cli/blank/project-files/
/packages/angular_devkit/schematics_cli/blank/schematic-files/
/packages/angular_devkit/schematics_cli/schematic/files/
/tests/
.yarn/
dist/
node_modules/
third_party/
Loading