diff --git a/.bazelignore b/.bazelignore index de4d1f007dd1..52ebdac6af4a 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1,2 +1,20 @@ +.git dist node_modules +packages/angular/cli/node_modules +packages/angular/create/node_modules +packages/angular/pwa/node_modules +packages/angular/build/node_modules +packages/angular/ssr/node_modules +packages/angular_devkit/architect/node_modules +packages/angular_devkit/architect_cli/node_modules +packages/angular_devkit/build_angular/node_modules +packages/angular_devkit/build_webpack/node_modules +packages/angular_devkit/core/node_modules +packages/angular_devkit/schematics/node_modules +packages/angular_devkit/schematics_cli/node_modules +packages/ngtools/webpack/node_modules +packages/schematics/angular/node_modules +modules/testing/builder/node_modules +tests/node_modules +tools/baseline_browserslist/node_modules diff --git a/.bazelrc b/.bazelrc index 722747468c4f..4f79c86cf3b4 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,8 +1,178 @@ +# Disable NG CLI TTY mode +build --action_env=NG_FORCE_TTY=false + +# Required by `rules_ts`. +common --@aspect_rules_ts//ts:skipLibCheck=always +common --@aspect_rules_ts//ts:default_to_tsc_transpiler + # Make TypeScript compilation fast, by keeping a few copies of the compiler # running as daemons, and cache SourceFile AST's to reduce parse time. build --strategy=TypeScriptCompile=worker -# Performance: avoid stat'ing input files -build --watchfs +# Enable debugging tests with --config=debug +test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results + +# Enable debugging tests with --config=no-sharding +# The below is useful to while using `fit` and `fdescribe` to avoid sharing and re-runs of failed flaky tests. +test:no-sharding --flaky_test_attempts=1 --test_sharding_strategy=disabled + +############################### +# Filesystem interactions # +############################### + +# Create symlinks in the project: +# - dist/bin for outputs +# - dist/testlogs, dist/genfiles +# - bazel-out +# NB: bazel-out should be excluded from the editor configuration. +# The checked-in /.vscode/settings.json does this for VSCode. +# Other editors may require manual config to ignore this directory. +# In the past, we saw a problem where VSCode traversed a massive tree, opening file handles and +# eventually a surprising failure with auto-discovery of the C++ toolchain in +# MacOS High Sierra. +# See https://github.com/bazelbuild/bazel/issues/4603 +build --symlink_prefix=dist/ + +# Turn off legacy external runfiles +build --nolegacy_external_runfiles + +# Turn on --incompatible_strict_action_env which was on by default +# in Bazel 0.21.0 but turned off again in 0.22.0. Follow +# https://github.com/bazelbuild/bazel/issues/7026 for more details. +# This flag is needed to so that the bazel cache is not invalidated +# when running bazel via `pnpm bazel`. +# See https://github.com/angular/angular/issues/27514. +build --incompatible_strict_action_env +run --incompatible_strict_action_env +test --incompatible_strict_action_env + +# Enable remote caching of build/action tree +build --experimental_remote_merkle_tree_cache + +# Ensure that tags applied in BUILDs propagate to actions +common --experimental_allow_tags_propagation + +# Ensure sandboxing is enabled even for exclusive tests +test --incompatible_exclusive_test_sandboxed + +############################### +# Saucelabs support # +# Turn on these settings with # +# --config=saucelabs # +############################### + +# Expose SauceLabs environment to actions +# These environment variables are needed by +# web_test_karma to run on Saucelabs +test:saucelabs --action_env=SAUCE_USERNAME +test:saucelabs --action_env=SAUCE_ACCESS_KEY +test:saucelabs --action_env=SAUCE_READY_FILE +test:saucelabs --action_env=SAUCE_PID_FILE +test:saucelabs --action_env=SAUCE_TUNNEL_IDENTIFIER +test:saucelabs --define=KARMA_WEB_TEST_MODE=SL_REQUIRED + +############################### +# Release support # +# Turn on these settings with # +# --config=release # +############################### + +# 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="pnpm -s ng-dev release build-env-stamp --mode=release" +build:release --stamp + +build:snapshot --workspace_status_command="pnpm -s ng-dev release build-env-stamp --mode=snapshot" +build:snapshot --stamp +build:snapshot --//:enable_snapshot_repo_deps + +build:e2e --workspace_status_command="pnpm -s ng-dev release build-env-stamp --mode=release" +build:e2e --stamp +test:e2e --test_timeout=3600 --experimental_ui_max_stdouterr_bytes=2097152 + +# Retry in the event of flakes +test:e2e --flaky_test_attempts=2 + +build:local --//:enable_package_json_tar_deps +############################### +# Output # +############################### + +# A more useful default output mode for bazel query +# Prints eg. "ng_module rule //foo:bar" rather than just "//foo:bar" +query --output=label_kind + +# By default, failing tests don't print any output, it goes to the log file test --test_output=errors +################################ +# Remote Execution Setup # +################################ + +# Use the Angular team internal GCP instance for remote execution. +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 +build:remote --define=EXECUTOR=remote + +# Setup the remote build execution servers. +build:remote --remote_cache=remotebuildexecution.googleapis.com +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 provided by the shared dev-infra package and targets k8 remote containers. +build:remote --extra_execution_platforms=@devinfra//bazel/remote-execution:platform_with_network +build:remote --host_platform=@devinfra//bazel/remote-execution:platform_with_network +build:remote --platforms=@devinfra//bazel/remote-execution:platform_with_network + +# Set remote caching settings +build:remote --remote_accept_cached=true +build:remote --remote_upload_local_results=false + +# Force remote executions to consider the entire run as linux. +# This is required for OSX cross-platform RBE. +build:remote --cpu=k8 +build:remote --host_cpu=k8 + +# Set up authentication mechanism for RBE +build:remote --google_default_credentials + +# Use HTTP remote cache +build:remote-cache --remote_cache=https://storage.googleapis.com/angular-team-cache +build:remote-cache --remote_accept_cached=true +build:remote-cache --remote_upload_local_results=false +build:remote-cache --google_default_credentials + +# Additional flags added when running a "trusted build" with additional access +build:trusted-build --remote_upload_local_results=true + +# Fixes issues with browser archives and files with spaces. Could be +# removed in Bazel 8 when Bazel runfiles supports spaces. +build --experimental_inprocess_symlink_creation + +#################################################### +# rules_js specific flags +#################################################### + +# TODO(josephperrott): investigate if this can be removed eventually. +# Prevents the npm package extract from occuring or caching on RBE which overwhelms our quota +build --modify_execution_info=NpmPackageExtract=+no-remote + +# Allow the Bazel server to check directory sources for changes. `rules_js` previously +# heavily relied on this, but still uses directory "inputs" in some cases. +# See: https://github.com/aspect-build/rules_js/issues/1408. +startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1 + +#################################################### +# User bazel configuration +# NOTE: This needs to be the *last* entry in the config. +#################################################### + +# Load any settings which are specific to the current user. Needs to be *last* statement +# in this config, as the user configuration should be able to overwrite flags from this file. +try-import .bazelrc.user diff --git a/.bazelversion b/.bazelversion new file mode 100644 index 000000000000..93c8ddab9fef --- /dev/null +++ b/.bazelversion @@ -0,0 +1 @@ +7.6.0 diff --git a/.circleci/bazel.rc b/.circleci/bazel.rc deleted file mode 100644 index 0cf9444d5d72..000000000000 --- a/.circleci/bazel.rc +++ /dev/null @@ -1,20 +0,0 @@ -# These options are enabled when running on CI -# We do this by copying this file to /etc/bazel.bazelrc at the start of the build. - -# Echo all the configuration settings and their source -build --announce_rc - -# Don't be spammy in the logs -build --noshow_progress - -# Don't run manual tests -test --test_tag_filters=-manual - -# Workaround https://github.com/bazelbuild/bazel/issues/3645 -# Bazel doesn't calculate the memory ceiling correctly when running under Docker. -# Limit Bazel to consuming resources that fit in CircleCI "medium" class which is the default: -# https://circleci.com/docs/2.0/configuration-reference/#resource_class -build --local_resources=3072,2.0,1.0 - -# Retry in the event of flakes -test --flaky_test_attempts=2 diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 291a72a17bfd..000000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,345 +0,0 @@ -# Configuration file for https://circleci.com/gh/angular/angular-cli - -# Note: YAML anchors allow an object to be re-used, reducing duplication. -# The ampersand declares an alias for an object, then later the `<<: *name` -# syntax dereferences it. -# See http://blog.daemonl.com/2016/02/yaml.html -# To validate changes, use an online parser, eg. -# http://yaml-online-parser.appspot.com/ - -# Variables - -## IMPORTANT -# If you change the cache key prefix, also sync the restore_cache fallback to match. -# Keep the static part of the cache key as prefix to enable correct fallbacks. -# See https://circleci.com/docs/2.0/caching/#restoring-cache for how prefixes work in CircleCI. -var_1: &default_docker_image circleci/node:12.1 -var_2: &browsers_docker_image circleci/node:12.1-browsers -var_3: &browsers_docker_image_node_10 circleci/node:10.12-browsers -var_4: &cache_key angular_devkit-0.11.0-{{ checksum "yarn.lock" }} - -# Settings common to each job -anchor_1: &defaults - working_directory: ~/ng - docker: - - image: *default_docker_image -anchor_1_win: &defaults_win - working_directory: ~/ng - resource_class: windows.medium - shell: powershell.exe -ExecutionPolicy Bypass - machine: - image: windows-server-2019 - -# After checkout, rebase on top of target branch. -anchor_2: &post_checkout - run: - name: Rebase PR on target branch - command: > - if [[ -n "${CIRCLE_PR_NUMBER}" ]]; then - # 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 ${CIRCLE_PR_NUMBER} - else - echo "This build is not over a PR, nothing to do." - fi -anchor_2_win: &post_checkout_win - run: - name: Rebase PR on target branch - command: > - if (Test-Path env:CIRCLE_PR_NUMBER) { - git config user.name "angular-ci" - git config user.email "angular-ci" - node tools\rebase-pr.js angular/angular-cli $env:CIRCLE_PR_NUMBER } -anchor_3: &restore_cache - restore_cache: - keys: - - *cache_key - # This fallback should be the cache_key without variables. - - angular_devkit-0.11.0- -anchor_4: &attach_options - at: . -anchor_5: &env_win - run: - # Need to install node and yarn before, as the base windows image doesn't have anything. - # TODO: remove when CircleCI provides preconfigured node images/VMs. - name: Setup windows node environment - command: ./.circleci/windows-env.ps1 -anchor_6: &ignore_pull_requests - filters: - branches: - ignore: - - /pull\/.*/ - -# Job definitions -version: 2.1 -jobs: - install: - <<: *defaults - steps: - - checkout - - *post_checkout - - *restore_cache - - run: yarn install --frozen-lockfile - - persist_to_workspace: - root: . - paths: - - ./* - - save_cache: - key: *cache_key - paths: - - ~/.cache/yarn - - lint: - <<: *defaults - steps: - - attach_workspace: *attach_options - - 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: - <<: *defaults - steps: - - attach_workspace: *attach_options - - run: yarn validate --ci - - test: - <<: *defaults - steps: - - attach_workspace: *attach_options - - run: yarn test -- --full - - test-large: - <<: *defaults - docker: - - image: *browsers_docker_image - resource_class: large - parallelism: 4 - steps: - - attach_workspace: *attach_options - - run: yarn webdriver-update - - run: yarn test-large --full --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} - - test-large-ivy: - <<: *defaults - docker: - - image: *browsers_docker_image - resource_class: large - parallelism: 4 - steps: - - attach_workspace: *attach_options - - run: yarn webdriver-update - - run: yarn test-large --ivy --full --glob="packages/angular_devkit/build_angular/test/browser/*_spec_large.ts" --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} - - e2e-cli: - <<: *defaults - docker: - - image: *browsers_docker_image - environment: - BASH_ENV: ~/.profile - NPM_CONFIG_PREFIX: ~/.npm-global - resource_class: xlarge - parallelism: 4 - steps: - - attach_workspace: *attach_options - - run: PATH=~/.npm-global/bin:$PATH xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} - - store_artifacts: - path: /tmp/dist - destination: cli/new-production - - e2e-cli-node-10: - <<: *defaults - docker: - - image: *browsers_docker_image_node_10 - environment: - BASH_ENV: ~/.profile - NPM_CONFIG_PREFIX: ~/.npm-global - resource_class: xlarge - parallelism: 4 - steps: - - attach_workspace: *attach_options - # Ensure latest npm version to support local package repository - - run: PATH=~/.npm-global/bin:$PATH npm install --global npm - - run: PATH=~/.npm-global/bin:$PATH xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} - - e2e-cli-ivy: - <<: *defaults - docker: - - image: *browsers_docker_image - environment: - BASH_ENV: ~/.profile - NPM_CONFIG_PREFIX: ~/.npm-global - resource_class: xlarge - parallelism: 4 - steps: - - attach_workspace: *attach_options - - run: PATH=~/.npm-global/bin:$PATH xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} --ivy - - e2e-cli-ng-snapshots: - <<: *defaults - docker: - - image: *browsers_docker_image - environment: - BASH_ENV: ~/.profile - NPM_CONFIG_PREFIX: ~/.npm-global - resource_class: xlarge - parallelism: 4 - steps: - - attach_workspace: *attach_options - - run: PATH=~/.npm-global/bin:$PATH xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} --ng-snapshots - - build: - <<: *defaults - steps: - - attach_workspace: *attach_options - - run: yarn admin -- build - - build-bazel: - <<: *defaults - resource_class: xlarge - steps: - - attach_workspace: *attach_options - - run: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc - - run: yarn bazel:test - - snapshot_publish: - <<: *defaults - steps: - - attach_workspace: *attach_options - - run: - name: Decrypt Credentials - # Note: when changing the image, you might have to re-encrypt the credentials with a - # matching version of openssl. - # See https://stackoverflow.com/a/43847627/2116927 for more info. - command: | - openssl aes-256-cbc -d -in .circleci/github_token -k "${KEY}" -out ~/github_token -md md5 - - run: - name: Deployment to Snapshot - command: | - yarn admin -- snapshots --verbose --githubTokenFile=${HOME}/github_token - - publish: - <<: *defaults - steps: - - attach_workspace: *attach_options - - run: - name: Decrypt Credentials - command: | - openssl aes-256-cbc -d -in .circleci/npm_token -k "${KEY}" -out ~/.npmrc - - run: - name: Deployment to NPM - command: | - yarn admin -- publish --verbose - - # Windows jobs - # CircleCI support for Windows jobs is still in preview. - # Docs: https://github.com/CircleCI-Public/windows-preview-docs - test-win: - <<: *defaults_win - # Skipping cache and workspace for now because it takes 10x longer than on linux. - # TODO: when/if CircleCI makes them faster, use cache and workspaces fully. - # Notes: - # - windows needs its own cache key because binaries in node_modules are different. - # - windows might need its own workspace for the same reason. - # - get cache dir on windows via `yarn cache dir` (was `C:\Users\circleci\AppData\Local\Yarn\Cache\v4` last time) - steps: - - checkout - - *env_win - - *post_checkout_win - - run: node --version - - run: yarn --version - - run: yarn install --frozen-lockfile - # Build and test should be on their own jobs, but restoring workspaces is too slow - # so we do it here. - - run: yarn admin -- build - - run: yarn test -- --full - # Run partial e2e suite on PRs only. Master will run the full e2e suite with sharding. - - run: if (Test-Path env:CIRCLE_PR_NUMBER) { node tests\legacy-cli\run_e2e.js "--glob=tests/{basic,ivy}/**" } - - e2e-cli-win: - <<: *defaults_win - parallelism: 4 - steps: - - checkout - - *env_win - # TODO: remove commands other than the e2e runner when workspaces on windows are well supported. - - *post_checkout_win - - run: node --version - - run: yarn --version - - run: yarn install --frozen-lockfile - - run: yarn admin -- build - - run: node tests\legacy-cli\run_e2e.js --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX - -workflows: - version: 2 - default_workflow: - jobs: - - install - - lint: - requires: - - install - - validate: - requires: - - install - - build: - requires: - - install - filters: - branches: - ignore: - - /docs-preview/ - - build-bazel: - requires: - - build - - test: - requires: - - build - - test-win: - requires: - - test - - test-large: - requires: - - build - - test-large-ivy: - requires: - - build - - e2e-cli: - requires: - - build - - e2e-cli-ivy: - requires: - - build - - e2e-cli-ng-snapshots: - <<: *ignore_pull_requests - requires: - - e2e-cli - - e2e-cli-node-10: - <<: *ignore_pull_requests - requires: - - e2e-cli - - e2e-cli-win: - <<: *ignore_pull_requests - requires: - - e2e-cli - - snapshot_publish: - <<: *ignore_pull_requests - requires: - - test - - build - - e2e-cli - - publish: - requires: - - test - - build - - e2e-cli - - snapshot_publish - filters: - tags: - only: /^v\d+/ - branches: - ignore: /.*/ diff --git a/.circleci/github_token b/.circleci/github_token deleted file mode 100644 index 450cb2c93f8c..000000000000 --- a/.circleci/github_token +++ /dev/null @@ -1 +0,0 @@ -Salted__z�����"B��Y��|�ۍ�V�QֳUzW�/G��R�e}j�%���<%������ \ No newline at end of file diff --git a/.circleci/npm_token b/.circleci/npm_token deleted file mode 100644 index 5a1bb6303052..000000000000 --- a/.circleci/npm_token +++ /dev/null @@ -1 +0,0 @@ -Salted__�/��L���ö���;��(.|��� ��C��Ԓ����5`h�8��i8J�o*�?}���3�0f�!�'�B�̠�"UƊ&K!�%�ɵڤ \ No newline at end of file diff --git a/.circleci/windows-env.ps1 b/.circleci/windows-env.ps1 deleted file mode 100644 index 1c4fff24e433..000000000000 --- a/.circleci/windows-env.ps1 +++ /dev/null @@ -1,9 +0,0 @@ -# Install nodejs and yarn via Chocolatey. -choco install nodejs --version 12.1.0 --no-progress -choco install yarn --version 1.16.0 --no-progress - -# Add PATH modifications to the Powershell profile. This is the win equivalent of .bash_profile. -# https://docs.microsoft.com/en-us/previous-versions//bb613488(v=vs.85) -new-item -path $profile -itemtype file -force -# Paths for nodejs, npm, and yarn. Use single quotes to prevent interpolation. -Add-Content $profile '$Env:path += ";C:\Program Files\nodejs\;C:\Users\circleci\AppData\Roaming\npm\;C:\Program Files (x86)\Yarn\bin\;"' diff --git a/.editorconfig b/.editorconfig index 1c658dfbc777..c0a70d2acb14 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,6 +9,7 @@ indent_size = 2 insert_final_newline = true spaces_around_brackets = inside trim_trailing_whitespace = true +quote_type = single [*.md] insert_final_newline = false diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index b5135def5125..000000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,10 +0,0 @@ -🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 - -Please help us process issues more efficiently by filing an -issue using one of the following templates: - -https://github.com/angular/angular-cli/issues/new/choose - -Thank you! - -🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.md b/.github/ISSUE_TEMPLATE/1-bug-report.md deleted file mode 100644 index b8249e87c28b..000000000000 --- a/.github/ISSUE_TEMPLATE/1-bug-report.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -name: "\U0001F41EBug report" -about: Report a bug in Angular CLI ---- - - - -# 🐞 Bug report - -### Command (mark with an `x`) - - -``` -- [ ] new -- [ ] build -- [ ] serve -- [ ] test -- [ ] e2e -- [ ] generate -- [ ] add -- [ ] update -- [ ] lint -- [ ] xi18n -- [ ] run -- [ ] config -- [ ] help -- [ ] version -- [ ] doc -``` - -### Is this a regression? - - - Yes, the previous version in which this bug was not present was: .... - - -### Description - - A clear and concise description of the problem... - - -## 🔬 Minimal Reproduction - - -## 🔥 Exception or Error -
-
-
-
-
-
-
-## 🌍 Your Environment
-
-
-
-
-
-
-**Anything else relevant?**
-
-
-
diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml
new file mode 100644
index 000000000000..5c4ea7d2cbdb
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml
@@ -0,0 +1,102 @@
+name: Bug report
+description: Report a bug in Angular CLI
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Oh hi there!
+
+ To expedite issue processing please search open and closed issues before submitting a new one.
+ Existing issues often contain information about workarounds, resolution, or progress updates.
+ - type: dropdown
+ id: command
+ attributes:
+ label: Command
+ description: Can you pin-point the command or commands that are effected by this bug?
+ options:
+ - add
+ - build
+ - config
+ - doc
+ - e2e
+ - extract-i18n
+ - generate
+ - help
+ - lint
+ - new
+ - other
+ - run
+ - serve
+ - test
+ - update
+ - version
+ multiple: true
+ validations:
+ required: true
+ - type: checkboxes
+ id: is-regression
+ attributes:
+ label: Is this a regression?
+ description: Did this behavior use to work in the previous version?
+ options:
+ - label: Yes, this behavior used to work in the previous version
+ - type: input
+ id: version-bug-was-not-present
+ attributes:
+ label: The previous version in which this bug was not present was
+ validations:
+ required: false
+ - type: textarea
+ id: description
+ attributes:
+ label: Description
+ description: A clear and concise description of the problem.
+ validations:
+ required: true
+ - type: textarea
+ id: minimal-reproduction
+ attributes:
+ label: Minimal Reproduction
+ description: |
+ Simple steps to reproduce this bug.
+
+ **Please include:**
+ * commands run (including args)
+ * packages added
+ * related code changes
+
+
+ If reproduction steps are not enough for reproduction of your issue, please create a minimal GitHub repository with the reproduction of the issue.
+ A good way to make a minimal reproduction is to create a new app via `ng new repro-app` and add the minimum possible code to show the problem.
+ Share the link to the repo below along with step-by-step instructions to reproduce the problem, as well as expected and actual behavior.
+
+ Issues that don't have enough info and can't be reproduced will be closed.
+
+ You can read more about issue submission guidelines [here](https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-submitting-an-issue).
+ validations:
+ required: true
+ - type: textarea
+ id: exception-or-error
+ attributes:
+ label: Exception or Error
+ description: If the issue is accompanied by an exception or an error, please share it below.
+ render: text
+ validations:
+ required: false
+ - type: textarea
+ id: environment
+ attributes:
+ label: Your Environment
+ description: Run `ng version` and paste output below.
+ render: text
+ validations:
+ required: true
+ - type: textarea
+ id: other
+ attributes:
+ label: Anything else relevant?
+ description: |
+ Is this a browser specific issue? If so, please specify the browser and version.
+ Do any of these matter: operating system, IDE, package manager, HTTP server, ...? If so, please mention it below.
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.md b/.github/ISSUE_TEMPLATE/2-feature-request.md
deleted file mode 100644
index 4c8292f45157..000000000000
--- a/.github/ISSUE_TEMPLATE/2-feature-request.md
+++ /dev/null
@@ -1,49 +0,0 @@
----
-name: "\U0001F680Feature request"
-about: Suggest a feature for Angular CLI
-
----
-
-
-
-# 🚀 Feature request
-
-
-### Command (mark with an `x`)
-
-
-```
-- [ ] new
-- [ ] build
-- [ ] serve
-- [ ] test
-- [ ] e2e
-- [ ] generate
-- [ ] add
-- [ ] update
-- [ ] lint
-- [ ] xi18n
-- [ ] run
-- [ ] config
-- [ ] help
-- [ ] version
-- [ ] doc
-```
-
-### Description
- A clear and concise description of the problem or missing capability...
-
-
-### Describe the solution you'd like
- If you have a solution in mind, please describe it.
-
-
-### Describe alternatives you've considered
- Have you considered any alternative solutions or workarounds?
diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.yml b/.github/ISSUE_TEMPLATE/2-feature-request.yml
new file mode 100644
index 000000000000..4a01698e0f37
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/2-feature-request.yml
@@ -0,0 +1,55 @@
+name: Feature request
+description: Suggest a feature for Angular CLI
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Oh hi there!
+
+ To expedite issue processing please search open and closed issues before submitting a new one.
+ Existing issues often contain information about workarounds, resolution, or progress updates.
+ - type: dropdown
+ id: command
+ attributes:
+ label: Command
+ description: Can you pin-point the command or commands that are relevant for this feature request?
+ options:
+ - add
+ - build
+ - config
+ - doc
+ - e2e
+ - extract-i18n
+ - generate
+ - help
+ - lint
+ - new
+ - run
+ - serve
+ - test
+ - update
+ - version
+ multiple: true
+ validations:
+ required: true
+ - type: textarea
+ id: description
+ attributes:
+ label: Description
+ description: A clear and concise description of the problem or missing capability.
+ validations:
+ required: true
+ - type: textarea
+ id: desired-solution
+ attributes:
+ label: Describe the solution you'd like
+ description: If you have a solution in mind, please describe it.
+ validations:
+ required: false
+ - type: textarea
+ id: alternatives
+ attributes:
+ label: Describe alternatives you've considered
+ description: Have you considered any alternative solutions or workarounds?
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/3-docs-bug.md b/.github/ISSUE_TEMPLATE/3-docs-bug.md
deleted file mode 100644
index 7cd9ec28753a..000000000000
--- a/.github/ISSUE_TEMPLATE/3-docs-bug.md
+++ /dev/null
@@ -1,13 +0,0 @@
----
-name: "📚 Docs or angular.io issue report"
-about: Report an issue in Angular's documentation or angular.io application
-
----
-
-🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
-
-Please file any Docs or angular.io issues at: https://github.com/angular/angular/issues/new/choose
-
-For the time being, we keep Angular AIO issues in a separate repository.
-
-🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
diff --git a/.github/ISSUE_TEMPLATE/4-security-issue-disclosure.md b/.github/ISSUE_TEMPLATE/4-security-issue-disclosure.md
deleted file mode 100644
index b789da9f6da1..000000000000
--- a/.github/ISSUE_TEMPLATE/4-security-issue-disclosure.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-name: ⚠️Security issue disclosure
-about: Report a security issue in Angular Framework, Material, or CLI
-
----
-
-🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
-
-Please read https://angular.io/guide/security#report-issues on how to disclose security related issues.
-
-🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
diff --git a/.github/ISSUE_TEMPLATE/5-support-request.md b/.github/ISSUE_TEMPLATE/5-support-request.md
deleted file mode 100644
index f6e6e66ff893..000000000000
--- a/.github/ISSUE_TEMPLATE/5-support-request.md
+++ /dev/null
@@ -1,16 +0,0 @@
----
-name: "❓Support request"
-about: Questions and requests for support
-
----
-
-🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
-
-Please do not file questions or support requests on the GitHub issues tracker.
-
-You can get your questions answered using other communication channels. Please see:
-https://github.com/angular/angular-cli/blob/master/CONTRIBUTING.md#question
-
-Thank you!
-
-🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
diff --git a/.github/ISSUE_TEMPLATE/6-angular-framework.md b/.github/ISSUE_TEMPLATE/6-angular-framework.md
deleted file mode 100644
index 8a689c55de35..000000000000
--- a/.github/ISSUE_TEMPLATE/6-angular-framework.md
+++ /dev/null
@@ -1,13 +0,0 @@
----
-name: "⚡Angular Framework"
-about: Issues and feature requests for Angular Framework
-
----
-
-🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
-
-Please file any Angular Framework issues at: https://github.com/angular/angular/issues/new/choose
-
-For the time being, we keep Angular issues in a separate repository.
-
-🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
diff --git a/.github/ISSUE_TEMPLATE/7-angular-material.md b/.github/ISSUE_TEMPLATE/7-angular-material.md
deleted file mode 100644
index b023135b0cc5..000000000000
--- a/.github/ISSUE_TEMPLATE/7-angular-material.md
+++ /dev/null
@@ -1,13 +0,0 @@
----
-name: "\U0001F48EAngular Material"
-about: Issues and feature requests for Angular Material
-
----
-
-🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
-
-Please file any Angular Material issues at: https://github.com/angular/material2/issues/new
-
-For the time being, we keep Angular Material issues in a separate repository.
-
-🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 000000000000..898698af3906
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,17 @@
+blank_issues_enabled: false
+contact_links:
+ - name: Docs or angular.dev issue report
+ url: https://github.com/angular/angular/issues/new
+ about: Report an issue in Angular's documentation or angular.dev application
+ - name: Security issue disclosure
+ url: https://angular.dev/best-practices/security
+ about: Report a security issue in Angular Framework, Material, or CLI
+ - name: Support request
+ url: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#question
+ about: Questions and requests for support.
+ - name: Angular Framework
+ url: https://github.com/angular/angular/issues/new/choose
+ about: Issues and feature requests for Angular Framework
+ - name: Angular Material
+ url: https://github.com/angular/components/issues/new/choose
+ about: Issues and feature requests for Angular Material
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 000000000000..3214dde0a4f4
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,43 @@
+## PR Checklist
+
+Please check to confirm your PR fulfills the following requirements:
+
+
+
+- [ ] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines
+- [ ] Tests for the changes have been added (for bug fixes / features)
+- [ ] Docs have been added / updated (for bug fixes / features)
+
+## PR Type
+
+What kind of change does this PR introduce?
+
+
+
+- [ ] Bugfix
+- [ ] Feature
+- [ ] Code style update (formatting, local variables)
+- [ ] Refactoring (no functional changes, no api changes)
+- [ ] Build related changes
+- [ ] CI related changes
+- [ ] Documentation content changes
+- [ ] Other... Please describe:
+
+## What is the current behavior?
+
+
+
+Issue Number: N/A
+
+## What is the new behavior?
+
+
+
+## Does this PR introduce a breaking change?
+
+- [ ] Yes
+- [ ] No
+
+
+
+## Other information
diff --git a/.github/SAVED_REPLIES.md b/.github/SAVED_REPLIES.md
index 29e19832903c..1237bc279e11 100644
--- a/.github/SAVED_REPLIES.md
+++ b/.github/SAVED_REPLIES.md
@@ -4,87 +4,87 @@ The following are canned responses that the Angular CLI team should use to close
Since GitHub currently doesn't allow us to have a repository-wide or organization-wide list of [saved replies](https://help.github.com/articles/working-with-saved-replies/), these replies need to be maintained by individual team members. Since the responses can be modified in the future, all responses are versioned to simplify the process of keeping the responses up to date.
-
## Angular CLI: Already Fixed (v1)
+
```
Thanks for reporting this issue. Luckily, it has already been fixed in one of the recent releases. Please update to the most recent version to resolve the problem.
If the problem persists in your application after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use `ng new repro-app` to create a new project where you reproduce the problem.
```
-
## Angular CLI: Don't Understand (v1)
+
```
I'm sorry, but we don't understand the problem you are reporting.
If the problem persists, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use `ng new repro-app` to create a new project where you reproduce the problem.
```
-
## Angular CLI: Duplicate (v1.1)
+
```
Thanks for reporting this issue. However, this issue is a duplicate of #@angular-devkit/build-angular (12.2.0-next.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ silence Sass compiler warnings from 3rd party stylesheets | + +
+
+ [Closes #21235] + + + |
+
+ |
+
+ force linker `sourceMapping` option to false. | + +
+
+ [Closes #21271] + + + |
+
+ |
+
+ ensure `NG_PERSISTENT_BUILD_CACHE` always creates a cache in the specified cache directory | + ++ | +
+ |
+
+ fail browser build when index generation fails | + ++ | +
+ |
+
+ fix issue were `@media all` causing critical CSS inling to fail | + +
+
+ [Closes #20804] + + + |
+
+ |
+
+ `extractLicenses` didn't have an effect when using server builder | + ++ | +
+ |
+
+ display incompatibility errors | + +
+
+ [Closes #21322] + + + |
+
+ |
+
+ limit advanced terser passes to two | + ++ | +
+ |
+
+ exclude `outputPath` from persistent build cache key | + +
+
+ [Closes #21275] + + + |
+
+ |
+
+ use `esbuild` as a CSS optimizer for component styles | + ++ | +
@ngtools/webpack (12.2.0-next.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ only track file dependencies | + +
+
+ [Closes #21228] + + + |
+
+ |
+
+ allow generated assets of Angular component resources | + ++ | +
+ |
+
+ avoid non-actionable template type-checker syntax diagnostics | + ++ | +
@schematics/angular (12.2.0-next.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ destroy test module after every test | + +
+
+ [Closes #21280] + + + |
+
+ |
+
+ remove unsafe any usage in application spec file | + ++ | +
+ |
+
+ replace interactive `div` with `button` in application component template | + ++ | +
+ |
+
+ use stricter semver for `karma-jasmine-html-reporter` | + ++ | +
@angular-devkit/build-angular (12.1.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ silence Sass compiler warnings from 3rd party stylesheets | + +
+
+ [Closes #21235] + + + |
+
+ |
+
+ ensure `NG_PERSISTENT_BUILD_CACHE` always creates a cache in the specified cache directory | + ++ | +
+ |
+
+ force linker `sourceMapping` option to false. | + +
+
+ [Closes #21271] + + + |
+
+ |
+
+ fail browser build when index generation fails | + ++ | +
+ |
+
+ `extractLicenses` didn't have an effect when using server builder | + ++ | +
+ |
+
+ fix issue were `@media all` causing critical CSS inling to fail | + +
+
+ [Closes #20804] + + + |
+
+ |
+
+ display incompatibility errors | + +
+
+ [Closes #21322] + + + |
+
+ |
+
+ exclude `outputPath` from persistent build cache key | + +
+
+ [Closes #21275] + + + |
+
@ngtools/webpack (12.1.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ only track file dependencies | + +
+
+ [Closes #21228] + + + |
+
+ |
+
+ allow generated assets of Angular component resources | + ++ | +
+ |
+
+ avoid non-actionable template type-checker syntax diagnostics | + ++ | +
@schematics/angular (12.1.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove unsafe any usage in application spec file | + ++ | +
+ |
+
+ replace interactive `div` with `button` in application component template | + ++ | +
+ |
+
+ use stricter semver for `karma-jasmine-html-reporter` | + ++ | +
@angular-devkit/build-angular (12.1.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ handle `ENOENT` and `ENOTDIR` errors when deleting outputs | + +
+
+ [Closes #21202] + + + |
+
+ |
+
+ downlevel `for await...of` when targeting ES2018+ | + +
+
+ [Closes #21196] + + + |
+
+ |
+
+ configure webpack target in common configuration | + +
+
+ [Closes #21239] + + + |
+
+ |
+
+ update `mini-css-extract-plugin` to `1.6.2` | + ++ | +
+ |
+
+ update `webpack` to `5.41.1` | + ++ | +
@angular/cli (12.1.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ disable update notifier when retrieving package manager version during `ng version` | + +
+
+ [Closes #21172] + + + |
+
@ngtools/webpack (12.1.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ encode component style data | + +
+
+ [Closes #21236] + + + |
+
@angular-devkit/build-angular (12.2.0-next.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ add support to inline Adobe Fonts | + +
+
+ [Closes #21186] + + + |
+
+ |
+
+ handle `ENOENT` and `ENOTDIR` errors when deleting outputs | + +
+
+ [Closes #21202] + + + |
+
+ |
+
+ downlevel `for await...of` when targeting ES2018+ | + +
+
+ [Closes #21196] + + + |
+
+ |
+
+ configure webpack target in common configuration | + +
+
+ [Closes #21239] + + + |
+
+ |
+
+ use combination of `esbuild` and `terser` as a JavaScript optimizer | + ++ | +
+ |
+
+ cache JavaScriptOptimizerPlugin results | + ++ | +
@angular/cli (12.2.0-next.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ disable update notifier when retrieving package manager version during `ng version` | + +
+
+ [Closes #21172] + + + |
+
@ngtools/webpack (12.2.0-next.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ encode component style data | + +
+
+ [Closes #21236] + + + |
+
@angular-devkit/build-angular (12.1.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ handle ng-packagr errors more gracefully. | + ++ | +
+ |
+
+ control linker template sourcemapping via builder sourcemap options | + ++ | +
+ |
+
+ parse web-workers in tests when webWorkerTsConfig is defined | + ++ | +
@ngtools/webpack (12.1.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove no longer needed component styles workaround | + ++ | +
@schematics/angular (12.1.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ add 'none' value for the 'style' option of the component schematic | + ++ | +
+ |
+
+ display warning during migrations when using third-party builders | + ++ | +
+ |
+
+ add devtools to ng new | + ++ | +
@angular-devkit/build-angular (12.1.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ enable webpack Trusted Types support | + ++ | +
+ |
+
+ deprecate protractor builder | + ++ | +
+ |
+
+ support using TypeScript 4.3 | + ++ | +
+ |
+
+ revert open to 8.0.2 | + +
+
+ [Closes #20807] + + + |
+
+ |
+
+ correctly ignore inline styles during i18n extraction | + ++ | +
+ |
+
+ use the name as chunk filename instead of id | + ++ | +
+ |
+
+ handle ng-packagr errors more gracefully. | + ++ | +
+ |
+
+ control linker template sourcemapping via builder sourcemap options | + ++ | +
+ |
+
+ parse web-workers in tests when webWorkerTsConfig is defined | + ++ | +
+ |
+
+ use CSS optimization plugin that leverages workers | + ++ | +
+ |
+
+ enable opt-in usage of file system cache | + ++ | +
@angular/cli (12.1.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ show Node.js version support status in version command | + +
+
+ [Closes #20879] + + + |
+
+ |
+
+ handle unscoped authentication details in `.npmrc` files | + ++ | +
+ |
+
+ don't resolve `.npmrc` from parent directories | + ++ | +
@ngtools/webpack (12.1.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ support using TypeScript 4.3 | + ++ | +
+ |
+
+ remove redundant inline style cache | + ++ | +
+ |
+
+ ensure plugin provided Webpack instance is used | + ++ | +
+ |
+
+ disable caching for ngcc synchronous Webpack resolver | + ++ | +
+ |
+
+ remove no longer needed component styles workaround | + ++ | +
@schematics/angular (12.1.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ create new projects with TypeScript 4.3 | + ++ | +
+ |
+
+ add migration to replace deprecated `--prod` | + +
+
+ [Closes #21036] + + + |
+
+ |
+
+ add 'none' value for the 'style' option of the component schematic | + ++ | +
+ |
+
+ display warning during migrations when using third-party builders | + ++ | +
+ |
+
+ add devtools to ng new | + ++ | +
@angular-devkit/build-angular (12.1.0-next.6) | ||
Commit + | Description + | Notes + |
+ |
+
+ don't parse `new Worker` syntax when `webWorkerTsConfig` is not defined in karma builder | + +
+
+ [Closes #21108] + + + |
+
+ |
+
+ explicitly set compilation target in test configuration | + +
+
+ [Closes #21111] + + + |
+
+ |
+
+ use the name as chunk filename instead of id | + ++ | +
+ |
+
+ enable opt-in usage of file system cache | + ++ | +
@angular/cli (12.1.0-next.6) | ||
Commit + | Description + | Notes + |
+ |
+
+ handle unscoped authentication details in `.npmrc` files | + ++ | +
+ |
+
+ don't resolve `.npmrc` from parent directories | + ++ | +
@schematics/angular (12.1.0-next.6) | ||
Commit + | Description + | Notes + |
+ |
+
+ add migration to replace deprecated `--prod` | + +
+
+ [Closes #21036] + + + |
+
@angular-devkit/build-angular (12.0.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ don't parse `new Worker` syntax when `webWorkerTsConfig` is not defined in karma builder | + +
+
+ [Closes #21108] + + + |
+
+ |
+
+ explicitly set compilation target in test configuration | + +
+
+ [Closes #21111] + + + |
+
@angular/cli (12.0.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ handle unscoped authentication details in .npmrc files | + ++ | +
@angular-devkit/build-angular (12.1.0-next.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ support using TypeScript 4.3 | + ++ | +
+ |
+
+ ensure all Webpack Stats assets are present on rebuilds | + +
+
+ [Closes #21038] + + + |
+
+ |
+
+ dispose Sass worker resources on Webpack shutdown | + +
+
+ [Closes #20985] + + + |
+
+ |
+
+ show progress during re-builds | + ++ | +
+ |
+
+ correctly mark async chunks as non initial in dev-server | + ++ | +
+ |
+
+ add web-workers in lazy chunks in stats output | + +
+
+ [Closes #21059] + + + |
+
+ |
+
+ styles CSS files not available in unit tests | + +
+
+ [Closes #21054] + + + |
+
+ |
+
+ reduce memory usage by cleaning output directory before emitting | + ++ | +
@angular-devkit/schematics (12.1.0-next.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ handle updating renamed files | + +
+
+ [Closes #14255] + + + + [Closes #21083] + + + |
+
@angular/cli (12.1.0-next.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ avoid shell exec when bootstrapping update command | + ++ | +
+ |
+
+ correctly redirect nested Angular schematic dependency requests | + +
+
+ [Closes #21075] + + + |
+
@ngtools/webpack (12.1.0-next.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ support using TypeScript 4.3 | + ++ | +
+ |
+
+ ensure plugin provided Webpack instance is used | + ++ | +
+ |
+
+ disable caching for ngcc synchronous Webpack resolver | + ++ | +
@schematics/angular (12.1.0-next.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ create new projects with TypeScript 4.3 | + ++ | +
+ |
+
+ added webWorkerTsConfig into test option | + ++ | +
+ |
+
+ working with formatting | + ++ | +
@angular-devkit/build-angular (12.0.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ ensure all Webpack Stats assets are present on rebuilds | + +
+
+ [Closes #21038] + + + |
+
+ |
+
+ dispose Sass worker resources on Webpack shutdown | + +
+
+ [Closes #20985] + + + |
+
+ |
+
+ show progress during re-builds | + ++ | +
+ |
+
+ correctly mark async chunks as non initial in dev-server | + ++ | +
+ |
+
+ add web-workers in lazy chunks in stats output | + +
+
+ [Closes #21059] + + + |
+
+ |
+
+ styles CSS files not available in unit tests | + +
+
+ [Closes #21054] + + + |
+
+ |
+
+ reduce memory usage by cleaning output directory before emitting | + ++ | +
@angular-devkit/schematics (12.0.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ handle updating renamed files | + +
+
+ [Closes #14255] + + + + [Closes #21083] + + + |
+
@angular/cli (12.0.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ avoid shell exec when bootstrapping update command | + ++ | +
+ |
+
+ correctly redirect nested Angular schematic dependency requests | + +
+
+ [Closes #21075] + + + |
+
@ngtools/webpack (12.0.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ ensure plugin provided Webpack instance is used | + ++ | +
@schematics/angular (12.0.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ added webWorkerTsConfig into test option | + ++ | +
+ |
+
+ working with formatting | + ++ | +
@angular-devkit/build-angular (12.0.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ do not resolve web-workers in server builds | + +
+
+ [Closes #20877] + + + |
+
+ |
+
+ provided earlier build feedback in console | + +
+
+ [Closes #20957] + + + |
+
+ |
+
+ correctly ignore inline styles during i18n extraction | + +
+
+ [Closes #20968] + + + |
+
+ |
+
+ update `license-webpack-plugin` to `2.3.19` | + ++ | +
@angular-devkit/build-webpack (0.1200.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ include only required stats in webpackStats | + ++ | +
@angular-devkit/core (12.0.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ show allowed enum values when validation on enum fails | + ++ | +
+ |
+
+ handle complex smart defaults in schemas | + ++ | +
+ |
+
+ handle async schema validations | + ++ | +
+ |
+
+ transform path using getSystemPath for NodeJsAsyncHost's `exists` method | + ++ | +
@angular/cli (12.0.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ update supported range of node versions to be less restrictive | + +
+
+ [Closes #20796] + + + |
+
@ngtools/webpack (12.0.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ normalize paths when adding file dependencies | + +
+
+ [Closes #20891] + + + |
+
+ |
+
+ remove redundant inline style cache | + ++ | +
@schematics/angular (12.0.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ make version 12 workspace config migration idempotent | + +
+
+ [Closes #20979] + + + |
+
+ |
+
+ show better error when non existing project is passed to the component schematic | + ++ | +
@angular-devkit/build-angular (12.1.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ do not resolve web-workers in server builds | + +
+
+ [Closes #20877] + + + |
+
+ |
+
+ provided earlier build feedback in console | + +
+
+ [Closes #20957] + + + |
+
+ |
+
+ correctly ignore inline styles during i18n extraction | + ++ | +
@angular-devkit/build-webpack (0.1201.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ include only required stats in webpackStats | + ++ | +
@angular-devkit/core (12.1.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ show allowed enum values when validation on enum fails | + ++ | +
+ |
+
+ handle complex smart defaults in schemas | + ++ | +
+ |
+
+ handle async schema validations | + ++ | +
+ |
+
+ transform path using getSystemPath for NodeJsAsyncHost's `exists` method | + ++ | +
@angular/cli (12.1.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ update supported range of node versions to be less restrictive | + +
+
+ [Closes #20796] + + + |
+
@ngtools/webpack (12.1.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ normalize paths when adding file dependencies | + +
+
+ [Closes #20891] + + + |
+
+ |
+
+ remove redundant inline style cache | + ++ | +
@schematics/angular (12.1.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ make version 12 workspace config migration idempotent | + +
+
+ [Closes #20979] + + + |
+
+ |
+
+ show better error when non existing project is passed to the component schematic | + ++ | +
@angular-devkit/build-angular (12.1.0-next.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ enable webpack Trusted Types support | + ++ | +
+ |
+
+ deprecate protractor builder | + ++ | +
+ |
+
+ ensure Sass worker implementation supports Node.js 12.14 | + ++ | +
+ |
+
+ don't add `.hot-update.js` script tags | + +
+
+ [Closes #20855] + + + |
+
+ |
+
+ correctly generate ServiceWorker config on Windows | + +
+
+ [Closes #20894] + + + |
+
+ |
+
+ ensure latest inline stylesheet data is used during rebuilds | + ++ | +
+ |
+
+ allow i18n extraction on application that uses web-workers | + +
+
+ [Closes #20930] + + + |
+
+ |
+
+ hide stacktraces from dart-sass errors | + ++ | +
+ |
+
+ resolve absolute outputPath properly | + +
+
+ [Closes #20935] + + + |
+
+ |
+
+ show `--disable-host-check` warning only when not using `disableHostCheck` | + +
+
+ [Closes #20951] + + + |
+
+ |
+
+ disable CSS optimization parallelism for components styles | + +
+
+ [Closes #20883] + + + |
+
+ |
+
+ load postcss-preset-env configuration once | + ++ | +
@angular/cli (12.1.0-next.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ show Node.js version support status in version command | + +
+
+ [Closes #20879] + + + |
+
+ |
+
+ ng update on windows to allow path | + ++ | +
@ngtools/webpack (12.1.0-next.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ re-emit component stylesheet assets | + +
+
+ [Closes #20882] + + + |
+
@angular-devkit/build-angular (12.0.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ ensure Sass worker implementation supports Node.js 12.14 | + ++ | +
+ |
+
+ don't add `.hot-update.js` script tags | + +
+
+ [Closes #20855] + + + |
+
+ |
+
+ correctly generate ServiceWorker config on Windows | + +
+
+ [Closes #20894] + + + |
+
+ |
+
+ ensure latest inline stylesheet data is used during rebuilds | + ++ | +
+ |
+
+ allow i18n extraction on application that uses web-workers | + +
+
+ [Closes #20930] + + + |
+
+ |
+
+ hide stacktraces from dart-sass errors | + ++ | +
+ |
+
+ resolve absolute outputPath properly | + +
+
+ [Closes #20935] + + + |
+
+ |
+
+ show `--disable-host-check` warning only when not using `disableHostCheck` | + +
+
+ [Closes #20951] + + + |
+
+ |
+
+ update PostCSS to 8.3 | + ++ | +
+ |
+
+ disable CSS optimization parallelism for components styles | + +
+
+ [Closes #20883] + + + |
+
+ |
+
+ load postcss-preset-env configuration once | + ++ | +
@angular/cli (12.0.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ ng update on windows to allow path | + ++ | +
@ngtools/webpack (12.0.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ re-emit component stylesheet assets | + +
+
+ [Closes #20882] + + + |
+
@angular-devkit/build-angular (12.0.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ add experimental web-assembly | + +
+
+ [Closes #20762] + + + |
+
+ |
+
+ fix error with inline styles when running extract-i18n | + ++ | +
+ |
+
+ add `NG_BUILD_MAX_WORKERS` settimgs to control maximum number of workers | + ++ | +
+ |
+
+ non injected styles should not count as initial | + +
+
+ [Closes #20781] + + + |
+
+ |
+
+ revert open to 8.0.2 | + +
+
+ [Closes #20807] + + + |
+
+ |
+
+ correctly resolve babel runtime helpers | + +
+
+ [Closes #20800] + + + |
+
+ |
+
+ compile schema in synchronously | + +
+
+ [Closes #20847] + + + |
+
+ |
+
+ execute dart-sass in a worker | + ++ | +
+ |
+
+ reduce JSON stats | + ++ | +
+ |
+
+ use CSS optimization plugin that leverages workers | + ++ | +
+ |
+
+ render Sass using a pool of workers | + ++ | +
+ |
+
+ clean no-longer used assets during builds | + ++ | +
@angular/cli (12.0.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ cannot locate bin for temporary package | + ++ | +
+ |
+
+ clean node modules directory prior to updating | + ++ | +
+ |
+
+ improve `--prod` deprecation warning | + +
+
+ [Closes #20806] + + + |
+
@ngtools/webpack (12.0.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ reduce non-watch mode TypeScript diagnostic analysis overhead | + ++ | +
@schematics/angular (12.0.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove --prod option from README template | + ++ | +
+ |
+
+ don't add `skipTest` option to module schematic options | + +
+
+ [Closes #20811] + + + |
+
+ |
+
+ add migration to remove `skipTests` from `@schematics/angular:module` | + +
+
+ [Closes #20848] + + + |
+
@angular-devkit/build-angular (12.1.0-next.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ add experimental web-assembly | + +
+
+ [Closes #20762] + + + |
+
+ |
+
+ add `NG_BUILD_MAX_WORKERS` settimgs to control maximum number of workers | + ++ | +
+ |
+
+ non injected styles should not count as initial | + +
+
+ [Closes #20781] + + + |
+
+ |
+
+ revert open to 8.0.2 | + +
+
+ [Closes #20807] + + + |
+
+ |
+
+ correctly resolve babel runtime helpers | + +
+
+ [Closes #20800] + + + |
+
+ |
+
+ compile schema in synchronously | + +
+
+ [Closes #20847] + + + |
+
+ |
+
+ execute dart-sass in a worker | + ++ | +
+ |
+
+ reduce JSON stats | + ++ | +
+ |
+
+ use CSS optimization plugin that leverages workers | + ++ | +
+ |
+
+ render Sass using a pool of workers | + ++ | +
+ |
+
+ clean no-longer used assets during builds | + ++ | +
@angular/cli (12.1.0-next.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ cannot locate bin for temporary package | + ++ | +
+ |
+
+ clean node modules directory prior to updating | + ++ | +
+ |
+
+ improve `--prod` deprecation warning | + +
+
+ [Closes #20806] + + + |
+
@ngtools/webpack (12.1.0-next.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ reduce non-watch mode TypeScript diagnostic analysis overhead | + ++ | +
@schematics/angular (12.1.0-next.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove --prod option from README template | + ++ | +
+ |
+
+ don't add `skipTest` option to module schematic options | + +
+
+ [Closes #20811] + + + |
+
+ |
+
+ add migration to remove `skipTests` from `@schematics/angular:module` | + +
+
+ [Closes #20848] + + + |
+
@angular-devkit/architect (0.1200.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ add implementation for defaultConfiguration | + ++ | +
@angular-devkit/build-angular (12.0.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ add `postcss-preset-env` with stage 3 features | + ++ | +
+ |
+
+ drop support for karma version 5.2 | + ++ | +
+ |
+
+ drop support for ng-packagr version 11 | + ++ | +
+ |
+
+ enable inlineCritical by default | + ++ | +
+ |
+
+ show warning during build when project requires IE 11 support | + ++ | +
+ |
+
+ expose legacy-migrate message format | + ++ | +
+ |
+
+ integrate JIT mode linker | + +
+
+ [Closes #20281] + + + |
+
+ |
+
+ upgrade to Webpack 5 throughout the build system | + ++ | +
+ |
+
+ support processing component inline CSS styles | + ++ | +
+ |
+
+ support specifying stylesheet language for inline component styles | + ++ | +
+ |
+
+ remove left-over `experimentalRollupPass` option | + ++ | +
+ |
+
+ support writing large Webpack stat outputs | + ++ | +
+ |
+
+ ensure output directory is present before writing stats JSON | + ++ | +
+ |
+
+ remove deprecated View Engine support for i18n extraction | + ++ | +
+ |
+
+ remove usage of deprecated View Engine compiler | + ++ | +
+ |
+
+ remove deprecated i18nLocale and i18nFormat options from i18n-extract | + ++ | +
+ |
+
+ update karma builder to use non-deprecated API | + ++ | +
+ |
+
+ disable webpack cache when using `NG_BUILD_CACHE` | + ++ | +
+ |
+
+ remove duplicate application bundle generation complete message | + ++ | +
+ |
+
+ mark programmatic builder execution functions as experimental | + ++ | +
+ |
+
+ avoid double build optimizer processing | + ++ | +
+ |
+
+ replace Webpack 4 `hashForChunk` hook usage | + ++ | +
+ |
+
+ use new Webpack watch API in karma webpack plugin | + ++ | +
+ |
+
+ recover from CSS optimization errors | + ++ | +
+ |
+
+ disable Webpack 5 automatic public path support | + ++ | +
+ |
+
+ always inject live reload client when using live reload | + ++ | +
+ |
+
+ change several builder options defaults | + ++ | +
+ |
+
+ show warning when using stylus | + ++ | +
+ |
+
+ avoid triggering file change after file build | + ++ | +
+ |
+
+ remove left-over `forkTypeChecker` option | + ++ | +
+ |
+
+ disable CSS declaration sorting optimizations | + +
+
+ [Closes #20693] + + + |
+
+ |
+
+ disable `showCircularDependencies` by default | + ++ | +
+ |
+
+ use Webpack's GC memory caching in watch mode | + ++ | +
+ |
+
+ improve incremental time during Karma tests | + ++ | +
+ |
+
+ avoid async downlevel for known ES2015 code | + ++ | +
@angular-devkit/build-optimizer (0.1200.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ support Webpack 5 | + ++ | +
@angular-devkit/build-webpack (0.1200.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ provide output path in builder results | + ++ | +
+ |
+
+ support Webpack 5 | + ++ | +
@angular-devkit/core (12.0.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ add handling for `defaultConfiguration` target definition property | + ++ | +
+ |
+
+ update schema validator | + ++ | +
+ |
+
+ ensure job input values are processed in order | + ++ | +
+ |
+
+ improve handling of set schema values | + +
+
+ [Closes #20594] + + + |
+
@angular/cli (12.0.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ add `defaultConfiguration` property to architect schema | + ++ | +
+ |
+
+ deprecate `--prod` command line argument | + ++ | +
+ |
+
+ confirm ng add action before installation | + ++ | +
+ |
+
+ support TypeScript 4.2 | + ++ | +
+ |
+
+ ensure odd number Node.js version message is a warning | + ++ | +
+ |
+
+ remove npm 7 incompatibility notification | + ++ | +
+ |
+
+ avoid exceptions for expected errors in architect commands | + ++ | +
+ |
+
+ ensure update migrations are fully executed | + ++ | +
+ |
+
+ exclude deprecated packages with removal migrations from update | + ++ | +
+ |
+
+ add message update updating from non LTS versions of the CLI | + ++ | +
+ |
+
+ ignore `tsickle` during updates | + ++ | +
+ |
+
+ run all migrations when updating from or between prereleases | + ++ | +
+ |
+
+ add package manager name and version in `ng version` output | + ++ | +
+ |
+
+ Support XDG Base Directory Specification | + ++ | +
+ |
+
+ don't display options multiple times in schematics help output | + ++ | +
+ |
+
+ change package installation to async | + ++ | +
+ |
+
+ infer schematic defaults correctly when using `--project` | + +
+
+ [Closes #20666] + + + |
+
+ |
+
+ propagate update's force option to package managers | + ++ | +
+ |
+
+ allow unsetting config when value is `undefined` | + ++ | +
+ |
+
+ allow config object to be of JSON. | + ++ | +
+ |
+
+ disallow additional properties in builders sections | + ++ | +
@ngtools/webpack (12.0.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ support Webpack 5 | + ++ | +
+ |
+
+ drop support for string based lazy loading | + ++ | +
+ |
+
+ support multiple plugin instances per compilation | + ++ | +
+ |
+
+ support generating data URIs for inline component styles in JIT | + ++ | +
+ |
+
+ support processing inline component styles in AOT | + ++ | +
+ |
+
+ remove Webpack 5 deprecation warning in resource loader | + ++ | +
+ |
+
+ use correct Webpack asset stage in resource loader | + ++ | +
+ |
+
+ remove Webpack plugin for deprecated ViewEngine compiler | + ++ | +
+ |
+
+ only track actual resource file dependencies | + ++ | +
+ |
+
+ avoid adding transitive dependencies to Webpack's dependency graph | + ++ | +
+ |
+
+ use precalculated dependencies in unused file check | + ++ | +
+ |
+
+ only check affected files for Angular semantic diagnostics | + ++ | +
+ |
+
+ cache results of processed inline resources | + ++ | +
+ |
+
+ rebuild Angular required files asynchronously | + ++ | +
+ |
+
+ reduce source file and Webpack module iteration | + ++ | +
@schematics/angular (12.0.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ add migration to remove deprecated options from 'angular.json' | + ++ | +
+ |
+
+ strict mode by default | + ++ | +
+ |
+
+ use new zone.js entry-points | + ++ | +
+ |
+
+ add migration to use new zone.js entry-points | + ++ | +
+ |
+
+ add migration to remove emitDecoratorMetadata | + ++ | +
+ |
+
+ augment `universal` schematics to import `platform-server` shims | + +
+
+ [Closes #40559] + + + |
+
+ |
+
+ update new project dependencies version | + +
+
+ [Closes #20106] + + + |
+
+ |
+
+ production builds by default | + ++ | +
+ |
+
+ deprecate `legacyBrowsers` application and ng-new option | + ++ | +
+ |
+
+ add migration to remove `lazyModules` configuration option | + ++ | +
+ |
+
+ add migration to update lazy loading string syntax to use dynamic imports | + ++ | +
+ |
+
+ update several TypeScript compilation target (Syntax) | + ++ | +
+ |
+
+ remove tslint and codelyzer from new projects | + +
+
+ [Closes #20105] + + + + [Closes #18465] + + + |
+
+ |
+
+ add production by default optional migration | + ++ | +
+ |
+
+ update new workspaces to use Karma 6.3 | + ++ | +
+ |
+
+ remove `entryComponent` from `component` schematic | + ++ | +
+ |
+
+ configure new libraries to be published in Ivy partial mode | + ++ | +
+ |
+
+ update `jasmine-spec-reporter` to version 7 | + ++ | +
+ |
+
+ migrate web workers to support Webpack 5 | + ++ | +
+ |
+
+ only update removed v12 options in migration | + ++ | +
+ |
+
+ add `additionalProperties` to all schemas | + ++ | +
+ |
+
+ remove references to the prod flag | + ++ | +
+ |
+
+ only show legacy browsers deprecation warning when option is used | + ++ | +
+ |
+
+ remove leftover workspace tslint config | + ++ | +
+ |
+
+ correctly handle adding multi-line strings to `@NgModule` metadata | + ++ | +
+ |
+
+ run update-i18n migration for server builder | + ++ | +
+ |
+
+ update web-worker to support Webpack 5 | + ++ | +
+ |
+
+ set `inlineStyleLanguage` when application `style` option is used | + ++ | +
+ |
+
+ set `inlineStyleLanguage` for universal if present in build options | + ++ | +
+ |
+
+ remove jasmine-spec-reporter and ts-node from default workspace | + ++ | +
+ |
+
+ remove Protractor from home page | + ++ | +
+ |
+
+ remove lint command from package.json | + +
+
+ [Closes #20618] + + + |
+
+ |
+
+ fix migration for namedChunks and option | + ++ | +
+ |
+
+ add "type" option in enum schematic | + ++ | +
+ |
+
+ only run `emitDecoratorMetadata` removal migration in safe workspaces | + ++ | +
+ |
+
+ replace `clientProject` with `project` | + ++ | +
@angular/cli (12.0.0-rc.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ propagate update's force option to package managers | + ++ | +
+ |
+
+ allow unsetting config when value is `undefined` | + ++ | +
+ |
+
+ allow config object to be of JSON. | + ++ | +
+ |
+
+ disallow additional properties in builders sections | + ++ | +
@angular-devkit/build-angular (12.0.0-rc.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ disable CSS declaration sorting optimizations | + +
+
+ [Closes #20693] + + + |
+
@angular/cli (12.0.0-rc.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ don't display options multiple times in schematics help output | + ++ | +
+ |
+
+ change package installation to async | + ++ | +
+ |
+
+ infer schematic defaults correctly when using `--project` | + +
+
+ [Closes #20666] + + + |
+
@ngtools/webpack (12.0.0-rc.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ rebuild Angular required files asynchronously | + ++ | +
+ |
+
+ reduce source file and Webpack module iteration | + ++ | +
@schematics/angular (12.0.0-rc.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ add "type" option in enum schematic | + ++ | +
+ |
+
+ only run `emitDecoratorMetadata` removal migration in safe workspaces | + ++ | +
+ |
+
+ replace `clientProject` with `project` | + ++ | +
@angular-devkit/build-angular (12.0.0-rc.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove left-over `forkTypeChecker` option | + ++ | +
+ |
+
+ output webpack-dev-server and webpack-dev-middleware errors | + ++ | +
+ |
+
+ improve incremental time during Karma tests | + ++ | +
+ |
+
+ avoid async downlevel for known ES2015 code | + ++ | +
@angular-devkit/core (12.0.0-rc.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ improve handling of set schema values | + +
+
+ [Closes #20594] + + + |
+
@angular/cli (12.0.0-rc.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ add package manager name and version in `ng version` output | + ++ | +
+ |
+
+ Support XDG Base Directory Specification | + ++ | +
@schematics/angular (12.0.0-rc.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove jasmine-spec-reporter and ts-node from default workspace | + ++ | +
+ |
+
+ remove Protractor from home page | + ++ | +
+ |
+
+ remove lint command from package.json | + +
+
+ [Closes #20618] + + + |
+
+ |
+
+ avoid unuse imports for canLoad guard generation | + ++ | +
+ |
+
+ fix migration for namedChunks and option | + ++ | +
@angular-devkit/schematics-cli (12.0.0-rc.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ accept windows like paths for schematics | + ++ | +
@angular-devkit/build-angular (12.0.0-rc.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ avoid double build optimizer processing | + ++ | +
+ |
+
+ replace Webpack 4 `hashForChunk` hook usage | + ++ | +
+ |
+
+ use new Webpack watch API in karma webpack plugin | + ++ | +
+ |
+
+ recover from CSS optimization errors | + ++ | +
+ |
+
+ disable Webpack 5 automatic public path support | + ++ | +
+ |
+
+ always inject live reload client when using live reload | + ++ | +
+ |
+
+ change several builder options defaults | + ++ | +
+ |
+
+ show warning when using stylus | + ++ | +
+ |
+
+ set Tailwind CSS mode when using Tailwind | + ++ | +
+ |
+
+ avoid triggering file change after file build | + ++ | +
+ |
+
+ use Webpack's GC memory caching in watch mode | + ++ | +
@angular/cli (12.0.0-rc.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ ignore `tsickle` during updates | + ++ | +
+ |
+
+ run all migrations when updating from or between prereleases | + ++ | +
@ngtools/webpack (12.0.0-rc.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ only track actual resource file dependencies | + ++ | +
+ |
+
+ cache results of processed inline resources | + ++ | +
@schematics/angular (12.0.0-rc.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ set `inlineStyleLanguage` when application `style` option is used | + ++ | +
+ |
+
+ set `inlineStyleLanguage` for universal if present in build options | + ++ | +
@angular-devkit/build-angular (12.0.0-next.9) | ||
Commit + | Description + | Notes + |
+ |
+
+ upgrade to Webpack 5 throughout the build system | + ++ | +
+ |
+
+ support processing component inline CSS styles | + ++ | +
+ |
+
+ support specifying stylesheet language for inline component styles | + ++ | +
+ |
+
+ update karma builder to use non-deprecated API | + ++ | +
+ |
+
+ disable webpack cache when using `NG_BUILD_CACHE` | + ++ | +
+ |
+
+ remove duplicate application bundle generation complete message | + ++ | +
+ |
+
+ mark programmatic builder execution functions as experimental | + ++ | +
@angular-devkit/build-webpack (0.1200.0-next.9) | ||
Commit + | Description + | Notes + |
+ |
+
+ support Webpack 5 | + ++ | +
@angular-devkit/core (12.0.0-next.9) | ||
Commit + | Description + | Notes + |
+ |
+
+ update schema validator | + ++ | +
@angular/cli (12.0.0-next.9) | ||
Commit + | Description + | Notes + |
+ |
+
+ add message update updating from non LTS versions of the CLI | + ++ | +
@ngtools/webpack (12.0.0-next.9) | ||
Commit + | Description + | Notes + |
+ |
+
+ support multiple plugin instances per compilation | + ++ | +
+ |
+
+ support generating data URIs for inline component styles in JIT | + ++ | +
+ |
+
+ support processing inline component styles in AOT | + ++ | +
@schematics/angular (12.0.0-next.9) | ||
Commit + | Description + | Notes + |
+ |
+
+ configure new libraries to be published in Ivy partial mode | + ++ | +
+ |
+
+ update `jasmine-spec-reporter` to version 7 | + ++ | +
+ |
+
+ migrate web workers to support Webpack 5 | + ++ | +
+ |
+
+ update web-worker to support Webpack 5 | + ++ | +
@angular-devkit/build-angular (0.1200.0-next.8) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove deprecated i18nLocale and i18nFormat options from i18n-extract | + ++ | +
@ngtools/webpack (12.0.0-next.8) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove Webpack plugin for deprecated ViewEngine compiler | + ++ | +
@schematics/angular (12.0.0-next.8) | ||
Commit + | Description + | Notes + |
+ |
+
+ run update-i18n migration for server builder | + ++ | +
@angular-devkit/build-angular (0.1200.0-next.7) | ||
Commit + | Description + | Notes + |
+ |
+
+ validate scripts and styles bundleName | + +
+
+ [Closes #20360] + + + |
+
+ |
+
+ remove deprecated View Engine support for i18n extraction | + ++ | +
+ |
+
+ remove usage of deprecated View Engine compiler | + ++ | +
@angular/cli (12.0.0-next.7) | ||
Commit + | Description + | Notes + |
+ |
+
+ ensure update migrations are fully executed | + ++ | +
+ |
+
+ exclude deprecated packages with removal migrations from update | + ++ | +
@ngtools/webpack (12.0.0-next.7) | ||
Commit + | Description + | Notes + |
+ |
+
+ use correct Webpack asset stage in resource loader | + ++ | +
+ |
+
+ only check affected files for Angular semantic diagnostics | + ++ | +
@schematics/angular (12.0.0-next.7) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove `entryComponent` from `component` schematic | + ++ | +
+ |
+
+ correctly handle adding multi-line strings to `@NgModule` metadata | + ++ | +
+ |
+
+ explicitly specify ServiceWorker registration strategy | + ++ | +
@angular-devkit/build-angular (0.1200.0-next.6) | ||
Commit + | Description + | Notes + |
+ |
+
+ ensure output directory is present before writing stats JSON | + ++ | +
@schematics/angular (12.0.0-next.6) | ||
Commit + | Description + | Notes + |
+ |
+
+ add production by default optional migration | + ++ | +
+ |
+
+ update new workspaces to use Karma 6.3 | + ++ | +
+ |
+
+ remove leftover workspace tslint config | + ++ | +
@angular-devkit/build-angular (0.1200.0-next.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ expose legacy-migrate message format | + ++ | +
+ |
+
+ integrate JIT mode linker | + +
+
+ [Closes #20281] + + + |
+
+ |
+
+ display correct filename for bundles that are ES2016+ | + ++ | +
+ |
+
+ don't load an input sourcemap from file when using Babel | + ++ | +
+ |
+
+ support writing large Webpack stat outputs | + ++ | +
+ |
+
+ skip FESM2015 from `async` transformation | + ++ | +
+ |
+
+ remove Webpack Stats.toJson usage in analytics plugin | + ++ | +
+ |
+
+ remove Webpack Stats.toJson usage in karma plugin | + ++ | +
+ |
+
+ enforce Babel not to load sourcemaps from file | + ++ | +
+ |
+
+ disable `showCircularDependencies` by default | + ++ | +
@angular-devkit/build-webpack (0.1200.0-next.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ provide output path in builder results | + ++ | +
@angular/cli (12.0.0-next.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ confirm ng add action before installation | + ++ | +
+ |
+
+ support TypeScript 4.2 | + ++ | +
+ |
+
+ remove `project` from required properties in ng-packagr schema | + ++ | +
@ngtools/webpack (12.0.0-next.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove Webpack 5 deprecation warning in resource loader | + ++ | +
+ |
+
+ avoid adding transitive dependencies to Webpack's dependency graph | + ++ | +
+ |
+
+ use precalculated dependencies in unused file check | + ++ | +
@schematics/angular (12.0.0-next.5) | ||
Commit + | Description + | Notes + |
+ |
+
+ update several TypeScript compilation target (Syntax) | + ++ | +
+ |
+
+ remove tslint and codelyzer from new projects | + +
+
+ [Closes #20105] + + + + [Closes #18465] + + + |
+
+ |
+
+ remove references to the prod flag | + ++ | +
+ |
+
+ fix youtube icon margin | + ++ | +
+ |
+
+ only show legacy browsers deprecation warning when option is used | + ++ | +
+ |
+
+ remove Native value from viewEncapsulation option | + ++ | +
+ |
+
+ use title for svg on home page | + ++ | +
@angular-devkit/architect (0.1200.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ add implementation for defaultConfiguration | + ++ | +
@angular-devkit/build-angular (0.1200.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ show warning during build when project requires IE 11 support | + ++ | +
+ |
+
+ only remove nomodule and defer attributes empty values | + +
+
+
+ [Closes #20207] + + + |
+
@angular-devkit/core (12.0.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ add handling for `defaultConfiguration` target definition property | + ++ | +
@angular/cli (12.0.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ deprecate `--prod` command line argument | + ++ | +
+ |
+
+ add `defaultConfiguration` property to architect schema | + ++ | +
+ |
+
+ avoid exceptions for expected errors in architect commands | + ++ | +
+ |
+
+ add ng-packagr builder schema in IDE schema | + ++ | +
@ngtools/webpack (12.0.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ drop support for string based lazy loading | + ++ | +
@schematics/angular (12.0.0-next.4) | ||
Commit + | Description + | Notes + |
+ |
+
+ add migration to update lazy loading string syntax to use dynamic imports | + ++ | +
+ |
+
+ add migration to remove `lazyModules` configuration option | + ++ | +
+ |
+
+ deprecate `legacyBrowsers` application and ng-new option | + ++ | +
+ |
+
+ production builds by default | + ++ | +
+ |
+
+ add `additionalProperties` to all schemas | + ++ | +
@angular-devkit/build-angular (0.1200.0-next.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ enable inlineCritical by default | + ++ | +
+ |
+
+ remove left-over `experimentalRollupPass` option | + ++ | +
+ |
+
+ inline critical font-face rules when using crittical css inlining | + ++ | +
@schematics/angular (12.0.0-next.3) | ||
Commit + | Description + | Notes + |
+ |
+
+ update ng new links | + ++ | +
@angular-devkit/build-angular (0.1200.0-next.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ only show index and service worker status once | + ++ | +
+ |
+
+ disable declaration and declarationMap | + +
+
+
+ [Closes #20103] + + + |
+
@angular/cli (12.0.0-next.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ remove npm 7 incompatibility notification | + ++ | +
@schematics/angular (12.0.0-next.2) | ||
Commit + | Description + | Notes + |
+ |
+
+ update new project dependencies version | + +
+
+ [Closes #20106] + + + |
+
+ |
+
+ augment `universal` schematics to import `platform-server` shims | + +
+
+ [Closes #40559] + + + |
+
+ |
+
+ add migration to remove emitDecoratorMetadata | + ++ | +
@angular-devkit/build-angular (0.1200.0-next.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ drop support for ng-packagr version 11 | + ++ | +
+ |
+
+ drop support for karma version 5.2 | + ++ | +
@angular-devkit/build-optimizer (0.1200.0-next.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ support Webpack 5 | + ++ | +
@angular/cli (12.0.0-next.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ support update migration packages with no entry points | + +
+
+
+ [Closes #20032] + + + |
+
+ |
+
+ ensure odd number Node.js version message is a warning | + ++ | +
+ |
+
+ improve error logging when resolving update migrations | + ++ | +
@ngtools/webpack (12.0.0-next.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ support Webpack 5 | + ++ | +
+ |
+
+ normalize paths when pruning AOT rebuild requests | + ++ | +
@schematics/angular (12.0.0-next.1) | ||
Commit + | Description + | Notes + |
+ |
+
+ add migration to use new zone.js entry-points | + ++ | +
+ |
+
+ use new zone.js entry-points | + ++ | +
@angular-devkit/build-angular (0.1200.0-next.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ add `postcss-preset-env` with stage 3 features | + ++ | +
+ |
+
+ ensure i18n extraction sourcemaps are fully configured | + ++ | +
+ |
+
+ the root Tailwind configuration file is always picked | + ++ | +
+ |
+
+ fixed ignoring of karma plugins config | + +
+
+
+ [Closes #19993] + + + |
+
@angular-devkit/core (12.0.0-next.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ ensure job input values are processed in order | + ++ | +
@angular/cli (12.0.0-next.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ update NPM 7 guidance | + ++ | +
@ngtools/webpack (12.0.0-next.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ reduce overhead of Angular compiler rebuild requests | + ++ | +
@schematics/angular (12.0.0-next.0) | ||
Commit + | Description + | Notes + |
+ |
+
+ strict mode by default | + ++ | +
+ |
+
+ add migration to remove deprecated options from 'angular.json' | + ++ | +
+ |
+
+ only update removed v12 options in migration | + ++ | +
+
+
+
+ The Angular CLI is a command-line interface tool that you use to initialize, develop, scaffold,
+
and maintain Angular applications directly from a command shell.
+
+
+ angular.dev/tools/cli
+
+
+ Contributing Guidelines
+ ·
+ Submit an Issue
+ ·
+ Blog
+
+
+
+
+
- --aot
default value: false
-
- Build using Ahead of Time compilation. -
-
- --app
(aliases: -a
)
-
- Specifies app name or index to use. -
-
- --base-href
(aliases: -bh
)
-
- Base url for the application being built. -
-
- --deploy-url
(aliases: -d
)
-
- URL where files will be deployed. -
-
- --environment
(aliases: -e
)
-
- Defines the build environment. -
-
- --extract-css
(aliases: -ec
)
-
- Extract css from global styles onto css files instead of js ones. -
-
- --i18n-file
-
- Localization file to use for i18n. -
-
- --i18n-format
-
- Format of the localization file specified with --i18n-file. -
-
- --locale
-
- Locale to use for i18n. -
-
- --missing-translation
-
- How to handle missing translations for i18n. -
-
- Values: error
, warning
, ignore
-
- --output-hashing
(aliases: -oh
)
-
- Define the output filename cache-busting hashing mode. -
-
- Values: none
, all
, media
, bundles
-
- --output-path
(aliases: -op
)
-
- Path where output will be placed. -
-
- --delete-output-path
(aliases: -dop
) default value: true
-
- Delete the output-path directory. -
-
- --poll
-
- Enable and define the file watching poll time period (milliseconds). -
-
- --progress
(aliases: -pr
) default value: true inside TTY, false otherwise
-
- Log progress to the console while building. -
-
- --sourcemap
(aliases: -sm
, sourcemaps
)
-
- Output sourcemaps. -
-
- --stats-json
-
- Generates a stats.json
file which can be analyzed using tools such as: webpack-bundle-analyzer
or https://webpack.github.io/analyse/.
-
- --target
(aliases: -t
, -dev
, -prod
) default value: development
-
- Defines the build target. -
-
- --vendor-chunk
(aliases: -vc
) default value: true
-
- Use a separate bundle containing only vendor libraries. -
-
- --common-chunk
(aliases: -cc
) default value: true
-
- Use a separate bundle containing code used across multiple bundles. -
-
- --verbose
(aliases: -v
) default value: false
-
- Adds more details to output logging. -
-
- --watch
(aliases: -w
)
-
- Run build when files change. -
-
- --show-circular-dependencies
(aliases: -scd
)
-
- Show circular dependency warnings on builds. -
-
- --build-optimizer
-
- Enables @angular-devkit/build-optimizer optimizations when using `--aot`. -
-
- --named-chunks
(aliases: -nc
)
-
- Use file name for lazy loaded chunks. -
-
- --bundle-dependencies
-
- In a server build, state whether `all` or `none` dependencies should be bundles in the output. -
-
- --extract-licenses
default value: true
-
- Extract all licenses in a separate file, in the case of production builds only. -
-
- --global
default value: false
-
- Get/set the value in the global configuration (in your home directory). -
-
- --search
(alias: -s
) default value: false
-
- Search for the keyword in the whole [angular.io](https://angular.io) documentation instead of just the API. -
-
- --config
(aliases: -c
)
-
- Use a specific config file. Defaults to the protractor config file in .angular-cli.json
.
-
- --element-explorer
(aliases: -ee
) default value: false
-
- Start Protractor's Element Explorer for debugging. -
-
- --serve
(aliases: -s
) default value: true
-
- Compile and Serve the app. All serve options are also available. The live-reload option defaults to false, and the default port will be random. -
-- NOTE: Build failure will not launch the e2e task. You must first fix error(s) and run e2e again. -
-
- --specs
(aliases: -sp
) default value: []
-
- Override specs in the protractor config. Can send in multiple specs by repeating flag (ng e2e --specs=spec1.ts --specs=spec2.ts
).
-
- --suite
(aliases: -su
)
-
- Override suite in the protractor config. Can send in multiple suite by comma separated values (ng e2e --suite=suiteA,suiteB
).
-
- --webdriver-update
(aliases: -wu
) default value: true
-
- Try to update webdriver. -
-
- --aot
-
- Build using Ahead of Time compilation. -
-
- --app
(aliases: -a
) default value: 1st app
-
- Specifies app name to use. -
-
- --base-href
(aliases: -bh
)
-
- Base url for the application being built. -
-
- --deploy-url
(aliases: -d
)
-
- URL where files will be deployed. -
-
- --environment
(aliases: -e
)
-
- Defines the build environment. -
-
- --extract-css
(aliases: -ec
)
-
- Extract css from global styles onto css files instead of js ones. -
-
- --force
default value: false
-
- Overwrite any webpack.config.js and npm scripts already existing. -
-
- --i18n-file
-
- Localization file to use for i18n. -
-
- --i18n-format
-
- Format of the localization file specified with --i18n-file. -
-
- --locale
-
- Locale to use for i18n. -
-
- --missing-translation
-
- How to handle missing translations for i18n. -
-
- Values: error
, warning
, ignore
-
- --output-hashing
(aliases: -oh
) default value:
-
- Define the output filename cache-busting hashing mode. Possible values: none
, all
, media
, bundles
-
- --output-path
(aliases: -op
) default value:
-
- Path where output will be placed. -
-
- --poll
-
- Enable and define the file watching poll time period (milliseconds) . -
-
- --progress
(aliases: -pr
) default value: true inside TTY, false otherwise
-
- Log progress to the console while building. -
-
- --sourcemap
(aliases: -sm
, sourcemaps
)
-
- Output sourcemaps. -
-
- --target
(aliases: -t
, -dev
, -prod
) default value: development
-
- Defines the build target. -
-
- --vendor-chunk
(aliases: -vc
) default value: true
-
- Use a separate bundle containing only vendor libraries. -
-
- --common-chunk
(aliases: -cc
) default value: true
-
- Use a separate bundle containing code used across multiple bundles. -
-
- --verbose
(aliases: -v
) default value: false
-
- Adds more details to output logging. -
-
- --watch
(aliases: -w
)
-
- Run build when files change. -
-
- --dry-run
(aliases: -d
) default value: false
-
- Run through without making any changes. -
-
- --force
(aliases: -f
) default value: false
-
- Forces overwriting of files. -
-
- --app
-
- Specifies app name to use. -
-
- --app
(aliases: -a
) default value: 1st app
-
- Specifies app name to use. -
-
- --spec
-
- Specifies if a spec file is generated. -
-
- --app
(aliases: -a
) default value: 1st app
-
- Specifies app name to use. -
-
- --change-detection
(aliases: -c
)
-
- Specifies the change detection strategy. -
-
- --flat
default value: false
-
- Flag to indicate if a dir is created. -
-
- --export
default value: false
-
- Specifies if declaring module exports the component. -
-
- --inline-style
(aliases: -s
) default value: false
-
- Specifies if the style will be in the ts file. -
-
- --inline-template
(aliases: -t
) default value: false
-
- Specifies if the template will be in the ts file. -
-
- --module
(aliases: -m
)
-
- Allows specification of the declaring module's file name (e.g `app.module.ts`). -
-
- --prefix
-
- Specifies whether to use the prefix. -
-
- --skip-import
default value: false
-
- Allows for skipping the module import. -
-
- --spec
-
- Specifies if a spec file is generated. -
-
- --view-encapsulation
(aliases: -v
)
-
- Specifies the view encapsulation strategy. -
-
- --app
(aliases: -a
) default value: 1st app
-
- Specifies app name to use. -
-
- --export
default value: false
-
- Specifies if declaring module exports the component. -
-
- --flat
-
- Flag to indicate if a dir is created. -
-
- --module
(aliases: -m
)
-
- Allows specification of the declaring module. -
-
- --prefix
-
- Specifies whether to use the prefix. -
-
- --skip-import
-
- Allows for skipping the module import. -
-
- --spec
-
- Specifies if a spec file is generated. -
-
- --app
(aliases: -a
) default value: 1st app
-
- Specifies app name to use. -
-
- --app
(aliases: -a
) default value: 1st app
-
- Specifies app name to use. -
-
- --flat
-
- Indicate if a dir is created. -
-
- --module
(aliases: -m
)
-
- Specifies where the guard should be provided. -
-
- --spec
-
- Specifies if a spec file is generated. -
-
- --app
(aliases: -a
) default value: 1st app
-
- Specifies app name to use. -
-- Optional String to specify the type of interface. -
-
- --app
(aliases: -a
) default value: 1st app
-
- Specifies app name to use. -
-
- --flat
-
- Flag to indicate if a dir is created. -
-
- --module
(aliases: -m
)
-
- Specifies where the module should be imported. -
-
- --spec
-
- Specifies if a spec file is generated. -
-
- --routing
-
- Specifies if a routing module file should be generated. -
-
- --app
(aliases: -a
) default value: 1st app
-
- Specifies app name to use. -
-
- --export
-
- Specifies if declaring module exports the pipe. -
-
- --flat
-
- Flag to indicate if a dir is created. -
-
- --module
(aliases: -m
)
-
- Allows specification of the declaring module. -
-
- --skip-import
-
- Allows for skipping the module import. -
-
- --spec
-
- Specifies if a spec file is generated. -
-
- --app
(aliases: -a
) default value: 1st app
-
- Specifies app name to use. -
-
- --flat
-
- Flag to indicate if a dir is created. -
-
- --module
(aliases: -m
)
-
- Specifies where the service should be provided. -
-
- --spec
-
- Specifies if a spec file is generated. -
-
- --fix
default value: false
-
- Fixes linting errors (may overwrite linted files). -
-
- --force
default value: false
-
- Succeeds even if there was linting errors. -
-
- --type-check
default value: false
-
- Controls the type check for linting. -
-
- --format
(aliases: -t
) default value: prose
-
- Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist, codeFrame). -
-
- --directory
(alias: -d
) default value: dir
-
- The directory name to create the app in. -
-
- --dry-run
(alias: -d
) default value: false
-
- Run through without making any changes. Will list all files that would have been created when running ng new
.
-
- --inline-style
(alias: -s
) default value: false
-
- Should have an inline style. -
-
- --inline-template
(alias: -t
) default value: false
-
- Should have an inline template. -
-
- --minimal
default value: false
-
- Should create a minimal app. -
-
- --prefix
(alias: -p
) default value: app
-
- The prefix to use for all component selectors. -
-
- You can later change the value in .angular-cli.json (apps[0].prefix
).
-
- --routing
default value: false
-
- Generate a routing module. -
-
- --skip-commit
(alias: -sc
) default value: false
-
- Skip committing the first commit to git. -
-
- --skip-git
(alias: -g
) default value: false
-
- Skip initializing a git repository. -
-
- --skip-install
(alias: -si
) default value: false
-
- Skip installing packages. -
-
- --skip-tests (aliases:
-S) default value: false
-
- Skip creating spec files. -
-- Skip including e2e functionality. -
-
- --source-dir
(alias: -D
) default value: src
-
- The name of the source directory. -
-
- You can later change the value in .angular-cli.json (apps[0].root
).
-
- --style
default value: css
-
stylus
)
- You can later change the value in .angular-cli.json (defaults.styleExt
).
-
- --verbose
(alias: -v
) default value: false
-
- Adds more details to output logging. -
-
- --host
(aliases: -H
) default value: localhost
-
- Listens only on localhost by default. -
-
- --hmr
default value: false
-
- Enable hot module replacement. -
-
- --live-reload
(aliases: -lr
) default value: true
-
- Whether to reload the page on change, using live-reload. -
-
- --public-host
(aliases: --live-reload-client
)
-
- Specify the URL that the browser client will use. -
-
- --disable-host-check
default value: false
-
- Don't verify connected clients are part of allowed hosts. -
-
- --open
(aliases: -o
) default value: false
-
- Opens the url in default browser. -
-
- --port
(aliases: -p
) default value: 4200
-
- Port to listen to for serving. --port 0
will get a free port
-
- --ssl
-
- Serve using HTTPS. -
-
- --ssl-cert
(aliases: -
) default value:
-
- SSL certificate to use for serving HTTPS. -
-
- --ssl-key
-
- SSL key to use for serving HTTPS. -
-
- --aot
-
- Build using Ahead of Time compilation. -
-
- --base-href
(aliases: -bh
)
-
- Base url for the application being built. -
-
- --deploy-url
(aliases: -d
)
-
- URL where files will be deployed. -
-
- --environment
(aliases: -e
)
-
- Defines the build environment. -
-
- --extract-css
(aliases: -ec
)
-
- Extract css from global styles onto css files instead of js ones. -
-
- --i18n-file
-
- Localization file to use for i18n. -
-
- --i18n-format
-
- Format of the localization file specified with --i18n-file. -
-
- --locale
-
- Locale to use for i18n. -
-
- --missing-translation
-
- How to handle missing translations for i18n. -
-
- Values: error
, warning
, ignore
-
- --output-hashing
(aliases: -oh
) default value:
-
- Define the output filename cache-busting hashing mode. Possible values: none
, all
, media
, bundles
-
- --output-path
(aliases: -op
) default value:
-
- Path where output will be placed. -
-
- --poll
-
- Enable and define the file watching poll time period (milliseconds) . -
-
- --progress
(aliases: -pr
) default value: true inside TTY, false otherwise
-
- Log progress to the console while building. -
-
- --proxy-config
(aliases: -pc
)
-
- Use a proxy configuration file to send some requests to a backend server rather than the webpack dev server. -
-
- --sourcemap
(aliases: -sm
, sourcemaps
)
-
- Output sourcemaps. -
-
- --target
(aliases: -t
, -dev
, -prod
) default value: development
-
- Defines the build target. -
-
- --vendor-chunk
(aliases: -vc
) default value: true
-
- Use a separate bundle containing only vendor libraries. -
-
- --common-chunk
(aliases: -cc
) default value: true
-
- Use a separate bundle containing code used across multiple bundles. -
-
- --verbose
(aliases: -v
) default value: false
-
- Adds more details to output logging. -
-
- --watch
(aliases: -w
)
-
- Run build when files change. -
-