angular / angular-cli Public
master
Commits on Sep 8, 2021
Commits on Sep 7, 2021
-
fix(@angular-devkit/build-angular): improve Safari browserslist to es…
…build target conversion The browser targets provided by `browserslist` have several differences than what `esbuild` expects for the Safari browsers. The first is that the iOS Safari is named `ios_saf` within browserslist and `ios` by esbuild. The former is now converted to the later when generating the target list for esbuild. The second difference is that `browserslist` supports a `TP` (Technology Preview) version for Safari but esbuild expects a numeric value for all versions. Since a TP version of Safari is assumed to be the latest unreleased version and as a result supports all currently known features, a high version number (999) is used as a replacement when generating the target list for esbuild.
-
-
Commits on Sep 6, 2021
Commits on Sep 4, 2021
Commits on Sep 3, 2021
Commits on Sep 2, 2021
Commits on Sep 1, 2021
Commits on Aug 31, 2021
Commits on Aug 30, 2021
Commits on Aug 28, 2021
Commits on Aug 27, 2021
-
refactor(@ngtools/webpack): remove deprecated
inlineStyleMimeTypeo……ption BREAKING CHANGE: Deprecated `inlineStyleMimeType` option has been removed from `AngularWebpackPluginOptions`. Use `inlineStyleFileExtension` instead.
-
fix(@angular-devkit/build-angular): set browserslist defaults
By default, browserslist defaults are too inclusive: https://github.com/browserslist/browserslist/blob/83764ea81ffaa39111c204b02c371afa44a4ff07/index.js#L516-L522 We change the default query to browsers that Angular support: https://angular.io/guide/browser-support
-
fix(@schematics/angular): add browserslist configuration in library p…
…rojects Previously, browserslist configuration was not added in library projects. This in some cases caused a large number of CSS prefixes to be included in components stylesheets
-
feat(@angular-devkit/build-angular): update
webpack-dev-serverto v……ersion 4 BREAKING CHANGE: The dev-server now uses WebSockets to communicate changes to the browser during HMR and live-reloaded. If during your development you are using a proxy you will need to enable proxying of WebSockets.
-
feat(@angular-devkit/build-webpack): update
webpack-dev-serverto v……ersion 4 BREAKING CHANGE: Support for `webpack-dev-server` version 3 has been removed. For more information about the migration please see: https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.md Note: this change only affects users depending on `@angular-devkit/build-webpack` directly.
-
-
-
build: rename
typings.d.tstotypings.tsFixes ``` ERROR: /home/circleci/ng/packages/angular/cli/BUILD.bazel:289:11: Compiling TypeScript (devmode) //packages/angular/cli:angular-cli_test_lib failed: (Exit 1): tsc_wrapped.sh failed: error executing command (cd /home/circleci/.cache/bazel/_bazel_circleci/9ce5c2144ecf75d11717c0aa41e45a8d/execroot/angular_cli && \ exec env - \ NG_FORCE_TTY=false \ PATH=/bin:/usr/bin:/usr/local/bin \ bazel-out/host/bin/external/npm/@bazel/typescript/bin/tsc_wrapped.sh @@bazel-out/k8-fastbuild/bin/packages/angular/cli/angular-cli_test_lib_es5_tsconfig.json) Execution platform: //tools:rbe_platform_with_network_access error TS5055: Cannot write file '/home/circleci/.cache/bazel/_bazel_circleci/9ce5c2144ecf75d11717c0aa41e45a8d/execroot/angular_cli/bazel-out/k8-fastbuild/bin/packages/angular/cli/utilities/package-metadata.d.ts' because it would overwrite input file. Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig. ```
Commits on Aug 26, 2021
-
-
-
-
refactor(@angular/cli): support bootstrapping with CommonJS startup code
To support the eventual migration of the CLI to ESM, the CLI commandline tool is now bootstrapped by dynamically importing the main initialization code. This is done to allow the main bin file (`ng`) to remain CommonJS so that older versions of Node.js can be checked and validated prior to the execution of the CLI. This separate bootstrap file is needed to allow the use of a dynamic import expression without crashing older versions of Node.js that do not support dynamic import expressions and would otherwise throw a syntax error. This bootstrap file is required from the main bin file only after the Node.js version is determined to be in the supported range. The use of the dynamic import expression allows CommonJS code to execute either CommonJS or ESM code.
-
build: add Bazel ts_library rule package_name properties to all packages
rules_nodejs 4 requires that a package_name property be specified within a ts_library rule for the output to be linked into the package repository. Failing to add the property can cause test failures due to unresolved packages.
-