From ae976da849108b8282605babb3c0a66f82a02415 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 20 Dec 2023 14:45:28 +0100 Subject: [PATCH] fixes semver deps --- code/frameworks/nextjs/package.json | 1 + code/lib/cli/package.json | 1 - code/lib/manager-api/package.json | 3 ++- code/presets/create-react-app/package.json | 1 + code/yarn.lock | 3 +++ 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/code/frameworks/nextjs/package.json b/code/frameworks/nextjs/package.json index 8eb6878e1a86..2c259c547563 100644 --- a/code/frameworks/nextjs/package.json +++ b/code/frameworks/nextjs/package.json @@ -98,6 +98,7 @@ "@storybook/preview-api": "workspace:*", "@storybook/react": "workspace:*", "@types/node": "^18.0.0", + "@types/semver": "^7.3.4", "css-loader": "^6.7.3", "find-up": "^5.0.0", "fs-extra": "^11.1.0", diff --git a/code/lib/cli/package.json b/code/lib/cli/package.json index a1869def7aa1..d4493a1bc4ad 100644 --- a/code/lib/cli/package.json +++ b/code/lib/cli/package.json @@ -101,7 +101,6 @@ "devDependencies": { "@types/cross-spawn": "^6.0.2", "@types/prompts": "^2.0.9", - "@types/semver": "^7.3.4", "@types/util-deprecate": "^1.0.0", "boxen": "^5.1.2", "slash": "^5.0.0", diff --git a/code/lib/manager-api/package.json b/code/lib/manager-api/package.json index 749e3cee1130..5a9c979c9e16 100644 --- a/code/lib/manager-api/package.json +++ b/code/lib/manager-api/package.json @@ -54,7 +54,6 @@ "dequal": "^2.0.2", "lodash": "^4.17.21", "memoizerific": "^1.11.3", - "semver": "^7.3.7", "store2": "^2.14.2", "telejson": "^7.2.0", "ts-dedent": "^2.0.0" @@ -63,10 +62,12 @@ "@jest/globals": "^29.3.1", "@types/lodash": "^4.14.167", "@types/qs": "^6", + "@types/semver": "^7.3.4", "flush-promises": "^1.0.2", "qs": "^6.10.0", "react": "^18.2.0", "react-dom": "^18.2.0", + "semver": "^7.3.7", "typescript": "^5.3.2" }, "publishConfig": { diff --git a/code/presets/create-react-app/package.json b/code/presets/create-react-app/package.json index 6257783889cc..9a5f30a1b3c2 100644 --- a/code/presets/create-react-app/package.json +++ b/code/presets/create-react-app/package.json @@ -53,6 +53,7 @@ "@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0", "@storybook/types": "workspace:*", "@types/babel__core": "^7.1.7", + "@types/semver": "^7.3.4", "pnp-webpack-plugin": "^1.7.0", "semver": "^7.3.5" }, diff --git a/code/yarn.lock b/code/yarn.lock index c410acdff97a..dfee4c87dc40 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -5793,6 +5793,7 @@ __metadata: "@storybook/types": "workspace:*" "@types/lodash": "npm:^4.14.167" "@types/qs": "npm:^6" + "@types/semver": "npm:^7.3.4" dequal: "npm:^2.0.2" flush-promises: "npm:^1.0.2" lodash: "npm:^4.17.21" @@ -5890,6 +5891,7 @@ __metadata: "@types/babel__preset-env": "npm:^7" "@types/loader-utils": "npm:^2.0.5" "@types/node": "npm:^18.0.0" + "@types/semver": "npm:^7.3.4" css-loader: "npm:^6.7.3" find-up: "npm:^5.0.0" fs-extra: "npm:^11.1.0" @@ -5995,6 +5997,7 @@ __metadata: "@storybook/types": "workspace:*" "@types/babel__core": "npm:^7.1.7" "@types/node": "npm:^18.0.0" + "@types/semver": "npm:^7.3.4" pnp-webpack-plugin: "npm:^1.7.0" semver: "npm:^7.3.5" typescript: "npm:^5.3.2"