Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: angular/angular-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9e260b4d518aa61ce6d19db00be9d840a81bc0aa
Choose a base ref
...
head repository: angular/angular-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 03f6d1849e1796c14c49486829f4682ee102762d
Choose a head ref

Commits on Oct 12, 2022

  1. Copy the full SHA
    96ac74e View commit details
  2. Copy the full SHA
    e662831 View commit details
  3. Copy the full SHA
    95adf11 View commit details
  4. Copy the full SHA
    59d64c9 View commit details
  5. Copy the full SHA
    49ce98a View commit details
  6. Copy the full SHA
    57d076b View commit details
  7. Copy the full SHA
    b455787 View commit details
  8. Copy the full SHA
    253199a View commit details

Commits on Oct 13, 2022

  1. Copy the full SHA
    e7189f6 View commit details
  2. perf(@angular-devkit/build-angular): use Uint8Arrays for incremental …

    …caching with esbuild-based builder
    
    When using the experimental esbuild-based browser application builder in watch mode, the in-memory
    incremental caching will now use Uint8Arrays where possible to limit the amount of encoding needed
    when passing data to esbuild. When passing a string to esbuild, it must encode the string prior to
    sending it. By providing the pre-encoded data from the in-memory cache, this step can be skipped
    for rebuilds of input files that have not changed.
    clydin authored and alan-agius4 committed Oct 13, 2022
    Copy the full SHA
    2adeb6f View commit details
  3. fix(@angular-devkit/build-angular): only import karma when running ka…

    …rma builder
    
    Karma is an optional peer dependency, but with the recent changes we broke this as we imported karma outside of the execution method, which made this package to be always imported even when the Karma builder was not invoked.
    alan-agius4 committed Oct 13, 2022
    Copy the full SHA
    5954d24 View commit details
  4. build: update angular

    angular-robot authored and alan-agius4 committed Oct 13, 2022
    Copy the full SHA
    6f9c84b View commit details

Commits on Oct 14, 2022

  1. build: remove labels from pull-requests config

    As part of the labels standardization across repos these options has been removed.
    alan-agius4 committed Oct 14, 2022
    Copy the full SHA
    45418bc View commit details
  2. Copy the full SHA
    ae8b237 View commit details
  3. fix(@angular-devkit/build-angular): account for package.json exports …

    …fields with CSS import statements
    
    The `postcss-imports` package was previously used to support `@import` within CSS files. Unfortunately,
    the package does not account for `package.json` exports fields. This prevents imports defined within that
    field from working when used within a build.  The `css-loader` package does provide this functionality and
    is now used to provide support for CSS `@import` instead of `postcss-imports`. This change does not affect
    preprocessors that provide their own import behavior.
    clydin authored and alan-agius4 committed Oct 14, 2022
    Copy the full SHA
    717bd03 View commit details
  4. fix(@ngtools/webpack): support inline style sourcemaps when using css…

    …-loader for component styles
    
    When using the `css-loader` as the final entry in the Webpack loader chain, sourcemaps will not
    be generated and inlined by the Webpack stylesheet runtime unless the `btoa` global function exists.
    Now that the Angular CLI uses the `css-loader` to handle `@import`, the `btoa` function must be
    provided within the custom VM execution context used to evaluate the output of the Webpack component
    stylesheet processing pipeline.
    clydin authored and alan-agius4 committed Oct 14, 2022
    Copy the full SHA
    55d3d6c View commit details
  5. Copy the full SHA
    c95bab8 View commit details
  6. Copy the full SHA
    ef5b40f View commit details
  7. Copy the full SHA
    1cd53d6 View commit details
  8. fix(@angular-devkit/core): update logger forEach promiseCtor type

    `typeof Promise` and `PromiseConstructorLike` are not the same thing. This causes issues in G3 when `strictNullChecks` are being enabled using RXJS 7.
    alan-agius4 committed Oct 14, 2022
    Copy the full SHA
    cf1b778 View commit details
  9. fix(@angular/cli): add workspace information as part of analytics col…

    …lection
    
    With this change we collect 3 additional metrics
    - `all_projects_count` Count of all project in a workspace
    - `libs_projects_count` Count of library projects in a workspace
    - `apps_projects_count` Count of application projects in a workspace
    alan-agius4 committed Oct 14, 2022
    Copy the full SHA
    c59c1e7 View commit details
  10. fix(@angular/cli): add unique user id as user parameter in GA

    While, GA collects the user id, this cannot be used for reporting and filtering purpose. This can be
    alan-agius4 committed Oct 14, 2022
    Copy the full SHA
    f41d609 View commit details
  11. Copy the full SHA
    474d5e3 View commit details
  12. Copy the full SHA
    9655136 View commit details
  13. fix(@angular/cli): do not collect analytics when running in non TTY mode

    Prior to this change we collected analytics when config was not present and the CLI was running in non TTY mode.
    alan-agius4 committed Oct 14, 2022
    Copy the full SHA
    61fab64 View commit details
  14. fix(@angular-devkit/build-angular): resolve transitive dependencies i…

    …n Sass when using Yarn PNP
    
    Enhanced resolver is unable to resolve transitive dependencies in Sass when using Yarn PNP. The main reason for this is that Sass doesn't provide context on which file is requesting the module. See: sass/sass#3247.
    
    As a workaround for this we store previously resolved paths and when a new request comes in we try to resolve this from the previously resolved files if we are unable to resolve the request from the workspace root.
    alan-agius4 committed Oct 14, 2022
    Copy the full SHA
    c49f1ee View commit details
  15. Copy the full SHA
    ce3f1bd View commit details

Commits on Oct 17, 2022

  1. Copy the full SHA
    e9cd7f3 View commit details
  2. Copy the full SHA
    30ce743 View commit details

Commits on Oct 20, 2022

  1. Copy the full SHA
    8508272 View commit details

Commits on Oct 21, 2022

  1. build: update angular

    angular-robot authored and alan-agius4 committed Oct 21, 2022
    Copy the full SHA
    428b76b View commit details
  2. Copy the full SHA
    3128598 View commit details
  3. Copy the full SHA
    708011e View commit details
  4. fix(@schematics/angular): add @angular/localize as type when locali…

    …ze package is installed
    
    The `@angular/localize` entrypoint now exposes the global `$localize` method type.
    
    See: angular/angular#47763
    alan-agius4 authored and clydin committed Oct 21, 2022
    Copy the full SHA
    b29ae2f View commit details
  5. build: update angular to 66fc8de

    angular-robot authored and clydin committed Oct 21, 2022
    Copy the full SHA
    80846b2 View commit details
  6. Copy the full SHA
    b106ed7 View commit details

Commits on Oct 24, 2022

  1. perf(@angular-devkit/build-angular): avoid extra TypeScript emits wit…

    …h esbuild rebuilds
    
    To further improve incremental rebuild performance of the experimental esbuild-based browser
    application builder, the output of the TypeScript file loader within the Angular compiler plugin
    are now cached in memory by the input file name and invalidated via the file watching events.
    This allows an additional TypeScript emit including the associated transformations per input file
    to be avoided if the file has not changed or has not been affected by other files within the
    TypeScript program.
    clydin committed Oct 24, 2022
    Copy the full SHA
    1c87de6 View commit details
  2. refactor(@angular-devkit/build-angular): show more cumulative metrics…

    … for esbuild perf debug output
    
    When the `NG_BUILD_DEBUG_PERF` environment variable is used to debug performance of the experimental
    esbuild-based browser application builder, additional information will be logged for cumulative
    profiling actions. This includes the count, minimum, maximum, and average.
    clydin committed Oct 24, 2022
    Copy the full SHA
    2b27679 View commit details
  3. Copy the full SHA
    3d6428c View commit details
  4. Copy the full SHA
    e7d46f3 View commit details
  5. build: lock file maintenance

    angular-robot authored and clydin committed Oct 24, 2022
    Copy the full SHA
    040de80 View commit details
  6. docs(@angular/cli): update add long description to analytics command

    With this change we add a long description to analytics command with the information that is currently contained in https://angular.io/analytics which will be deleted at a later stage.
    alan-agius4 authored and dgp1130 committed Oct 24, 2022
    Copy the full SHA
    82cb049 View commit details
  7. fix(@angular/cli): skip node.js compatibility checks when running com…

    …pletion
    
    A warning at this stage could cause a broken source action (`source <(ng completion script)`) when in the shell init script.
    
    Closes #24104
    alan-agius4 authored and dgp1130 committed Oct 24, 2022
    Copy the full SHA
    1e4dbfd View commit details
  8. docs: replace browserslist with AIO link

    https://angular.io/guide/build#configuring-browser-compatibility will be updated to include additional information.
    alan-agius4 authored and dgp1130 committed Oct 24, 2022
    Copy the full SHA
    de8d846 View commit details
  9. build: update angular

    angular-robot authored and dgp1130 committed Oct 24, 2022
    Copy the full SHA
    d1977aa View commit details

Commits on Oct 25, 2022

  1. fix(@angular/cli): disable version check during auto completion

    This causes sub broken DX
    
    ```
    ng bui[TAB]Your global Angular CLI version (14.2.6) is greater than your local version (14.1.3). The local Angular CLI version is used.
    
    To disable this warning use "ng config -g cli.warnings.versionMismatch false".
    ld --conf[TAB]Your global Angular CLI version (14.2.6) is greater than your local version (14.1.3). The local Angular CLI version is used.
    
    To disable this warning use "ng config -g cli.warnings.versionMismatch false".
    iguration dev[TAB]Your global Angular CLI version (14.2.6) is greater than your local version (14.1.3). The local Angular CLI version is used.
    
    To disable this warning use "ng config -g cli.warnings.versionMismatch false".
    elopment
    ```
    
    Closes #24133
    alan-agius4 authored and dgp1130 committed Oct 25, 2022
    Copy the full SHA
    ca7ca1b View commit details
  2. Copy the full SHA
    62121f8 View commit details
  3. perf(@angular-devkit/build-angular): avoid template diagnostics for d…

    …eclaration files in esbuild builder
    
    The experimental esbuild-based browser application builder will now avoid trying to query the Angular
    Compiler for template diagnostics when a TypeScript source file is a declaration file (`.d.ts`). This
    avoids the overhead of the in-memory diagnostics caching logic as well as any Angular Compiler logic
    to determine if the file has any template diagnostics.
    clydin authored and dgp1130 committed Oct 25, 2022
    Copy the full SHA
    60086db View commit details
  4. fix(@angular/cli): exclude @angular/material@7.x from ng add packag…

    …e discovery
    
    `@angular/material@7.x` uses unbounded ranges for its framework peer dependencies.
    This can cause `ng add` to pick these versions of the package if the newer versions
    are not compatible since the peer dependency ranges would match any newer stable
    framework version.
    clydin authored and dgp1130 committed Oct 25, 2022
    Copy the full SHA
    9260087 View commit details
  5. fix(@angular/cli): allow ng add to find prerelease versions when CL…

    …I is prerelease
    
    When the CLI is a prerelease version, the `ng add` command will now consider the
    use of prerelease versions of requested packages. Without this behavior, attempting
    to install a package without a version specifier (e.g., `ng add @angular/material`)
    will install an older stable version of the requested package instead of the expected
    prerelease version compatible with the prerelease Angular project.
    clydin authored and dgp1130 committed Oct 25, 2022
    Copy the full SHA
    56cb767 View commit details
Showing with 20,088 additions and 15,708 deletions.
  1. +4 −11 .circleci/dynamic_config.yml
  2. +0 −1 .circleci/github_token
  3. +6 −6 .github/angular-robot.yml
  4. +1 −1 .github/dependabot.yml
  5. +21 −0 .github/workflows/assistant-to-the-branch-manager.yml
  6. +4 −4 .github/workflows/dev-infra.yml
  7. +1 −1 .github/workflows/feature-requests.yml
  8. +1 −1 .github/workflows/lock-closed.yml
  9. +4 −4 .github/workflows/scorecard.yml
  10. +1 −0 .ng-dev/github.mts
  11. +1 −4 .ng-dev/pull-request.mts
  12. +6 −4 .ng-dev/release.mts
  13. +377 −136 CHANGELOG.md
  14. +2 −2 SECURITY.md
  15. +7 −7 WORKSPACE
  16. +7 −3 docs/design/analytics.md
  17. +2 −12 docs/process/release.md
  18. +4 −1 goldens/public-api/angular_devkit/build_angular/index.md
  19. +1 −1 goldens/public-api/angular_devkit/core/index.md
  20. +1 −1 goldens/public-api/angular_devkit/core/node/index.md
  21. +4 −0 goldens/public-api/angular_devkit/schematics/testing/index.md
  22. +63 −64 package.json
  23. +1 −0 packages/angular/cli/BUILD.bazel
  24. +10 −0 packages/angular/cli/bin/ng.js
  25. +11 −3 packages/angular/cli/lib/init.ts
  26. +4 −4 packages/angular/cli/package.json
  27. +13 −0 packages/angular/cli/src/analytics/analytics-collector.ts
  28. +4 −0 packages/angular/cli/src/analytics/analytics-parameters.ts
  29. +2 −2 packages/angular/cli/src/analytics/analytics.ts
  30. +45 −15 packages/angular/cli/src/command-builder/command-module.ts
  31. +45 −20 packages/angular/cli/src/commands/add/cli.ts
  32. +3 −3 packages/angular/cli/src/commands/analytics/cli.ts
  33. +20 −0 packages/angular/cli/src/commands/analytics/long-description.md
  34. +1 −1 packages/angular/cli/src/commands/config/long-description.md
  35. +2 −2 packages/angular/cli/src/commands/update/cli.ts
  36. +98 −165 packages/angular/cli/src/commands/update/schematic/index_spec.ts
  37. +12 −0 packages/angular/cli/src/utilities/package-metadata.ts
  38. +1 −0 packages/angular/create/BUILD.bazel
  39. +1 −1 packages/angular/create/README.md
  40. +1 −0 packages/angular/pwa/BUILD.bazel
  41. +1 −1 packages/angular/pwa/package.json
  42. +27 −22 packages/angular/pwa/pwa/index_spec.ts
  43. +1 −0 packages/angular_devkit/architect/BUILD.bazel
  44. +1 −1 packages/angular_devkit/architect/node/BUILD.bazel
  45. +2 −1 packages/angular_devkit/architect/src/create-builder.ts
  46. +1 −0 packages/angular_devkit/architect_cli/BUILD.bazel
  47. +1 −1 packages/angular_devkit/benchmark/package.json
  48. +2 −4 packages/angular_devkit/build_angular/BUILD.bazel
  49. +35 −33 packages/angular_devkit/build_angular/package.json
  50. +3 −28 packages/angular_devkit/build_angular/src/babel/plugins/adjust-static-class-members_spec.ts
  51. +0 −10 packages/angular_devkit/build_angular/src/babel/plugins/adjust-typescript-enums_spec.ts
  52. +34 −2 packages/angular_devkit/build_angular/src/babel/presets/application.ts
  53. +3 −10 packages/angular_devkit/build_angular/src/babel/webpack-loader.ts
  54. +245 −0 packages/angular_devkit/build_angular/src/builders/browser-esbuild/angular-compilation.ts
  55. +89 −0 packages/angular_devkit/build_angular/src/builders/browser-esbuild/angular-host.ts
  56. +141 −345 packages/angular_devkit/build_angular/src/builders/browser-esbuild/compiler-plugin.ts
  57. +22 −2 packages/angular_devkit/build_angular/src/builders/browser-esbuild/css-resource-plugin.ts
  58. +30 −3 packages/angular_devkit/build_angular/src/builders/browser-esbuild/esbuild.ts
  59. +4 −9 packages/angular_devkit/build_angular/src/builders/browser-esbuild/experimental-warnings.ts
  60. +160 −107 packages/angular_devkit/build_angular/src/builders/browser-esbuild/index.ts
  61. +97 −0 packages/angular_devkit/build_angular/src/builders/browser-esbuild/javascript-transformer-worker.ts
  62. +100 −0 packages/angular_devkit/build_angular/src/builders/browser-esbuild/javascript-transformer.ts
  63. +11 −2 packages/angular_devkit/build_angular/src/builders/browser-esbuild/options.ts
  64. +25 −6 packages/angular_devkit/build_angular/src/builders/browser-esbuild/profiling.ts
  65. +158 −51 packages/angular_devkit/build_angular/src/builders/browser-esbuild/sass-plugin.ts
  66. +1 −1 packages/angular_devkit/build_angular/src/builders/browser-esbuild/schema.json
  67. +75 −52 packages/angular_devkit/build_angular/src/builders/browser-esbuild/stylesheets.ts
  68. +16 −5 packages/angular_devkit/build_angular/src/builders/browser-esbuild/watcher.ts
  69. +0 −14 packages/angular_devkit/build_angular/src/builders/browser/index.ts
  70. +1 −1 packages/angular_devkit/build_angular/src/builders/browser/schema.json
  71. +6 −2 packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts
  72. +1 −0 packages/angular_devkit/build_angular/src/builders/browser/specs/vendor-source-map_spec.ts
  73. +7 −17 packages/angular_devkit/build_angular/src/builders/browser/tests/options/assets_spec.ts
  74. +10 −0 packages/angular_devkit/build_angular/src/builders/dev-server/index.ts
  75. +14 −6 packages/angular_devkit/build_angular/src/builders/karma/find-tests-plugin.ts
  76. +7 −7 packages/angular_devkit/build_angular/src/builders/karma/index.ts
  77. +9 −1 packages/angular_devkit/build_angular/src/builders/karma/schema.json
  78. +44 −0 packages/angular_devkit/build_angular/src/builders/karma/tests/options/exclude_spec.ts
  79. +20 −3 packages/angular_devkit/build_angular/src/builders/karma/tests/options/styles_spec.ts
  80. +94 −43 packages/angular_devkit/build_angular/src/builders/server/index.ts
  81. +51 −0 packages/angular_devkit/build_angular/src/builders/server/schema.json
  82. +382 −0 packages/angular_devkit/build_angular/src/builders/server/tests/options/assets_spec.ts
  83. +4 −4 ...ages/angular_devkit/build_angular/src/builders/server/tests/options/resources-output-path_spec.ts
  84. +2 −1 packages/angular_devkit/build_angular/src/builders/server/tests/options/source-map_spec.ts
  85. +3 −0 packages/angular_devkit/build_angular/src/builders/server/tests/setup.ts
  86. +507 −0 packages/angular_devkit/build_angular/src/sass/rebasing-importer.ts
  87. +53 −7 packages/angular_devkit/build_angular/src/sass/sass-service.ts
  88. +144 −32 packages/angular_devkit/build_angular/src/sass/worker.ts
  89. +16 −2 packages/angular_devkit/build_angular/src/utils/esbuild-targets.ts
  90. +1 −1 packages/angular_devkit/build_angular/src/utils/i18n-inlining.ts
  91. +1 −1 packages/angular_devkit/build_angular/src/utils/index-file/augment-index-html.ts
  92. +33 −25 packages/angular_devkit/build_angular/src/utils/index-file/html-rewriting-stream.ts
  93. +8 −2 packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts
  94. +7 −5 packages/angular_devkit/build_angular/src/utils/normalize-asset-patterns.ts
  95. +1 −1 packages/angular_devkit/build_angular/src/utils/process-bundle.ts
  96. +2 −1 packages/angular_devkit/build_angular/src/webpack/configs/common.ts
  97. +78 −55 packages/angular_devkit/build_angular/src/webpack/configs/styles.ts
  98. +9 −1 packages/angular_devkit/build_angular/src/webpack/plugins/javascript-optimizer-plugin.ts
  99. +46 −21 packages/angular_devkit/build_angular/src/webpack/plugins/javascript-optimizer-worker.ts
  100. +25 −24 packages/angular_devkit/build_angular/src/webpack/plugins/styles-webpack-plugin.ts
  101. +1 −1 packages/angular_devkit/build_angular/src/webpack/plugins/typescript.ts
  102. +14 −1 packages/angular_devkit/build_angular/src/webpack/utils/helpers.ts
  103. +11 −1 packages/angular_devkit/build_angular/src/webpack/utils/stats.ts
  104. +1 −1 packages/angular_devkit/build_angular/test/hello-world-app/src/tsconfig.app.json
  105. +1 −2 packages/angular_devkit/build_angular/test/hello-world-app/src/tsconfig.server.json
  106. +1 −1 packages/angular_devkit/build_angular/test/hello-world-app/src/tsconfig.spec.json
  107. +2 −2 packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/package.json
  108. +2 −7 packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.component.ts
  109. +1 −0 packages/angular_devkit/build_webpack/BUILD.bazel
  110. +1 −1 packages/angular_devkit/build_webpack/package.json
  111. +1 −0 packages/angular_devkit/core/BUILD.bazel
  112. +6 −7 packages/angular_devkit/core/node/host.ts
  113. +1 −1 packages/angular_devkit/core/package.json
  114. +4 −1 packages/angular_devkit/core/src/logger/logger.ts
  115. +1 −0 packages/angular_devkit/schematics/BUILD.bazel
  116. +1 −1 packages/angular_devkit/schematics/package.json
  117. +34 −12 packages/angular_devkit/schematics/testing/schematic-test-runner.ts
  118. +1 −0 packages/angular_devkit/schematics_cli/BUILD.bazel
  119. +1 −1 packages/angular_devkit/schematics_cli/blank/project-files/package.json
  120. +1 −3 packages/angular_devkit/schematics_cli/blank/schematic-files/src/__name@dasherize__/index_spec.ts
  121. +2 −2 packages/angular_devkit/schematics_cli/schematic/files/package.json
  122. +2 −4 packages/angular_devkit/schematics_cli/schematic/files/src/my-full-schematic/index_spec.ts
  123. +1 −1 packages/angular_devkit/schematics_cli/schematic/files/src/my-other-schematic/index_spec.ts
  124. +1 −1 packages/angular_devkit/schematics_cli/schematic/files/src/my-schematic/index_spec.ts
  125. +1 −0 packages/ngtools/webpack/BUILD.bazel
  126. +6 −6 packages/ngtools/webpack/package.json
  127. +0 −1 packages/ngtools/webpack/src/ivy/transformation.ts
  128. +11 −4 packages/ngtools/webpack/src/resource_loader.ts
  129. +26 −23 packages/ngtools/webpack/src/transformers/elide_imports.ts
  130. +40 −0 packages/ngtools/webpack/src/transformers/elide_imports_spec.ts
  131. +24 −92 packages/ngtools/webpack/src/transformers/replace_resources.ts
  132. +9 −0 packages/schematics/angular/BUILD.bazel
  133. +12 −12 packages/schematics/angular/README.md
  134. +21 −45 packages/schematics/angular/app-shell/index_spec.ts
  135. +87 −128 packages/schematics/angular/application/index_spec.ts
  136. +13 −17 packages/schematics/angular/class/index_spec.ts
  137. +1 −1 packages/schematics/angular/class/schema.json
  138. +10 −0 packages/schematics/angular/collection.json
  139. +47 −50 packages/schematics/angular/component/index_spec.ts
  140. +1 −1 packages/schematics/angular/component/schema.json
  141. +0 −1 .../12.0-project/.browserslistrc → packages/schematics/angular/config/files/.browserslistrc.template
  142. +1 −6 ...sets/12.0-project/karma.conf.js → packages/schematics/angular/config/files/karma.conf.js.template
  143. +95 −0 packages/schematics/angular/config/index.ts
  144. +82 −0 packages/schematics/angular/config/index_spec.ts
  145. +28 −0 packages/schematics/angular/config/schema.json
  146. +18 −23 packages/schematics/angular/directive/index_spec.ts
  147. +1 −1 packages/schematics/angular/directive/schema.json
  148. +21 −27 packages/schematics/angular/e2e/index_spec.ts
  149. +1 −1 packages/schematics/angular/e2e/schema.json
  150. +11 −15 packages/schematics/angular/enum/index_spec.ts
  151. +1 −1 packages/schematics/angular/enum/schema.json
  152. +147 −0 packages/schematics/angular/environments/index.ts
  153. +171 −0 packages/schematics/angular/environments/index_spec.ts
  154. +18 −0 packages/schematics/angular/environments/schema.json
  155. 0 ...ges/schematics/angular/guard/{files → implements-files}/__name@dasherize__.guard.spec.ts.template
  156. +6 −2 packages/schematics/angular/guard/{files → implements-files}/__name@dasherize__.guard.ts.template
  157. +37 −18 packages/schematics/angular/guard/index.ts
  158. +73 −27 packages/schematics/angular/guard/index_spec.ts
  159. +10 −4 packages/schematics/angular/guard/schema.json
  160. +17 −0 packages/schematics/angular/guard/type-files/__name@dasherize__.guard.spec.ts.template
  161. +9 −0 packages/schematics/angular/guard/type-files/__name@dasherize__.guard.ts.template
  162. 0 .../{files → class-files}/__name@dasherize@if-flat__/__name@dasherize__.interceptor.spec.ts.template
  163. 0 ...eptor/{files → class-files}/__name@dasherize@if-flat__/__name@dasherize__.interceptor.ts.template
  164. +17 −0 ...eptor/functional-files/__name@dasherize@if-flat__/__name@dasherize__.interceptor.spec.ts.template
  165. +5 −0 ...nterceptor/functional-files/__name@dasherize@if-flat__/__name@dasherize__.interceptor.ts.template
  166. +12 −3 packages/schematics/angular/interceptor/index.ts
  167. +33 −13 packages/schematics/angular/interceptor/index_spec.ts
  168. +6 −1 packages/schematics/angular/interceptor/schema.json
  169. +6 −14 packages/schematics/angular/interface/index_spec.ts
  170. +1 −1 packages/schematics/angular/interface/schema.json
  171. +3 −2 packages/schematics/angular/library/files/package.json.template
  172. +83 −108 packages/schematics/angular/library/index_spec.ts
  173. +6 −6 packages/schematics/angular/migrations/update-15/remove-browserslist-config_spec.ts
  174. +4 −4 packages/schematics/angular/migrations/update-15/remove-platform-server-exports_spec.ts
  175. +2 −2 packages/schematics/angular/migrations/update-15/update-karma-main-file_spec.ts
  176. +14 −4 packages/schematics/angular/migrations/update-15/update-typescript-target.ts
  177. +5 −5 packages/schematics/angular/migrations/update-15/update-typescript-target_spec.ts
  178. +5 −1 packages/schematics/angular/migrations/update-15/update-workspace-config.ts
  179. +14 −1 packages/schematics/angular/migrations/update-15/update-workspace-config_spec.ts
  180. +65 −79 packages/schematics/angular/module/index_spec.ts
  181. +1 −1 packages/schematics/angular/module/schema.json
  182. +10 −9 packages/schematics/angular/ng-new/index_spec.ts
  183. +21 −25 packages/schematics/angular/pipe/index_spec.ts
  184. +1 −1 packages/schematics/angular/pipe/schema.json
  185. 0 ...es/schematics/angular/resolver/{files → class-files}/__name@dasherize__.resolver.spec.ts.template
  186. 0 packages/schematics/angular/resolver/{files → class-files}/__name@dasherize__.resolver.ts.template
  187. +17 −0 packages/schematics/angular/resolver/functional-files/__name@dasherize__.resolver.spec.ts.template
  188. +5 −0 packages/schematics/angular/resolver/functional-files/__name@dasherize__.resolver.ts.template
  189. +3 −1 packages/schematics/angular/resolver/index.ts
  190. +33 −12 packages/schematics/angular/resolver/index_spec.ts
  191. +6 −1 packages/schematics/angular/resolver/schema.json
  192. +22 −40 packages/schematics/angular/service-worker/index_spec.ts
  193. +6 −10 packages/schematics/angular/service/index_spec.ts
  194. +1 −1 packages/schematics/angular/service/schema.json
  195. +3 −3 packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/BUILD.bazel
  196. +294 −260 packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts
  197. +11,590 −9,928 packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js
  198. +1 −2 packages/schematics/angular/universal/files/root/tsconfig.server.json.template
  199. +1 −0 packages/schematics/angular/universal/index.ts
  200. +27 −53 packages/schematics/angular/universal/index_spec.ts
  201. +3 −1 packages/schematics/angular/utility/generate-from-files.ts
  202. +1 −1 packages/schematics/angular/utility/latest-versions.ts
  203. +5 −5 packages/schematics/angular/utility/latest-versions/package.json
  204. +8 −23 packages/schematics/angular/web-worker/index_spec.ts
  205. +1 −1 packages/schematics/angular/web-worker/schema.json
  206. +22 −20 packages/schematics/angular/workspace/index_spec.ts
  207. +1 −1 scripts/build-bazel.ts
  208. +168 −0 scripts/build-packages-dist.mts
  209. +1 −6 scripts/snapshots.ts
  210. +0 −16 tests/legacy-cli/e2e/assets/12.0-project/.editorconfig
  211. +0 −45 tests/legacy-cli/e2e/assets/12.0-project/.gitignore
  212. +0 −27 tests/legacy-cli/e2e/assets/12.0-project/README.md
  213. +0 −118 tests/legacy-cli/e2e/assets/12.0-project/angular.json
  214. +0 −36 tests/legacy-cli/e2e/assets/12.0-project/e2e/protractor.conf.js
  215. +0 −25 tests/legacy-cli/e2e/assets/12.0-project/e2e/src/app.e2e-spec.ts
  216. +0 −11 tests/legacy-cli/e2e/assets/12.0-project/e2e/src/app.po.ts
  217. +0 −10 tests/legacy-cli/e2e/assets/12.0-project/e2e/tsconfig.json
  218. +0 −43 tests/legacy-cli/e2e/assets/12.0-project/package.json
  219. +0 −10 tests/legacy-cli/e2e/assets/12.0-project/src/app/app-routing.module.ts
  220. 0 tests/legacy-cli/e2e/assets/12.0-project/src/app/app.component.css
  221. +0 −509 tests/legacy-cli/e2e/assets/12.0-project/src/app/app.component.html
  222. +0 −35 tests/legacy-cli/e2e/assets/12.0-project/src/app/app.component.spec.ts
  223. +0 −10 tests/legacy-cli/e2e/assets/12.0-project/src/app/app.component.ts
  224. +0 −18 tests/legacy-cli/e2e/assets/12.0-project/src/app/app.module.ts
  225. 0 tests/legacy-cli/e2e/assets/12.0-project/src/assets/.gitkeep
  226. +0 −3 tests/legacy-cli/e2e/assets/12.0-project/src/environments/environment.prod.ts
  227. +0 −16 tests/legacy-cli/e2e/assets/12.0-project/src/environments/environment.ts
  228. BIN tests/legacy-cli/e2e/assets/12.0-project/src/favicon.ico
  229. +0 −13 tests/legacy-cli/e2e/assets/12.0-project/src/index.html
  230. +0 −12 tests/legacy-cli/e2e/assets/12.0-project/src/main.ts
  231. +0 −65 tests/legacy-cli/e2e/assets/12.0-project/src/polyfills.ts
  232. +0 −1 tests/legacy-cli/e2e/assets/12.0-project/src/styles.css
  233. +0 −25 tests/legacy-cli/e2e/assets/12.0-project/src/test.ts
  234. +0 −15 tests/legacy-cli/e2e/assets/12.0-project/tsconfig.app.json
  235. +0 −31 tests/legacy-cli/e2e/assets/12.0-project/tsconfig.json
  236. +0 −18 tests/legacy-cli/e2e/assets/12.0-project/tsconfig.spec.json
  237. +3 −0 tests/legacy-cli/e2e/assets/13.0-project/package.json
  238. +9 −9 tests/legacy-cli/e2e/assets/webpack/test-app/package.json
  239. +16 −16 tests/legacy-cli/e2e/ng-snapshot/package.json
  240. +1 −1 tests/legacy-cli/e2e/tests/commands/add/add-material.ts
  241. +11 −0 tests/legacy-cli/e2e/tests/commands/analytics/analytics-enable-disable.ts
  242. +27 −0 tests/legacy-cli/e2e/tests/commands/analytics/analytics-info.ts
  243. +2 −2 tests/legacy-cli/e2e/tests/{misc → commands/analytics}/ask-analytics-command.ts
  244. +1 −1 tests/legacy-cli/e2e/tests/commands/help/help-json.ts
  245. +6 −0 tests/legacy-cli/e2e/tests/generate/confg/type-browserslist.ts
  246. +6 −0 tests/legacy-cli/e2e/tests/generate/confg/type-karma.ts
  247. +70 −0 tests/legacy-cli/e2e/tests/misc/safari-15-class-properties.ts
  248. +8 −8 tests/legacy-cli/e2e/tests/update/update-multiple-versions.ts
  249. +12 −1 tests/legacy-cli/e2e/tests/update/update-secure-registry.ts
  250. +5 −5 tests/legacy-cli/e2e/tests/update/update.ts
  251. +2 −2 tests/legacy-cli/e2e/utils/process.ts
  252. +1 −1 tests/legacy-cli/e2e/utils/project.ts
  253. +8 −4 tests/legacy-cli/e2e/utils/registry.ts
  254. +3 −3 tools/defaults.bzl
  255. +3 −3 tools/link_package_json_to_tarballs.bzl
  256. +2 −1 tsconfig-build.json
  257. +2,548 −1,880 yarn.lock
15 changes: 4 additions & 11 deletions .circleci/dynamic_config.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
version: 2.1

orbs:
browser-tools: circleci/browser-tools@1.1.3
browser-tools: circleci/browser-tools@1.4.0
devinfra: angular/dev-infra@1.0.7

parameters:
@@ -317,21 +317,14 @@ jobs:
steps:
- custom_attach_workspace
- install_python
- run:
name: Decrypt Credentials
# Note: when changing the image, you might have to re-encrypt the credentials with a
# 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
command: yarn admin snapshots --verbose
- fail_fast

publish_artifacts:
executor: action-executor
resource_class: medium
environment:
steps:
- custom_attach_workspace
@@ -342,7 +335,7 @@ jobs:
name: Copy tarballs to folder
command: |
mkdir -p dist/artifacts/
cp dist/*.tgz dist/artifacts/
cp dist/releases/*.tgz dist/artifacts/
- store_artifacts:
path: dist/artifacts/
destination: angular
1 change: 0 additions & 1 deletion .circleci/github_token

This file was deleted.

12 changes: 6 additions & 6 deletions .github/angular-robot.yml
Original file line number Diff line number Diff line change
@@ -67,21 +67,21 @@ triage:
defaultMilestone: 12,
# arrays of labels that determine if an issue has been triaged by the caretaker
l1TriageLabels:
- - 'comp: *'
- - 'area: *'
# arrays of labels that determine if an issue has been fully triaged
l2TriageLabels:
- - 'type: bug/fix'
- 'severity*'
- 'freq*'
- 'comp: *'
- 'area: *'
- - 'type: feature'
- 'comp: *'
- 'area: *'
- - 'type: refactor'
- 'comp: *'
- 'area: *'
- - 'type: RFC / Discussion / question'
- 'comp: *'
- 'area: *'
- - 'type: docs'
- 'comp: *'
- 'area: *'

# Size checking
size:
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ updates:
commit-message:
prefix: 'build'
labels:
- 'comp: build & ci'
- 'area: build & ci'
- 'target: patch'
- 'action: merge'
# Disable version updates
21 changes: 21 additions & 0 deletions .github/workflows/assistant-to-the-branch-manager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: DevInfra

on:
push:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review, labeled]

# Declare default permissions as read only.
permissions:
contents: read

jobs:
assistant_to_the_branch_manager:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3.3.0
with:
persist-credentials: false
- uses: angular/dev-infra/github-actions/branch-manager@ee27e18676602a29b20703051ac303ea6386e54f
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
8 changes: 4 additions & 4 deletions .github/workflows/dev-infra.yml
Original file line number Diff line number Diff line change
@@ -12,14 +12,14 @@ jobs:
labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
- uses: angular/dev-infra/github-actions/commit-message-based-labels@2e999e1982762a32f68ba8afa02b8bfdac8495b8
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3.3.0
- uses: angular/dev-infra/github-actions/commit-message-based-labels@ee27e18676602a29b20703051ac303ea6386e54f
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
post_approval_changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
- uses: angular/dev-infra/github-actions/post-approval-changes@2e999e1982762a32f68ba8afa02b8bfdac8495b8
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3.3.0
- uses: angular/dev-infra/github-actions/post-approval-changes@ee27e18676602a29b20703051ac303ea6386e54f
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/feature-requests.yml
Original file line number Diff line number Diff line change
@@ -16,6 +16,6 @@ jobs:
if: github.repository == 'angular/angular-cli'
runs-on: ubuntu-latest
steps:
- uses: angular/dev-infra/github-actions/feature-request@2e999e1982762a32f68ba8afa02b8bfdac8495b8
- uses: angular/dev-infra/github-actions/feature-request@ee27e18676602a29b20703051ac303ea6386e54f
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/lock-closed.yml
Original file line number Diff line number Diff line change
@@ -13,6 +13,6 @@ jobs:
lock_closed:
runs-on: ubuntu-latest
steps:
- uses: angular/dev-infra/github-actions/lock-closed@2e999e1982762a32f68ba8afa02b8bfdac8495b8
- uses: angular/dev-infra/github-actions/lock-closed@ee27e18676602a29b20703051ac303ea6386e54f
with:
lock-bot-key: ${{ secrets.LOCK_BOT_PRIVATE_KEY }}
8 changes: 4 additions & 4 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -25,27 +25,27 @@ jobs:

steps:
- name: 'Checkout code'
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # tag=v3.2.0
with:
persist-credentials: false

- name: 'Run analysis'
uses: ossf/scorecard-action@e363bfca00e752f91de7b7d2a77340e2e523cb18 # tag=v2.0.4
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # tag=v2.1.2
with:
results_file: results.sarif
results_format: sarif
publish_results: true

# Upload the results as artifacts.
- name: 'Upload artifact'
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3.1.0
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # tag=v3.1.1
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: 'Upload to code-scanning'
uses: github/codeql-action/upload-sarif@807578363a7869ca324a79039e6db9c843e0e100 # tag=v2.1.27
uses: github/codeql-action/upload-sarif@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # tag=v2.1.37
with:
sarif_file: results.sarif
1 change: 1 addition & 0 deletions .ng-dev/github.mts
Original file line number Diff line number Diff line change
@@ -8,4 +8,5 @@ export const github: GithubConfig = {
owner: 'angular',
name: 'angular-cli',
mainBranchName: 'main',
useNgDevAuthService: true,
};
5 changes: 1 addition & 4 deletions .ng-dev/pull-request.mts
Original file line number Diff line number Diff line change
@@ -7,9 +7,6 @@ import { PullRequestConfig } from '@angular/ng-dev';
export const pullRequest: PullRequestConfig = {
githubApiMerge: {
default: 'rebase',
labels: [{ pattern: 'squash commits', method: 'squash' }],
labels: [{ pattern: 'merge: squash commits', method: 'squash' }],
},
mergeReadyLabel: 'action: merge',
caretakerNoteLabel: 'action: merge-assistance',
commitMessageFixupLabel: 'needs commit fixup',
};
10 changes: 6 additions & 4 deletions .ng-dev/release.mts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import '../lib/bootstrap-local.js';

import { ReleaseConfig } from '@angular/ng-dev';
import packages from '../lib/packages.js';
import buildPackages from '../scripts/build.js';

const npmPackages = Object.entries(packages.releasePackages).map(([name, { experimental }]) => ({
name,
@@ -13,7 +10,12 @@ const npmPackages = Object.entries(packages.releasePackages).map(([name, { exper
export const release: ReleaseConfig = {
representativeNpmPackage: '@angular/cli',
npmPackages,
buildPackages: () => buildPackages.default(),
buildPackages: async () => {
// The `performNpmReleaseBuild` function is loaded at runtime to avoid loading additional
// files and dependencies unless a build is required.
const { performNpmReleaseBuild } = await import('../scripts/build-packages-dist.mjs');
return performNpmReleaseBuild();
},
releaseNotes: {
groupOrder: [
'@angular/cli',
Loading