Skip to content

Commit

Permalink
Merge pull request #23574 from storybookjs/norbert/downgrade-type-fest
Browse files Browse the repository at this point in the history
TypeScript: Downgrade to the last version of type-fest that doesn't need typescript 5.0
  • Loading branch information
ndelangen authored Jul 24, 2023
2 parents d7e896b + 028d6fb commit 77b040c
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion code/lib/core-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"@types/picomatch": "^2.3.0",
"mock-fs": "^5.2.0",
"slash": "^5.0.0",
"type-fest": "^3.11.0",
"type-fest": "~2.19",
"typescript": "~4.9.3"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"playwright": "1.36.0",
"playwright-core": "1.36.0",
"serialize-javascript": "^3.1.0",
"type-fest": "^3.11.0"
"type-fest": "~2.19"
},
"dependencies": {
"@babel/core": "^7.22.9",
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"prop-types": "^15.7.2",
"react-element-to-jsx-string": "^15.0.0",
"ts-dedent": "^2.0.0",
"type-fest": "^3.11.0",
"type-fest": "~2.19",
"util-deprecate": "^1.0.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@storybook/preview-api": "7.2.0-alpha.0",
"@storybook/types": "7.2.0-alpha.0",
"sveltedoc-parser": "^4.2.1",
"type-fest": "^3.11.0"
"type-fest": "~2.19"
},
"devDependencies": {
"expect-type": "^0.15.0",
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@storybook/preview-api": "7.2.0-alpha.0",
"@storybook/types": "7.2.0-alpha.0",
"ts-dedent": "^2.0.0",
"type-fest": "^3.11.0"
"type-fest": "~2.19"
},
"devDependencies": {
"typescript": "~4.9.3",
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@storybook/types": "7.2.0-alpha.0",
"lodash": "^4.17.21",
"ts-dedent": "^2.0.0",
"type-fest": "^3.11.0",
"type-fest": "~2.19",
"vue-component-type-helpers": "latest"
},
"devDependencies": {
Expand Down
18 changes: 9 additions & 9 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6597,7 +6597,7 @@ __metadata:
resolve-from: ^5.0.0
slash: ^5.0.0
ts-dedent: ^2.0.0
type-fest: ^3.11.0
type-fest: ~2.19
typescript: ~4.9.3
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -7465,7 +7465,7 @@ __metadata:
react-element-to-jsx-string: ^15.0.0
require-from-string: ^2.0.2
ts-dedent: ^2.0.0
type-fest: ^3.11.0
type-fest: ~2.19
util-deprecate: ^1.0.2
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
Expand Down Expand Up @@ -7803,7 +7803,7 @@ __metadata:
svelte: ^4.0.0
svelte-check: ^3.4.3
sveltedoc-parser: ^4.2.1
type-fest: ^3.11.0
type-fest: ~2.19
typescript: ^5.0.4
peerDependencies:
svelte: ^3.1.0 || ^4.0.0
Expand Down Expand Up @@ -7997,7 +7997,7 @@ __metadata:
"@vue/vue3-jest": 29
lodash: ^4.17.21
ts-dedent: ^2.0.0
type-fest: ^3.11.0
type-fest: ~2.19
typescript: ~4.9.3
vue: ^3.2.47
vue-component-type-helpers: latest
Expand All @@ -8019,7 +8019,7 @@ __metadata:
"@storybook/preview-api": 7.2.0-alpha.0
"@storybook/types": 7.2.0-alpha.0
ts-dedent: ^2.0.0
type-fest: ^3.11.0
type-fest: ~2.19
typescript: ~4.9.3
vue: 2.6.14
vue-tsc: latest
Expand Down Expand Up @@ -30008,10 +30008,10 @@ __metadata:
languageName: node
linkType: hard

"type-fest@npm:^3.11.0":
version: 3.13.1
resolution: "type-fest@npm:3.13.1"
checksum: 547d22186f73a8c04590b70dcf63baff390078c75ea8acd366bbd510fd0646e348bd1970e47ecf795b7cff0b41d26e9c475c1fedd6ef5c45c82075fbf916b629
"type-fest@npm:~2.19":
version: 2.19.0
resolution: "type-fest@npm:2.19.0"
checksum: a5a7ecf2e654251613218c215c7493574594951c08e52ab9881c9df6a6da0aeca7528c213c622bc374b4e0cb5c443aa3ab758da4e3c959783ce884c3194e12cb
languageName: node
linkType: hard

Expand Down
4 changes: 2 additions & 2 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"esbuild": "^0.18.0",
"eslint": "^8.28.0",
"serialize-javascript": "^3.1.0",
"type-fest": "^3.11.0"
"type-fest": "~2.19"
},
"dependencies": {
"@actions/core": "^1.10.0",
Expand Down Expand Up @@ -179,7 +179,7 @@
"ts-dedent": "^2.0.0",
"ts-node": "^10.9.1",
"tsup": "^6.7.0",
"type-fest": "^3.11.0",
"type-fest": "~2.19",
"typescript": "5.0.4",
"util": "^0.12.4",
"uuid": "^9.0.0",
Expand Down
10 changes: 5 additions & 5 deletions scripts/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3038,7 +3038,7 @@ __metadata:
ts-loader: ^9.4.2
ts-node: ^10.9.1
tsup: ^6.7.0
type-fest: ^3.11.0
type-fest: ~2.19
typescript: 5.0.4
util: ^0.12.4
uuid: ^9.0.0
Expand Down Expand Up @@ -15996,10 +15996,10 @@ __metadata:
languageName: node
linkType: hard

"type-fest@npm:^3.11.0":
version: 3.13.1
resolution: "type-fest@npm:3.13.1"
checksum: 547d22186f73a8c04590b70dcf63baff390078c75ea8acd366bbd510fd0646e348bd1970e47ecf795b7cff0b41d26e9c475c1fedd6ef5c45c82075fbf916b629
"type-fest@npm:~2.19":
version: 2.19.0
resolution: "type-fest@npm:2.19.0"
checksum: a5a7ecf2e654251613218c215c7493574594951c08e52ab9881c9df6a6da0aeca7528c213c622bc374b4e0cb5c443aa3ab758da4e3c959783ce884c3194e12cb
languageName: node
linkType: hard

Expand Down

0 comments on commit 77b040c

Please sign in to comment.