Skip to content

Commit 5356849

Browse files
committed
Upgrade CSF to version w/ globals on context
From ComponentDriven/csf#95
1 parent 2786bc8 commit 5356849

File tree

14 files changed

+35
-35
lines changed

14 files changed

+35
-35
lines changed

code/addons/links/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts"
6868
},
6969
"dependencies": {
70-
"@storybook/csf": "^0.1.8",
70+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
7171
"@storybook/global": "^5.0.0",
7272
"ts-dedent": "^2.0.0"
7373
},

code/lib/codemod/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@babel/core": "^7.24.4",
5858
"@babel/preset-env": "^7.24.4",
5959
"@babel/types": "^7.24.0",
60-
"@storybook/csf": "^0.1.8",
60+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
6161
"@storybook/csf-tools": "workspace:*",
6262
"@storybook/node-logger": "workspace:*",
6363
"@storybook/types": "workspace:*",

code/lib/core-events/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
7979
},
8080
"dependencies": {
81-
"@storybook/csf": "^0.1.8",
81+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
8282
"ts-dedent": "^2.0.0"
8383
},
8484
"devDependencies": {

code/lib/core-server/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@storybook/channels": "workspace:*",
6464
"@storybook/core-common": "workspace:*",
6565
"@storybook/core-events": "workspace:*",
66-
"@storybook/csf": "^0.1.8",
66+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
6767
"@storybook/csf-tools": "workspace:*",
6868
"@storybook/docs-mdx": "3.1.0-next.0",
6969
"@storybook/global": "^5.0.0",

code/lib/csf-tools/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@babel/parser": "^7.24.4",
4747
"@babel/traverse": "^7.24.1",
4848
"@babel/types": "^7.24.0",
49-
"@storybook/csf": "^0.1.8",
49+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
5050
"@storybook/types": "workspace:*",
5151
"fs-extra": "^11.1.0",
5252
"recast": "^0.23.5",

code/lib/manager-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@storybook/channels": "workspace:*",
4848
"@storybook/client-logger": "workspace:*",
4949
"@storybook/core-events": "workspace:*",
50-
"@storybook/csf": "^0.1.8",
50+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
5151
"@storybook/global": "^5.0.0",
5252
"@storybook/icons": "^1.2.5",
5353
"@storybook/router": "workspace:*",

code/lib/preview-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@storybook/channels": "workspace:*",
4848
"@storybook/client-logger": "workspace:*",
4949
"@storybook/core-events": "workspace:*",
50-
"@storybook/csf": "^0.1.8",
50+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
5151
"@storybook/global": "^5.0.0",
5252
"@storybook/types": "workspace:*",
5353
"@types/qs": "^6.9.5",

code/lib/source-loader/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
4646
},
4747
"dependencies": {
48-
"@storybook/csf": "^0.1.8",
48+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
4949
"@storybook/types": "workspace:*",
5050
"estraverse": "^5.2.0",
5151
"lodash": "^4.17.21",

code/lib/types/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"file-system-cache": "2.3.0"
5050
},
5151
"devDependencies": {
52-
"@storybook/csf": "^0.1.8",
52+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
5353
"@types/fs-extra": "^11.0.1",
5454
"@types/node": "^18.0.0",
5555
"typescript": "^5.3.2"

code/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"@storybook/core-events": "workspace:*",
127127
"@storybook/core-server": "workspace:*",
128128
"@storybook/core-webpack": "workspace:*",
129-
"@storybook/csf": "^0.1.8",
129+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
130130
"@storybook/csf-plugin": "workspace:*",
131131
"@storybook/csf-tools": "workspace:*",
132132
"@storybook/docs-tools": "workspace:*",

code/renderers/server/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
4747
},
4848
"dependencies": {
49-
"@storybook/csf": "^0.1.8",
49+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
5050
"@storybook/csf-tools": "workspace:*",
5151
"@storybook/global": "^5.0.0",
5252
"@storybook/preview-api": "workspace:*",

code/ui/blocks/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@storybook/client-logger": "workspace:*",
4949
"@storybook/components": "workspace:*",
5050
"@storybook/core-events": "workspace:*",
51-
"@storybook/csf": "^0.1.8",
51+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
5252
"@storybook/docs-tools": "workspace:*",
5353
"@storybook/global": "^5.0.0",
5454
"@storybook/icons": "^1.2.5",

code/ui/components/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@radix-ui/react-dialog": "^1.0.5",
6363
"@radix-ui/react-slot": "^1.0.2",
6464
"@storybook/client-logger": "workspace:*",
65-
"@storybook/csf": "^0.1.8",
65+
"@storybook/csf": "0.1.9--canary.fee46c1.0",
6666
"@storybook/global": "^5.0.0",
6767
"@storybook/icons": "^1.2.5",
6868
"@storybook/theming": "workspace:*",

code/yarn.lock

+22-22
Original file line numberDiff line numberDiff line change
@@ -5307,7 +5307,7 @@ __metadata:
53075307
dependencies:
53085308
"@storybook/client-logger": "workspace:*"
53095309
"@storybook/core-events": "workspace:*"
5310-
"@storybook/csf": "npm:^0.1.8"
5310+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
53115311
"@storybook/global": "npm:^5.0.0"
53125312
"@storybook/manager-api": "workspace:*"
53135313
"@storybook/preview-api": "workspace:*"
@@ -5575,7 +5575,7 @@ __metadata:
55755575
"@storybook/client-logger": "workspace:*"
55765576
"@storybook/components": "workspace:*"
55775577
"@storybook/core-events": "workspace:*"
5578-
"@storybook/csf": "npm:^0.1.8"
5578+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
55795579
"@storybook/docs-tools": "workspace:*"
55805580
"@storybook/global": "npm:^5.0.0"
55815581
"@storybook/icons": "npm:^1.2.5"
@@ -5805,7 +5805,7 @@ __metadata:
58055805
"@babel/core": "npm:^7.24.4"
58065806
"@babel/preset-env": "npm:^7.24.4"
58075807
"@babel/types": "npm:^7.24.0"
5808-
"@storybook/csf": "npm:^0.1.8"
5808+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
58095809
"@storybook/csf-tools": "workspace:*"
58105810
"@storybook/node-logger": "workspace:*"
58115811
"@storybook/types": "workspace:*"
@@ -5842,7 +5842,7 @@ __metadata:
58425842
"@radix-ui/react-scroll-area": "npm:^1.0.5"
58435843
"@radix-ui/react-slot": "npm:^1.0.2"
58445844
"@storybook/client-logger": "workspace:*"
5845-
"@storybook/csf": "npm:^0.1.8"
5845+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
58465846
"@storybook/global": "npm:^5.0.0"
58475847
"@storybook/icons": "npm:^1.2.5"
58485848
"@storybook/test": "workspace:*"
@@ -5925,7 +5925,7 @@ __metadata:
59255925
version: 0.0.0-use.local
59265926
resolution: "@storybook/core-events@workspace:lib/core-events"
59275927
dependencies:
5928-
"@storybook/csf": "npm:^0.1.8"
5928+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
59295929
chalk: "npm:^4.1.0"
59305930
ts-dedent: "npm:^2.0.0"
59315931
typescript: "npm:^5.3.2"
@@ -5945,7 +5945,7 @@ __metadata:
59455945
"@storybook/channels": "workspace:*"
59465946
"@storybook/core-common": "workspace:*"
59475947
"@storybook/core-events": "workspace:*"
5948-
"@storybook/csf": "npm:^0.1.8"
5948+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
59495949
"@storybook/csf-tools": "workspace:*"
59505950
"@storybook/docs-mdx": "npm:3.1.0-next.0"
59515951
"@storybook/global": "npm:^5.0.0"
@@ -6027,7 +6027,7 @@ __metadata:
60276027
"@babel/parser": "npm:^7.24.4"
60286028
"@babel/traverse": "npm:^7.24.1"
60296029
"@babel/types": "npm:^7.24.0"
6030-
"@storybook/csf": "npm:^0.1.8"
6030+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
60316031
"@storybook/types": "workspace:*"
60326032
"@types/fs-extra": "npm:^11.0.1"
60336033
"@types/js-yaml": "npm:^4.0.5"
@@ -6039,6 +6039,15 @@ __metadata:
60396039
languageName: unknown
60406040
linkType: soft
60416041

6042+
"@storybook/csf@npm:0.1.9--canary.fee46c1.0":
6043+
version: 0.1.9--canary.fee46c1.0
6044+
resolution: "@storybook/csf@npm:0.1.9--canary.fee46c1.0"
6045+
dependencies:
6046+
type-fest: "npm:^2.19.0"
6047+
checksum: 10c0/a5ab79c38b83f71e72b9154106bdac2cab6f6ed1f5823dafeedbff64a324ae26d63562f29b6fe270f8fbfe574f9de569d52fad5c2300695ada42a67604598f55
6048+
languageName: node
6049+
linkType: hard
6050+
60426051
"@storybook/csf@npm:^0.0.1":
60436052
version: 0.0.1
60446053
resolution: "@storybook/csf@npm:0.0.1"
@@ -6048,15 +6057,6 @@ __metadata:
60486057
languageName: node
60496058
linkType: hard
60506059

6051-
"@storybook/csf@npm:^0.1.8":
6052-
version: 0.1.8
6053-
resolution: "@storybook/csf@npm:0.1.8"
6054-
dependencies:
6055-
type-fest: "npm:^2.19.0"
6056-
checksum: 10c0/4fd08bd65205395aba693f053706d5c880db5102543744c4e13768902a615df9a479ac03f80fe33297bd5457a0d0ef655cd33d41a0e379764dd6f0c6b9a7d88c
6057-
languageName: node
6058-
linkType: hard
6059-
60606060
"@storybook/docs-mdx@npm:3.1.0-next.0":
60616061
version: 3.1.0-next.0
60626062
resolution: "@storybook/docs-mdx@npm:3.1.0-next.0"
@@ -6226,7 +6226,7 @@ __metadata:
62266226
"@storybook/channels": "workspace:*"
62276227
"@storybook/client-logger": "workspace:*"
62286228
"@storybook/core-events": "workspace:*"
6229-
"@storybook/csf": "npm:^0.1.8"
6229+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
62306230
"@storybook/global": "npm:^5.0.0"
62316231
"@storybook/icons": "npm:^1.2.5"
62326232
"@storybook/router": "workspace:*"
@@ -6566,7 +6566,7 @@ __metadata:
65666566
"@storybook/client-logger": "workspace:*"
65676567
"@storybook/core-common": "workspace:*"
65686568
"@storybook/core-events": "workspace:*"
6569-
"@storybook/csf": "npm:^0.1.8"
6569+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
65706570
"@storybook/global": "npm:^5.0.0"
65716571
"@storybook/types": "workspace:*"
65726572
"@types/qs": "npm:^6.9.5"
@@ -6753,7 +6753,7 @@ __metadata:
67536753
"@storybook/core-events": "workspace:*"
67546754
"@storybook/core-server": "workspace:*"
67556755
"@storybook/core-webpack": "workspace:*"
6756-
"@storybook/csf": "npm:^0.1.8"
6756+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
67576757
"@storybook/csf-plugin": "workspace:*"
67586758
"@storybook/csf-tools": "workspace:*"
67596759
"@storybook/docs-tools": "workspace:*"
@@ -6905,7 +6905,7 @@ __metadata:
69056905
version: 0.0.0-use.local
69066906
resolution: "@storybook/server@workspace:renderers/server"
69076907
dependencies:
6908-
"@storybook/csf": "npm:^0.1.8"
6908+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
69096909
"@storybook/csf-tools": "workspace:*"
69106910
"@storybook/global": "npm:^5.0.0"
69116911
"@storybook/preview-api": "workspace:*"
@@ -6922,7 +6922,7 @@ __metadata:
69226922
version: 0.0.0-use.local
69236923
resolution: "@storybook/source-loader@workspace:lib/source-loader"
69246924
dependencies:
6925-
"@storybook/csf": "npm:^0.1.8"
6925+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
69266926
"@storybook/types": "workspace:*"
69276927
estraverse: "npm:^5.2.0"
69286928
lodash: "npm:^4.17.21"
@@ -7092,7 +7092,7 @@ __metadata:
70927092
resolution: "@storybook/types@workspace:lib/types"
70937093
dependencies:
70947094
"@storybook/channels": "workspace:*"
7095-
"@storybook/csf": "npm:^0.1.8"
7095+
"@storybook/csf": "npm:0.1.9--canary.fee46c1.0"
70967096
"@types/express": "npm:^4.17.21"
70977097
"@types/fs-extra": "npm:^11.0.1"
70987098
"@types/node": "npm:^18.0.0"

0 commit comments

Comments
 (0)