From f88e5e606784055bd7e393c787d4bfce4374c2e8 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Thu, 5 Mar 2026 11:55:27 +0000 Subject: [PATCH] build: standardize `bin` script paths and `repository.url` formats across `package.json` files This removed warnings during the releases --- package.json | 2 +- packages/angular/cli/package.json | 4 ++-- packages/angular/create/package.json | 2 +- packages/angular/ssr/package.json | 2 +- packages/angular_devkit/architect/package.json | 2 +- packages/angular_devkit/schematics_cli/package.json | 2 +- packages/ngtools/webpack/package.json | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 85c25d1214b4..ac643bd4590f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular-cli.git" + "url": "git+https://github.com/angular/angular-cli.git" }, "packageManager": "pnpm@10.30.3", "engines": { diff --git a/packages/angular/cli/package.json b/packages/angular/cli/package.json index bdc3f1b75fe3..06973525125d 100644 --- a/packages/angular/cli/package.json +++ b/packages/angular/cli/package.json @@ -4,7 +4,7 @@ "description": "CLI tool for Angular", "main": "lib/cli/index.js", "bin": { - "ng": "./bin/ng.js" + "ng": "bin/ng.js" }, "keywords": [ "angular", @@ -13,7 +13,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/angular/angular-cli.git" + "url": "git+https://github.com/angular/angular-cli.git" }, "author": "Angular Authors", "license": "MIT", diff --git a/packages/angular/create/package.json b/packages/angular/create/package.json index a5ad3fce4ff9..e20338df9e30 100644 --- a/packages/angular/create/package.json +++ b/packages/angular/create/package.json @@ -9,7 +9,7 @@ "code generation", "schematics" ], - "bin": "./src/index.js", + "bin": "src/index.js", "dependencies": { "@angular/cli": "0.0.0-PLACEHOLDER" } diff --git a/packages/angular/ssr/package.json b/packages/angular/ssr/package.json index 1d3a4763fd28..83cbd279bd00 100644 --- a/packages/angular/ssr/package.json +++ b/packages/angular/ssr/package.json @@ -42,6 +42,6 @@ "schematics": "./schematics/collection.json", "repository": { "type": "git", - "url": "https://github.com/angular/angular-cli.git" + "url": "git+https://github.com/angular/angular-cli.git" } } diff --git a/packages/angular_devkit/architect/package.json b/packages/angular_devkit/architect/package.json index c3f51752bc0c..6cdaa6e5ddac 100644 --- a/packages/angular_devkit/architect/package.json +++ b/packages/angular_devkit/architect/package.json @@ -4,7 +4,7 @@ "description": "Angular Build Facade", "experimental": true, "bin": { - "architect": "./bin/cli.js" + "architect": "bin/cli.js" }, "main": "src/index.js", "typings": "src/index.d.ts", diff --git a/packages/angular_devkit/schematics_cli/package.json b/packages/angular_devkit/schematics_cli/package.json index 620300a20942..92ab60dc5b11 100644 --- a/packages/angular_devkit/schematics_cli/package.json +++ b/packages/angular_devkit/schematics_cli/package.json @@ -4,7 +4,7 @@ "description": "Angular Schematics - CLI", "homepage": "https://github.com/angular/angular-cli", "bin": { - "schematics": "./bin/schematics.js" + "schematics": "bin/schematics.js" }, "keywords": [ "blueprints", diff --git a/packages/ngtools/webpack/package.json b/packages/ngtools/webpack/package.json index df63faea2067..66f371dec0f4 100644 --- a/packages/ngtools/webpack/package.json +++ b/packages/ngtools/webpack/package.json @@ -13,7 +13,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/angular/angular-cli.git" + "url": "git+https://github.com/angular/angular-cli.git" }, "author": "angular", "bugs": {