From d21279b35c9db32d41e3f3c7ff6a77d166ff44da Mon Sep 17 00:00:00 2001 From: Justin Johansson Date: Sat, 4 Sep 2021 01:10:21 +0930 Subject: [PATCH] Indiescripter/update misc deps (#2408) * build(cli): remove unused commander dep * build(e2e-ui): tweak lodash devDep to exact version * build: tweak exact versions; @verdaccio:commons-api, get-port, semver * style: private true prop first in package.jsons (monorepo convention) --- packages/cli/package.json | 1 - .../plugins/google-cloud-storage/package.json | 2 +- packages/types/package.json | 2 +- pnpm-lock.yaml | 15 ++++----------- test/e2e-cli/package.json | 6 +++--- test/e2e-ui/package.json | 4 ++-- website/package.json | 2 +- 7 files changed, 12 insertions(+), 20 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 171f22bc4e84..fcb392dde5f5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -48,7 +48,6 @@ "@verdaccio/logger": "workspace:6.0.0-6-next.4", "@verdaccio/node-api": "workspace:6.0.0-6-next.18", "@verdaccio/fastify-migration": "workspace:6.0.0-6-next.10", - "commander": "6.2.0", "clipanion": "3.0.1", "envinfo": "7.8.1", "kleur": "3.0.3", diff --git a/packages/plugins/google-cloud-storage/package.json b/packages/plugins/google-cloud-storage/package.json index 6da0920c956f..b5ffc093065d 100644 --- a/packages/plugins/google-cloud-storage/package.json +++ b/packages/plugins/google-cloud-storage/package.json @@ -33,7 +33,7 @@ "dependencies": { "@google-cloud/datastore": "6.5.0", "@google-cloud/storage": "5.14.0", - "@verdaccio/commons-api": "^11.0.0-alpha.3", + "@verdaccio/commons-api": "11.0.0-alpha.3", "@verdaccio/streams": "workspace:11.0.0-alpha.3" }, "devDependencies": { diff --git a/packages/types/package.json b/packages/types/package.json index 2495f37ca059..5e4accc46497 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,7 +1,7 @@ { + "private": true, "name": "@verdaccio/dev-types", "version": "6.0.0-alpha.3", - "private": true, "description": "types for verdaccio local dev", "main": "./index.ts", "types": "index.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e750641a6e78..21876b53877b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -305,7 +305,6 @@ importers: '@verdaccio/logger': workspace:6.0.0-6-next.4 '@verdaccio/node-api': workspace:6.0.0-6-next.18 clipanion: 3.0.1 - commander: 6.2.0 envinfo: 7.8.1 kleur: 3.0.3 semver: 7.3.5 @@ -316,7 +315,6 @@ importers: '@verdaccio/logger': link:../logger '@verdaccio/node-api': link:../node-api clipanion: 3.0.1 - commander: 6.2.0 envinfo: 7.8.1 kleur: 3.0.3 semver: 7.3.5 @@ -705,7 +703,7 @@ importers: specifiers: '@google-cloud/datastore': 6.5.0 '@google-cloud/storage': 5.14.0 - '@verdaccio/commons-api': ^11.0.0-alpha.3 + '@verdaccio/commons-api': 11.0.0-alpha.3 '@verdaccio/streams': workspace:11.0.0-alpha.3 '@verdaccio/types': workspace:11.0.0-6-next.7 fast-crc32c: 1.0.4 @@ -1129,11 +1127,11 @@ importers: test/e2e-cli: specifiers: debug: 4.3.2 - get-port: ^5.1.1 + get-port: 5.1.1 npm: 7.21.1 pnpm: 6.14.5 request: 2.87.0 - semver: ^7.3.5 + semver: 7.3.5 yarn: 1.22.11 dependencies: debug: 4.3.2 @@ -1151,7 +1149,7 @@ importers: '@verdaccio/ui-theme': workspace:6.0.0-6-next.9 debug: 4.3.2 kleur: 3.0.3 - lodash: ^4.17.21 + lodash: 4.17.21 puppeteer: 10.2.0 request: 2.87.0 rimraf: 3.0.2 @@ -8674,11 +8672,6 @@ packages: engines: {node: '>= 6'} dev: false - /commander/6.2.0: - resolution: {integrity: sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q==} - engines: {node: '>= 6'} - dev: false - /commander/6.2.1: resolution: {integrity: sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==} engines: {node: '>= 6'} diff --git a/test/e2e-cli/package.json b/test/e2e-cli/package.json index 095989ddfe16..58db8487d57e 100644 --- a/test/e2e-cli/package.json +++ b/test/e2e-cli/package.json @@ -1,6 +1,6 @@ { - "name": "@verdaccio/e2e-cli", "private": true, + "name": "@verdaccio/e2e-cli", "version": "1.0.1-alpha.0", "dependencies": { "debug": "4.3.2", @@ -10,8 +10,8 @@ "yarn": "1.22.11" }, "devDependencies": { - "get-port": "^5.1.1", - "semver": "^7.3.5" + "get-port": "5.1.1", + "semver": "7.3.5" }, "scripts": { "test": "jest --config jest.config.e2e.cli.js" diff --git a/test/e2e-ui/package.json b/test/e2e-ui/package.json index f68f2cf18222..ae105f2a1dd6 100644 --- a/test/e2e-ui/package.json +++ b/test/e2e-ui/package.json @@ -1,13 +1,13 @@ { - "name": "@verdaccio/e2e-ui", "private": true, + "name": "@verdaccio/e2e-ui", "version": "1.1.0-6-next.1", "devDependencies": { "@verdaccio/commons-api": "workspace:11.0.0-alpha.3", "@verdaccio/ui-theme": "workspace:6.0.0-6-next.9", "debug": "4.3.2", "kleur": "3.0.3", - "lodash": "^4.17.21", + "lodash": "4.17.21", "puppeteer": "10.2.0", "request": "2.87.0", "rimraf": "3.0.2" diff --git a/website/package.json b/website/package.json index 15d9c8e2fec0..f24fd37615eb 100644 --- a/website/package.json +++ b/website/package.json @@ -1,7 +1,7 @@ { + "private": true, "name": "@verdaccio/website", "version": "5.1.3", - "private": true, "scripts": { "docusaurus": "docusaurus", "start": "docusaurus start",