From 927a51b69f36298147ee48a3a831378800591f83 Mon Sep 17 00:00:00 2001 From: msftenanceprovenance Date: Fri, 22 Oct 2021 10:21:55 +0800 Subject: [PATCH] Update package.json to include the repository Hi there! This change adds the repository property to your package.json file(s). Having this available provides a number of benefits to security tooling. For example, it allows for greater trust by checking for signed commits, contributors to a release and validating history with the project. It also allows for comparison between the source code and the published artifact in order to detect attacks on authors during the publication process. We validate that we're making a PR against the correct repository by comparing the metadata for the published artifact on [npmjs.com](www.npmjs.com) against the metadata in the package.json file in the repository. This change is provided by a team at Microsoft -- we're happy to answer any questions you may have. (Members of this team include [@s-tuli](https://github.com/s-tuli), [@iarna](https://github.com/iarna), [@v-rr](https://github.com/v-rr), [@v-jiepeng](https://github.com/v-jiepeng), [@v-zhzhou](https://github.com/v-zhzhou) and [@v-gjy](https://github.com/v-gjy)). If you would prefer that we not make these sorts of PRs to projects you maintain, please just say. If you'd like to learn more about what we're doing here, we've prepared a document talking about both this project and some of our other activities around supply chain security here: [microsoft/Secure-Supply-Chain](https://github.com/microsoft/Secure-Supply-Chain) This PR provides repository metadata for the following packages: * @ionic/cli-framework * @ionic/cli-framework-output * @ionic/cli-framework-prompts --- packages/@ionic/cli-framework-output/package.json | 5 +++++ packages/@ionic/cli-framework-prompts/package.json | 5 +++++ packages/@ionic/cli-framework/package.json | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/packages/@ionic/cli-framework-output/package.json b/packages/@ionic/cli-framework-output/package.json index 3e25f20e51..c087601ab5 100644 --- a/packages/@ionic/cli-framework-output/package.json +++ b/packages/@ionic/cli-framework-output/package.json @@ -9,6 +9,11 @@ "engines": { "node": ">=10.3.0" }, + "repository": { + "type": "git", + "url": "https://github.com/ionic-team/ionic-cli.git", + "directory": "packages/@ionic/cli-framework-output" + }, "files": [ "dist/", "LICENSE", diff --git a/packages/@ionic/cli-framework-prompts/package.json b/packages/@ionic/cli-framework-prompts/package.json index 246995527c..a2444371cd 100644 --- a/packages/@ionic/cli-framework-prompts/package.json +++ b/packages/@ionic/cli-framework-prompts/package.json @@ -9,6 +9,11 @@ "engines": { "node": ">=10.3.0" }, + "repository": { + "type": "git", + "url": "https://github.com/ionic-team/ionic-cli.git", + "directory": "packages/@ionic/cli-framework-prompts" + }, "files": [ "dist/", "LICENSE", diff --git a/packages/@ionic/cli-framework/package.json b/packages/@ionic/cli-framework/package.json index 6babda09be..84cf0c4b83 100644 --- a/packages/@ionic/cli-framework/package.json +++ b/packages/@ionic/cli-framework/package.json @@ -9,6 +9,11 @@ "engines": { "node": ">=10.3.0" }, + "repository": { + "type": "git", + "url": "https://github.com/ionic-team/ionic-cli.git", + "directory": "packages/@ionic/cli-framework" + }, "scripts": { "clean": "rimraf index.* definitions.* errors.* guards.* lib utils", "lint": "true",