From 8807920ec7ec816fb3a595190271c15fc03f99f5 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Wed, 17 Sep 2025 15:45:34 +0000 Subject: [PATCH] build: update pnpm to v10.17.0 pnpm v10.17.0 adds support for wildcards in 'minimumReleaseAgeExclude'. This simplifies the configuration by allowing the use of '@angular-devkit/*' and '@angular/*' instead of listing each package individually. --- .../harness-e2e-cli/pnpm-workspace.yaml | 34 +++---------------- .../ng-add-standalone/pnpm-workspace.yaml | 34 +++---------------- integration/ng-add/pnpm-workspace.yaml | 34 +++---------------- package.json | 4 +-- pnpm-workspace.yaml | 34 +++---------------- 5 files changed, 18 insertions(+), 122 deletions(-) diff --git a/integration/harness-e2e-cli/pnpm-workspace.yaml b/integration/harness-e2e-cli/pnpm-workspace.yaml index 5d21bccb79ed..fcf4541cbe97 100644 --- a/integration/harness-e2e-cli/pnpm-workspace.yaml +++ b/integration/harness-e2e-cli/pnpm-workspace.yaml @@ -3,35 +3,9 @@ # The value is in minutes (1440 minutes = 1 day). minimumReleaseAge: 1440 # List of packages to exclude from the minimum release age check. -# Wildcards are not yet supported: https://github.com/pnpm/pnpm/issues/9983 minimumReleaseAgeExclude: - - '@angular-devkit/architect' - - '@angular-devkit/build-angular' - - '@angular-devkit/build-webpack' - - '@angular-devkit/core' - - '@angular-devkit/schematics-cli' - - '@angular-devkit/schematics' - - '@angular-devkit/architect-cli' - - '@angular-devkit/architect' - - '@angular/animations' - - '@angular/benchpress' - - '@angular/cdk' - - '@angular/ng-dev' - - '@angular/cli' - - '@angular/ssr' - - '@angular/common' - - '@angular/compiler-cli' - - '@angular/compiler' - - '@angular/core' - - '@angular/forms' - - '@angular/language-service' - - '@angular/localize' - - '@angular/material' - - '@angular/material-moment-adapter' - - '@angular/platform-browser-dynamic' - - '@angular/platform-browser' - - '@angular/platform-server' - - '@angular/router' - - '@angular/service-worker' + - '@angular-devkit/*' + - '@angular/*' - '@ngtools/webpack' - - '@schematics/angular' + - '@schematics/*' + - 'ng-packagr' diff --git a/integration/ng-add-standalone/pnpm-workspace.yaml b/integration/ng-add-standalone/pnpm-workspace.yaml index 5d21bccb79ed..fcf4541cbe97 100644 --- a/integration/ng-add-standalone/pnpm-workspace.yaml +++ b/integration/ng-add-standalone/pnpm-workspace.yaml @@ -3,35 +3,9 @@ # The value is in minutes (1440 minutes = 1 day). minimumReleaseAge: 1440 # List of packages to exclude from the minimum release age check. -# Wildcards are not yet supported: https://github.com/pnpm/pnpm/issues/9983 minimumReleaseAgeExclude: - - '@angular-devkit/architect' - - '@angular-devkit/build-angular' - - '@angular-devkit/build-webpack' - - '@angular-devkit/core' - - '@angular-devkit/schematics-cli' - - '@angular-devkit/schematics' - - '@angular-devkit/architect-cli' - - '@angular-devkit/architect' - - '@angular/animations' - - '@angular/benchpress' - - '@angular/cdk' - - '@angular/ng-dev' - - '@angular/cli' - - '@angular/ssr' - - '@angular/common' - - '@angular/compiler-cli' - - '@angular/compiler' - - '@angular/core' - - '@angular/forms' - - '@angular/language-service' - - '@angular/localize' - - '@angular/material' - - '@angular/material-moment-adapter' - - '@angular/platform-browser-dynamic' - - '@angular/platform-browser' - - '@angular/platform-server' - - '@angular/router' - - '@angular/service-worker' + - '@angular-devkit/*' + - '@angular/*' - '@ngtools/webpack' - - '@schematics/angular' + - '@schematics/*' + - 'ng-packagr' diff --git a/integration/ng-add/pnpm-workspace.yaml b/integration/ng-add/pnpm-workspace.yaml index 5d21bccb79ed..fcf4541cbe97 100644 --- a/integration/ng-add/pnpm-workspace.yaml +++ b/integration/ng-add/pnpm-workspace.yaml @@ -3,35 +3,9 @@ # The value is in minutes (1440 minutes = 1 day). minimumReleaseAge: 1440 # List of packages to exclude from the minimum release age check. -# Wildcards are not yet supported: https://github.com/pnpm/pnpm/issues/9983 minimumReleaseAgeExclude: - - '@angular-devkit/architect' - - '@angular-devkit/build-angular' - - '@angular-devkit/build-webpack' - - '@angular-devkit/core' - - '@angular-devkit/schematics-cli' - - '@angular-devkit/schematics' - - '@angular-devkit/architect-cli' - - '@angular-devkit/architect' - - '@angular/animations' - - '@angular/benchpress' - - '@angular/cdk' - - '@angular/ng-dev' - - '@angular/cli' - - '@angular/ssr' - - '@angular/common' - - '@angular/compiler-cli' - - '@angular/compiler' - - '@angular/core' - - '@angular/forms' - - '@angular/language-service' - - '@angular/localize' - - '@angular/material' - - '@angular/material-moment-adapter' - - '@angular/platform-browser-dynamic' - - '@angular/platform-browser' - - '@angular/platform-server' - - '@angular/router' - - '@angular/service-worker' + - '@angular-devkit/*' + - '@angular/*' - '@ngtools/webpack' - - '@schematics/angular' + - '@schematics/*' + - 'ng-packagr' diff --git a/package.json b/package.json index a01a55c435f2..0352669ade56 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,11 @@ "url": "https://github.com/angular/components.git" }, "license": "MIT", - "packageManager": "pnpm@10.16.1", + "packageManager": "pnpm@10.17.0", "engines": { "npm": "Please use pnpm instead of NPM to install dependencies", "yarn": "Please use pnpm instead of Yarn to install dependencies", - "pnpm": "10.16.1" + "pnpm": "10.17.0" }, "scripts": { "ng-dev": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only node_modules/@angular/ng-dev/bundles/cli.mjs", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 6672fe7c033e..74dd181c6e9c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -40,35 +40,9 @@ catalog: # The value is in minutes (1440 minutes = 1 day). minimumReleaseAge: 1440 # List of packages to exclude from the minimum release age check. -# Wildcards are not yet supported: https://github.com/pnpm/pnpm/issues/9983 minimumReleaseAgeExclude: - - '@angular-devkit/architect' - - '@angular-devkit/build-angular' - - '@angular-devkit/build-webpack' - - '@angular-devkit/core' - - '@angular-devkit/schematics-cli' - - '@angular-devkit/schematics' - - '@angular-devkit/architect-cli' - - '@angular-devkit/architect' - - '@angular/animations' - - '@angular/benchpress' - - '@angular/cdk' - - '@angular/ng-dev' - - '@angular/cli' - - '@angular/ssr' - - '@angular/common' - - '@angular/compiler-cli' - - '@angular/compiler' - - '@angular/core' - - '@angular/forms' - - '@angular/language-service' - - '@angular/localize' - - '@angular/material' - - '@angular/material-moment-adapter' - - '@angular/platform-browser-dynamic' - - '@angular/platform-browser' - - '@angular/platform-server' - - '@angular/router' - - '@angular/service-worker' + - '@angular-devkit/*' + - '@angular/*' - '@ngtools/webpack' - - '@schematics/angular' + - '@schematics/*' + - 'ng-packagr'