1779 Commits

Author SHA1 Message Date
Jason Bedard
2624d8941f test: run e2e tests on pre-compiled packages
The NPM packages being tested must be pre-compiled and the tar packages specified via --package. This way the real packages such as snapshots, release artifacts or cached packages can be tested. Previously the e2e tests compiled and packaged during test execution.
2022-09-26 12:44:46 +02:00
Angular Robot
7ea2608f8b build: update angular to f547c40 2022-09-26 11:29:44 +02:00
Alan Agius
9c13fce162 feat(@angular-devkit/build-angular): remove bundleDependencies from server builder
This commit removes the usages of `bundleDependencies` which does not correctly work as webpack will use `require` to import ESM module since we configure the server bundle to be outputted in CJS. Migrating fully to ESM is also currently not viable due to the lack of support from Domino.
Even if full ESM was possible, using this option would have resulted in a runtime overhead as Angular libraries would be linked during runtime instead of compile time.

BREAKING CHANGE:
The server builder `bundleDependencies` option has been removed. This option was used pre Ivy. Currently, using this option is unlikely to produce working server bundles.

The `externalDependencies` option can be used instead to exclude specific node_module packages from the final bundle.

Closes #23905
2022-09-23 15:41:30 -04:00
Angular Robot
f0933d3fd1 build: update angular 2022-09-23 14:28:44 -04:00
Alan Agius
fd9c3f1cca ci: update saucelabs browsers
This commit updates the browsers versions to reflect the what's currently supported.
2022-09-21 11:23:35 -04:00
Alan Agius
1e5d4a7508 feat(@angular-devkit/build-angular): use Browserslist to determine ECMA output
With this change we reduce the reliance on the TypeScript target compiler option to output a certain ECMA version. Instead we now use the browsers that are configured in the Browserslist configuration to determine which ECMA features and version are needed. This is done by passing the transpiled TypeScript to Babel preset-env.

**Note about useDefineForClassFields**: while setting this to `false` will output JavaScript which is not spec compliant, this is needed because TypeScript introduced class fields many years before it was ratified in TC39. The latest version of the spec have a different runtime behavior to TypeScript’s implementation but the same syntax. Therefore, we opt-out from using upcoming ECMA runtime behavior to better support the ECO system and libraries that depend on the non spec compliant output. One of biggest case is usages of the deprecated `@Effect` decorator by NGRX and potentially other existing code as well which otherwise would cause runtime failures. Dropping `useDefineForClassFields` will be considered in a future major releases. For more information see: https://github.com/microsoft/TypeScript/issues/45995.

BREAKING CHANGE: Internally the Angular CLI now always set the TypeScript `target` to `ES2022` and `useDefineForClassFields` to `false` unless the target is set to `ES2022` or later in the TypeScript configuration. To control ECMA version and features use the Browerslist configuration.
2022-09-21 11:23:35 -04:00
Alan Agius
15d3fc6dc3 feat(@angular-devkit/build-angular): export @angular/platform-server symbols in server bundle
This commit adds an internal file to export needed symbols from `@angular/platform-server` when building a server bundle. This is needed.  This is needed so that DI tokens can be referenced and set at runtime outside of the bundle.

Also, it adds a migration to remove these exports from the users files as otherwise an export collision would occur due to the same symbol being exported multiple times.
2022-09-20 10:24:29 -04:00
Angular Robot
113e2c0f55 build: update angular to 3dfd4b3 2022-09-19 16:35:25 -04:00
Jason Bedard
decd4692be test: catch and log all errors include test setup 2022-09-19 16:34:49 -04:00
Jason Bedard
a4075c967d test: enable git core.longpaths option 2022-09-19 16:34:33 -04:00
Charles Lyding
ba296e9df2 test: remove unused E2E size tracking artifact generation test
These files are no longer used to perform any size tracking and are also
no longer stored as artifacts within CircleCI.
2022-09-19 14:40:56 -04:00
Angular Robot
be57f267c9 build: update angular to fb966e5 2022-09-16 15:53:55 -07:00
Alan Agius
2ba44a433c refactor(@angular-devkit/build-angular): remove support for Stylus
The usage of Stylus in the CLI is minimal and this package never reached version 1.

BREAKING CHANGE:

Deprecated support for Stylus has been removed. The Stylus package has never reached a stable version and its usage in the Angular CLI is minimal. It's recommended to migrate to another CSS preprocessor that the Angular CLI supports.
2022-09-16 11:39:19 -07:00
Alan Agius
12931ba8c3 refactor(@angular-devkit/build-angular): remove deprecated ES5 support
Remove deprecated support for ES5 output.

BREAKING CHANGE: Producing ES5 output is no longer possible. This was needed for Internet Explorer which is no longer supported. All browsers that Angular supports work with ES2015+
2022-09-16 11:39:02 -07:00
Angular Robot
3315d8c22c build: update angular 2022-09-16 11:37:25 -07:00
Alan Agius
fdc315d335 test(@angular-devkit/build-angular): rewrite app-shell unit test into e2e
This particular unit tests was really an e2e test.
2022-09-15 08:26:11 -07:00
Alan Agius
2021e66a12 fix(@angular-devkit/build-angular): watch symbolic links
This commit addresses an issue which caused symbolic links not to be watched properly.

Closes #15100
2022-09-14 10:42:56 -07:00
Alan Agius
25ef9e7890 test: re-enable Angular material tests
Now that `@angular/material` has been released as `15.0.0-next` we can re-enable these tests.
2022-09-14 10:42:34 -07:00
Angular Robot
6b6eb9c505 build: update angular to 505f8a2 2022-09-13 15:34:55 -07:00
Charles Lyding
b2add316e7 build: remove unneeded BUILD file licenses rule comments 2022-09-13 10:33:49 -07:00
Jason Bedard
aae30d5a84 test: suppress npm update warnings 2022-09-13 10:33:27 -07:00
Angular Robot
8bf4298eed build: update angular to 699c90f 2022-09-09 17:51:51 +02:00
Alan Agius
6a8511d1f9 test: don't run git clean on test failure
This allows debugging the test failures when running in debug mode.

(cherry picked from commit e8e9df875722d23bbfd11c70ad17c492353976ce)
2022-09-09 17:51:11 +02:00
Alan Agius
5e790db96c test: update NGRX packages to version 14 2022-09-08 20:13:42 +02:00
Alan Agius
98bde526b4 refactor(@angular-devkit/build-angular): remove postcss-preset-env
This change removes the usage of `postcss-preset-env` as this is no longer needed since Angular no longer supports browsers that require polyfills for CSS stage 3 features https://preset-env.cssdb.org/features/#stage-3.

We replace this and use autoprefixer directly which is still needed.

```
npx autoprefixer --info
Browsers:
  Chrome: 105
  Edge: 105, 104
  Firefox: 104, 102, 91
  iOS Safari: 15.6, 15.5, 15.4, 15.2-15.3, 15.0-15.1, 14.5-14.8, 14.0-14.4
  Safari: 15.6, 15.5, 15.4, 15.2-15.3, 15.1, 15, 14.1, 14

These browsers account for 20.38% of all users globally

At-Rules:
  @resolution: webkit

Selectors:
  ::backdrop: webkit
  ::file-selector-button: webkit
  :autofill: webkit
  :fullscreen: webkit

Properties:
  appearance: webkit
  backdrop-filter: webkit
  backface-visibility: webkit
  background-clip: webkit
  box-decoration-break: webkit
  color-adjust: webkit, moz
  hyphens: webkit
  mask-border-outset: webkit
  mask-border-repeat: webkit
  mask-border-slice: webkit
  mask-border-source: webkit
  mask-border-width: webkit
  mask-border: webkit
  mask-clip: webkit
  mask-composite: webkit
  mask-image: webkit
  mask-origin: webkit
  mask-position: webkit
  mask-repeat: webkit
  mask-size: webkit
  mask: webkit
  print-color-adjust: webkit, moz
  text-decoration-color: webkit
  text-decoration-line: webkit
  text-decoration-skip-ink: webkit
  text-decoration-skip: webkit
  text-decoration-style: webkit
  text-decoration: webkit
  text-size-adjust: webkit
  user-select: webkit

Values:
  cross-fade: webkit
  element: moz
  fill-available: webkit
  fill: webkit
  fit-content: moz
  image-set: webkit
  isolate: webkit
  stretch: webkit, moz
```
2022-09-08 18:50:47 +02:00
Angular Robot
f0c67e4323 build: update angular 2022-09-08 15:03:36 +02:00
Alan Agius
b3811cb379 test: delete firebase resolution tests
We have more generic tests that cover path mappings.

Also, currently these are failing as we use a very old firebase version which doesn’t compile anymore.

https://app.circleci.com/pipelines/github/angular/angular-cli/25915/workflows/efa3cfcf-b609-43bd-a307-ee2997f05088/jobs/340445/parallel-runs/3/steps/3-105
2022-09-07 20:46:06 +02:00
Angular Robot
f0126429aa build: update angular to 9b9c2f0 2022-09-07 10:26:23 +02:00
Angular Robot
59b10223cc build: update angular to 7977a8d 2022-08-31 17:00:37 -04:00
Alan Agius
b7193d27ee test: don't show stderr and stdout multiple times durning errors
Previously, the stderr and stdout were displayed multiple times, This caused a lot of bloat in the output.
2022-08-31 16:58:27 -04:00
Alan Agius
d974bbb6c4 test: remove environment variable from error dump
This is bloating the logs with in most cases not needed information and make it harder to find the actual errors.

Example output

```
Running test "tests/build/styles/stylus.ts" (8 of 27 [3:8] (60/218))...
==========================================================================================
Running `/usr/local/bin/node "/home/circleci/ng/tests/legacy-cli/e2e/utils/run_test_process" "/home/circleci/ng/tests/legacy-cli/e2e/tests/build/styles/stylus"`...
CWD: /mnt/ramdisk/e2e/e2e-test/test-project
  ==========================================================================================
  Running `ng "build" "--source-map" "--configuration=development"` [silent]...
  CWD: /mnt/ramdisk/e2e/e2e-test/test-project
  Test Process error Error: Process exit error - "ng build --source-map --configuration=development": 1...
  ENV:{
    "YARN_VERSION": "1.22.10",
    "NPM_CONFIG_PREFIX": "/mnt/ramdisk/e2e/npm-global",
    "NPM_CONFIG_USERCONFIG": "/mnt/ramdisk/e2e/.npmrc",
    "NPM_CONFIG_REGISTRY": "http://localhost:45091",
    "YARN_CONFIG_PREFIX": "/mnt/ramdisk/e2e/yarn-global",
    "CIRCLECI": "true",
    "SAUCE_TUNNEL_IDENTIFIER": "angular-337964-3",
    "SAUCE_PID_FILE": "/tmp/angular/sauce-connect-pid-file.lock",
    "SAUCE_USERNAME": "angular-tooling",
    "SAUCE_ACCESS_KEY": "e05dabf6fe0e-2c18-abf4-496d-1d010490",
    "SAUCE_LOG_FILE": "/tmp/angular/sauce-connect.log",
    "CI": "true",
    "SAUCE_READY_FILE": "/tmp/angular/sauce-connect-ready-file.lock",
    "SAUCE_READY_FILE_TIMEOUT": "120",
    "LEGACY_CLI__argv": "{\"_\":[],\"nb-shards\":8,\"shard\":3,\"tmpdir\":\"/mnt/ramdisk/e2e\",\"ignore\":\"tests/misc/browsers.ts\"}",
    "LEGACY_CLI__ci": "true",
    "LEGACY_CLI__package-manager": "\"npm\"",
    "LEGACY_CLI__package-registry": "\"http://localhost:45091\"",
    "LEGACY_CLI__package-secure-registry": "\"http://localhost:35403\"",
    "LEGACY_CLI__tmp-root": "\"/mnt/ramdisk/e2e\"",
    "LEGACY_CLI__npm-global": "\"/mnt/ramdisk/e2e/npm-global\"",
    "LEGACY_CLI__yarn-global": "\"/mnt/ramdisk/e2e/yarn-global\"",
    "LEGACY_CLI__projects-root": "\"/mnt/ramdisk/e2e/e2e-test\"",
    "PATH": "/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/home/circleci/.npm-global/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  }
  STDOUT:
  STDERR:
  Error: Schema validation failed with the following errors:
    Data path "/styles/0/input" must match pattern "\.(?:css|scss|sass|less)$".
    Data path "/styles/0" must be string.
    Data path "/styles/0" must match exactly one schema in oneOf.
      at _exec (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:76:19)
      at silentNg (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:269:12)
      at ng (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:257:16)
      at /home/circleci/ng/tests/legacy-cli/e2e/tests/build/styles/stylus.ts:29:38
      at async /home/circleci/ng/tests/legacy-cli/e2e/utils/test_process.ts:15:9
  ENV:{
    "YARN_VERSION": "1.22.10",
    "NPM_CONFIG_PREFIX": "/mnt/ramdisk/e2e/npm-global",
    "NPM_CONFIG_USERCONFIG": "/mnt/ramdisk/e2e/.npmrc",
    "NPM_CONFIG_REGISTRY": "http://localhost:45091",
    "YARN_CONFIG_PREFIX": "/mnt/ramdisk/e2e/yarn-global",
    "CIRCLECI": "true",
    "SAUCE_TUNNEL_IDENTIFIER": "angular-337964-3",
    "SAUCE_PID_FILE": "/tmp/angular/sauce-connect-pid-file.lock",
    "SAUCE_USERNAME": "angular-tooling",
    "SAUCE_ACCESS_KEY": "e05dabf6fe0e-2c18-abf4-496d-1d010490",
    "SAUCE_LOG_FILE": "/tmp/angular/sauce-connect.log",
    "CI": "true",
    "SAUCE_READY_FILE": "/tmp/angular/sauce-connect-ready-file.lock",
    "SAUCE_READY_FILE_TIMEOUT": "120",
    "LEGACY_CLI__argv": "{\"_\":[],\"nb-shards\":8,\"shard\":3,\"tmpdir\":\"/mnt/ramdisk/e2e\",\"ignore\":\"tests/misc/browsers.ts\"}",
    "LEGACY_CLI__ci": "true",
    "LEGACY_CLI__package-manager": "\"npm\"",
    "LEGACY_CLI__package-registry": "\"http://localhost:45091\"",
    "LEGACY_CLI__package-secure-registry": "\"http://localhost:35403\"",
    "LEGACY_CLI__tmp-root": "\"/mnt/ramdisk/e2e\"",
    "LEGACY_CLI__npm-global": "\"/mnt/ramdisk/e2e/npm-global\"",
    "LEGACY_CLI__yarn-global": "\"/mnt/ramdisk/e2e/yarn-global\"",
    "LEGACY_CLI__projects-root": "\"/mnt/ramdisk/e2e/e2e-test\"",
    "PATH": "/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/home/circleci/.npm-global/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  }
==========================================================================================
Running `git "clean" "-df"` [silent]...
CWD: /mnt/ramdisk/e2e/e2e-test/test-project
==========================================================================================
Running `git "reset" "--hard"` [silent]...
CWD: /mnt/ramdisk/e2e/e2e-test/test-project

Test "tests/build/styles/stylus" failed...

Process exit error - "/usr/local/bin/node /home/circleci/ng/tests/legacy-cli/e2e/utils/run_test_process /home/circleci/ng/tests/legacy-cli/e2e/tests/build/styles/stylus": 255...

ENV:{
  "YARN_VERSION": "1.22.10",
  "NPM_CONFIG_PREFIX": "/mnt/ramdisk/e2e/npm-global",
  "NPM_CONFIG_USERCONFIG": "/mnt/ramdisk/e2e/.npmrc",
  "NPM_CONFIG_REGISTRY": "http://localhost:45091",
  "YARN_CONFIG_PREFIX": "/mnt/ramdisk/e2e/yarn-global",
  "CIRCLECI": "true",
  "SAUCE_TUNNEL_IDENTIFIER": "angular-337964-3",
  "SAUCE_PID_FILE": "/tmp/angular/sauce-connect-pid-file.lock",
  "SAUCE_USERNAME": "angular-tooling",
  "SAUCE_ACCESS_KEY": "e05dabf6fe0e-2c18-abf4-496d-1d010490",
  "SAUCE_LOG_FILE": "/tmp/angular/sauce-connect.log",
  "CI": "true",
  "SAUCE_READY_FILE": "/tmp/angular/sauce-connect-ready-file.lock",
  "SAUCE_READY_FILE_TIMEOUT": "120",
  "LEGACY_CLI__argv": "{\"_\":[],\"nb-shards\":8,\"shard\":3,\"tmpdir\":\"/mnt/ramdisk/e2e\",\"ignore\":\"tests/misc/browsers.ts\"}",
  "LEGACY_CLI__ci": "true",
  "LEGACY_CLI__package-manager": "\"npm\"",
  "LEGACY_CLI__package-registry": "\"http://localhost:45091\"",
  "LEGACY_CLI__package-secure-registry": "\"http://localhost:35403\"",
  "LEGACY_CLI__tmp-root": "\"/mnt/ramdisk/e2e\"",
  "LEGACY_CLI__npm-global": "\"/mnt/ramdisk/e2e/npm-global\"",
  "LEGACY_CLI__yarn-global": "\"/mnt/ramdisk/e2e/yarn-global\"",
  "LEGACY_CLI__projects-root": "\"/mnt/ramdisk/e2e/e2e-test\"",
  "PATH": "/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/home/circleci/.npm-global/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}

STDOUT:
==========================================================================================
Running `ng "build" "--source-map" "--configuration=development"` [silent]...
CWD: /mnt/ramdisk/e2e/e2e-test/test-project

STDERR:
Test Process error Error: Process exit error - "ng build --source-map --configuration=development": 1...

ENV:{
  "YARN_VERSION": "1.22.10",
  "NPM_CONFIG_PREFIX": "/mnt/ramdisk/e2e/npm-global",
  "NPM_CONFIG_USERCONFIG": "/mnt/ramdisk/e2e/.npmrc",
  "NPM_CONFIG_REGISTRY": "http://localhost:45091",
  "YARN_CONFIG_PREFIX": "/mnt/ramdisk/e2e/yarn-global",
  "CIRCLECI": "true",
  "SAUCE_TUNNEL_IDENTIFIER": "angular-337964-3",
  "SAUCE_PID_FILE": "/tmp/angular/sauce-connect-pid-file.lock",
  "SAUCE_USERNAME": "angular-tooling",
  "SAUCE_ACCESS_KEY": "e05dabf6fe0e-2c18-abf4-496d-1d010490",
  "SAUCE_LOG_FILE": "/tmp/angular/sauce-connect.log",
  "CI": "true",
  "SAUCE_READY_FILE": "/tmp/angular/sauce-connect-ready-file.lock",
  "SAUCE_READY_FILE_TIMEOUT": "120",
  "LEGACY_CLI__argv": "{\"_\":[],\"nb-shards\":8,\"shard\":3,\"tmpdir\":\"/mnt/ramdisk/e2e\",\"ignore\":\"tests/misc/browsers.ts\"}",
  "LEGACY_CLI__ci": "true",
  "LEGACY_CLI__package-manager": "\"npm\"",
  "LEGACY_CLI__package-registry": "\"http://localhost:45091\"",
  "LEGACY_CLI__package-secure-registry": "\"http://localhost:35403\"",
  "LEGACY_CLI__tmp-root": "\"/mnt/ramdisk/e2e\"",
  "LEGACY_CLI__npm-global": "\"/mnt/ramdisk/e2e/npm-global\"",
  "LEGACY_CLI__yarn-global": "\"/mnt/ramdisk/e2e/yarn-global\"",
  "LEGACY_CLI__projects-root": "\"/mnt/ramdisk/e2e/e2e-test\"",
  "PATH": "/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/home/circleci/.npm-global/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}

STDOUT:

STDERR:
Error: Schema validation failed with the following errors:
  Data path "/styles/0/input" must match pattern "\.(?:css|scss|sass|less)$".
  Data path "/styles/0" must be string.
  Data path "/styles/0" must match exactly one schema in oneOf.

    at _exec (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:76:19)
    at silentNg (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:269:12)
    at ng (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:257:16)
    at /home/circleci/ng/tests/legacy-cli/e2e/tests/build/styles/stylus.ts:29:38
    at async /home/circleci/ng/tests/legacy-cli/e2e/utils/test_process.ts:15:9
ENV:{
  "YARN_VERSION": "1.22.10",
  "NPM_CONFIG_PREFIX": "/mnt/ramdisk/e2e/npm-global",
  "NPM_CONFIG_USERCONFIG": "/mnt/ramdisk/e2e/.npmrc",
  "NPM_CONFIG_REGISTRY": "http://localhost:45091",
  "YARN_CONFIG_PREFIX": "/mnt/ramdisk/e2e/yarn-global",
  "CIRCLECI": "true",
  "SAUCE_TUNNEL_IDENTIFIER": "angular-337964-3",
  "SAUCE_PID_FILE": "/tmp/angular/sauce-connect-pid-file.lock",
  "SAUCE_USERNAME": "angular-tooling",
  "SAUCE_ACCESS_KEY": "e05dabf6fe0e-2c18-abf4-496d-1d010490",
  "SAUCE_LOG_FILE": "/tmp/angular/sauce-connect.log",
  "CI": "true",
  "SAUCE_READY_FILE": "/tmp/angular/sauce-connect-ready-file.lock",
  "SAUCE_READY_FILE_TIMEOUT": "120",
  "LEGACY_CLI__argv": "{\"_\":[],\"nb-shards\":8,\"shard\":3,\"tmpdir\":\"/mnt/ramdisk/e2e\",\"ignore\":\"tests/misc/browsers.ts\"}",
  "LEGACY_CLI__ci": "true",
  "LEGACY_CLI__package-manager": "\"npm\"",
  "LEGACY_CLI__package-registry": "\"http://localhost:45091\"",
  "LEGACY_CLI__package-secure-registry": "\"http://localhost:35403\"",
  "LEGACY_CLI__tmp-root": "\"/mnt/ramdisk/e2e\"",
  "LEGACY_CLI__npm-global": "\"/mnt/ramdisk/e2e/npm-global\"",
  "LEGACY_CLI__yarn-global": "\"/mnt/ramdisk/e2e/yarn-global\"",
  "LEGACY_CLI__projects-root": "\"/mnt/ramdisk/e2e/e2e-test\"",
  "PATH": "/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/home/circleci/.npm-global/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}

Error: Process exit error - "/usr/local/bin/node /home/circleci/ng/tests/legacy-cli/e2e/utils/run_test_process /home/circleci/ng/tests/legacy-cli/e2e/tests/build/styles/stylus": 255...

ENV:{
  "YARN_VERSION": "1.22.10",
  "NPM_CONFIG_PREFIX": "/mnt/ramdisk/e2e/npm-global",
  "NPM_CONFIG_USERCONFIG": "/mnt/ramdisk/e2e/.npmrc",
  "NPM_CONFIG_REGISTRY": "http://localhost:45091",
  "YARN_CONFIG_PREFIX": "/mnt/ramdisk/e2e/yarn-global",
  "CIRCLECI": "true",
  "SAUCE_TUNNEL_IDENTIFIER": "angular-337964-3",
  "SAUCE_PID_FILE": "/tmp/angular/sauce-connect-pid-file.lock",
  "SAUCE_USERNAME": "angular-tooling",
  "SAUCE_ACCESS_KEY": "e05dabf6fe0e-2c18-abf4-496d-1d010490",
  "SAUCE_LOG_FILE": "/tmp/angular/sauce-connect.log",
  "CI": "true",
  "SAUCE_READY_FILE": "/tmp/angular/sauce-connect-ready-file.lock",
  "SAUCE_READY_FILE_TIMEOUT": "120",
  "LEGACY_CLI__argv": "{\"_\":[],\"nb-shards\":8,\"shard\":3,\"tmpdir\":\"/mnt/ramdisk/e2e\",\"ignore\":\"tests/misc/browsers.ts\"}",
  "LEGACY_CLI__ci": "true",
  "LEGACY_CLI__package-manager": "\"npm\"",
  "LEGACY_CLI__package-registry": "\"http://localhost:45091\"",
  "LEGACY_CLI__package-secure-registry": "\"http://localhost:35403\"",
  "LEGACY_CLI__tmp-root": "\"/mnt/ramdisk/e2e\"",
  "LEGACY_CLI__npm-global": "\"/mnt/ramdisk/e2e/npm-global\"",
  "LEGACY_CLI__yarn-global": "\"/mnt/ramdisk/e2e/yarn-global\"",
  "LEGACY_CLI__projects-root": "\"/mnt/ramdisk/e2e/e2e-test\"",
  "PATH": "/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/home/circleci/.npm-global/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}

STDOUT:
==========================================================================================
Running `ng "build" "--source-map" "--configuration=development"` [silent]...
CWD: /mnt/ramdisk/e2e/e2e-test/test-project

STDERR:
Test Process error Error: Process exit error - "ng build --source-map --configuration=development": 1...

ENV:{
  "YARN_VERSION": "1.22.10",
  "NPM_CONFIG_PREFIX": "/mnt/ramdisk/e2e/npm-global",
  "NPM_CONFIG_USERCONFIG": "/mnt/ramdisk/e2e/.npmrc",
  "NPM_CONFIG_REGISTRY": "http://localhost:45091",
  "YARN_CONFIG_PREFIX": "/mnt/ramdisk/e2e/yarn-global",
  "CIRCLECI": "true",
  "SAUCE_TUNNEL_IDENTIFIER": "angular-337964-3",
  "SAUCE_PID_FILE": "/tmp/angular/sauce-connect-pid-file.lock",
  "SAUCE_USERNAME": "angular-tooling",
  "SAUCE_ACCESS_KEY": "e05dabf6fe0e-2c18-abf4-496d-1d010490",
  "SAUCE_LOG_FILE": "/tmp/angular/sauce-connect.log",
  "CI": "true",
  "SAUCE_READY_FILE": "/tmp/angular/sauce-connect-ready-file.lock",
  "SAUCE_READY_FILE_TIMEOUT": "120",
  "LEGACY_CLI__argv": "{\"_\":[],\"nb-shards\":8,\"shard\":3,\"tmpdir\":\"/mnt/ramdisk/e2e\",\"ignore\":\"tests/misc/browsers.ts\"}",
  "LEGACY_CLI__ci": "true",
  "LEGACY_CLI__package-manager": "\"npm\"",
  "LEGACY_CLI__package-registry": "\"http://localhost:45091\"",
  "LEGACY_CLI__package-secure-registry": "\"http://localhost:35403\"",
  "LEGACY_CLI__tmp-root": "\"/mnt/ramdisk/e2e\"",
  "LEGACY_CLI__npm-global": "\"/mnt/ramdisk/e2e/npm-global\"",
  "LEGACY_CLI__yarn-global": "\"/mnt/ramdisk/e2e/yarn-global\"",
  "LEGACY_CLI__projects-root": "\"/mnt/ramdisk/e2e/e2e-test\"",
  "PATH": "/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/home/circleci/.npm-global/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}

STDOUT:

STDERR:
Error: Schema validation failed with the following errors:
  Data path "/styles/0/input" must match pattern "\.(?:css|scss|sass|less)$".
  Data path "/styles/0" must be string.
  Data path "/styles/0" must match exactly one schema in oneOf.

    at _exec (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:76:19)
    at silentNg (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:269:12)
    at ng (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:257:16)
    at /home/circleci/ng/tests/legacy-cli/e2e/tests/build/styles/stylus.ts:29:38
    at async /home/circleci/ng/tests/legacy-cli/e2e/utils/test_process.ts:15:9
ENV:{
  "YARN_VERSION": "1.22.10",
  "NPM_CONFIG_PREFIX": "/mnt/ramdisk/e2e/npm-global",
  "NPM_CONFIG_USERCONFIG": "/mnt/ramdisk/e2e/.npmrc",
  "NPM_CONFIG_REGISTRY": "http://localhost:45091",
  "YARN_CONFIG_PREFIX": "/mnt/ramdisk/e2e/yarn-global",
  "CIRCLECI": "true",
  "SAUCE_TUNNEL_IDENTIFIER": "angular-337964-3",
  "SAUCE_PID_FILE": "/tmp/angular/sauce-connect-pid-file.lock",
  "SAUCE_USERNAME": "angular-tooling",
  "SAUCE_ACCESS_KEY": "e05dabf6fe0e-2c18-abf4-496d-1d010490",
  "SAUCE_LOG_FILE": "/tmp/angular/sauce-connect.log",
  "CI": "true",
  "SAUCE_READY_FILE": "/tmp/angular/sauce-connect-ready-file.lock",
  "SAUCE_READY_FILE_TIMEOUT": "120",
  "LEGACY_CLI__argv": "{\"_\":[],\"nb-shards\":8,\"shard\":3,\"tmpdir\":\"/mnt/ramdisk/e2e\",\"ignore\":\"tests/misc/browsers.ts\"}",
  "LEGACY_CLI__ci": "true",
  "LEGACY_CLI__package-manager": "\"npm\"",
  "LEGACY_CLI__package-registry": "\"http://localhost:45091\"",
  "LEGACY_CLI__package-secure-registry": "\"http://localhost:35403\"",
  "LEGACY_CLI__tmp-root": "\"/mnt/ramdisk/e2e\"",
  "LEGACY_CLI__npm-global": "\"/mnt/ramdisk/e2e/npm-global\"",
  "LEGACY_CLI__yarn-global": "\"/mnt/ramdisk/e2e/yarn-global\"",
  "LEGACY_CLI__projects-root": "\"/mnt/ramdisk/e2e/e2e-test\"",
  "PATH": "/mnt/ramdisk/e2e/yarn-global/bin:/mnt/ramdisk/e2e/npm-global/bin:/home/circleci/.npm-global/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}

    at _exec (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:76:19)
    at launchTestProcess (/home/circleci/ng/tests/legacy-cli/e2e/utils/process.ts:333:12)
    at runTest (/home/circleci/ng/tests/legacy-cli/e2e_runner.ts:263:47)
    at runSteps (/home/circleci/ng/tests/legacy-cli/e2e_runner.ts:232:19)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async /home/circleci/ng/tests/legacy-cli/e2e_runner.ts:183:9

Exited with code exit status 1
CircleCI received exit code 1
```
2022-08-31 16:58:27 -04:00
Jason Bedard
2ef2d543b1 test: remove ci specific logic 2022-08-31 16:27:18 -04:00
Angular Robot
a472d150b5 build: update angular 2022-08-30 10:16:03 -04:00
Alan Agius
9167d888c2 test(@angular/cli): temporary disable material tests
These tests require material version 15.0.0-next to be released due to mismatching peer deps.
2022-08-30 08:53:41 -04:00
Alan Agius
2300be6a41 build: update dependencies to Angular 15.0.0-next 2022-08-30 08:53:41 -04:00
Jason Bedard
4c330b0bc1 test: ensure saucelabs tests are not excluded in CI 2022-08-29 08:15:01 -04:00
Alan Agius
8112d7bae0 test: remove reliance on built tarballs in E2E tests
Remove reliance on tarballs during E2E. Instead we always download the package from the private NPM server.
2022-08-29 08:14:34 -04:00
Jason Bedard
fd4755d406 test: watch full stdout when waiting for match 2022-08-29 08:14:11 -04:00
Alan Agius
7e35e2918b test: account for module resolution differences
In some cases due to module resolution '@ngtools' might already been under `@angular-devkit/build-angular`.
2022-08-26 10:35:11 -04:00
Alan Agius
2925f067da test: remove hardcoded worker chunk id
This commit changes how we retrieve the worker chunk Id. Prior to this change we hard coded the value, now we get it by reading the file names on disk.
2022-08-26 10:35:11 -04:00
Doug Parker
da271addf0 refactor(@angular/cli): update analytics prompt copy
Swapping `anonymous` for `pseudonymous` to align with privacy communication guidelines.
2022-08-22 16:04:11 -07:00
Angular Robot
f6c0d47ad8 build: update angular 2022-08-22 16:31:28 -06:00
Angular Robot
a296e95212 build: update angular to 989a053 2022-08-15 14:30:27 +02:00
Angular Robot
81768965c4 build: update angular 2022-08-12 08:20:10 -04:00
Alan Agius
4368c85983 refactor: remove unused local variables 2022-08-12 08:19:26 -04:00
Jason Bedard
22a3251099 test: ensure test assets are writable when copied for use in e2e tests 2022-08-11 11:27:41 -04:00
Jason Bedard
187ab7df58 test: add missing yargs config 2022-08-11 11:25:42 -04:00
Angular Robot
acde1b44cb build: update angular to 2693a88 2022-08-11 10:47:02 -04:00
Angular Robot
4adbdba532 build: update angular 2022-08-10 15:31:33 -04:00
Jason Bedard
9171543f06 test: improve test error message logs 2022-08-09 13:01:28 -04:00