From 255eb0726b792d0dce939b6833ec0580aeef5e90 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 26 Jul 2022 15:08:05 +0200 Subject: [PATCH] Cleaned up package metadata refs https://github.com/TryGhost/Toolbox/issues/354 - set packages to `private: true` - removed repository link - these packages won't be published so this link won't be seen anywhere - removed `publishConfig` --- ghost/adapter-manager/package.json | 5 +---- ghost/api-version-compatibility-service/package.json | 5 +---- ghost/bootstrap-socket/package.json | 5 +---- ghost/constants/package.json | 5 +---- ghost/email-content-generator/package.json | 5 +---- ghost/extract-api-key/package.json | 5 +---- ghost/job-manager/package.json | 5 +---- ghost/members-importer/package.json | 2 +- ghost/minifier/package.json | 5 +---- ghost/mw-api-version-mismatch/package.json | 5 +---- ghost/mw-error-handler/package.json | 5 +---- ghost/mw-session-from-token/package.json | 5 +---- ghost/mw-update-user-last-seen/package.json | 5 +---- ghost/package-json/package.json | 5 +---- ghost/security/package.json | 5 +---- ghost/session-service/package.json | 5 +---- ghost/settings-path-manager/package.json | 5 +---- ghost/update-check-service/package.json | 5 +---- ghost/version-notifications-data-service/package.json | 5 +---- ghost/vhost-middleware/package.json | 5 +---- 20 files changed, 20 insertions(+), 77 deletions(-) diff --git a/ghost/adapter-manager/package.json b/ghost/adapter-manager/package.json index fc3d46ef8b..bd0b63bfa2 100644 --- a/ghost/adapter-manager/package.json +++ b/ghost/adapter-manager/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/adapter-manager", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/adapter-manager", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/api-version-compatibility-service/package.json b/ghost/api-version-compatibility-service/package.json index 5bf40a02b6..618383a08c 100644 --- a/ghost/api-version-compatibility-service/package.json +++ b/ghost/api-version-compatibility-service/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/api-version-compatibility-service", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/api-version-compatibility-service", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -17,9 +17,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/bootstrap-socket/package.json b/ghost/bootstrap-socket/package.json index b680ea0dba..ce1cd017b8 100644 --- a/ghost/bootstrap-socket/package.json +++ b/ghost/bootstrap-socket/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/bootstrap-socket", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/bootstrap-socket", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/constants/package.json b/ghost/constants/package.json index 34d21e273e..536a5dc20b 100644 --- a/ghost/constants/package.json +++ b/ghost/constants/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/constants", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/constants", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/email-content-generator/package.json b/ghost/email-content-generator/package.json index dec5630e46..06d8eef7d7 100644 --- a/ghost/email-content-generator/package.json +++ b/ghost/email-content-generator/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/email-content-generator", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/email-content-generator", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -17,9 +17,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/extract-api-key/package.json b/ghost/extract-api-key/package.json index f3a19c8c28..67fa033cbf 100644 --- a/ghost/extract-api-key/package.json +++ b/ghost/extract-api-key/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/extract-api-key", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/extract-api-key", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -17,9 +17,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "dependencies": { "jsonwebtoken": "^8.5.1" } diff --git a/ghost/job-manager/package.json b/ghost/job-manager/package.json index 8b41b076ae..15eee87df7 100644 --- a/ghost/job-manager/package.json +++ b/ghost/job-manager/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/job-manager", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/job-manager", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "@sinonjs/fake-timers": "9.1.2", "c8": "7.12.0", diff --git a/ghost/members-importer/package.json b/ghost/members-importer/package.json index 8c427dbceb..11fcce366b 100644 --- a/ghost/members-importer/package.json +++ b/ghost/members-importer/package.json @@ -1,8 +1,8 @@ { "name": "@tryghost/members-importer", "version": "0.0.0", - "private": true, "author": "Ghost Foundation", + "private": true, "license": "MIT", "main": "index.js", "scripts": { diff --git a/ghost/minifier/package.json b/ghost/minifier/package.json index cae7649684..4fa4b7e07a 100644 --- a/ghost/minifier/package.json +++ b/ghost/minifier/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/minifier", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/minifier", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/mw-api-version-mismatch/package.json b/ghost/mw-api-version-mismatch/package.json index cb094be043..6665cd752d 100644 --- a/ghost/mw-api-version-mismatch/package.json +++ b/ghost/mw-api-version-mismatch/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/mw-api-version-mismatch", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/mw-api-version-mismatch", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -17,9 +17,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/mw-error-handler/package.json b/ghost/mw-error-handler/package.json index 5eb31b3348..56bac804df 100644 --- a/ghost/mw-error-handler/package.json +++ b/ghost/mw-error-handler/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/mw-error-handler", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/mw-error-handler", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/mw-session-from-token/package.json b/ghost/mw-session-from-token/package.json index af06dcaa91..d4772c2deb 100644 --- a/ghost/mw-session-from-token/package.json +++ b/ghost/mw-session-from-token/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/mw-session-from-token", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/mw-session-from-token", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "express": "4.18.1", diff --git a/ghost/mw-update-user-last-seen/package.json b/ghost/mw-update-user-last-seen/package.json index ef9413a648..8f288fec8d 100644 --- a/ghost/mw-update-user-last-seen/package.json +++ b/ghost/mw-update-user-last-seen/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/mw-update-user-last-seen", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/mw-update-user-last-seen", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/package-json/package.json b/ghost/package-json/package.json index c94e844f2a..539b4def9c 100644 --- a/ghost/package-json/package.json +++ b/ghost/package-json/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/package-json", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/package-json", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/security/package.json b/ghost/security/package.json index ba8bbad026..bae3307952 100644 --- a/ghost/security/package.json +++ b/ghost/security/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/security", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/security", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/session-service/package.json b/ghost/session-service/package.json index 9a953b78e5..0f39132df4 100644 --- a/ghost/session-service/package.json +++ b/ghost/session-service/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/session-service", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/session-service", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "express": "4.18.1", diff --git a/ghost/settings-path-manager/package.json b/ghost/settings-path-manager/package.json index 1f43dce51c..d990347e13 100644 --- a/ghost/settings-path-manager/package.json +++ b/ghost/settings-path-manager/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/settings-path-manager", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/settings-path-manager", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/update-check-service/package.json b/ghost/update-check-service/package.json index ec70ece1d0..b745359e6c 100644 --- a/ghost/update-check-service/package.json +++ b/ghost/update-check-service/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/update-check-service", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/update-check-service", "author": "Ghost Foundation", "license": "MIT", "main": "./lib/update-check-service.js", @@ -15,9 +15,6 @@ "files": [ "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "mocha": "10.0.0", "should": "13.2.3", diff --git a/ghost/version-notifications-data-service/package.json b/ghost/version-notifications-data-service/package.json index a37add9553..76a6deffa0 100644 --- a/ghost/version-notifications-data-service/package.json +++ b/ghost/version-notifications-data-service/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/version-notifications-data-service", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/version-notifications-data-service", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -17,9 +17,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0", diff --git a/ghost/vhost-middleware/package.json b/ghost/vhost-middleware/package.json index 179a6c4c58..451a538d0a 100644 --- a/ghost/vhost-middleware/package.json +++ b/ghost/vhost-middleware/package.json @@ -1,7 +1,7 @@ { "name": "@tryghost/vhost-middleware", + "private": true, "version": "0.0.0", - "repository": "https://github.com/TryGhost/Utils/tree/main/packages/vhost-middleware", "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -15,9 +15,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "c8": "7.12.0", "mocha": "10.0.0",