From 00c989e412c34771411c5256d08766d25eadd9b3 Mon Sep 17 00:00:00 2001 From: Scott McIntyre Date: Thu, 4 Apr 2024 10:54:39 -0400 Subject: [PATCH] chore(packages): add repository directory to package (#237) --- packages/parrot-core/package.json | 6 +++++- packages/parrot-devtools/package.json | 6 +++++- packages/parrot-fetch/package.json | 6 +++++- packages/parrot-friendly/package.json | 6 +++++- packages/parrot-graphql/package.json | 6 +++++- packages/parrot-middleware/package.json | 6 +++++- packages/parrot-server/package.json | 6 +++++- 7 files changed, 35 insertions(+), 7 deletions(-) diff --git a/packages/parrot-core/package.json b/packages/parrot-core/package.json index 2439dd3..db5e5dd 100644 --- a/packages/parrot-core/package.json +++ b/packages/parrot-core/package.json @@ -12,7 +12,11 @@ ], "main": "lib", "license": "Apache-2.0", - "repository": "americanexpress/parrot", + "repository": { + "type": "git", + "url": "https://github.com/americanexpress/parrot.git", + "directory": "packages/parrot-core" + }, "scripts": { "clean": "rimraf lib", "prebuild": "npm run clean", diff --git a/packages/parrot-devtools/package.json b/packages/parrot-devtools/package.json index ba87dbb..ed9483a 100644 --- a/packages/parrot-devtools/package.json +++ b/packages/parrot-devtools/package.json @@ -20,7 +20,11 @@ "deploy:extension": "node scripts/deploy-to-webstore.js" }, "license": "Apache-2.0", - "repository": "americanexpress/parrot", + "repository": { + "type": "git", + "url": "https://github.com/americanexpress/parrot.git", + "directory": "packages/parrot-devtools" + }, "dependencies": { "prop-types": "^15.8.1", "react": "^16.14.0", diff --git a/packages/parrot-fetch/package.json b/packages/parrot-fetch/package.json index 58f47c2..6fd9fa6 100644 --- a/packages/parrot-fetch/package.json +++ b/packages/parrot-fetch/package.json @@ -12,7 +12,11 @@ ], "main": "lib", "license": "Apache-2.0", - "repository": "americanexpress/parrot", + "repository": { + "type": "git", + "url": "https://github.com/americanexpress/parrot.git", + "directory": "packages/parrot-fetch" + }, "scripts": { "clean": "rimraf lib", "prebuild": "npm run clean", diff --git a/packages/parrot-friendly/package.json b/packages/parrot-friendly/package.json index 55fc645..cf42907 100644 --- a/packages/parrot-friendly/package.json +++ b/packages/parrot-friendly/package.json @@ -12,7 +12,11 @@ ], "main": "lib", "license": "Apache-2.0", - "repository": "americanexpress/parrot", + "repository": { + "type": "git", + "url": "https://github.com/americanexpress/parrot.git", + "directory": "packages/parrot-friendly" + }, "scripts": { "clean": "rimraf lib", "prebuild": "npm run clean", diff --git a/packages/parrot-graphql/package.json b/packages/parrot-graphql/package.json index a3781ce..b59adb0 100644 --- a/packages/parrot-graphql/package.json +++ b/packages/parrot-graphql/package.json @@ -9,7 +9,11 @@ "description": "A helper library to create GraphQL Parrot mocks.", "main": "src/index.js", "license": "Apache-2.0", - "repository": "americanexpress/parrot", + "repository": { + "type": "git", + "url": "https://github.com/americanexpress/parrot.git", + "directory": "packages/parrot-graphql" + }, "dependencies": { "@graphql-tools/mock": "^8.7.20", "graphql": "^15.8.0" diff --git a/packages/parrot-middleware/package.json b/packages/parrot-middleware/package.json index 9ca681e..505f52f 100644 --- a/packages/parrot-middleware/package.json +++ b/packages/parrot-middleware/package.json @@ -12,7 +12,11 @@ ], "main": "lib", "license": "Apache-2.0", - "repository": "americanexpress/parrot", + "repository": { + "type": "git", + "url": "https://github.com/americanexpress/parrot.git", + "directory": "packages/parrot-middleware" + }, "scripts": { "clean": "rimraf lib", "prebuild": "npm run clean", diff --git a/packages/parrot-server/package.json b/packages/parrot-server/package.json index 25a994c..18dbea1 100644 --- a/packages/parrot-server/package.json +++ b/packages/parrot-server/package.json @@ -12,7 +12,11 @@ "lib" ], "license": "Apache-2.0", - "repository": "americanexpress/parrot", + "repository": { + "type": "git", + "url": "https://github.com/americanexpress/parrot.git", + "directory": "packages/parrot-server" + }, "bin": { "parrot-server": "./lib/index.js" },