From c2162f61564737a2f008095c26d3bdbf258b7962 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 3 Jun 2024 12:28:45 +0800 Subject: [PATCH 01/14] Add intiialGlobals to @storybook/csf --- code/addons/links/package.json | 2 +- code/lib/codemod/package.json | 2 +- code/lib/core-events/package.json | 2 +- code/lib/core-server/package.json | 2 +- code/lib/csf-tools/package.json | 2 +- code/lib/manager-api/package.json | 2 +- code/lib/preview-api/package.json | 2 +- code/lib/source-loader/package.json | 2 +- code/lib/types/package.json | 2 +- code/package.json | 2 +- code/renderers/server/package.json | 2 +- code/ui/blocks/package.json | 2 +- code/ui/components/package.json | 2 +- code/yarn.lock | 44 ++++++++++++++--------------- 14 files changed, 35 insertions(+), 35 deletions(-) diff --git a/code/addons/links/package.json b/code/addons/links/package.json index cc45ee36cb5b..e1c6d90c0f3c 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -67,7 +67,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts" }, "dependencies": { - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/global": "^5.0.0", "ts-dedent": "^2.0.0" }, diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json index 7fc0f6fd0c84..5cca14d72eae 100644 --- a/code/lib/codemod/package.json +++ b/code/lib/codemod/package.json @@ -57,7 +57,7 @@ "@babel/core": "^7.24.4", "@babel/preset-env": "^7.24.4", "@babel/types": "^7.24.0", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/csf-tools": "workspace:*", "@storybook/node-logger": "workspace:*", "@storybook/types": "workspace:*", diff --git a/code/lib/core-events/package.json b/code/lib/core-events/package.json index dc9e31cc5a5f..41d3a5c5d2eb 100644 --- a/code/lib/core-events/package.json +++ b/code/lib/core-events/package.json @@ -78,7 +78,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "ts-dedent": "^2.0.0" }, "devDependencies": { diff --git a/code/lib/core-server/package.json b/code/lib/core-server/package.json index 8c00601edba7..9af5293a7b75 100644 --- a/code/lib/core-server/package.json +++ b/code/lib/core-server/package.json @@ -63,7 +63,7 @@ "@storybook/channels": "workspace:*", "@storybook/core-common": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/csf-tools": "workspace:*", "@storybook/docs-mdx": "3.1.0-next.0", "@storybook/global": "^5.0.0", diff --git a/code/lib/csf-tools/package.json b/code/lib/csf-tools/package.json index ea0d2bd6b613..819b0e670815 100644 --- a/code/lib/csf-tools/package.json +++ b/code/lib/csf-tools/package.json @@ -46,7 +46,7 @@ "@babel/parser": "^7.24.4", "@babel/traverse": "^7.24.1", "@babel/types": "^7.24.0", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/types": "workspace:*", "fs-extra": "^11.1.0", "recast": "^0.23.5", diff --git a/code/lib/manager-api/package.json b/code/lib/manager-api/package.json index deb14b04a220..8fbd44d14054 100644 --- a/code/lib/manager-api/package.json +++ b/code/lib/manager-api/package.json @@ -47,7 +47,7 @@ "@storybook/channels": "workspace:*", "@storybook/client-logger": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/router": "workspace:*", diff --git a/code/lib/preview-api/package.json b/code/lib/preview-api/package.json index 858a2191bb18..e25c4d1bb558 100644 --- a/code/lib/preview-api/package.json +++ b/code/lib/preview-api/package.json @@ -47,7 +47,7 @@ "@storybook/channels": "workspace:*", "@storybook/client-logger": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/global": "^5.0.0", "@storybook/types": "workspace:*", "@types/qs": "^6.9.5", diff --git a/code/lib/source-loader/package.json b/code/lib/source-loader/package.json index 1b02b963ebe8..ec3f7f626118 100644 --- a/code/lib/source-loader/package.json +++ b/code/lib/source-loader/package.json @@ -45,7 +45,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/types": "workspace:*", "estraverse": "^5.2.0", "lodash": "^4.17.21", diff --git a/code/lib/types/package.json b/code/lib/types/package.json index 7b9aa4a9c439..16f4cc7e64cf 100644 --- a/code/lib/types/package.json +++ b/code/lib/types/package.json @@ -49,7 +49,7 @@ "file-system-cache": "2.3.0" }, "devDependencies": { - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@types/fs-extra": "^11.0.1", "@types/node": "^18.0.0", "typescript": "^5.3.2" diff --git a/code/package.json b/code/package.json index 147d84c8bcb1..f17ed90520e0 100644 --- a/code/package.json +++ b/code/package.json @@ -127,7 +127,7 @@ "@storybook/core-events": "workspace:*", "@storybook/core-server": "workspace:*", "@storybook/core-webpack": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/csf-plugin": "workspace:*", "@storybook/csf-tools": "workspace:*", "@storybook/docs-tools": "workspace:*", diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index 506a62a33db0..98a35f01f765 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -46,7 +46,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/csf-tools": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/preview-api": "workspace:*", diff --git a/code/ui/blocks/package.json b/code/ui/blocks/package.json index 52f8db37eb62..a6df3ca8ed89 100644 --- a/code/ui/blocks/package.json +++ b/code/ui/blocks/package.json @@ -48,7 +48,7 @@ "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", diff --git a/code/ui/components/package.json b/code/ui/components/package.json index 17913d420dc9..836bf7f051c7 100644 --- a/code/ui/components/package.json +++ b/code/ui/components/package.json @@ -62,7 +62,7 @@ "@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-slot": "^1.0.2", "@storybook/client-logger": "workspace:*", - "@storybook/csf": "^0.1.7", + "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/theming": "workspace:*", diff --git a/code/yarn.lock b/code/yarn.lock index f2edc299accc..3becbdc4d8b0 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -5399,7 +5399,7 @@ __metadata: dependencies: "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/global": "npm:^5.0.0" "@storybook/manager-api": "workspace:*" "@storybook/preview-api": "workspace:*" @@ -5667,7 +5667,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -5897,7 +5897,7 @@ __metadata: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -5934,7 +5934,7 @@ __metadata: "@radix-ui/react-scroll-area": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/test": "workspace:*" @@ -6018,7 +6018,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/core-events@workspace:lib/core-events" dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" chalk: "npm:^4.1.0" ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" @@ -6038,7 +6038,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/csf-tools": "workspace:*" "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" @@ -6121,7 +6121,7 @@ __metadata: "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/types": "workspace:*" "@types/fs-extra": "npm:^11.0.1" "@types/js-yaml": "npm:^4.0.5" @@ -6133,6 +6133,15 @@ __metadata: languageName: unknown linkType: soft +"@storybook/csf@npm:0.1.8--canary.92.6fb63cd.0": + version: 0.1.8--canary.92.6fb63cd.0 + resolution: "@storybook/csf@npm:0.1.8--canary.92.6fb63cd.0" + dependencies: + type-fest: "npm:^2.19.0" + checksum: 10c0/d98d20de5a8620b5854a71003e0f7928e728c3cca8a7ba7a9937c53415ab2d7b3918c18e0e63f302785a002d8e854d44970d0e3245678d4067316b695bc9ce53 + languageName: node + linkType: hard + "@storybook/csf@npm:^0.0.1": version: 0.0.1 resolution: "@storybook/csf@npm:0.0.1" @@ -6142,15 +6151,6 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.7": - version: 0.1.7 - resolution: "@storybook/csf@npm:0.1.7" - dependencies: - type-fest: "npm:^2.19.0" - checksum: 10c0/aaebc9fa5f850cebef1fd9d786d7b5844e2d88e5c8078904ea4571c053f858fab064392960274b854037b9f8693d12c7c45c3c4c9142ec88a08fb498f3f056a5 - languageName: node - linkType: hard - "@storybook/docs-mdx@npm:3.1.0-next.0": version: 3.1.0-next.0 resolution: "@storybook/docs-mdx@npm:3.1.0-next.0" @@ -6321,7 +6321,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -6661,7 +6661,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5" @@ -6848,7 +6848,7 @@ __metadata: "@storybook/core-events": "workspace:*" "@storybook/core-server": "workspace:*" "@storybook/core-webpack": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/csf-plugin": "workspace:*" "@storybook/csf-tools": "workspace:*" "@storybook/docs-tools": "workspace:*" @@ -7003,7 +7003,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/server@workspace:renderers/server" dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/csf-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/preview-api": "workspace:*" @@ -7020,7 +7020,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/source-loader@workspace:lib/source-loader" dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@storybook/types": "workspace:*" estraverse: "npm:^5.2.0" lodash: "npm:^4.17.21" @@ -7191,7 +7191,7 @@ __metadata: resolution: "@storybook/types@workspace:lib/types" dependencies: "@storybook/channels": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" "@types/express": "npm:^4.17.21" "@types/fs-extra": "npm:^11.0.1" "@types/node": "npm:^18.0.0" From c44371a3f11ada9d1a35833a6b36b9571fbb3edc Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 3 Jun 2024 12:30:03 +0800 Subject: [PATCH 02/14] Prefer preview.js initialGlobals to deprecated globals --- code/lib/preview-api/src/modules/store/StoryStore.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/lib/preview-api/src/modules/store/StoryStore.ts b/code/lib/preview-api/src/modules/store/StoryStore.ts index ebfe582cdfe2..bfa4be955967 100644 --- a/code/lib/preview-api/src/modules/store/StoryStore.ts +++ b/code/lib/preview-api/src/modules/store/StoryStore.ts @@ -77,10 +77,10 @@ export class StoryStore { this.storyIndex = new StoryIndexStore(storyIndex); this.projectAnnotations = normalizeProjectAnnotations(projectAnnotations); - const { globals, globalTypes } = projectAnnotations; + const { globals, initialGlobals, globalTypes } = projectAnnotations; this.args = new ArgsStore(); - this.globals = new GlobalsStore({ globals, globalTypes }); + this.globals = new GlobalsStore({ globals: initialGlobals ?? globals, globalTypes }); this.hooks = {}; this.cleanupCallbacks = {}; From e54f5ab2ff7f691436ad954b489f702276ef932a Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 3 Jun 2024 17:45:30 +0800 Subject: [PATCH 03/14] ConfigFile: Fix removing field from a default export variable reference --- code/lib/csf-tools/src/ConfigFile.test.ts | 36 +++++++++++++++++++++++ code/lib/csf-tools/src/ConfigFile.ts | 17 ++++++++--- 2 files changed, 49 insertions(+), 4 deletions(-) diff --git a/code/lib/csf-tools/src/ConfigFile.test.ts b/code/lib/csf-tools/src/ConfigFile.test.ts index bc176b79825d..b43e98c93d53 100644 --- a/code/lib/csf-tools/src/ConfigFile.test.ts +++ b/code/lib/csf-tools/src/ConfigFile.test.ts @@ -756,6 +756,42 @@ describe('ConfigFile', () => { }; `); }); + it('root globals as variable', () => { + expect( + removeField( + ['globals'], + dedent` + const preview = { globals: { a: 1 }, bar: { a: 1 } }; + export default preview; + ` + ) + ).toMatchInlineSnapshot(` + const preview = { + bar: { a: 1 } + }; + export default preview; + `); + }); + + it('root globals satsifies as variable', () => { + expect( + removeField( + ['globals'], + dedent` + const preview = { + globals: { a: 1 }, + bar: { a: 1 } + } satisfies Foo; + export default preview; + ` + ) + ).toMatchInlineSnapshot(` + const preview = { + bar: { a: 1 } + } satisfies Foo; + export default preview; + `); + }); }); describe('quotes', () => { diff --git a/code/lib/csf-tools/src/ConfigFile.ts b/code/lib/csf-tools/src/ConfigFile.ts index 9a7f68c08ef3..3aaa4810b2da 100644 --- a/code/lib/csf-tools/src/ConfigFile.ts +++ b/code/lib/csf-tools/src/ConfigFile.ts @@ -493,10 +493,19 @@ export class ConfigFile { } } // default export - if (t.isExportDefaultDeclaration(node) && t.isObjectExpression(node.declaration)) { - const properties = node.declaration.properties as t.ObjectProperty[]; - removeProperty(properties, path[0]); - removedRootProperty = true; + if (t.isExportDefaultDeclaration(node)) { + let decl: t.Expression | undefined | null = node.declaration as t.Expression; + if (t.isIdentifier(decl)) { + decl = _findVarInitialization(decl.name, this._ast.program); + } + if (t.isTSAsExpression(decl) || t.isTSSatisfiesExpression(decl)) { + decl = decl.expression; + } + if (t.isObjectExpression(decl)) { + const properties = decl.properties as t.ObjectProperty[]; + removeProperty(properties, path[0]); + removedRootProperty = true; + } } // module.exports if ( From f280d8ec422330f9dc63edf4d6831e134e9da864 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 3 Jun 2024 17:49:18 +0800 Subject: [PATCH 04/14] Add initialGlobals to MIGRATION.md --- MIGRATION.md | 49 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 22bd0a923f32..a6276fb82390 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,5 +1,7 @@

Migration

+- [From version 8.1.x to 8.2.x](#from-version-81x-to-82x) + - [Preview.js globals renamed to initialGlobals](#previewjs-globals-renamed-to-initialglobals) - [From version 8.0.x to 8.1.x](#from-version-80x-to-81x) - [Portable stories](#portable-stories) - [@storybook/nextjs requires specific path aliases to be setup](#storybooknextjs-requires-specific-path-aliases-to-be-setup) @@ -97,17 +99,17 @@ - [Tab addons cannot manually route, Tool addons can filter their visibility via tabId](#tab-addons-cannot-manually-route-tool-addons-can-filter-their-visibility-via-tabid) - [Removed `config` preset](#removed-config-preset-1) - [From version 7.5.0 to 7.6.0](#from-version-750-to-760) - - [CommonJS with Vite is deprecated](#commonjs-with-vite-is-deprecated) - - [Using implicit actions during rendering is deprecated](#using-implicit-actions-during-rendering-is-deprecated) - - [typescript.skipBabel deprecated](#typescriptskipbabel-deprecated) - - [Primary doc block accepts of prop](#primary-doc-block-accepts-of-prop) - - [Addons no longer need a peer dependency on React](#addons-no-longer-need-a-peer-dependency-on-react) + - [CommonJS with Vite is deprecated](#commonjs-with-vite-is-deprecated) + - [Using implicit actions during rendering is deprecated](#using-implicit-actions-during-rendering-is-deprecated) + - [typescript.skipBabel deprecated](#typescriptskipbabel-deprecated) + - [Primary doc block accepts of prop](#primary-doc-block-accepts-of-prop) + - [Addons no longer need a peer dependency on React](#addons-no-longer-need-a-peer-dependency-on-react) - [From version 7.4.0 to 7.5.0](#from-version-740-to-750) - - [`storyStoreV6` and `storiesOf` is deprecated](#storystorev6-and-storiesof-is-deprecated) - - [`storyIndexers` is replaced with `experimental_indexers`](#storyindexers-is-replaced-with-experimental_indexers) + - [`storyStoreV6` and `storiesOf` is deprecated](#storystorev6-and-storiesof-is-deprecated) + - [`storyIndexers` is replaced with `experimental_indexers`](#storyindexers-is-replaced-with-experimental_indexers) - [From version 7.0.0 to 7.2.0](#from-version-700-to-720) - - [Addon API is more type-strict](#addon-api-is-more-type-strict) - - [Addon-controls hideNoControlsWarning parameter is deprecated](#addon-controls-hidenocontrolswarning-parameter-is-deprecated) + - [Addon API is more type-strict](#addon-api-is-more-type-strict) + - [Addon-controls hideNoControlsWarning parameter is deprecated](#addon-controls-hidenocontrolswarning-parameter-is-deprecated) - [From version 6.5.x to 7.0.0](#from-version-65x-to-700) - [7.0 breaking changes](#70-breaking-changes) - [Dropped support for Node 15 and below](#dropped-support-for-node-15-and-below) @@ -133,7 +135,7 @@ - [Deploying build artifacts](#deploying-build-artifacts) - [Dropped support for file URLs](#dropped-support-for-file-urls) - [Serving with nginx](#serving-with-nginx) - - [Ignore story files from node\_modules](#ignore-story-files-from-node_modules) + - [Ignore story files from node_modules](#ignore-story-files-from-node_modules) - [7.0 Core changes](#70-core-changes) - [7.0 feature flags removed](#70-feature-flags-removed) - [Story context is prepared before for supporting fine grained updates](#story-context-is-prepared-before-for-supporting-fine-grained-updates) @@ -147,7 +149,7 @@ - [Addon-interactions: Interactions debugger is now default](#addon-interactions-interactions-debugger-is-now-default) - [7.0 Vite changes](#70-vite-changes) - [Vite builder uses Vite config automatically](#vite-builder-uses-vite-config-automatically) - - [Vite cache moved to node\_modules/.cache/.vite-storybook](#vite-cache-moved-to-node_modulescachevite-storybook) + - [Vite cache moved to node_modules/.cache/.vite-storybook](#vite-cache-moved-to-node_modulescachevite-storybook) - [7.0 Webpack changes](#70-webpack-changes) - [Webpack4 support discontinued](#webpack4-support-discontinued) - [Babel mode v7 exclusively](#babel-mode-v7-exclusively) @@ -197,7 +199,7 @@ - [Dropped addon-docs manual babel configuration](#dropped-addon-docs-manual-babel-configuration) - [Dropped addon-docs manual configuration](#dropped-addon-docs-manual-configuration) - [Autoplay in docs](#autoplay-in-docs) - - [Removed STORYBOOK\_REACT\_CLASSES global](#removed-storybook_react_classes-global) + - [Removed STORYBOOK_REACT_CLASSES global](#removed-storybook_react_classes-global) - [7.0 Deprecations and default changes](#70-deprecations-and-default-changes) - [storyStoreV7 enabled by default](#storystorev7-enabled-by-default) - [`Story` type deprecated](#story-type-deprecated) @@ -410,6 +412,20 @@ - [Packages renaming](#packages-renaming) - [Deprecated embedded addons](#deprecated-embedded-addons) +## From version 8.1.x to 8.2.x + +### Preview.js globals renamed to initialGlobals + +Starting in 8.2 `preview.js` `globals` are deprecated and have been renamed to `initialGlobals`. We will remove `preview.js` `globals` in 9.0. + +```diff +// .storybook/preview.js +export default { +- globals: [ a: 1, b: 2 ], ++ initiaGlobals: [ a: 1, b: 2 ], +} +``` + ## From version 8.0.x to 8.1.x ### Portable stories @@ -439,6 +455,7 @@ The `docs.autodocs` setting in `main.js` is deprecated in 8.1 and will be remove It has been replaced with a tags-based system which is more flexible than before. `docs.autodocs` takes three values: + - `true`: generate autodocs for every component - `false`: don't generate autodocs at all - `tag`: generate autodocs for components that have been tagged `'autodocs'`. @@ -448,8 +465,8 @@ Starting in 8.1, to generate autodocs for every component (`docs.autodocs = true ```js // .storybook/preview.js export default { - tags: ['autodocs'], -} + tags: ["autodocs"], +}; ``` Tags cascade, so setting `'autodocs'` at the project level automatically propagates to every component and story. If you set autodocs globally and want to opt-out for a particular component, you can remove the `'autodocs'` tag for a component like this: @@ -458,8 +475,8 @@ Tags cascade, so setting `'autodocs'` at the project level automatically propaga // Button.stories.ts export default { component: Button, - tags: ['!autodocs'], -} + tags: ["!autodocs"], +}; ``` If you had set `docs.autodocs = 'tag'`, the default setting, you can remove the setting from `.storybook/main.js`. That is now the default behavior. From 1979c9b825d44760ca1c3d4b6343cf33378f3b1a Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 3 Jun 2024 17:49:40 +0800 Subject: [PATCH 05/14] initialGlobals automigration --- code/lib/cli/src/automigrate/fixes/index.ts | 2 + .../automigrate/fixes/initial-globals.test.ts | 33 ++++++++++++ .../src/automigrate/fixes/initial-globals.ts | 52 +++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 code/lib/cli/src/automigrate/fixes/initial-globals.test.ts create mode 100644 code/lib/cli/src/automigrate/fixes/initial-globals.ts diff --git a/code/lib/cli/src/automigrate/fixes/index.ts b/code/lib/cli/src/automigrate/fixes/index.ts index 1c12a596fb24..3d68c5eec7c7 100644 --- a/code/lib/cli/src/automigrate/fixes/index.ts +++ b/code/lib/cli/src/automigrate/fixes/index.ts @@ -29,6 +29,7 @@ import { addonPostCSS } from './addon-postcss'; import { vta } from './vta'; import { upgradeStorybookRelatedDependencies } from './upgrade-storybook-related-dependencies'; import { autodocsTags } from './autodocs-tags'; +import { initialGlobals } from './initial-globals'; export * from '../types'; @@ -62,6 +63,7 @@ export const allFixes: Fix[] = [ upgradeStorybookRelatedDependencies, vta, autodocsTags, + initialGlobals, ]; export const initFixes: Fix[] = [eslintPlugin]; diff --git a/code/lib/cli/src/automigrate/fixes/initial-globals.test.ts b/code/lib/cli/src/automigrate/fixes/initial-globals.test.ts new file mode 100644 index 000000000000..fdc992ea1db9 --- /dev/null +++ b/code/lib/cli/src/automigrate/fixes/initial-globals.test.ts @@ -0,0 +1,33 @@ +/* eslint-disable no-underscore-dangle */ +import { vi, describe, expect, it } from 'vitest'; +import path from 'path'; +import * as fsExtra from 'fs-extra'; +import { initialGlobals } from './initial-globals'; + +vi.mock('fs-extra', async () => import('../../../../../__mocks__/fs-extra')); + +const previewConfigPath = path.join('.storybook', 'preview.js'); +const check = async (previewContents: string) => { + vi.mocked(fsExtra as any).__setMockFiles({ + [previewConfigPath]: previewContents, + }); + return initialGlobals.check({ + packageManager: {} as any, + configDir: '', + mainConfig: {} as any, + storybookVersion: '8.0', + previewConfigPath, + }); +}; + +it('no globals setting', async () => { + await expect(check(`export default { tags: ['a', 'b']}`)).resolves.toBeFalsy(); +}); + +it('initialGlobals setting', async () => { + await expect(check(`export default { initialGlobals: { a: 1 } }`)).resolves.toBeFalsy(); +}); + +it('globals setting', async () => { + await expect(check(`export default { globals: { a: 1 } }`)).resolves.toBeTruthy(); +}); diff --git a/code/lib/cli/src/automigrate/fixes/initial-globals.ts b/code/lib/cli/src/automigrate/fixes/initial-globals.ts new file mode 100644 index 000000000000..c9fac6d4cdbf --- /dev/null +++ b/code/lib/cli/src/automigrate/fixes/initial-globals.ts @@ -0,0 +1,52 @@ +import { dedent } from 'ts-dedent'; +import chalk from 'chalk'; +import { readFile, writeFile } from 'fs-extra'; +import type { Expression } from '@babel/types'; +import type { ConfigFile } from '@storybook/csf-tools'; +import { loadConfig, formatConfig } from '@storybook/csf-tools'; +import type { Fix } from '../types'; + +const MIGRATION = + 'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals'; + +interface Options { + previewConfig: ConfigFile; + previewConfigPath: string; + globals: Expression; +} + +/** + * Rename preview.js globals to initialGlobals + */ +export const initialGlobals: Fix = { + id: 'initial-globals', + versionRange: ['*.*.*', '>=8.0.*'], + async check({ previewConfigPath }) { + if (!previewConfigPath) return null; + + const previewConfig = loadConfig((await readFile(previewConfigPath)).toString()).parse(); + const globals = previewConfig.getFieldNode(['globals']) as Expression; + if (!globals) return null; + + return { globals, previewConfig, previewConfigPath }; + }, + + prompt({ previewConfigPath }) { + return dedent` + The ${chalk.cyan('globals')} setting in ${chalk.cyan(previewConfigPath)} is deprecated + and has been renamed to ${chalk.cyan('initialGlobals')}. + + Learn more: ${chalk.yellow(MIGRATION)} + + Rename ${chalk.cyan('globals')} to ${chalk.cyan('initalGlobals')}? + `; + }, + + async run({ dryRun, result }) { + result.previewConfig.removeField(['globals']); + result.previewConfig.setFieldNode(['initialGlobals'], result.globals); + if (!dryRun) { + await writeFile(result.previewConfigPath, formatConfig(result.previewConfig)); + } + }, +}; From 9d83f463d2d345ea2a51beeb883e0eb87f7698cc Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 3 Jun 2024 17:51:50 +0800 Subject: [PATCH 06/14] Upgrade CSF for initialGlobals --- code/addons/links/package.json | 2 +- code/lib/codemod/package.json | 2 +- code/lib/core-events/package.json | 2 +- code/lib/core-server/package.json | 2 +- code/lib/csf-tools/package.json | 2 +- code/lib/manager-api/package.json | 2 +- code/lib/preview-api/package.json | 2 +- code/lib/source-loader/package.json | 2 +- code/lib/types/package.json | 2 +- code/package.json | 2 +- code/renderers/server/package.json | 2 +- code/ui/blocks/package.json | 2 +- code/ui/components/package.json | 2 +- code/yarn.lock | 44 ++++++++++++++--------------- 14 files changed, 35 insertions(+), 35 deletions(-) diff --git a/code/addons/links/package.json b/code/addons/links/package.json index e1c6d90c0f3c..b09f87f21c1a 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -67,7 +67,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts" }, "dependencies": { - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/global": "^5.0.0", "ts-dedent": "^2.0.0" }, diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json index 5cca14d72eae..7ce9a719309e 100644 --- a/code/lib/codemod/package.json +++ b/code/lib/codemod/package.json @@ -57,7 +57,7 @@ "@babel/core": "^7.24.4", "@babel/preset-env": "^7.24.4", "@babel/types": "^7.24.0", - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/csf-tools": "workspace:*", "@storybook/node-logger": "workspace:*", "@storybook/types": "workspace:*", diff --git a/code/lib/core-events/package.json b/code/lib/core-events/package.json index 41d3a5c5d2eb..5ea002f22c35 100644 --- a/code/lib/core-events/package.json +++ b/code/lib/core-events/package.json @@ -78,7 +78,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "ts-dedent": "^2.0.0" }, "devDependencies": { diff --git a/code/lib/core-server/package.json b/code/lib/core-server/package.json index 9af5293a7b75..acbd559c3743 100644 --- a/code/lib/core-server/package.json +++ b/code/lib/core-server/package.json @@ -63,7 +63,7 @@ "@storybook/channels": "workspace:*", "@storybook/core-common": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/csf-tools": "workspace:*", "@storybook/docs-mdx": "3.1.0-next.0", "@storybook/global": "^5.0.0", diff --git a/code/lib/csf-tools/package.json b/code/lib/csf-tools/package.json index 819b0e670815..77b49f7e3dd8 100644 --- a/code/lib/csf-tools/package.json +++ b/code/lib/csf-tools/package.json @@ -46,7 +46,7 @@ "@babel/parser": "^7.24.4", "@babel/traverse": "^7.24.1", "@babel/types": "^7.24.0", - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/types": "workspace:*", "fs-extra": "^11.1.0", "recast": "^0.23.5", diff --git a/code/lib/manager-api/package.json b/code/lib/manager-api/package.json index 8fbd44d14054..42c2b3e75ddb 100644 --- a/code/lib/manager-api/package.json +++ b/code/lib/manager-api/package.json @@ -47,7 +47,7 @@ "@storybook/channels": "workspace:*", "@storybook/client-logger": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/router": "workspace:*", diff --git a/code/lib/preview-api/package.json b/code/lib/preview-api/package.json index e25c4d1bb558..564a50e8331e 100644 --- a/code/lib/preview-api/package.json +++ b/code/lib/preview-api/package.json @@ -47,7 +47,7 @@ "@storybook/channels": "workspace:*", "@storybook/client-logger": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/global": "^5.0.0", "@storybook/types": "workspace:*", "@types/qs": "^6.9.5", diff --git a/code/lib/source-loader/package.json b/code/lib/source-loader/package.json index ec3f7f626118..37e821c44f8f 100644 --- a/code/lib/source-loader/package.json +++ b/code/lib/source-loader/package.json @@ -45,7 +45,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/types": "workspace:*", "estraverse": "^5.2.0", "lodash": "^4.17.21", diff --git a/code/lib/types/package.json b/code/lib/types/package.json index 16f4cc7e64cf..4ebfb9d8473f 100644 --- a/code/lib/types/package.json +++ b/code/lib/types/package.json @@ -49,7 +49,7 @@ "file-system-cache": "2.3.0" }, "devDependencies": { - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@types/fs-extra": "^11.0.1", "@types/node": "^18.0.0", "typescript": "^5.3.2" diff --git a/code/package.json b/code/package.json index f17ed90520e0..dac162623ee1 100644 --- a/code/package.json +++ b/code/package.json @@ -127,7 +127,7 @@ "@storybook/core-events": "workspace:*", "@storybook/core-server": "workspace:*", "@storybook/core-webpack": "workspace:*", - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/csf-plugin": "workspace:*", "@storybook/csf-tools": "workspace:*", "@storybook/docs-tools": "workspace:*", diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index 98a35f01f765..96a6472e7b22 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -46,7 +46,7 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/csf-tools": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/preview-api": "workspace:*", diff --git a/code/ui/blocks/package.json b/code/ui/blocks/package.json index a6df3ca8ed89..01ad2d9d84f7 100644 --- a/code/ui/blocks/package.json +++ b/code/ui/blocks/package.json @@ -48,7 +48,7 @@ "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", "@storybook/core-events": "workspace:*", - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", diff --git a/code/ui/components/package.json b/code/ui/components/package.json index 836bf7f051c7..69bd8bf38c48 100644 --- a/code/ui/components/package.json +++ b/code/ui/components/package.json @@ -62,7 +62,7 @@ "@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-slot": "^1.0.2", "@storybook/client-logger": "workspace:*", - "@storybook/csf": "0.1.8--canary.92.6fb63cd.0", + "@storybook/csf": "^0.1.8", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/theming": "workspace:*", diff --git a/code/yarn.lock b/code/yarn.lock index 3becbdc4d8b0..af394fe0de66 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -5399,7 +5399,7 @@ __metadata: dependencies: "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/manager-api": "workspace:*" "@storybook/preview-api": "workspace:*" @@ -5667,7 +5667,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -5897,7 +5897,7 @@ __metadata: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -5934,7 +5934,7 @@ __metadata: "@radix-ui/react-scroll-area": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/test": "workspace:*" @@ -6018,7 +6018,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/core-events@workspace:lib/core-events" dependencies: - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" chalk: "npm:^4.1.0" ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" @@ -6038,7 +6038,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" @@ -6121,7 +6121,7 @@ __metadata: "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" "@types/fs-extra": "npm:^11.0.1" "@types/js-yaml": "npm:^4.0.5" @@ -6133,15 +6133,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/csf@npm:0.1.8--canary.92.6fb63cd.0": - version: 0.1.8--canary.92.6fb63cd.0 - resolution: "@storybook/csf@npm:0.1.8--canary.92.6fb63cd.0" - dependencies: - type-fest: "npm:^2.19.0" - checksum: 10c0/d98d20de5a8620b5854a71003e0f7928e728c3cca8a7ba7a9937c53415ab2d7b3918c18e0e63f302785a002d8e854d44970d0e3245678d4067316b695bc9ce53 - languageName: node - linkType: hard - "@storybook/csf@npm:^0.0.1": version: 0.0.1 resolution: "@storybook/csf@npm:0.0.1" @@ -6151,6 +6142,15 @@ __metadata: languageName: node linkType: hard +"@storybook/csf@npm:^0.1.8": + version: 0.1.8 + resolution: "@storybook/csf@npm:0.1.8" + dependencies: + type-fest: "npm:^2.19.0" + checksum: 10c0/4fd08bd65205395aba693f053706d5c880db5102543744c4e13768902a615df9a479ac03f80fe33297bd5457a0d0ef655cd33d41a0e379764dd6f0c6b9a7d88c + languageName: node + linkType: hard + "@storybook/docs-mdx@npm:3.1.0-next.0": version: 3.1.0-next.0 resolution: "@storybook/docs-mdx@npm:3.1.0-next.0" @@ -6321,7 +6321,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -6661,7 +6661,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5" @@ -6848,7 +6848,7 @@ __metadata: "@storybook/core-events": "workspace:*" "@storybook/core-server": "workspace:*" "@storybook/core-webpack": "workspace:*" - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-plugin": "workspace:*" "@storybook/csf-tools": "workspace:*" "@storybook/docs-tools": "workspace:*" @@ -7003,7 +7003,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/server@workspace:renderers/server" dependencies: - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/preview-api": "workspace:*" @@ -7020,7 +7020,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/source-loader@workspace:lib/source-loader" dependencies: - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" estraverse: "npm:^5.2.0" lodash: "npm:^4.17.21" @@ -7191,7 +7191,7 @@ __metadata: resolution: "@storybook/types@workspace:lib/types" dependencies: "@storybook/channels": "workspace:*" - "@storybook/csf": "npm:0.1.8--canary.92.6fb63cd.0" + "@storybook/csf": "npm:^0.1.8" "@types/express": "npm:^4.17.21" "@types/fs-extra": "npm:^11.0.1" "@types/node": "npm:^18.0.0" From 686626eeb1c0067b7e90adbd22bf19411a31145f Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 5 Jun 2024 12:09:24 +0800 Subject: [PATCH 07/14] Incorporate review feedback --- .../lib/preview-api/src/modules/store/StoryStore.ts | 4 ++-- .../store/csf/normalizeProjectAnnotations.ts | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/code/lib/preview-api/src/modules/store/StoryStore.ts b/code/lib/preview-api/src/modules/store/StoryStore.ts index bfa4be955967..59674aa4f0f8 100644 --- a/code/lib/preview-api/src/modules/store/StoryStore.ts +++ b/code/lib/preview-api/src/modules/store/StoryStore.ts @@ -77,10 +77,10 @@ export class StoryStore { this.storyIndex = new StoryIndexStore(storyIndex); this.projectAnnotations = normalizeProjectAnnotations(projectAnnotations); - const { globals, initialGlobals, globalTypes } = projectAnnotations; + const { initialGlobals, globalTypes } = projectAnnotations; this.args = new ArgsStore(); - this.globals = new GlobalsStore({ globals: initialGlobals ?? globals, globalTypes }); + this.globals = new GlobalsStore({ globals: initialGlobals, globalTypes }); this.hooks = {}; this.cleanupCallbacks = {}; diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts index 60cca0023352..ae0dabd589e2 100644 --- a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts +++ b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts @@ -4,6 +4,8 @@ import type { ProjectAnnotations, NormalizedProjectAnnotations, } from '@storybook/types'; +import { once } from '@storybook/client-logger'; +import { dedent } from 'ts-dedent'; import { inferArgTypes } from '../inferArgTypes'; import { inferControls } from '../inferControls'; @@ -17,8 +19,18 @@ export function normalizeProjectAnnotations({ decorators, loaders, beforeEach, + globals, + initialGlobals, ...annotations }: ProjectAnnotations): NormalizedProjectAnnotations { + if (globals) { + once.warn(dedent` + The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. + Please use 'initialGlobals' instead. Learn more: + + https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals + `); + } return { ...(argTypes && { argTypes: normalizeInputTypes(argTypes as ArgTypes) }), ...(globalTypes && { globalTypes: normalizeInputTypes(globalTypes) }), @@ -34,6 +46,7 @@ export function normalizeProjectAnnotations({ // compatibility reasons, we will leave this in the store until 7.0 inferControls, ], + initialGlobals: initialGlobals ?? globals, ...annotations, }; } From d89481e188a0668ef6e800d85befbb4b55b72b32 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 7 Jun 2024 23:43:44 +0800 Subject: [PATCH 08/14] Fixing tests WIP --- .../src/modules/store/StoryStore.ts | 6 ++-- .../src/modules/store/csf/composeConfigs.ts | 4 ++- .../csf/normalizeProjectAnnotations.test.ts | 33 +++++++++++++++++++ .../store/csf/normalizeProjectAnnotations.ts | 4 +-- 4 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.test.ts diff --git a/code/lib/preview-api/src/modules/store/StoryStore.ts b/code/lib/preview-api/src/modules/store/StoryStore.ts index 59674aa4f0f8..8e2c6e444f80 100644 --- a/code/lib/preview-api/src/modules/store/StoryStore.ts +++ b/code/lib/preview-api/src/modules/store/StoryStore.ts @@ -77,7 +77,7 @@ export class StoryStore { this.storyIndex = new StoryIndexStore(storyIndex); this.projectAnnotations = normalizeProjectAnnotations(projectAnnotations); - const { initialGlobals, globalTypes } = projectAnnotations; + const { initialGlobals, globalTypes } = this.projectAnnotations; this.args = new ArgsStore(); this.globals = new GlobalsStore({ globals: initialGlobals, globalTypes }); @@ -95,8 +95,8 @@ export class StoryStore { setProjectAnnotations(projectAnnotations: ProjectAnnotations) { // By changing `this.projectAnnotations, we implicitly invalidate the `prepareStoryWithCache` this.projectAnnotations = normalizeProjectAnnotations(projectAnnotations); - const { globals, globalTypes } = projectAnnotations; - this.globals.set({ globals, globalTypes }); + const { initialGlobals, globalTypes } = projectAnnotations; + this.globals.set({ globals: initialGlobals, globalTypes }); } // This means that one of the CSF files has changed. diff --git a/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts b/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts index 9c943e14f1c1..924ad10a5522 100644 --- a/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts +++ b/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts @@ -55,7 +55,9 @@ export function composeConfigs( ...allArgTypeEnhancers.filter((e) => !e.secondPass), ...allArgTypeEnhancers.filter((e) => e.secondPass), ], - globals: getObjectField(moduleExportList, 'globals'), + initialGlobals: + getObjectField(moduleExportList, 'initialGlobals') ?? + getObjectField(moduleExportList, 'globals'), globalTypes: getObjectField(moduleExportList, 'globalTypes'), loaders: getArrayField(moduleExportList, 'loaders'), beforeEach: getArrayField(moduleExportList, 'beforeEach'), diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.test.ts b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.test.ts new file mode 100644 index 000000000000..a6aa1a2f7a83 --- /dev/null +++ b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.test.ts @@ -0,0 +1,33 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest'; + +import { normalizeProjectAnnotations } from './normalizeProjectAnnotations'; + +describe('normalizeProjectAnnotations', () => { + describe('blah', () => { + beforeEach(() => { + const warnThatThrows = vi.mocked(console.warn).getMockImplementation(); + vi.mocked(console.warn).mockImplementation(() => {}); + return () => { + vi.mocked(console.warn).mockImplementation(warnThatThrows!); + }; + }); + it('normalizes globals to initialGlobals', () => { + expect( + normalizeProjectAnnotations({ + globals: { a: 'b' }, + }) + ).toMatchObject({ + initialGlobals: { a: 'b' }, + }); + }); + }); + it('passes through initialGlobals', () => { + expect( + normalizeProjectAnnotations({ + initialGlobals: { a: 'b' }, + }) + ).toMatchObject({ + initialGlobals: { a: 'b' }, + }); + }); +}); diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts index ae0dabd589e2..581fa8579a7a 100644 --- a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts +++ b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts @@ -4,7 +4,7 @@ import type { ProjectAnnotations, NormalizedProjectAnnotations, } from '@storybook/types'; -import { once } from '@storybook/client-logger'; +import { deprecate } from '@storybook/client-logger'; import { dedent } from 'ts-dedent'; import { inferArgTypes } from '../inferArgTypes'; @@ -24,7 +24,7 @@ export function normalizeProjectAnnotations({ ...annotations }: ProjectAnnotations): NormalizedProjectAnnotations { if (globals) { - once.warn(dedent` + deprecate(dedent` The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. Please use 'initialGlobals' instead. Learn more: From 7563fd264e0111930cfb5528aae5fe4e8bb8e02c Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 11 Jun 2024 10:44:23 +0800 Subject: [PATCH 09/14] Fix portable stories & failing tests --- .../src/modules/preview-web/PreviewWeb.mockdata.ts | 2 +- .../src/modules/preview-web/PreviewWeb.test.ts | 2 +- .../src/modules/store/csf/composeConfigs.test.ts | 10 ++++++++++ .../src/modules/store/csf/composeConfigs.ts | 9 ++++++--- .../modules/store/csf/normalizeProjectAnnotations.ts | 2 +- .../src/modules/store/csf/portable-stories.ts | 2 +- .../react/src/__test__/portable-stories.test.tsx | 2 +- .../__test__/composeStories/portable-stories.test.ts | 2 +- .../__tests__/composeStories/portable-stories.test.ts | 2 +- .../svelte/stories/Button.test.ts | 2 +- 10 files changed, 24 insertions(+), 11 deletions(-) diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts index d2a7f884730d..ded5833ed667 100644 --- a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts +++ b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts @@ -66,7 +66,7 @@ export const docsRenderer = { }; export const teardownrenderToCanvas: Mock<[TeardownRenderToCanvas]> = vi.fn(); export const projectAnnotations = { - globals: { a: 'b' }, + initialGlobals: { a: 'b' }, globalTypes: {}, decorators: [vi.fn((s) => s())], render: vi.fn(), diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts index 60110bc4686b..9bd3449d8bc2 100644 --- a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts +++ b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts @@ -3353,7 +3353,7 @@ describe('PreviewWeb', () => { return { ...projectAnnotations, args: { global: 'added' }, - globals: { a: 'edited' }, + initialGlobals: { a: 'edited' }, decorators: [newGlobalDecorator], }; }; diff --git a/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts b/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts index ba9ead34d119..612bb1bbcdc0 100644 --- a/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts +++ b/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts @@ -19,6 +19,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: [], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], @@ -45,6 +46,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: [], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], @@ -75,6 +77,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: [], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], @@ -111,6 +114,7 @@ describe('composeConfigs', () => { argTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, argTypesEnhancers: [], globals: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, + initialGlobals: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, globalTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, loaders: [], beforeEach: [], @@ -150,6 +154,7 @@ describe('composeConfigs', () => { argTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, argTypesEnhancers: [], globals: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, + initialGlobals: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, globalTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, loaders: [], beforeEach: [], @@ -180,6 +185,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: ['1', '2', '3', '4'], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: ['1', '2', '3', '4'], beforeEach: [], @@ -210,6 +216,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: ['1', '2', '3'], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: ['1', '2', '3'], beforeEach: [], @@ -236,6 +243,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: [], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], @@ -263,6 +271,7 @@ describe('composeConfigs', () => { { a: '4', secondPass: true }, ], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], @@ -293,6 +302,7 @@ describe('composeConfigs', () => { argTypes: {}, argTypesEnhancers: [], globals: {}, + initialGlobals: {}, globalTypes: {}, loaders: [], beforeEach: [], diff --git a/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts b/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts index 924ad10a5522..434a12a03446 100644 --- a/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts +++ b/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts @@ -42,6 +42,10 @@ export function composeConfigs( ): ProjectAnnotations { const allArgTypeEnhancers = getArrayField(moduleExportList, 'argTypesEnhancers'); const stepRunners = getField(moduleExportList, 'runStep'); + const initialGlobals = combineParameters( + getObjectField(moduleExportList, 'globals'), + getObjectField(moduleExportList, 'initialGlobals') + ); return { parameters: combineParameters(...getField(moduleExportList, 'parameters')), @@ -55,9 +59,8 @@ export function composeConfigs( ...allArgTypeEnhancers.filter((e) => !e.secondPass), ...allArgTypeEnhancers.filter((e) => e.secondPass), ], - initialGlobals: - getObjectField(moduleExportList, 'initialGlobals') ?? - getObjectField(moduleExportList, 'globals'), + globals: initialGlobals, // deprecated + initialGlobals, globalTypes: getObjectField(moduleExportList, 'globalTypes'), loaders: getArrayField(moduleExportList, 'loaders'), beforeEach: getArrayField(moduleExportList, 'beforeEach'), diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts index 581fa8579a7a..6bfa3edbf025 100644 --- a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts +++ b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts @@ -23,7 +23,7 @@ export function normalizeProjectAnnotations({ initialGlobals, ...annotations }: ProjectAnnotations): NormalizedProjectAnnotations { - if (globals) { + if (!initialGlobals && globals) { deprecate(dedent` The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. Please use 'initialGlobals' instead. Learn more: diff --git a/code/lib/preview-api/src/modules/store/csf/portable-stories.ts b/code/lib/preview-api/src/modules/store/csf/portable-stories.ts index 987240ecab66..75e8d16cce33 100644 --- a/code/lib/preview-api/src/modules/store/csf/portable-stories.ts +++ b/code/lib/preview-api/src/modules/store/csf/portable-stories.ts @@ -99,7 +99,7 @@ export function composeStory { it('renders with custom projectAnnotations via composeStory params', () => { const WithPortugueseText = composeStory(stories.CSF2StoryWithLocale, stories.default, { - globals: { locale: 'pt' }, + initialGlobals: { locale: 'pt' }, }); const { getByText } = render(); const buttonElement = getByText('Olá!'); diff --git a/code/renderers/svelte/src/__test__/composeStories/portable-stories.test.ts b/code/renderers/svelte/src/__test__/composeStories/portable-stories.test.ts index f678ff522142..f4c2a1be3901 100644 --- a/code/renderers/svelte/src/__test__/composeStories/portable-stories.test.ts +++ b/code/renderers/svelte/src/__test__/composeStories/portable-stories.test.ts @@ -93,7 +93,7 @@ describe('projectAnnotations', () => { it('renders with custom projectAnnotations via composeStory params', () => { const WithPortugueseText = composeStory(stories.CSF2StoryWithLocale, stories.default, { - globals: { locale: 'pt' }, + initialGlobals: { locale: 'pt' }, }); const { getByText } = render(WithPortugueseText.Component, WithPortugueseText.props); const buttonElement = getByText('Olá!'); diff --git a/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts b/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts index 84e34a189f31..d6f85dc76ec5 100644 --- a/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts +++ b/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts @@ -71,7 +71,7 @@ describe('projectAnnotations', () => { it('renders with custom projectAnnotations via composeStory params', () => { const WithPortugueseText = composeStory(stories.CSF2StoryWithLocale, stories.default, { - globals: { locale: 'pt' }, + initialGlobals: { locale: 'pt' }, }); const { getByText } = render(WithPortugueseText); const buttonElement = getByText('Olá!'); diff --git a/test-storybooks/portable-stories-kitchen-sink/svelte/stories/Button.test.ts b/test-storybooks/portable-stories-kitchen-sink/svelte/stories/Button.test.ts index 37910cce0cb9..09faeb15b1f5 100644 --- a/test-storybooks/portable-stories-kitchen-sink/svelte/stories/Button.test.ts +++ b/test-storybooks/portable-stories-kitchen-sink/svelte/stories/Button.test.ts @@ -80,7 +80,7 @@ describe('projectAnnotations', () => { it('renders with custom projectAnnotations via composeStory params', () => { const WithPortugueseText = composeStory(stories.CSF2StoryWithLocale, stories.default, { - globals: { locale: 'pt' }, + initialGlobals: { locale: 'pt' }, }); const { getByText } = render(WithPortugueseText.Component, WithPortugueseText.props); const buttonElement = getByText('Olá!'); From 55a74b589017415a8f6d14bfd61e5b3b76d38816 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 11 Jun 2024 11:21:23 +0800 Subject: [PATCH 10/14] Fix TS check --- code/lib/cli/src/automigrate/fixes/initial-globals.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/cli/src/automigrate/fixes/initial-globals.test.ts b/code/lib/cli/src/automigrate/fixes/initial-globals.test.ts index fdc992ea1db9..6bd1204492a0 100644 --- a/code/lib/cli/src/automigrate/fixes/initial-globals.test.ts +++ b/code/lib/cli/src/automigrate/fixes/initial-globals.test.ts @@ -1,5 +1,5 @@ /* eslint-disable no-underscore-dangle */ -import { vi, describe, expect, it } from 'vitest'; +import { vi, expect, it } from 'vitest'; import path from 'path'; import * as fsExtra from 'fs-extra'; import { initialGlobals } from './initial-globals'; From a783ad921a320113edec50790a0e441a95f7b545 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 11 Jun 2024 11:22:09 +0800 Subject: [PATCH 11/14] Try to fix yarn linking --- .../react/package.json | 2 +- .../react/yarn.lock | 347 ++++---- .../vue3/package.json | 2 +- .../vue3/yarn.lock | 785 ++++++------------ 4 files changed, 425 insertions(+), 711 deletions(-) diff --git a/test-storybooks/portable-stories-kitchen-sink/react/package.json b/test-storybooks/portable-stories-kitchen-sink/react/package.json index 22536659e00c..293b85ea55fd 100644 --- a/test-storybooks/portable-stories-kitchen-sink/react/package.json +++ b/test-storybooks/portable-stories-kitchen-sink/react/package.json @@ -28,7 +28,7 @@ "@storybook/test": "^8.0.0", "@swc/core": "^1.4.2", "@swc/jest": "^0.2.36", - "@testing-library/jest-dom": "^6.4.5", + "@testing-library/jest-dom": "6.4.5", "@testing-library/react": "^14.2.1", "@types/identity-obj-proxy": "^3", "@types/react": "^18.2.55", diff --git a/test-storybooks/portable-stories-kitchen-sink/react/yarn.lock b/test-storybooks/portable-stories-kitchen-sink/react/yarn.lock index 0629b1e9f6ed..0464e41cfb45 100644 --- a/test-storybooks/portable-stories-kitchen-sink/react/yarn.lock +++ b/test-storybooks/portable-stories-kitchen-sink/react/yarn.lock @@ -2467,9 +2467,9 @@ __metadata: languageName: node linkType: hard -"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.3.0": - version: 0.3.0 - resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.3.0" +"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.3.1": + version: 0.3.1 + resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.3.1" dependencies: glob: "npm:^7.2.0" glob-promise: "npm:^4.2.0" @@ -2481,7 +2481,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/9237499394b1f5f1320c9a489dbf5db2ba4b1d68081bf767a08895b70d0d0830adb9f0f1e2c5c94202e5bee63fe031ea2b91870a6bc806ed5e370be6b06df2e8 + checksum: 10/ec5052f9cb50e7388ebd2f49f974fd0d67dcd429571047bfeb75304bc6b128b5779d05be5f2143d3d22cd1ee3d4f0e9a4c66168999d861e2e60a2ba6787d11a4 languageName: node linkType: hard @@ -3116,7 +3116,6 @@ __metadata: "@storybook/blocks": "workspace:*" dequal: "npm:^2.0.2" lodash: "npm:^4.17.21" - telejson: "npm:^7.2.0" ts-dedent: "npm:^2.0.0" languageName: node linkType: soft @@ -3230,7 +3229,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -3242,7 +3241,7 @@ __metadata: color-convert: "npm:^2.0.1" dequal: "npm:^2.0.2" lodash: "npm:^4.17.21" - markdown-to-jsx: "npm:7.3.2" + markdown-to-jsx: "npm:^7.4.5" memoizerific: "npm:^1.11.3" polished: "npm:^4.2.2" react-colorful: "npm:^5.1.2" @@ -3251,8 +3250,8 @@ __metadata: ts-dedent: "npm:^2.0.0" util-deprecate: "npm:^1.0.2" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta peerDependenciesMeta: react: optional: true @@ -3272,10 +3271,10 @@ __metadata: "@types/ejs": "npm:^3.1.1" "@yarnpkg/esbuild-plugin-pnp": "npm:^3.0.0-rc.10" browser-assert: "npm:^1.2.1" - ejs: "npm:^3.1.8" + ejs: "npm:^3.1.10" esbuild: "npm:^0.18.0 || ^0.19.0 || ^0.20.0" esbuild-plugin-alias: "npm:^0.2.1" - express: "npm:^4.17.3" + express: "npm:^4.19.2" fs-extra: "npm:^11.1.0" process: "npm:^0.11.10" util: "npm:^0.12.4" @@ -3298,7 +3297,7 @@ __metadata: "@types/find-cache-dir": "npm:^3.2.1" browser-assert: "npm:^1.2.1" es-module-lexer: "npm:^1.5.0" - express: "npm:^4.17.3" + express: "npm:^4.19.2" find-cache-dir: "npm:^3.0.0" fs-extra: "npm:^11.1.0" magic-string: "npm:^0.30.0" @@ -3367,7 +3366,7 @@ __metadata: read-pkg-up: "npm:^7.0.1" semver: "npm:^7.3.7" strip-json-comments: "npm:^3.0.1" - tempy: "npm:^1.0.1" + tempy: "npm:^3.1.0" tiny-invariant: "npm:^1.3.1" ts-dedent: "npm:^2.0.0" bin: @@ -3391,7 +3390,7 @@ __metadata: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -3413,7 +3412,7 @@ __metadata: "@radix-ui/react-dialog": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/theming": "workspace:*" @@ -3421,8 +3420,8 @@ __metadata: memoizerific: "npm:^1.11.3" util-deprecate: "npm:^1.0.2" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta languageName: node linkType: soft @@ -3455,7 +3454,7 @@ __metadata: pretty-hrtime: "npm:^1.0.3" resolve-from: "npm:^5.0.0" semver: "npm:^7.3.7" - tempy: "npm:^1.0.1" + tempy: "npm:^3.1.0" tiny-invariant: "npm:^1.3.1" ts-dedent: "npm:^2.0.0" util: "npm:^0.12.4" @@ -3471,7 +3470,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/core-events@portal:../../../code/lib/core-events::locator=portable-stories-react%40workspace%3A." dependencies: - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" ts-dedent: "npm:^2.0.0" languageName: node linkType: soft @@ -3488,9 +3487,9 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" - "@storybook/docs-mdx": "npm:3.0.0" + "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" "@storybook/manager": "workspace:*" "@storybook/manager-api": "workspace:*" @@ -3509,10 +3508,9 @@ __metadata: compression: "npm:^1.7.4" detect-port: "npm:^1.3.0" diff: "npm:^5.2.0" - express: "npm:^4.17.3" + express: "npm:^4.19.2" fs-extra: "npm:^11.1.0" globby: "npm:^14.0.1" - ip: "npm:^2.0.1" lodash: "npm:^4.17.21" open: "npm:^8.4.0" pretty-hrtime: "npm:^1.0.3" @@ -3522,6 +3520,7 @@ __metadata: telejson: "npm:^7.2.0" tiny-invariant: "npm:^1.3.1" ts-dedent: "npm:^2.0.0" + tsconfig-paths: "npm:^4.2.0" util: "npm:^0.12.4" util-deprecate: "npm:^1.0.2" watchpack: "npm:^2.2.0" @@ -3546,7 +3545,7 @@ __metadata: "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" fs-extra: "npm:^11.1.0" recast: "npm:^0.23.5" @@ -3563,19 +3562,19 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.4": - version: 0.1.4 - resolution: "@storybook/csf@npm:0.1.4" +"@storybook/csf@npm:^0.1.8": + version: 0.1.8 + resolution: "@storybook/csf@npm:0.1.8" dependencies: type-fest: "npm:^2.19.0" - checksum: 10/105f3bd748613b775e87454a8470e36733d0ac25b4b88aa9dbebe060f92ff8d5fda1c98289657039d980ecc8d4d59079ef559a42e211568dc97e19d245117156 + checksum: 10/0cc01216a8888012bd1b33743cfeab83f16d028ba40ff02d39215a827e899451a39aef6b3a30342cdc4f87567d45f93074cfe05bdb8a34561c636ac7d8a13cfd languageName: node linkType: hard -"@storybook/docs-mdx@npm:3.0.0": - version: 3.0.0 - resolution: "@storybook/docs-mdx@npm:3.0.0" - checksum: 10/fba67fc5950890fbdf2b597f9cfac1230da3300002ab55938f75302beec9b3ec00ab8f405608b229961b50adebcdec3e1d8999e183d778b381ed5e79e4f5f0d2 +"@storybook/docs-mdx@npm:3.1.0-next.0": + version: 3.1.0-next.0 + resolution: "@storybook/docs-mdx@npm:3.1.0-next.0" + checksum: 10/ba02a76ebfc23c0ffb5b6ced32ed35d68a0a8438cf467f4d4ac23f66385a3cb4fba3a89ec00cb414e2aae8256ebb1f598ee6fc3920633e30dd18bcf0c0322561 languageName: node linkType: hard @@ -3587,9 +3586,8 @@ __metadata: "@storybook/core-events": "workspace:*" "@storybook/preview-api": "workspace:*" "@storybook/types": "workspace:*" - "@types/doctrine": "npm:^0.0.3" - assert: "npm:^2.1.0" - doctrine: "npm:^3.0.0" + comment-parser: "npm:^1.4.1" + jsdoc-type-pratt-parser: "npm:^4.0.0" lodash: "npm:^4.17.21" languageName: node linkType: soft @@ -3632,7 +3630,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -3666,7 +3664,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5" @@ -3690,8 +3688,8 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/react-dom-shim@portal:../../../code/lib/react-dom-shim::locator=portable-stories-react%40workspace%3A." peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta languageName: node linkType: soft @@ -3699,19 +3697,20 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/react-vite@portal:../../../code/frameworks/react-vite::locator=portable-stories-react%40workspace%3A." dependencies: - "@joshwooding/vite-plugin-react-docgen-typescript": "npm:0.3.0" + "@joshwooding/vite-plugin-react-docgen-typescript": "npm:0.3.1" "@rollup/pluginutils": "npm:^5.0.2" "@storybook/builder-vite": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/react": "workspace:*" + "@storybook/types": "workspace:*" find-up: "npm:^5.0.0" magic-string: "npm:^0.30.0" react-docgen: "npm:^7.0.0" resolve: "npm:^1.22.8" tsconfig-paths: "npm:^4.2.0" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta vite: ^4.0.0 || ^5.0.0 languageName: node linkType: soft @@ -3742,8 +3741,8 @@ __metadata: type-fest: "npm:~2.19" util-deprecate: "npm:^1.0.2" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta typescript: ">= 4.2.x" peerDependenciesMeta: typescript: @@ -3784,11 +3783,11 @@ __metadata: "@storybook/core-events": "workspace:*" "@storybook/instrumenter": "workspace:*" "@storybook/preview-api": "workspace:*" - "@testing-library/dom": "npm:^9.3.4" - "@testing-library/jest-dom": "npm:^6.4.2" - "@testing-library/user-event": "npm:^14.5.2" - "@vitest/expect": "npm:1.3.1" - "@vitest/spy": "npm:^1.3.1" + "@testing-library/dom": "npm:10.1.0" + "@testing-library/jest-dom": "npm:6.4.5" + "@testing-library/user-event": "npm:14.5.2" + "@vitest/expect": "npm:1.6.0" + "@vitest/spy": "npm:1.6.0" util: "npm:^0.12.4" languageName: node linkType: soft @@ -3802,8 +3801,8 @@ __metadata: "@storybook/global": "npm:^5.0.0" memoizerific: "npm:^1.11.3" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta peerDependenciesMeta: react: optional: true @@ -3817,7 +3816,7 @@ __metadata: resolution: "@storybook/types@portal:../../../code/lib/types::locator=portable-stories-react%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" - "@types/express": "npm:^4.7.0" + "@types/express": "npm:^4.17.21" file-system-cache: "npm:2.3.0" languageName: node linkType: soft @@ -3965,7 +3964,23 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^9.0.0, @testing-library/dom@npm:^9.3.4": +"@testing-library/dom@npm:10.1.0": + version: 10.1.0 + resolution: "@testing-library/dom@npm:10.1.0" + dependencies: + "@babel/code-frame": "npm:^7.10.4" + "@babel/runtime": "npm:^7.12.5" + "@types/aria-query": "npm:^5.0.1" + aria-query: "npm:5.3.0" + chalk: "npm:^4.1.0" + dom-accessibility-api: "npm:^0.5.9" + lz-string: "npm:^1.5.0" + pretty-format: "npm:^27.0.2" + checksum: 10/6d6ef942deedf547180c76d4cc2c43fe8e52a98ef68be6ba7382a43d3b1e1e5696d9c32ae0b2df12c92ea50023187d132ad2542fc118ba4b900f149e97d019e0 + languageName: node + linkType: hard + +"@testing-library/dom@npm:^9.0.0": version: 9.3.4 resolution: "@testing-library/dom@npm:9.3.4" dependencies: @@ -3981,9 +3996,9 @@ __metadata: languageName: node linkType: hard -"@testing-library/jest-dom@npm:^6.4.2": - version: 6.4.2 - resolution: "@testing-library/jest-dom@npm:6.4.2" +"@testing-library/jest-dom@npm:6.4.5": + version: 6.4.5 + resolution: "@testing-library/jest-dom@npm:6.4.5" dependencies: "@adobe/css-tools": "npm:^4.3.2" "@babel/runtime": "npm:^7.9.2" @@ -3991,7 +4006,7 @@ __metadata: chalk: "npm:^3.0.0" css.escape: "npm:^1.5.1" dom-accessibility-api: "npm:^0.6.3" - lodash: "npm:^4.17.15" + lodash: "npm:^4.17.21" redent: "npm:^3.0.0" peerDependencies: "@jest/globals": ">= 28" @@ -4010,7 +4025,7 @@ __metadata: optional: true vitest: optional: true - checksum: 10/7ee1e51caffad032734a4a43a00bf72d49080cf1bbf53021b443e91c7fa3762a66f55ce68f1c6643590fe66fbc4df92142659b8cf17c92166a3fb22691987e0d + checksum: 10/6d9e6cc01ec9111ea631657d93596fa9505d294fdfc4172fbd750b8df6268f02d55900626423b195dac5b067a302557453894a5814bdf4e770dee37cdb1c0f2d languageName: node linkType: hard @@ -4028,7 +4043,7 @@ __metadata: languageName: node linkType: hard -"@testing-library/user-event@npm:^14.5.2": +"@testing-library/user-event@npm:14.5.2": version: 14.5.2 resolution: "@testing-library/user-event@npm:14.5.2" peerDependencies: @@ -4134,13 +4149,6 @@ __metadata: languageName: node linkType: hard -"@types/doctrine@npm:^0.0.3": - version: 0.0.3 - resolution: "@types/doctrine@npm:0.0.3" - checksum: 10/398c30efc903a750c71166c7385d763c98605723dfae23f0134d6de4d365a8f0a5585a0fe6f959569ff33646e7f43fa83bacb5f2a4d5929cd0f6163d06e4f6b3 - languageName: node - linkType: hard - "@types/doctrine@npm:^0.0.9": version: 0.0.9 resolution: "@types/doctrine@npm:0.0.9" @@ -4195,7 +4203,7 @@ __metadata: languageName: node linkType: hard -"@types/express@npm:^4.7.0": +"@types/express@npm:^4.17.21": version: 4.17.21 resolution: "@types/express@npm:4.17.21" dependencies: @@ -4724,27 +4732,39 @@ __metadata: languageName: node linkType: hard -"@vitest/expect@npm:1.3.1": - version: 1.3.1 - resolution: "@vitest/expect@npm:1.3.1" +"@vitest/expect@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/expect@npm:1.6.0" dependencies: - "@vitest/spy": "npm:1.3.1" - "@vitest/utils": "npm:1.3.1" + "@vitest/spy": "npm:1.6.0" + "@vitest/utils": "npm:1.6.0" chai: "npm:^4.3.10" - checksum: 10/7c2818b2080ec107cffcc1566195132695c8e87cba883e878c2f36ac4d8107bb0a1f8d3823ccc0da5989e245ea114b8afffe790512aebcde8537ac8c1bcf3454 + checksum: 10/e82304a12e22b98c1ccea81e8f33c838561deb878588eac463164cc4f8fc0c401ace3a9e6758d9e3a6bcc01313e845e8478aaefb7548eaded04b8de12c1928f6 languageName: node linkType: hard -"@vitest/spy@npm:1.3.1, @vitest/spy@npm:^1.3.1": - version: 1.3.1 - resolution: "@vitest/spy@npm:1.3.1" +"@vitest/spy@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/spy@npm:1.6.0" dependencies: tinyspy: "npm:^2.2.0" - checksum: 10/544c8a30fdeb32fb7bf2c2b5816519be943f5ef90668c306b14efdde7676771d0e83cf0e0a5c79fad722be3839432226bcf74173110a032299821e00b67f47e6 + checksum: 10/1c9698272a58aa47708bb8a1672d655fcec3285b02067cc3f70bfe76f4eda7a756eb379f8c945ccbe61677f5189aeb5ba93c2737a9d7db2de8c4e7bbdffcd372 + languageName: node + linkType: hard + +"@vitest/utils@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/utils@npm:1.6.0" + dependencies: + diff-sequences: "npm:^29.6.3" + estree-walker: "npm:^3.0.3" + loupe: "npm:^2.3.7" + pretty-format: "npm:^29.7.0" + checksum: 10/5c5d7295ac13fcea1da039232bcc7c3fc6f070070fe12ba2ad152456af6e216e48a3ae169016cfcd5055706a00dc567b8f62e4a9b1914f069f52b8f0a3c25e60 languageName: node linkType: hard -"@vitest/utils@npm:1.3.1, @vitest/utils@npm:^1.3.1": +"@vitest/utils@npm:^1.3.1": version: 1.3.1 resolution: "@vitest/utils@npm:1.3.1" dependencies: @@ -5029,7 +5049,7 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^5.0.0": +"aria-query@npm:5.3.0, aria-query@npm:^5.0.0": version: 5.3.0 resolution: "aria-query@npm:5.3.0" dependencies: @@ -5078,7 +5098,7 @@ __metadata: languageName: node linkType: hard -"assert@npm:^2.0.0, assert@npm:^2.1.0": +"assert@npm:^2.0.0": version: 2.1.0 resolution: "assert@npm:2.1.0" dependencies: @@ -5350,12 +5370,12 @@ __metadata: languageName: node linkType: hard -"body-parser@npm:1.20.1": - version: 1.20.1 - resolution: "body-parser@npm:1.20.1" +"body-parser@npm:1.20.2": + version: 1.20.2 + resolution: "body-parser@npm:1.20.2" dependencies: bytes: "npm:3.1.2" - content-type: "npm:~1.0.4" + content-type: "npm:~1.0.5" debug: "npm:2.6.9" depd: "npm:2.0.0" destroy: "npm:1.2.0" @@ -5363,10 +5383,10 @@ __metadata: iconv-lite: "npm:0.4.24" on-finished: "npm:2.4.1" qs: "npm:6.11.0" - raw-body: "npm:2.5.1" + raw-body: "npm:2.5.2" type-is: "npm:~1.6.18" unpipe: "npm:1.0.0" - checksum: 10/5f8d128022a2fb8b6e7990d30878a0182f300b70e46b3f9d358a9433ad6275f0de46add6d63206da3637c01c3b38b6111a7480f7e7ac2e9f7b989f6133fe5510 + checksum: 10/3cf171b82190cf91495c262b073e425fc0d9e25cc2bf4540d43f7e7bbca27d6a9eae65ca367b6ef3993eea261159d9d2ab37ce444e8979323952e12eb3df319a languageName: node linkType: hard @@ -5828,6 +5848,13 @@ __metadata: languageName: node linkType: hard +"comment-parser@npm:^1.4.1": + version: 1.4.1 + resolution: "comment-parser@npm:1.4.1" + checksum: 10/16a3260b5e77819ebd9c99b0b65c7d6723b1ff73487bac9ce2d8f016a2847dd689e8663b88e1fad1444bbea89847c42f785708ac86a2c55f614f7095249bbf6b + languageName: node + linkType: hard + "common-tags@npm:^1.8.0": version: 1.8.2 resolution: "common-tags@npm:1.8.2" @@ -5889,7 +5916,7 @@ __metadata: languageName: node linkType: hard -"content-type@npm:~1.0.4": +"content-type@npm:~1.0.4, content-type@npm:~1.0.5": version: 1.0.5 resolution: "content-type@npm:1.0.5" checksum: 10/585847d98dc7fb8035c02ae2cb76c7a9bd7b25f84c447e5ed55c45c2175e83617c8813871b4ee22f368126af6b2b167df655829007b21aa10302873ea9c62662 @@ -5910,10 +5937,10 @@ __metadata: languageName: node linkType: hard -"cookie@npm:0.5.0": - version: 0.5.0 - resolution: "cookie@npm:0.5.0" - checksum: 10/aae7911ddc5f444a9025fbd979ad1b5d60191011339bce48e555cb83343d0f98b865ff5c4d71fecdfb8555a5cafdc65632f6fce172f32aaf6936830a883a0380 +"cookie@npm:0.6.0": + version: 0.6.0 + resolution: "cookie@npm:0.6.0" + checksum: 10/c1f8f2ea7d443b9331680598b0ae4e6af18a618c37606d1bbdc75bec8361cce09fe93e727059a673f2ba24467131a9fb5a4eec76bb1b149c1b3e1ccb268dc583 languageName: node linkType: hard @@ -5977,10 +6004,12 @@ __metadata: languageName: node linkType: hard -"crypto-random-string@npm:^2.0.0": - version: 2.0.0 - resolution: "crypto-random-string@npm:2.0.0" - checksum: 10/0283879f55e7c16fdceacc181f87a0a65c53bc16ffe1d58b9d19a6277adcd71900d02bb2c4843dd55e78c51e30e89b0fec618a7f170ebcc95b33182c28f05fd6 +"crypto-random-string@npm:^4.0.0": + version: 4.0.0 + resolution: "crypto-random-string@npm:4.0.0" + dependencies: + type-fest: "npm:^1.0.1" + checksum: 10/cd5d7ae13803de53680aaed4c732f67209af5988cbeec5f6b29082020347c2d8849ca921b2008be7d6bd1d9d198c3c3697e7441d6d0d3da1bf51e9e4d2032149 languageName: node linkType: hard @@ -6253,22 +6282,6 @@ __metadata: languageName: node linkType: hard -"del@npm:^6.0.0": - version: 6.1.1 - resolution: "del@npm:6.1.1" - dependencies: - globby: "npm:^11.0.1" - graceful-fs: "npm:^4.2.4" - is-glob: "npm:^4.0.1" - is-path-cwd: "npm:^2.2.0" - is-path-inside: "npm:^3.0.2" - p-map: "npm:^4.0.0" - rimraf: "npm:^3.0.2" - slash: "npm:^3.0.0" - checksum: 10/563288b73b8b19a7261c47fd21a330eeab6e2acd7c6208c49790dfd369127120dd7836cdf0c1eca216b77c94782a81507eac6b4734252d3bef2795cb366996b6 - languageName: node - linkType: hard - "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -6445,14 +6458,14 @@ __metadata: languageName: node linkType: hard -"ejs@npm:^3.1.8": - version: 3.1.9 - resolution: "ejs@npm:3.1.9" +"ejs@npm:^3.1.10": + version: 3.1.10 + resolution: "ejs@npm:3.1.10" dependencies: jake: "npm:^10.8.5" bin: ejs: bin/cli.js - checksum: 10/71f56d37540d2c2d71701f0116710c676f75314a3e997ef8b83515d5d4d2b111c5a72725377caeecb928671bacb84a0d38135f345904812e989847057d59f21a + checksum: 10/a9cb7d7cd13b7b1cd0be5c4788e44dd10d92f7285d2f65b942f33e127230c054f99a42db4d99f766d8dbc6c57e94799593ee66a14efd7c8dd70c4812bf6aa384 languageName: node linkType: hard @@ -7113,16 +7126,16 @@ __metadata: languageName: node linkType: hard -"express@npm:^4.17.3": - version: 4.18.2 - resolution: "express@npm:4.18.2" +"express@npm:^4.19.2": + version: 4.19.2 + resolution: "express@npm:4.19.2" dependencies: accepts: "npm:~1.3.8" array-flatten: "npm:1.1.1" - body-parser: "npm:1.20.1" + body-parser: "npm:1.20.2" content-disposition: "npm:0.5.4" content-type: "npm:~1.0.4" - cookie: "npm:0.5.0" + cookie: "npm:0.6.0" cookie-signature: "npm:1.0.6" debug: "npm:2.6.9" depd: "npm:2.0.0" @@ -7148,7 +7161,7 @@ __metadata: type-is: "npm:~1.6.18" utils-merge: "npm:1.0.1" vary: "npm:~1.1.2" - checksum: 10/869ae89ed6ff4bed7b373079dc58e5dddcf2915a2669b36037ff78c99d675ae930e5fe052b35c24f56557d28a023bb1cbe3e2f2fb87eaab96a1cedd7e597809d + checksum: 10/3fcd792536f802c059789ef48db3851b87e78fba103423e524144d79af37da7952a2b8d4e1a007f423329c7377d686d9476ac42e7d9ea413b80345d495e30a3a languageName: node linkType: hard @@ -7786,7 +7799,7 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.1, globby@npm:^11.1.0": +"globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -8221,13 +8234,6 @@ __metadata: languageName: node linkType: hard -"ip@npm:^2.0.1": - version: 2.0.1 - resolution: "ip@npm:2.0.1" - checksum: 10/d6dd154e1bc5e8725adfdd6fb92218635b9cbe6d873d051bd63b178f009777f751a5eea4c67021723a7056325fc3052f8b6599af0a2d56f042c93e684b4a0349 - languageName: node - linkType: hard - "ipaddr.js@npm:1.9.1": version: 1.9.1 resolution: "ipaddr.js@npm:1.9.1" @@ -8452,13 +8458,6 @@ __metadata: languageName: node linkType: hard -"is-path-cwd@npm:^2.2.0": - version: 2.2.0 - resolution: "is-path-cwd@npm:2.2.0" - checksum: 10/46a840921bb8cc0dc7b5b423a14220e7db338072a4495743a8230533ce78812dc152548c86f4b828411fe98c5451959f07cf841c6a19f611e46600bd699e8048 - languageName: node - linkType: hard - "is-path-inside@npm:^3.0.2, is-path-inside@npm:^3.0.3": version: 3.0.3 resolution: "is-path-inside@npm:3.0.3" @@ -9269,6 +9268,13 @@ __metadata: languageName: node linkType: hard +"jsdoc-type-pratt-parser@npm:^4.0.0": + version: 4.0.0 + resolution: "jsdoc-type-pratt-parser@npm:4.0.0" + checksum: 10/a225ab874e56612730dd6c0466ce9f09e8a0e7d85896e9e5f0fa53cfb2e897128a7ec702fd99ed3854b3fbf5a89ad6dce72ca4f4f6149da69f130c2874f06b75 + languageName: node + linkType: hard + "jsdom@npm:^20.0.0": version: 20.0.3 resolution: "jsdom@npm:20.0.3" @@ -9708,12 +9714,12 @@ __metadata: languageName: node linkType: hard -"markdown-to-jsx@npm:7.3.2": - version: 7.3.2 - resolution: "markdown-to-jsx@npm:7.3.2" +"markdown-to-jsx@npm:^7.4.5": + version: 7.4.7 + resolution: "markdown-to-jsx@npm:7.4.7" peerDependencies: react: ">= 0.14.0" - checksum: 10/5a7ca9d04dfe180ea32baac94b471678053843da0be941a84ff7570a26f3afd8876d3bcc8fec8ee8aa68d157615f293f87b93c1d0f64945181bc218d61ee4494 + checksum: 10/d421f561a57256164564f4b4ac1c3439493f7b88d46ca8d1ed429e481a199a8756591e180d401654c0826ccabe9e76ce4fb97286a0b3c43a7a6346c735778b2b languageName: node linkType: hard @@ -10602,7 +10608,7 @@ __metadata: "@storybook/test": "npm:^8.0.0" "@swc/core": "npm:^1.4.2" "@swc/jest": "npm:^0.2.36" - "@testing-library/jest-dom": "npm:^6.4.2" + "@testing-library/jest-dom": "npm:6.4.5" "@testing-library/react": "npm:^14.2.1" "@types/identity-obj-proxy": "npm:^3" "@types/react": "npm:^18.2.55" @@ -10872,15 +10878,15 @@ __metadata: languageName: node linkType: hard -"raw-body@npm:2.5.1": - version: 2.5.1 - resolution: "raw-body@npm:2.5.1" +"raw-body@npm:2.5.2": + version: 2.5.2 + resolution: "raw-body@npm:2.5.2" dependencies: bytes: "npm:3.1.2" http-errors: "npm:2.0.0" iconv-lite: "npm:0.4.24" unpipe: "npm:1.0.0" - checksum: 10/280bedc12db3490ecd06f740bdcf66093a07535374b51331242382c0e130bb273ebb611b7bc4cba1b4b4e016cc7b1f4b05a6df885a6af39c2bc3b94c02291c84 + checksum: 10/863b5171e140546a4d99f349b720abac4410338e23df5e409cfcc3752538c9caf947ce382c89129ba976f71894bd38b5806c774edac35ebf168d02aa1ac11a95 languageName: node linkType: hard @@ -12079,10 +12085,10 @@ __metadata: languageName: node linkType: hard -"temp-dir@npm:^2.0.0": - version: 2.0.0 - resolution: "temp-dir@npm:2.0.0" - checksum: 10/cc4f0404bf8d6ae1a166e0e64f3f409b423f4d1274d8c02814a59a5529f07db6cd070a749664141b992b2c1af337fa9bb451a460a43bb9bcddc49f235d3115aa +"temp-dir@npm:^3.0.0": + version: 3.0.0 + resolution: "temp-dir@npm:3.0.0" + checksum: 10/577211e995d1d584dd60f1469351d45e8a5b4524e4a9e42d3bdd12cfde1d0bb8f5898311bef24e02aaafb69514c1feb58c7b4c33dcec7129da3b0861a4ca935b languageName: node linkType: hard @@ -12095,16 +12101,15 @@ __metadata: languageName: node linkType: hard -"tempy@npm:^1.0.1": - version: 1.0.1 - resolution: "tempy@npm:1.0.1" +"tempy@npm:^3.1.0": + version: 3.1.0 + resolution: "tempy@npm:3.1.0" dependencies: - del: "npm:^6.0.0" - is-stream: "npm:^2.0.0" - temp-dir: "npm:^2.0.0" - type-fest: "npm:^0.16.0" - unique-string: "npm:^2.0.0" - checksum: 10/e3a3857cd102db84c484b8e878203b496f0e927025b7c60dd118c0c9a0962f4589321c6b3093185d529576af5c58be65d755e72c2a6ad009ff340ab8cbbe4d33 + is-stream: "npm:^3.0.0" + temp-dir: "npm:^3.0.0" + type-fest: "npm:^2.12.2" + unique-string: "npm:^3.0.0" + checksum: 10/f5540bc24dcd9d41ab0b31e9eed73c3ef825080f1c8b1e854e4b73059155c889f72f5f7c15e8cd462d59aa10c9726e423c81d6a365d614b538c6cc78a1209cc6 languageName: node linkType: hard @@ -12322,13 +12327,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.16.0": - version: 0.16.0 - resolution: "type-fest@npm:0.16.0" - checksum: 10/fd8c47ccb90e9fe7bae8bfc0e116e200e096120200c1ab1737bf0bc9334b344dd4925f876ed698174ffd58cd179bb56a55467be96aedc22d5d72748eac428bc8 - languageName: node - linkType: hard - "type-fest@npm:^0.20.2": version: 0.20.2 resolution: "type-fest@npm:0.20.2" @@ -12357,7 +12355,14 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^2.19.0, type-fest@npm:~2.19": +"type-fest@npm:^1.0.1": + version: 1.4.0 + resolution: "type-fest@npm:1.4.0" + checksum: 10/89875c247564601c2650bacad5ff80b859007fbdb6c9e43713ae3ffa3f584552eea60f33711dd762e16496a1ab4debd409822627be14097d9a17e39c49db591a + languageName: node + linkType: hard + +"type-fest@npm:^2.12.2, type-fest@npm:^2.19.0, type-fest@npm:~2.19": version: 2.19.0 resolution: "type-fest@npm:2.19.0" checksum: 10/7bf9e8fdf34f92c8bb364c0af14ca875fac7e0183f2985498b77be129dc1b3b1ad0a6b3281580f19e48c6105c037fb966ad9934520c69c6434d17fd0af4eed78 @@ -12473,12 +12478,12 @@ __metadata: languageName: node linkType: hard -"unique-string@npm:^2.0.0": - version: 2.0.0 - resolution: "unique-string@npm:2.0.0" +"unique-string@npm:^3.0.0": + version: 3.0.0 + resolution: "unique-string@npm:3.0.0" dependencies: - crypto-random-string: "npm:^2.0.0" - checksum: 10/107cae65b0b618296c2c663b8e52e4d1df129e9af04ab38d53b4f2189e96da93f599c85f4589b7ffaf1a11c9327cbb8a34f04c71b8d4950d3e385c2da2a93828 + crypto-random-string: "npm:^4.0.0" + checksum: 10/1a1e2e7d02eab1bb10f720475da735e1990c8a5ff34edd1a3b6bc31590cb4210b7a1233d779360cc622ce11c211e43afa1628dd658f35d3e6a89964b622940df languageName: node linkType: hard diff --git a/test-storybooks/portable-stories-kitchen-sink/vue3/package.json b/test-storybooks/portable-stories-kitchen-sink/vue3/package.json index 537062cf9f74..905cf7e95ff3 100644 --- a/test-storybooks/portable-stories-kitchen-sink/vue3/package.json +++ b/test-storybooks/portable-stories-kitchen-sink/vue3/package.json @@ -24,7 +24,7 @@ "@storybook/test": "^8.0.0", "@storybook/vue3": "^8.0.0", "@storybook/vue3-vite": "^8.0.0", - "@testing-library/jest-dom": "^6.4.5", + "@testing-library/jest-dom": "6.4.5", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "@vitejs/plugin-vue": "^5.0.4", diff --git a/test-storybooks/portable-stories-kitchen-sink/vue3/yarn.lock b/test-storybooks/portable-stories-kitchen-sink/vue3/yarn.lock index ea28f0f35a1b..4187f896d52a 100644 --- a/test-storybooks/portable-stories-kitchen-sink/vue3/yarn.lock +++ b/test-storybooks/portable-stories-kitchen-sink/vue3/yarn.lock @@ -2725,7 +2725,6 @@ __metadata: "@storybook/blocks": "workspace:*" dequal: "npm:^2.0.2" lodash: "npm:^4.17.21" - telejson: "npm:^7.2.0" ts-dedent: "npm:^2.0.0" languageName: node linkType: soft @@ -2839,7 +2838,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -2851,7 +2850,7 @@ __metadata: color-convert: "npm:^2.0.1" dequal: "npm:^2.0.2" lodash: "npm:^4.17.21" - markdown-to-jsx: "npm:7.3.2" + markdown-to-jsx: "npm:^7.4.5" memoizerific: "npm:^1.11.3" polished: "npm:^4.2.2" react-colorful: "npm:^5.1.2" @@ -2860,8 +2859,8 @@ __metadata: ts-dedent: "npm:^2.0.0" util-deprecate: "npm:^1.0.2" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta peerDependenciesMeta: react: optional: true @@ -2881,10 +2880,10 @@ __metadata: "@types/ejs": "npm:^3.1.1" "@yarnpkg/esbuild-plugin-pnp": "npm:^3.0.0-rc.10" browser-assert: "npm:^1.2.1" - ejs: "npm:^3.1.8" + ejs: "npm:^3.1.10" esbuild: "npm:^0.18.0 || ^0.19.0 || ^0.20.0" esbuild-plugin-alias: "npm:^0.2.1" - express: "npm:^4.17.3" + express: "npm:^4.19.2" fs-extra: "npm:^11.1.0" process: "npm:^0.11.10" util: "npm:^0.12.4" @@ -2907,7 +2906,7 @@ __metadata: "@types/find-cache-dir": "npm:^3.2.1" browser-assert: "npm:^1.2.1" es-module-lexer: "npm:^1.5.0" - express: "npm:^4.17.3" + express: "npm:^4.19.2" find-cache-dir: "npm:^3.0.0" fs-extra: "npm:^11.1.0" magic-string: "npm:^0.30.0" @@ -2976,7 +2975,7 @@ __metadata: read-pkg-up: "npm:^7.0.1" semver: "npm:^7.3.7" strip-json-comments: "npm:^3.0.1" - tempy: "npm:^1.0.1" + tempy: "npm:^3.1.0" tiny-invariant: "npm:^1.3.1" ts-dedent: "npm:^2.0.0" bin: @@ -3000,7 +2999,7 @@ __metadata: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -3022,7 +3021,7 @@ __metadata: "@radix-ui/react-dialog": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/theming": "workspace:*" @@ -3030,8 +3029,8 @@ __metadata: memoizerific: "npm:^1.11.3" util-deprecate: "npm:^1.0.2" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta languageName: node linkType: soft @@ -3064,7 +3063,7 @@ __metadata: pretty-hrtime: "npm:^1.0.3" resolve-from: "npm:^5.0.0" semver: "npm:^7.3.7" - tempy: "npm:^1.0.1" + tempy: "npm:^3.1.0" tiny-invariant: "npm:^1.3.1" ts-dedent: "npm:^2.0.0" util: "npm:^0.12.4" @@ -3080,7 +3079,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/core-events@portal:../../../code/lib/core-events::locator=portable-stories-vue3%40workspace%3A." dependencies: - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" ts-dedent: "npm:^2.0.0" languageName: node linkType: soft @@ -3097,9 +3096,9 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" - "@storybook/docs-mdx": "npm:3.0.0" + "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" "@storybook/manager": "workspace:*" "@storybook/manager-api": "workspace:*" @@ -3118,10 +3117,9 @@ __metadata: compression: "npm:^1.7.4" detect-port: "npm:^1.3.0" diff: "npm:^5.2.0" - express: "npm:^4.17.3" + express: "npm:^4.19.2" fs-extra: "npm:^11.1.0" globby: "npm:^14.0.1" - ip: "npm:^2.0.1" lodash: "npm:^4.17.21" open: "npm:^8.4.0" pretty-hrtime: "npm:^1.0.3" @@ -3131,6 +3129,7 @@ __metadata: telejson: "npm:^7.2.0" tiny-invariant: "npm:^1.3.1" ts-dedent: "npm:^2.0.0" + tsconfig-paths: "npm:^4.2.0" util: "npm:^0.12.4" util-deprecate: "npm:^1.0.2" watchpack: "npm:^2.2.0" @@ -3155,7 +3154,7 @@ __metadata: "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" fs-extra: "npm:^11.1.0" recast: "npm:^0.23.5" @@ -3172,19 +3171,19 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.4": - version: 0.1.4 - resolution: "@storybook/csf@npm:0.1.4" +"@storybook/csf@npm:^0.1.8": + version: 0.1.8 + resolution: "@storybook/csf@npm:0.1.8" dependencies: type-fest: "npm:^2.19.0" - checksum: 10/105f3bd748613b775e87454a8470e36733d0ac25b4b88aa9dbebe060f92ff8d5fda1c98289657039d980ecc8d4d59079ef559a42e211568dc97e19d245117156 + checksum: 10/0cc01216a8888012bd1b33743cfeab83f16d028ba40ff02d39215a827e899451a39aef6b3a30342cdc4f87567d45f93074cfe05bdb8a34561c636ac7d8a13cfd languageName: node linkType: hard -"@storybook/docs-mdx@npm:3.0.0": - version: 3.0.0 - resolution: "@storybook/docs-mdx@npm:3.0.0" - checksum: 10/fba67fc5950890fbdf2b597f9cfac1230da3300002ab55938f75302beec9b3ec00ab8f405608b229961b50adebcdec3e1d8999e183d778b381ed5e79e4f5f0d2 +"@storybook/docs-mdx@npm:3.1.0-next.0": + version: 3.1.0-next.0 + resolution: "@storybook/docs-mdx@npm:3.1.0-next.0" + checksum: 10/ba02a76ebfc23c0ffb5b6ced32ed35d68a0a8438cf467f4d4ac23f66385a3cb4fba3a89ec00cb414e2aae8256ebb1f598ee6fc3920633e30dd18bcf0c0322561 languageName: node linkType: hard @@ -3196,9 +3195,8 @@ __metadata: "@storybook/core-events": "workspace:*" "@storybook/preview-api": "workspace:*" "@storybook/types": "workspace:*" - "@types/doctrine": "npm:^0.0.3" - assert: "npm:^2.1.0" - doctrine: "npm:^3.0.0" + comment-parser: "npm:^1.4.1" + jsdoc-type-pratt-parser: "npm:^4.0.0" lodash: "npm:^4.17.21" languageName: node linkType: soft @@ -3241,7 +3239,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -3275,7 +3273,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.4" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5" @@ -3299,8 +3297,8 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/react-dom-shim@portal:../../../code/lib/react-dom-shim::locator=portable-stories-vue3%40workspace%3A." peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta languageName: node linkType: soft @@ -3337,11 +3335,11 @@ __metadata: "@storybook/core-events": "workspace:*" "@storybook/instrumenter": "workspace:*" "@storybook/preview-api": "workspace:*" - "@testing-library/dom": "npm:^9.3.4" - "@testing-library/jest-dom": "npm:^6.4.2" - "@testing-library/user-event": "npm:^14.5.2" - "@vitest/expect": "npm:1.3.1" - "@vitest/spy": "npm:^1.3.1" + "@testing-library/dom": "npm:10.1.0" + "@testing-library/jest-dom": "npm:6.4.5" + "@testing-library/user-event": "npm:14.5.2" + "@vitest/expect": "npm:1.6.0" + "@vitest/spy": "npm:1.6.0" util: "npm:^0.12.4" languageName: node linkType: soft @@ -3355,8 +3353,8 @@ __metadata: "@storybook/global": "npm:^5.0.0" memoizerific: "npm:^1.11.3" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta peerDependenciesMeta: react: optional: true @@ -3370,7 +3368,7 @@ __metadata: resolution: "@storybook/types@portal:../../../code/lib/types::locator=portable-stories-vue3%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" - "@types/express": "npm:^4.7.0" + "@types/express": "npm:^4.17.21" file-system-cache: "npm:2.3.0" languageName: node linkType: soft @@ -3381,11 +3379,12 @@ __metadata: dependencies: "@storybook/builder-vite": "workspace:*" "@storybook/core-server": "workspace:*" + "@storybook/types": "workspace:*" "@storybook/vue3": "workspace:*" find-package-json: "npm:^1.2.0" magic-string: "npm:^0.30.0" typescript: "npm:^5.0.0" - vue-component-meta: "npm:^1.8.27" + vue-component-meta: "npm:^2.0.0" vue-docgen-api: "npm:^4.75.1" peerDependencies: vite: ^4.0.0 || ^5.0.0 @@ -3410,25 +3409,25 @@ __metadata: languageName: node linkType: soft -"@testing-library/dom@npm:^9.3.4": - version: 9.3.4 - resolution: "@testing-library/dom@npm:9.3.4" +"@testing-library/dom@npm:10.1.0": + version: 10.1.0 + resolution: "@testing-library/dom@npm:10.1.0" dependencies: "@babel/code-frame": "npm:^7.10.4" "@babel/runtime": "npm:^7.12.5" "@types/aria-query": "npm:^5.0.1" - aria-query: "npm:5.1.3" + aria-query: "npm:5.3.0" chalk: "npm:^4.1.0" dom-accessibility-api: "npm:^0.5.9" lz-string: "npm:^1.5.0" pretty-format: "npm:^27.0.2" - checksum: 10/510da752ea76f4a10a0a4e3a77917b0302cf03effe576cd3534cab7e796533ee2b0e9fb6fb11b911a1ebd7c70a0bb6f235bf4f816c9b82b95b8fe0cddfd10975 + checksum: 10/6d6ef942deedf547180c76d4cc2c43fe8e52a98ef68be6ba7382a43d3b1e1e5696d9c32ae0b2df12c92ea50023187d132ad2542fc118ba4b900f149e97d019e0 languageName: node linkType: hard -"@testing-library/jest-dom@npm:^6.4.2": - version: 6.4.2 - resolution: "@testing-library/jest-dom@npm:6.4.2" +"@testing-library/jest-dom@npm:6.4.5": + version: 6.4.5 + resolution: "@testing-library/jest-dom@npm:6.4.5" dependencies: "@adobe/css-tools": "npm:^4.3.2" "@babel/runtime": "npm:^7.9.2" @@ -3436,7 +3435,7 @@ __metadata: chalk: "npm:^3.0.0" css.escape: "npm:^1.5.1" dom-accessibility-api: "npm:^0.6.3" - lodash: "npm:^4.17.15" + lodash: "npm:^4.17.21" redent: "npm:^3.0.0" peerDependencies: "@jest/globals": ">= 28" @@ -3455,11 +3454,11 @@ __metadata: optional: true vitest: optional: true - checksum: 10/7ee1e51caffad032734a4a43a00bf72d49080cf1bbf53021b443e91c7fa3762a66f55ce68f1c6643590fe66fbc4df92142659b8cf17c92166a3fb22691987e0d + checksum: 10/6d9e6cc01ec9111ea631657d93596fa9505d294fdfc4172fbd750b8df6268f02d55900626423b195dac5b067a302557453894a5814bdf4e770dee37cdb1c0f2d languageName: node linkType: hard -"@testing-library/user-event@npm:^14.5.2": +"@testing-library/user-event@npm:14.5.2": version: 14.5.2 resolution: "@testing-library/user-event@npm:14.5.2" peerDependencies: @@ -3517,13 +3516,6 @@ __metadata: languageName: node linkType: hard -"@types/doctrine@npm:^0.0.3": - version: 0.0.3 - resolution: "@types/doctrine@npm:0.0.3" - checksum: 10/398c30efc903a750c71166c7385d763c98605723dfae23f0134d6de4d365a8f0a5585a0fe6f959569ff33646e7f43fa83bacb5f2a4d5929cd0f6163d06e4f6b3 - languageName: node - linkType: hard - "@types/ejs@npm:^3.1.1": version: 3.1.5 resolution: "@types/ejs@npm:3.1.5" @@ -3557,7 +3549,7 @@ __metadata: languageName: node linkType: hard -"@types/express@npm:^4.7.0": +"@types/express@npm:^4.17.21": version: 4.17.21 resolution: "@types/express@npm:4.17.21" dependencies: @@ -3976,44 +3968,35 @@ __metadata: languageName: node linkType: hard -"@vitest/expect@npm:1.3.1": - version: 1.3.1 - resolution: "@vitest/expect@npm:1.3.1" +"@vitest/expect@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/expect@npm:1.6.0" dependencies: - "@vitest/spy": "npm:1.3.1" - "@vitest/utils": "npm:1.3.1" + "@vitest/spy": "npm:1.6.0" + "@vitest/utils": "npm:1.6.0" chai: "npm:^4.3.10" - checksum: 10/7c2818b2080ec107cffcc1566195132695c8e87cba883e878c2f36ac4d8107bb0a1f8d3823ccc0da5989e245ea114b8afffe790512aebcde8537ac8c1bcf3454 - languageName: node - linkType: hard - -"@vitest/spy@npm:1.3.1": - version: 1.3.1 - resolution: "@vitest/spy@npm:1.3.1" - dependencies: - tinyspy: "npm:^2.2.0" - checksum: 10/544c8a30fdeb32fb7bf2c2b5816519be943f5ef90668c306b14efdde7676771d0e83cf0e0a5c79fad722be3839432226bcf74173110a032299821e00b67f47e6 + checksum: 10/e82304a12e22b98c1ccea81e8f33c838561deb878588eac463164cc4f8fc0c401ace3a9e6758d9e3a6bcc01313e845e8478aaefb7548eaded04b8de12c1928f6 languageName: node linkType: hard -"@vitest/spy@npm:^1.3.1": - version: 1.4.0 - resolution: "@vitest/spy@npm:1.4.0" +"@vitest/spy@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/spy@npm:1.6.0" dependencies: tinyspy: "npm:^2.2.0" - checksum: 10/0e48f9a64f62801c2abf10df1013ec5e5b75c47bdca6a5d4c8246b3dd7bdf01ade3df6c99fd0751a870a16bd63c127b3e58e0f5cbc320c48d0727ab5da89d028 + checksum: 10/1c9698272a58aa47708bb8a1672d655fcec3285b02067cc3f70bfe76f4eda7a756eb379f8c945ccbe61677f5189aeb5ba93c2737a9d7db2de8c4e7bbdffcd372 languageName: node linkType: hard -"@vitest/utils@npm:1.3.1": - version: 1.3.1 - resolution: "@vitest/utils@npm:1.3.1" +"@vitest/utils@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/utils@npm:1.6.0" dependencies: diff-sequences: "npm:^29.6.3" estree-walker: "npm:^3.0.3" loupe: "npm:^2.3.7" pretty-format: "npm:^29.7.0" - checksum: 10/170c62e6c348562f611d8caddc893e8cba75ed89986e09aa2f0fe6812c96664e8d0f6e329f7a96a4c9cdecf147f4853e4054c3db597b111ec993d3cdd546eddc + checksum: 10/5c5d7295ac13fcea1da039232bcc7c3fc6f070070fe12ba2ad152456af6e216e48a3ae169016cfcd5055706a00dc567b8f62e4a9b1914f069f52b8f0a3c25e60 languageName: node linkType: hard @@ -4029,31 +4012,32 @@ __metadata: languageName: node linkType: hard -"@volar/language-core@npm:1.11.1, @volar/language-core@npm:~1.11.1": - version: 1.11.1 - resolution: "@volar/language-core@npm:1.11.1" +"@volar/language-core@npm:2.3.0, @volar/language-core@npm:~2.3.0-alpha.15": + version: 2.3.0 + resolution: "@volar/language-core@npm:2.3.0" dependencies: - "@volar/source-map": "npm:1.11.1" - checksum: 10/2fef58727bb3058b7bbd350fea6c38ded6608c65f7f672ffd825f0ba48307e4c5eded634e0c3b37d2ebbdd2e7ab32bc974eeb54f455c0390f85971ebeef3a6ca + "@volar/source-map": "npm:2.3.0" + checksum: 10/43392c38a7ed93c58ad211e6ff7787660cd33a66585cb9e1cdb30c0df61c000a48672615c54dee68095b21d73cf81bc8c89bc9c08e1d5c90c7aa3db6e63376ef languageName: node linkType: hard -"@volar/source-map@npm:1.11.1, @volar/source-map@npm:~1.11.1": - version: 1.11.1 - resolution: "@volar/source-map@npm:1.11.1" +"@volar/source-map@npm:2.3.0": + version: 2.3.0 + resolution: "@volar/source-map@npm:2.3.0" dependencies: - muggle-string: "npm:^0.3.1" - checksum: 10/b90c32b23bbb86a3c47a20a9f7e6293c01b2e65390973e0c849c80ee0ff740ffa76b4d547fdb9b76b2b91a7bdeb2d8d0b1772d4f4d70e2a85784abe0385672f1 + muggle-string: "npm:^0.4.0" + checksum: 10/1db3cbabb7b03bfee665f6fd0f074508f123ea5e51a1e7b7fbaf3ef442e61d063a4a603bedca2c780038ea8448d766fbb6d2ceab12e5fdc86fd877213b1f02b5 languageName: node linkType: hard -"@volar/typescript@npm:~1.11.1": - version: 1.11.1 - resolution: "@volar/typescript@npm:1.11.1" +"@volar/typescript@npm:~2.3.0-alpha.15": + version: 2.3.0 + resolution: "@volar/typescript@npm:2.3.0" dependencies: - "@volar/language-core": "npm:1.11.1" + "@volar/language-core": "npm:2.3.0" path-browserify: "npm:^1.0.1" - checksum: 10/714eeb3472902617555b9b4959722a215b391160fe4fdf2f8f4abcb075edbd24a5a633db0c36acd175daeddac5f1b35c33f5fc8788e1e251d91385aad27deda9 + vscode-uri: "npm:^3.0.8" + checksum: 10/228815b6a82bf622bb32777d63237891ad367a4bc3158aa36844634426e10b838d12567ae975e3bd574f162b628233a74a00e3807cee2b211a3ffeb383e277b3 languageName: node linkType: hard @@ -4070,7 +4054,20 @@ __metadata: languageName: node linkType: hard -"@vue/compiler-dom@npm:3.4.21, @vue/compiler-dom@npm:^3.2.0, @vue/compiler-dom@npm:^3.3.0": +"@vue/compiler-core@npm:3.4.27": + version: 3.4.27 + resolution: "@vue/compiler-core@npm:3.4.27" + dependencies: + "@babel/parser": "npm:^7.24.4" + "@vue/shared": "npm:3.4.27" + entities: "npm:^4.5.0" + estree-walker: "npm:^2.0.2" + source-map-js: "npm:^1.2.0" + checksum: 10/35e19f18ffc8658644b7ab023d732079db20444eccce537b68f10ea817ebb758d51a0d936bb2a374f54030f4910eb6c444892ece17eedf6a3e7201d5fcffb307 + languageName: node + linkType: hard + +"@vue/compiler-dom@npm:3.4.21, @vue/compiler-dom@npm:^3.2.0": version: 3.4.21 resolution: "@vue/compiler-dom@npm:3.4.21" dependencies: @@ -4080,6 +4077,16 @@ __metadata: languageName: node linkType: hard +"@vue/compiler-dom@npm:^3.4.0": + version: 3.4.27 + resolution: "@vue/compiler-dom@npm:3.4.27" + dependencies: + "@vue/compiler-core": "npm:3.4.27" + "@vue/shared": "npm:3.4.27" + checksum: 10/0332b0b5480ba063f59e45d60b7c73a95481b5c6c9356bac4957dd47303e3242b349a37c8be1215db115d6ea7b3e834bdc5c05ad9dffb225dac7a9b5ce2c5f2a + languageName: node + linkType: hard + "@vue/compiler-sfc@npm:3.4.21, @vue/compiler-sfc@npm:^3.2.0": version: 3.4.21 resolution: "@vue/compiler-sfc@npm:3.4.21" @@ -4107,17 +4114,15 @@ __metadata: languageName: node linkType: hard -"@vue/language-core@npm:1.8.27": - version: 1.8.27 - resolution: "@vue/language-core@npm:1.8.27" +"@vue/language-core@npm:2.0.21": + version: 2.0.21 + resolution: "@vue/language-core@npm:2.0.21" dependencies: - "@volar/language-core": "npm:~1.11.1" - "@volar/source-map": "npm:~1.11.1" - "@vue/compiler-dom": "npm:^3.3.0" - "@vue/shared": "npm:^3.3.0" + "@volar/language-core": "npm:~2.3.0-alpha.15" + "@vue/compiler-dom": "npm:^3.4.0" + "@vue/shared": "npm:^3.4.0" computeds: "npm:^0.0.1" minimatch: "npm:^9.0.3" - muggle-string: "npm:^0.3.1" path-browserify: "npm:^1.0.1" vue-template-compiler: "npm:^2.7.14" peerDependencies: @@ -4125,7 +4130,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/8ad4e129a334dd78b3ffc161615e4c303105f3e5f2478458eaea8db71d3b2b8081120d913464532d5b6c4f2c0611b2c5cb2a0f9a5f46ba6d5e9422d5d63ae71b + checksum: 10/686d73a3e391815ea9f19e9ee988fd2d747facb7523e6c063b293ba04a15fc184174003827da784d37e4823f32f21608676ffb5565dcfe1c9323ebf1a616b038 languageName: node linkType: hard @@ -4171,13 +4176,20 @@ __metadata: languageName: node linkType: hard -"@vue/shared@npm:3.4.21, @vue/shared@npm:^3.3.0": +"@vue/shared@npm:3.4.21": version: 3.4.21 resolution: "@vue/shared@npm:3.4.21" checksum: 10/38e8cca37437841717f92e562bf7ae1b07865d33f24b65b63e1a0107c75ab5a4584f0847317275bfeb03b3a7a06b7d9e68009d0588aab8c432715ac50f07f77a languageName: node linkType: hard +"@vue/shared@npm:3.4.27, @vue/shared@npm:^3.4.0": + version: 3.4.27 + resolution: "@vue/shared@npm:3.4.27" + checksum: 10/abb5d18f3e48509dd3029c6f02e329cfde772818857f568f1289126eddca3a0c5572c32f7477b80b5eedab9a56cb27ed13fc4132a01ec745d8da2cafa68d00db + languageName: node + linkType: hard + "@yarnpkg/esbuild-plugin-pnp@npm:^3.0.0-rc.10": version: 3.0.0-rc.15 resolution: "@yarnpkg/esbuild-plugin-pnp@npm:3.0.0-rc.15" @@ -4393,16 +4405,7 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:5.1.3": - version: 5.1.3 - resolution: "aria-query@npm:5.1.3" - dependencies: - deep-equal: "npm:^2.0.5" - checksum: 10/e5da608a7c4954bfece2d879342b6c218b6b207e2d9e5af270b5e38ef8418f02d122afdc948b68e32649b849a38377785252059090d66fa8081da95d1609c0d2 - languageName: node - linkType: hard - -"aria-query@npm:^5.0.0": +"aria-query@npm:5.3.0, aria-query@npm:^5.0.0": version: 5.3.0 resolution: "aria-query@npm:5.3.0" dependencies: @@ -4411,16 +4414,6 @@ __metadata: languageName: node linkType: hard -"array-buffer-byte-length@npm:^1.0.0": - version: 1.0.1 - resolution: "array-buffer-byte-length@npm:1.0.1" - dependencies: - call-bind: "npm:^1.0.5" - is-array-buffer: "npm:^3.0.4" - checksum: 10/53524e08f40867f6a9f35318fafe467c32e45e9c682ba67b11943e167344d2febc0f6977a17e699b05699e805c3e8f073d876f8bbf1b559ed494ad2cd0fae09e - languageName: node - linkType: hard - "array-flatten@npm:1.1.1": version: 1.1.1 resolution: "array-flatten@npm:1.1.1" @@ -4465,19 +4458,6 @@ __metadata: languageName: node linkType: hard -"assert@npm:^2.1.0": - version: 2.1.0 - resolution: "assert@npm:2.1.0" - dependencies: - call-bind: "npm:^1.0.2" - is-nan: "npm:^1.3.2" - object-is: "npm:^1.1.5" - object.assign: "npm:^4.1.4" - util: "npm:^0.12.5" - checksum: 10/6b9d813c8eef1c0ac13feac5553972e4bd180ae16000d4eb5c0ded2489188737c75a5aacefc97a985008b37502f62fe1bad34da1a7481a54bbfabec3964c8aa7 - languageName: node - linkType: hard - "assertion-error@npm:^1.1.0": version: 1.1.0 resolution: "assertion-error@npm:1.1.0" @@ -4822,7 +4802,7 @@ __metadata: languageName: node linkType: hard -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2, call-bind@npm:^1.0.5, call-bind@npm:^1.0.6, call-bind@npm:^1.0.7": +"call-bind@npm:^1.0.2, call-bind@npm:^1.0.7": version: 1.0.7 resolution: "call-bind@npm:1.0.7" dependencies: @@ -5095,6 +5075,13 @@ __metadata: languageName: node linkType: hard +"comment-parser@npm:^1.4.1": + version: 1.4.1 + resolution: "comment-parser@npm:1.4.1" + checksum: 10/16a3260b5e77819ebd9c99b0b65c7d6723b1ff73487bac9ce2d8f016a2847dd689e8663b88e1fad1444bbea89847c42f785708ac86a2c55f614f7095249bbf6b + languageName: node + linkType: hard + "common-tags@npm:^1.8.0": version: 1.8.2 resolution: "common-tags@npm:1.8.2" @@ -5194,10 +5181,10 @@ __metadata: languageName: node linkType: hard -"cookie@npm:0.5.0": - version: 0.5.0 - resolution: "cookie@npm:0.5.0" - checksum: 10/aae7911ddc5f444a9025fbd979ad1b5d60191011339bce48e555cb83343d0f98b865ff5c4d71fecdfb8555a5cafdc65632f6fce172f32aaf6936830a883a0380 +"cookie@npm:0.6.0": + version: 0.6.0 + resolution: "cookie@npm:0.6.0" + checksum: 10/c1f8f2ea7d443b9331680598b0ae4e6af18a618c37606d1bbdc75bec8361cce09fe93e727059a673f2ba24467131a9fb5a4eec76bb1b149c1b3e1ccb268dc583 languageName: node linkType: hard @@ -5244,10 +5231,12 @@ __metadata: languageName: node linkType: hard -"crypto-random-string@npm:^2.0.0": - version: 2.0.0 - resolution: "crypto-random-string@npm:2.0.0" - checksum: 10/0283879f55e7c16fdceacc181f87a0a65c53bc16ffe1d58b9d19a6277adcd71900d02bb2c4843dd55e78c51e30e89b0fec618a7f170ebcc95b33182c28f05fd6 +"crypto-random-string@npm:^4.0.0": + version: 4.0.0 + resolution: "crypto-random-string@npm:4.0.0" + dependencies: + type-fest: "npm:^1.0.1" + checksum: 10/cd5d7ae13803de53680aaed4c732f67209af5988cbeec5f6b29082020347c2d8849ca921b2008be7d6bd1d9d198c3c3697e7441d6d0d3da1bf51e9e4d2032149 languageName: node linkType: hard @@ -5379,32 +5368,6 @@ __metadata: languageName: node linkType: hard -"deep-equal@npm:^2.0.5": - version: 2.2.3 - resolution: "deep-equal@npm:2.2.3" - dependencies: - array-buffer-byte-length: "npm:^1.0.0" - call-bind: "npm:^1.0.5" - es-get-iterator: "npm:^1.1.3" - get-intrinsic: "npm:^1.2.2" - is-arguments: "npm:^1.1.1" - is-array-buffer: "npm:^3.0.2" - is-date-object: "npm:^1.0.5" - is-regex: "npm:^1.1.4" - is-shared-array-buffer: "npm:^1.0.2" - isarray: "npm:^2.0.5" - object-is: "npm:^1.1.5" - object-keys: "npm:^1.1.1" - object.assign: "npm:^4.1.4" - regexp.prototype.flags: "npm:^1.5.1" - side-channel: "npm:^1.0.4" - which-boxed-primitive: "npm:^1.0.2" - which-collection: "npm:^1.0.1" - which-typed-array: "npm:^1.1.13" - checksum: 10/1ce49d0b71d0f14d8ef991a742665eccd488dfc9b3cada069d4d7a86291e591c92d2589c832811dea182b4015736b210acaaebce6184be356c1060d176f5a05f - languageName: node - linkType: hard - "deep-is@npm:^0.1.3": version: 0.1.4 resolution: "deep-is@npm:0.1.4" @@ -5431,7 +5394,7 @@ __metadata: languageName: node linkType: hard -"define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.4": +"define-data-property@npm:^1.1.4": version: 1.1.4 resolution: "define-data-property@npm:1.1.4" dependencies: @@ -5449,17 +5412,6 @@ __metadata: languageName: node linkType: hard -"define-properties@npm:^1.1.3, define-properties@npm:^1.2.1": - version: 1.2.1 - resolution: "define-properties@npm:1.2.1" - dependencies: - define-data-property: "npm:^1.0.1" - has-property-descriptors: "npm:^1.0.0" - object-keys: "npm:^1.1.1" - checksum: 10/b4ccd00597dd46cb2d4a379398f5b19fca84a16f3374e2249201992f36b30f6835949a9429669ee6b41b6e837205a163eadd745e472069e70dfc10f03e5fcc12 - languageName: node - linkType: hard - "defu@npm:^6.1.3": version: 6.1.4 resolution: "defu@npm:6.1.4" @@ -5467,22 +5419,6 @@ __metadata: languageName: node linkType: hard -"del@npm:^6.0.0": - version: 6.1.1 - resolution: "del@npm:6.1.1" - dependencies: - globby: "npm:^11.0.1" - graceful-fs: "npm:^4.2.4" - is-glob: "npm:^4.0.1" - is-path-cwd: "npm:^2.2.0" - is-path-inside: "npm:^3.0.2" - p-map: "npm:^4.0.0" - rimraf: "npm:^3.0.2" - slash: "npm:^3.0.0" - checksum: 10/563288b73b8b19a7261c47fd21a330eeab6e2acd7c6208c49790dfd369127120dd7836cdf0c1eca216b77c94782a81507eac6b4734252d3bef2795cb366996b6 - languageName: node - linkType: hard - "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -5650,14 +5586,14 @@ __metadata: languageName: node linkType: hard -"ejs@npm:^3.1.8": - version: 3.1.9 - resolution: "ejs@npm:3.1.9" +"ejs@npm:^3.1.10": + version: 3.1.10 + resolution: "ejs@npm:3.1.10" dependencies: jake: "npm:^10.8.5" bin: ejs: bin/cli.js - checksum: 10/71f56d37540d2c2d71701f0116710c676f75314a3e997ef8b83515d5d4d2b111c5a72725377caeecb928671bacb84a0d38135f345904812e989847057d59f21a + checksum: 10/a9cb7d7cd13b7b1cd0be5c4788e44dd10d92f7285d2f65b942f33e127230c054f99a42db4d99f766d8dbc6c57e94799593ee66a14efd7c8dd70c4812bf6aa384 languageName: node linkType: hard @@ -5772,23 +5708,6 @@ __metadata: languageName: node linkType: hard -"es-get-iterator@npm:^1.1.3": - version: 1.1.3 - resolution: "es-get-iterator@npm:1.1.3" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.3" - has-symbols: "npm:^1.0.3" - is-arguments: "npm:^1.1.1" - is-map: "npm:^2.0.2" - is-set: "npm:^2.0.2" - is-string: "npm:^1.0.7" - isarray: "npm:^2.0.5" - stop-iteration-iterator: "npm:^1.0.0" - checksum: 10/bc2194befbe55725f9489098626479deee3c801eda7e83ce0dff2eb266a28dc808edb9b623ff01d31ebc1328f09d661333d86b601036692c2e3c1a6942319433 - languageName: node - linkType: hard - "es-module-lexer@npm:^1.5.0": version: 1.5.0 resolution: "es-module-lexer@npm:1.5.0" @@ -6255,16 +6174,16 @@ __metadata: languageName: node linkType: hard -"express@npm:^4.17.3": - version: 4.18.3 - resolution: "express@npm:4.18.3" +"express@npm:^4.19.2": + version: 4.19.2 + resolution: "express@npm:4.19.2" dependencies: accepts: "npm:~1.3.8" array-flatten: "npm:1.1.1" body-parser: "npm:1.20.2" content-disposition: "npm:0.5.4" content-type: "npm:~1.0.4" - cookie: "npm:0.5.0" + cookie: "npm:0.6.0" cookie-signature: "npm:1.0.6" debug: "npm:2.6.9" depd: "npm:2.0.0" @@ -6290,7 +6209,7 @@ __metadata: type-is: "npm:~1.6.18" utils-merge: "npm:1.0.1" vary: "npm:~1.1.2" - checksum: 10/0bf4656d0020cdc477aec884c6245dceea78992f6c747c899c87dbb0598474658d4130a29c80f02c99d1f0d6ebef706e7131c70c5454c3e07aba761c5bd3d627 + checksum: 10/3fcd792536f802c059789ef48db3851b87e78fba103423e524144d79af37da7952a2b8d4e1a007f423329c7377d686d9476ac42e7d9ea413b80345d495e30a3a languageName: node linkType: hard @@ -6697,13 +6616,6 @@ __metadata: languageName: node linkType: hard -"functions-have-names@npm:^1.2.3": - version: 1.2.3 - resolution: "functions-have-names@npm:1.2.3" - checksum: 10/0ddfd3ed1066a55984aaecebf5419fbd9344a5c38dd120ffb0739fac4496758dcf371297440528b115e4367fc46e3abc86a2cc0ff44612181b175ae967a11a05 - languageName: node - linkType: hard - "gensync@npm:^1.0.0-beta.2": version: 1.0.0-beta.2 resolution: "gensync@npm:1.0.0-beta.2" @@ -6718,7 +6630,7 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2, get-intrinsic@npm:^1.2.4": +"get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.4": version: 1.2.4 resolution: "get-intrinsic@npm:1.2.4" dependencies: @@ -6890,7 +6802,7 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.1, globby@npm:^11.1.0": +"globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -6975,13 +6887,6 @@ __metadata: languageName: node linkType: hard -"has-bigints@npm:^1.0.1": - version: 1.0.2 - resolution: "has-bigints@npm:1.0.2" - checksum: 10/4e0426c900af034d12db14abfece02ce7dbf53f2022d28af1a97913ff4c07adb8799476d57dc44fbca0e07d1dbda2a042c2928b1f33d3f09c15de0640a7fb81b - languageName: node - linkType: hard - "has-flag@npm:^3.0.0": version: 3.0.0 resolution: "has-flag@npm:3.0.0" @@ -6996,7 +6901,7 @@ __metadata: languageName: node linkType: hard -"has-property-descriptors@npm:^1.0.0, has-property-descriptors@npm:^1.0.2": +"has-property-descriptors@npm:^1.0.2": version: 1.0.2 resolution: "has-property-descriptors@npm:1.0.2" dependencies: @@ -7012,7 +6917,7 @@ __metadata: languageName: node linkType: hard -"has-symbols@npm:^1.0.2, has-symbols@npm:^1.0.3": +"has-symbols@npm:^1.0.3": version: 1.0.3 resolution: "has-symbols@npm:1.0.3" checksum: 10/464f97a8202a7690dadd026e6d73b1ceeddd60fe6acfd06151106f050303eaa75855aaa94969df8015c11ff7c505f196114d22f7386b4a471038da5874cf5e9b @@ -7239,17 +7144,6 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.4": - version: 1.0.7 - resolution: "internal-slot@npm:1.0.7" - dependencies: - es-errors: "npm:^1.3.0" - hasown: "npm:^2.0.0" - side-channel: "npm:^1.0.4" - checksum: 10/3e66720508831153ecf37d13def9f6856f9f2960989ec8a0a0476c98f887fca9eff0163127466485cb825c900c2d6fc601aa9117b7783b90ffce23a71ea5d053 - languageName: node - linkType: hard - "invariant@npm:^2.2.4": version: 2.2.4 resolution: "invariant@npm:2.2.4" @@ -7269,13 +7163,6 @@ __metadata: languageName: node linkType: hard -"ip@npm:^2.0.1": - version: 2.0.1 - resolution: "ip@npm:2.0.1" - checksum: 10/d6dd154e1bc5e8725adfdd6fb92218635b9cbe6d873d051bd63b178f009777f751a5eea4c67021723a7056325fc3052f8b6599af0a2d56f042c93e684b4a0349 - languageName: node - linkType: hard - "ipaddr.js@npm:1.9.1": version: 1.9.1 resolution: "ipaddr.js@npm:1.9.1" @@ -7290,7 +7177,7 @@ __metadata: languageName: node linkType: hard -"is-arguments@npm:^1.0.4, is-arguments@npm:^1.1.1": +"is-arguments@npm:^1.0.4": version: 1.1.1 resolution: "is-arguments@npm:1.1.1" dependencies: @@ -7300,16 +7187,6 @@ __metadata: languageName: node linkType: hard -"is-array-buffer@npm:^3.0.2, is-array-buffer@npm:^3.0.4": - version: 3.0.4 - resolution: "is-array-buffer@npm:3.0.4" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.1" - checksum: 10/34a26213d981d58b30724ef37a1e0682f4040d580fa9ff58fdfdd3cefcb2287921718c63971c1c404951e7b747c50fdc7caf6e867e951353fa71b369c04c969b - languageName: node - linkType: hard - "is-arrayish@npm:^0.2.1": version: 0.2.1 resolution: "is-arrayish@npm:0.2.1" @@ -7317,15 +7194,6 @@ __metadata: languageName: node linkType: hard -"is-bigint@npm:^1.0.1": - version: 1.0.4 - resolution: "is-bigint@npm:1.0.4" - dependencies: - has-bigints: "npm:^1.0.1" - checksum: 10/cc981cf0564c503aaccc1e5f39e994ae16ae2d1a8fcd14721f14ad431809071f39ec568cfceef901cff408045f1a6d6bac90d1b43eeb0b8e3bc34c8eb1bdb4c4 - languageName: node - linkType: hard - "is-binary-path@npm:~2.1.0": version: 2.1.0 resolution: "is-binary-path@npm:2.1.0" @@ -7335,16 +7203,6 @@ __metadata: languageName: node linkType: hard -"is-boolean-object@npm:^1.1.0": - version: 1.1.2 - resolution: "is-boolean-object@npm:1.1.2" - dependencies: - call-bind: "npm:^1.0.2" - has-tostringtag: "npm:^1.0.0" - checksum: 10/ba794223b56a49a9f185e945eeeb6b7833b8ea52a335cec087d08196cf27b538940001615d3bb976511287cefe94e5907d55f00bb49580533f9ca9b4515fcc2e - languageName: node - linkType: hard - "is-callable@npm:^1.1.3": version: 1.2.7 resolution: "is-callable@npm:1.2.7" @@ -7372,15 +7230,6 @@ __metadata: languageName: node linkType: hard -"is-date-object@npm:^1.0.5": - version: 1.0.5 - resolution: "is-date-object@npm:1.0.5" - dependencies: - has-tostringtag: "npm:^1.0.0" - checksum: 10/cc80b3a4b42238fa0d358b9a6230dae40548b349e64a477cb7c5eff9b176ba194c11f8321daaf6dd157e44073e9b7fd01f87db1f14952a88d5657acdcd3a56e2 - languageName: node - linkType: hard - "is-deflate@npm:^1.0.0": version: 1.0.0 resolution: "is-deflate@npm:1.0.0" @@ -7470,32 +7319,6 @@ __metadata: languageName: node linkType: hard -"is-map@npm:^2.0.2, is-map@npm:^2.0.3": - version: 2.0.3 - resolution: "is-map@npm:2.0.3" - checksum: 10/8de7b41715b08bcb0e5edb0fb9384b80d2d5bcd10e142188f33247d19ff078abaf8e9b6f858e2302d8d05376a26a55cd23a3c9f8ab93292b02fcd2cc9e4e92bb - languageName: node - linkType: hard - -"is-nan@npm:^1.3.2": - version: 1.3.2 - resolution: "is-nan@npm:1.3.2" - dependencies: - call-bind: "npm:^1.0.0" - define-properties: "npm:^1.1.3" - checksum: 10/1f784d3472c09bc2e47acba7ffd4f6c93b0394479aa613311dc1d70f1bfa72eb0846c81350967722c959ba65811bae222204d6c65856fdce68f31986140c7b0e - languageName: node - linkType: hard - -"is-number-object@npm:^1.0.4": - version: 1.0.7 - resolution: "is-number-object@npm:1.0.7" - dependencies: - has-tostringtag: "npm:^1.0.0" - checksum: 10/8700dcf7f602e0a9625830541345b8615d04953655acbf5c6d379c58eb1af1465e71227e95d501343346e1d49b6f2d53cbc166b1fc686a7ec19151272df582f9 - languageName: node - linkType: hard - "is-number@npm:^7.0.0": version: 7.0.0 resolution: "is-number@npm:7.0.0" @@ -7503,13 +7326,6 @@ __metadata: languageName: node linkType: hard -"is-path-cwd@npm:^2.2.0": - version: 2.2.0 - resolution: "is-path-cwd@npm:2.2.0" - checksum: 10/46a840921bb8cc0dc7b5b423a14220e7db338072a4495743a8230533ce78812dc152548c86f4b828411fe98c5451959f07cf841c6a19f611e46600bd699e8048 - languageName: node - linkType: hard - "is-path-inside@npm:^3.0.2, is-path-inside@npm:^3.0.3": version: 3.0.3 resolution: "is-path-inside@npm:3.0.3" @@ -7533,7 +7349,7 @@ __metadata: languageName: node linkType: hard -"is-regex@npm:^1.0.3, is-regex@npm:^1.1.4": +"is-regex@npm:^1.0.3": version: 1.1.4 resolution: "is-regex@npm:1.1.4" dependencies: @@ -7543,22 +7359,6 @@ __metadata: languageName: node linkType: hard -"is-set@npm:^2.0.2, is-set@npm:^2.0.3": - version: 2.0.3 - resolution: "is-set@npm:2.0.3" - checksum: 10/5685df33f0a4a6098a98c72d94d67cad81b2bc72f1fb2091f3d9283c4a1c582123cd709145b02a9745f0ce6b41e3e43f1c944496d1d74d4ea43358be61308669 - languageName: node - linkType: hard - -"is-shared-array-buffer@npm:^1.0.2": - version: 1.0.3 - resolution: "is-shared-array-buffer@npm:1.0.3" - dependencies: - call-bind: "npm:^1.0.7" - checksum: 10/bc5402900dc62b96ebb2548bf5b0a0bcfacc2db122236fe3ab3b3e3c884293a0d5eb777e73f059bcbf8dc8563bb65eae972fee0fb97e38a9ae27c8678f62bcfe - languageName: node - linkType: hard - "is-stream@npm:^2.0.0": version: 2.0.1 resolution: "is-stream@npm:2.0.1" @@ -7573,24 +7373,6 @@ __metadata: languageName: node linkType: hard -"is-string@npm:^1.0.5, is-string@npm:^1.0.7": - version: 1.0.7 - resolution: "is-string@npm:1.0.7" - dependencies: - has-tostringtag: "npm:^1.0.0" - checksum: 10/2bc292fe927493fb6dfc3338c099c3efdc41f635727c6ebccf704aeb2a27bca7acb9ce6fd34d103db78692b10b22111a8891de26e12bfa1c5e11e263c99d1fef - languageName: node - linkType: hard - -"is-symbol@npm:^1.0.3": - version: 1.0.4 - resolution: "is-symbol@npm:1.0.4" - dependencies: - has-symbols: "npm:^1.0.2" - checksum: 10/a47dd899a84322528b71318a89db25c7ecdec73197182dad291df15ffea501e17e3c92c8de0bfb50e63402747399981a687b31c519971b1fa1a27413612be929 - languageName: node - linkType: hard - "is-typed-array@npm:^1.1.3": version: 1.1.13 resolution: "is-typed-array@npm:1.1.13" @@ -7614,23 +7396,6 @@ __metadata: languageName: node linkType: hard -"is-weakmap@npm:^2.0.2": - version: 2.0.2 - resolution: "is-weakmap@npm:2.0.2" - checksum: 10/a7b7e23206c542dcf2fa0abc483142731788771527e90e7e24f658c0833a0d91948a4f7b30d78f7a65255a48512e41a0288b778ba7fc396137515c12e201fd11 - languageName: node - linkType: hard - -"is-weakset@npm:^2.0.3": - version: 2.0.3 - resolution: "is-weakset@npm:2.0.3" - dependencies: - call-bind: "npm:^1.0.7" - get-intrinsic: "npm:^1.2.4" - checksum: 10/40159582ff1b44fc40085f631baf19f56479b05af2faede65b4e6a0b6acab745c13fd070e35b475aafd8a1ee50879ba5a3f1265125b46bebdb446b6be1f62165 - languageName: node - linkType: hard - "is-wsl@npm:^2.2.0": version: 2.2.0 resolution: "is-wsl@npm:2.2.0" @@ -7640,13 +7405,6 @@ __metadata: languageName: node linkType: hard -"isarray@npm:^2.0.5": - version: 2.0.5 - resolution: "isarray@npm:2.0.5" - checksum: 10/1d8bc7911e13bb9f105b1b3e0b396c787a9e63046af0b8fe0ab1414488ab06b2b099b87a2d8a9e31d21c9a6fad773c7fc8b257c4880f2d957274479d28ca3414 - languageName: node - linkType: hard - "isarray@npm:~1.0.0": version: 1.0.0 resolution: "isarray@npm:1.0.0" @@ -7783,6 +7541,13 @@ __metadata: languageName: node linkType: hard +"jsdoc-type-pratt-parser@npm:^4.0.0": + version: 4.0.0 + resolution: "jsdoc-type-pratt-parser@npm:4.0.0" + checksum: 10/a225ab874e56612730dd6c0466ce9f09e8a0e7d85896e9e5f0fa53cfb2e897128a7ec702fd99ed3854b3fbf5a89ad6dce72ca4f4f6149da69f130c2874f06b75 + languageName: node + linkType: hard + "jsesc@npm:^2.5.1": version: 2.5.2 resolution: "jsesc@npm:2.5.2" @@ -7843,7 +7608,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:^2.2.3": +"json5@npm:^2.2.2, json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" bin: @@ -8166,12 +7931,12 @@ __metadata: languageName: node linkType: hard -"markdown-to-jsx@npm:7.3.2": - version: 7.3.2 - resolution: "markdown-to-jsx@npm:7.3.2" +"markdown-to-jsx@npm:^7.4.5": + version: 7.4.7 + resolution: "markdown-to-jsx@npm:7.4.7" peerDependencies: react: ">= 0.14.0" - checksum: 10/5a7ca9d04dfe180ea32baac94b471678053843da0be941a84ff7570a26f3afd8876d3bcc8fec8ee8aa68d157615f293f87b93c1d0f64945181bc218d61ee4494 + checksum: 10/d421f561a57256164564f4b4ac1c3439493f7b88d46ca8d1ed429e481a199a8756591e180d401654c0826ccabe9e76ce4fb97286a0b3c43a7a6346c735778b2b languageName: node linkType: hard @@ -8302,7 +8067,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.5, minimist@npm:^1.2.8": +"minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.8": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 10/908491b6cc15a6c440ba5b22780a0ba89b9810e1aea684e253e43c4e3b8d56ec1dcdd7ea96dde119c29df59c936cde16062159eae4225c691e19c70b432b6e6f @@ -8430,10 +8195,10 @@ __metadata: languageName: node linkType: hard -"muggle-string@npm:^0.3.1": - version: 0.3.1 - resolution: "muggle-string@npm:0.3.1" - checksum: 10/f2357f906e0160b7df0179c77838cf859f3ca23cb74eca7c043b9fc9e1e416d91497c80fbe2f3c9aeb003c14ad15857fc4e94f1631e8a6695b07e4135626d305 +"muggle-string@npm:^0.4.0": + version: 0.4.1 + resolution: "muggle-string@npm:0.4.1" + checksum: 10/8fa2ea08f497c04069718bd3fd1909b382114dacbad832d10967ca72690de43f5f8492d8ccfbf827d6be63868ed5fc10395e7b7c082aa95997eea498586c6620 languageName: node linkType: hard @@ -8601,35 +8366,6 @@ __metadata: languageName: node linkType: hard -"object-is@npm:^1.1.5": - version: 1.1.6 - resolution: "object-is@npm:1.1.6" - dependencies: - call-bind: "npm:^1.0.7" - define-properties: "npm:^1.2.1" - checksum: 10/4f6f544773a595da21c69a7531e0e1d6250670f4e09c55f47eb02c516035cfcb1b46ceb744edfd3ecb362309dbccb6d7f88e43bf42e4d4595ac10a329061053a - languageName: node - linkType: hard - -"object-keys@npm:^1.1.1": - version: 1.1.1 - resolution: "object-keys@npm:1.1.1" - checksum: 10/3d81d02674115973df0b7117628ea4110d56042e5326413e4b4313f0bcdf7dd78d4a3acef2c831463fa3796a66762c49daef306f4a0ea1af44877d7086d73bde - languageName: node - linkType: hard - -"object.assign@npm:^4.1.4": - version: 4.1.5 - resolution: "object.assign@npm:4.1.5" - dependencies: - call-bind: "npm:^1.0.5" - define-properties: "npm:^1.2.1" - has-symbols: "npm:^1.0.3" - object-keys: "npm:^1.1.1" - checksum: 10/dbb22da4cda82e1658349ea62b80815f587b47131b3dd7a4ab7f84190ab31d206bbd8fe7e26ae3220c55b65725ac4529825f6142154211220302aa6b1518045d - languageName: node - linkType: hard - "ohash@npm:^1.1.3": version: 1.1.3 resolution: "ohash@npm:1.1.3" @@ -9049,7 +8785,7 @@ __metadata: "@storybook/test": "npm:^8.0.0" "@storybook/vue3": "npm:^8.0.0" "@storybook/vue3-vite": "npm:^8.0.0" - "@testing-library/jest-dom": "npm:^6.4.2" + "@testing-library/jest-dom": "npm:6.4.5" "@typescript-eslint/eslint-plugin": "npm:^6.21.0" "@typescript-eslint/parser": "npm:^6.21.0" "@vitejs/plugin-vue": "npm:^5.0.4" @@ -9649,18 +9385,6 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.5.1": - version: 1.5.2 - resolution: "regexp.prototype.flags@npm:1.5.2" - dependencies: - call-bind: "npm:^1.0.6" - define-properties: "npm:^1.2.1" - es-errors: "npm:^1.3.0" - set-function-name: "npm:^2.0.1" - checksum: 10/9fffc01da9c4e12670ff95bc5204364615fcc12d86fc30642765af908675678ebb0780883c874b2dbd184505fb52fa603d80073ecf69f461ce7f56b15d10be9c - languageName: node - linkType: hard - "regexpu-core@npm:^5.3.1": version: 5.3.2 resolution: "regexpu-core@npm:5.3.2" @@ -10007,18 +9731,6 @@ __metadata: languageName: node linkType: hard -"set-function-name@npm:^2.0.1": - version: 2.0.2 - resolution: "set-function-name@npm:2.0.2" - dependencies: - define-data-property: "npm:^1.1.4" - es-errors: "npm:^1.3.0" - functions-have-names: "npm:^1.2.3" - has-property-descriptors: "npm:^1.0.2" - checksum: 10/c7614154a53ebf8c0428a6c40a3b0b47dac30587c1a19703d1b75f003803f73cdfa6a93474a9ba678fa565ef5fbddc2fae79bca03b7d22ab5fd5163dbe571a74 - languageName: node - linkType: hard - "setprototypeof@npm:1.2.0": version: 1.2.0 resolution: "setprototypeof@npm:1.2.0" @@ -10155,6 +9867,13 @@ __metadata: languageName: node linkType: hard +"source-map-js@npm:^1.2.0": + version: 1.2.0 + resolution: "source-map-js@npm:1.2.0" + checksum: 10/74f331cfd2d121c50790c8dd6d3c9de6be21926de80583b23b37029b0f37aefc3e019fa91f9a10a5e120c08135297e1ecf312d561459c45908cb1e0e365f49e5 + languageName: node + linkType: hard + "source-map-support@npm:^0.5.16": version: 0.5.21 resolution: "source-map-support@npm:0.5.21" @@ -10257,15 +9976,6 @@ __metadata: languageName: node linkType: hard -"stop-iteration-iterator@npm:^1.0.0": - version: 1.0.0 - resolution: "stop-iteration-iterator@npm:1.0.0" - dependencies: - internal-slot: "npm:^1.0.4" - checksum: 10/2a23a36f4f6bfa63f46ae2d53a3f80fe8276110b95a55345d8ed3d92125413494033bc8697eb774e8f7aeb5725f70e3d69753caa2ecacdac6258c16fa8aa8b0f - languageName: node - linkType: hard - "store2@npm:^2.14.2": version: 2.14.3 resolution: "store2@npm:2.14.3" @@ -10349,6 +10059,13 @@ __metadata: languageName: node linkType: hard +"strip-bom@npm:^3.0.0": + version: 3.0.0 + resolution: "strip-bom@npm:3.0.0" + checksum: 10/8d50ff27b7ebe5ecc78f1fe1e00fcdff7af014e73cf724b46fb81ef889eeb1015fc5184b64e81a2efe002180f3ba431bdd77e300da5c6685d702780fbf0c8d5b + languageName: node + linkType: hard + "strip-final-newline@npm:^2.0.0": version: 2.0.0 resolution: "strip-final-newline@npm:2.0.0" @@ -10461,10 +10178,10 @@ __metadata: languageName: node linkType: hard -"temp-dir@npm:^2.0.0": - version: 2.0.0 - resolution: "temp-dir@npm:2.0.0" - checksum: 10/cc4f0404bf8d6ae1a166e0e64f3f409b423f4d1274d8c02814a59a5529f07db6cd070a749664141b992b2c1af337fa9bb451a460a43bb9bcddc49f235d3115aa +"temp-dir@npm:^3.0.0": + version: 3.0.0 + resolution: "temp-dir@npm:3.0.0" + checksum: 10/577211e995d1d584dd60f1469351d45e8a5b4524e4a9e42d3bdd12cfde1d0bb8f5898311bef24e02aaafb69514c1feb58c7b4c33dcec7129da3b0861a4ca935b languageName: node linkType: hard @@ -10477,16 +10194,15 @@ __metadata: languageName: node linkType: hard -"tempy@npm:^1.0.1": - version: 1.0.1 - resolution: "tempy@npm:1.0.1" +"tempy@npm:^3.1.0": + version: 3.1.0 + resolution: "tempy@npm:3.1.0" dependencies: - del: "npm:^6.0.0" - is-stream: "npm:^2.0.0" - temp-dir: "npm:^2.0.0" - type-fest: "npm:^0.16.0" - unique-string: "npm:^2.0.0" - checksum: 10/e3a3857cd102db84c484b8e878203b496f0e927025b7c60dd118c0c9a0962f4589321c6b3093185d529576af5c58be65d755e72c2a6ad009ff340ab8cbbe4d33 + is-stream: "npm:^3.0.0" + temp-dir: "npm:^3.0.0" + type-fest: "npm:^2.12.2" + unique-string: "npm:^3.0.0" + checksum: 10/f5540bc24dcd9d41ab0b31e9eed73c3ef825080f1c8b1e854e4b73059155c889f72f5f7c15e8cd462d59aa10c9726e423c81d6a365d614b538c6cc78a1209cc6 languageName: node linkType: hard @@ -10621,6 +10337,17 @@ __metadata: languageName: node linkType: hard +"tsconfig-paths@npm:^4.2.0": + version: 4.2.0 + resolution: "tsconfig-paths@npm:4.2.0" + dependencies: + json5: "npm:^2.2.2" + minimist: "npm:^1.2.6" + strip-bom: "npm:^3.0.0" + checksum: 10/5e55cc2fb6b800eb72011522e10edefccb45b1f9af055681a51354c9b597d1390c6fa9cc356b8c7529f195ac8a90a78190d563159f3a1eed10e01bbd4d01a8ab + languageName: node + linkType: hard + "tslib@npm:^1.13.0, tslib@npm:^1.8.1": version: 1.14.1 resolution: "tslib@npm:1.14.1" @@ -10678,13 +10405,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.16.0": - version: 0.16.0 - resolution: "type-fest@npm:0.16.0" - checksum: 10/fd8c47ccb90e9fe7bae8bfc0e116e200e096120200c1ab1737bf0bc9334b344dd4925f876ed698174ffd58cd179bb56a55467be96aedc22d5d72748eac428bc8 - languageName: node - linkType: hard - "type-fest@npm:^0.20.2": version: 0.20.2 resolution: "type-fest@npm:0.20.2" @@ -10713,7 +10433,14 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^2.19.0, type-fest@npm:~2.19": +"type-fest@npm:^1.0.1": + version: 1.4.0 + resolution: "type-fest@npm:1.4.0" + checksum: 10/89875c247564601c2650bacad5ff80b859007fbdb6c9e43713ae3ffa3f584552eea60f33711dd762e16496a1ab4debd409822627be14097d9a17e39c49db591a + languageName: node + linkType: hard + +"type-fest@npm:^2.12.2, type-fest@npm:^2.19.0, type-fest@npm:~2.19": version: 2.19.0 resolution: "type-fest@npm:2.19.0" checksum: 10/7bf9e8fdf34f92c8bb364c0af14ca875fac7e0183f2985498b77be129dc1b3b1ad0a6b3281580f19e48c6105c037fb966ad9934520c69c6434d17fd0af4eed78 @@ -10829,12 +10556,12 @@ __metadata: languageName: node linkType: hard -"unique-string@npm:^2.0.0": - version: 2.0.0 - resolution: "unique-string@npm:2.0.0" +"unique-string@npm:^3.0.0": + version: 3.0.0 + resolution: "unique-string@npm:3.0.0" dependencies: - crypto-random-string: "npm:^2.0.0" - checksum: 10/107cae65b0b618296c2c663b8e52e4d1df129e9af04ab38d53b4f2189e96da93f599c85f4589b7ffaf1a11c9327cbb8a34f04c71b8d4950d3e385c2da2a93828 + crypto-random-string: "npm:^4.0.0" + checksum: 10/1a1e2e7d02eab1bb10f720475da735e1990c8a5ff34edd1a3b6bc31590cb4210b7a1233d779360cc622ce11c211e43afa1628dd658f35d3e6a89964b622940df languageName: node linkType: hard @@ -10979,7 +10706,7 @@ __metadata: languageName: node linkType: hard -"util@npm:^0.12.4, util@npm:^0.12.5": +"util@npm:^0.12.4": version: 0.12.5 resolution: "util@npm:0.12.5" dependencies: @@ -11092,27 +10819,34 @@ __metadata: languageName: node linkType: hard -"vue-component-meta@npm:^1.8.27": - version: 1.8.27 - resolution: "vue-component-meta@npm:1.8.27" +"vscode-uri@npm:^3.0.8": + version: 3.0.8 + resolution: "vscode-uri@npm:3.0.8" + checksum: 10/e882d6b679e0d053cbc042893c0951a135d899a192b62cd07f0a8924f11ae722067a8d6b1b5b147034becf57faf9fff9fb543b17b749fd0f17db1f54f783f07c + languageName: node + linkType: hard + +"vue-component-meta@npm:^2.0.0": + version: 2.0.21 + resolution: "vue-component-meta@npm:2.0.21" dependencies: - "@volar/typescript": "npm:~1.11.1" - "@vue/language-core": "npm:1.8.27" + "@volar/typescript": "npm:~2.3.0-alpha.15" + "@vue/language-core": "npm:2.0.21" path-browserify: "npm:^1.0.1" - vue-component-type-helpers: "npm:1.8.27" + vue-component-type-helpers: "npm:2.0.21" peerDependencies: typescript: "*" peerDependenciesMeta: typescript: optional: true - checksum: 10/b81dd4cb26951d1678896cf2c82b856acf51ada2887cad66cc42042cec9d5c1af23b2789694691dd828b28bd9ca6b3594f4a73ac28ad529ee7b904497a02e2f9 + checksum: 10/c30f673e07851be2bd0cf1360d69d82c7717675ad58165a09771da2977e9e7eba70bf65261768dcb42947b84ae86ebde676caa317343ecaa62c0cd423d62e4f0 languageName: node linkType: hard -"vue-component-type-helpers@npm:1.8.27": - version: 1.8.27 - resolution: "vue-component-type-helpers@npm:1.8.27" - checksum: 10/71245a41a19c9e30af4a46e2a7b3a3caedc28cbafdfb6536b65ff5165347829d83756737d4770018ee92ea90803a5e6a8d42844d380c9de39b7652853fb20543 +"vue-component-type-helpers@npm:2.0.21": + version: 2.0.21 + resolution: "vue-component-type-helpers@npm:2.0.21" + checksum: 10/36001dfbeef24038b613f831ec554dc0f19de048f5d7d1ed1ca672c49735f09a0b5218dc976d4e0eb530886170251d92ce12b7aea19eb13179be07a5f9e94a42 languageName: node linkType: hard @@ -11232,32 +10966,7 @@ __metadata: languageName: node linkType: hard -"which-boxed-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "which-boxed-primitive@npm:1.0.2" - dependencies: - is-bigint: "npm:^1.0.1" - is-boolean-object: "npm:^1.1.0" - is-number-object: "npm:^1.0.4" - is-string: "npm:^1.0.5" - is-symbol: "npm:^1.0.3" - checksum: 10/9c7ca7855255f25ac47f4ce8b59c4cc33629e713fd7a165c9d77a2bb47bf3d9655a5664660c70337a3221cf96742f3589fae15a3a33639908d33e29aa2941efb - languageName: node - linkType: hard - -"which-collection@npm:^1.0.1": - version: 1.0.2 - resolution: "which-collection@npm:1.0.2" - dependencies: - is-map: "npm:^2.0.3" - is-set: "npm:^2.0.3" - is-weakmap: "npm:^2.0.2" - is-weakset: "npm:^2.0.3" - checksum: 10/674bf659b9bcfe4055f08634b48a8588e879161b9fefed57e9ec4ff5601e4d50a05ccd76cf10f698ef5873784e5df3223336d56c7ce88e13bcf52ebe582fc8d7 - languageName: node - linkType: hard - -"which-typed-array@npm:^1.1.13, which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.2": +"which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.2": version: 1.1.15 resolution: "which-typed-array@npm:1.1.15" dependencies: From 5a11ab12f592080acad32cb397964f77769af81a Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 11 Jun 2024 23:59:26 +0800 Subject: [PATCH 12/14] Code review --- .../src/modules/store/csf/composeConfigs.test.ts | 4 ++-- .../preview-api/src/modules/store/csf/composeConfigs.ts | 8 ++------ .../src/modules/store/csf/normalizeProjectAnnotations.ts | 5 +++-- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts b/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts index 612bb1bbcdc0..4e55cff4a669 100644 --- a/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts +++ b/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts @@ -114,7 +114,7 @@ describe('composeConfigs', () => { argTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, argTypesEnhancers: [], globals: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, - initialGlobals: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, + initialGlobals: {}, globalTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, loaders: [], beforeEach: [], @@ -154,7 +154,7 @@ describe('composeConfigs', () => { argTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, argTypesEnhancers: [], globals: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, - initialGlobals: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, + initialGlobals: {}, globalTypes: { x: '2', y: '1', z: '2', obj: { a: '2', c: '2' } }, loaders: [], beforeEach: [], diff --git a/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts b/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts index 434a12a03446..b6ed3ecd7551 100644 --- a/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts +++ b/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts @@ -42,10 +42,6 @@ export function composeConfigs( ): ProjectAnnotations { const allArgTypeEnhancers = getArrayField(moduleExportList, 'argTypesEnhancers'); const stepRunners = getField(moduleExportList, 'runStep'); - const initialGlobals = combineParameters( - getObjectField(moduleExportList, 'globals'), - getObjectField(moduleExportList, 'initialGlobals') - ); return { parameters: combineParameters(...getField(moduleExportList, 'parameters')), @@ -59,8 +55,8 @@ export function composeConfigs( ...allArgTypeEnhancers.filter((e) => !e.secondPass), ...allArgTypeEnhancers.filter((e) => e.secondPass), ], - globals: initialGlobals, // deprecated - initialGlobals, + globals: getObjectField(moduleExportList, 'globals'), + initialGlobals: getObjectField(moduleExportList, 'initialGlobals'), globalTypes: getObjectField(moduleExportList, 'globalTypes'), loaders: getArrayField(moduleExportList, 'loaders'), beforeEach: getArrayField(moduleExportList, 'beforeEach'), diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts index 6bfa3edbf025..52ce9f31ab22 100644 --- a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts +++ b/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts @@ -11,6 +11,7 @@ import { inferArgTypes } from '../inferArgTypes'; import { inferControls } from '../inferControls'; import { normalizeInputTypes } from './normalizeInputTypes'; import { normalizeArrays } from './normalizeArrays'; +import { combineParameters } from '../parameters'; export function normalizeProjectAnnotations({ argTypes, @@ -23,7 +24,7 @@ export function normalizeProjectAnnotations({ initialGlobals, ...annotations }: ProjectAnnotations): NormalizedProjectAnnotations { - if (!initialGlobals && globals) { + if (globals && Object.keys(globals).length > 0) { deprecate(dedent` The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. Please use 'initialGlobals' instead. Learn more: @@ -46,7 +47,7 @@ export function normalizeProjectAnnotations({ // compatibility reasons, we will leave this in the store until 7.0 inferControls, ], - initialGlobals: initialGlobals ?? globals, + initialGlobals: combineParameters(initialGlobals, globals), ...annotations, }; } From 32224e44cd9fbf20bdcee5d76d388a48f048ab82 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 11 Jun 2024 23:59:56 +0800 Subject: [PATCH 13/14] Convert addon globals to initialGlobals --- code/addons/backgrounds/src/preview.tsx | 2 +- code/addons/measure/src/preview.tsx | 2 +- code/addons/outline/src/preview.tsx | 2 +- code/addons/viewport/src/preview.ts | 2 +- code/addons/viewport/src/shortcuts.ts | 2 +- code/lib/preview-api/template/stories/preview.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/addons/backgrounds/src/preview.tsx b/code/addons/backgrounds/src/preview.tsx index 139575e7f259..57649aac1f2a 100644 --- a/code/addons/backgrounds/src/preview.tsx +++ b/code/addons/backgrounds/src/preview.tsx @@ -18,6 +18,6 @@ export const parameters = { }, }; -export const globals = { +export const initialGlobals = { [PARAM_KEY]: null as any, }; diff --git a/code/addons/measure/src/preview.tsx b/code/addons/measure/src/preview.tsx index 7f19a8ed973a..fc715035e742 100644 --- a/code/addons/measure/src/preview.tsx +++ b/code/addons/measure/src/preview.tsx @@ -4,6 +4,6 @@ import { PARAM_KEY } from './constants'; export const decorators: Addon_DecoratorFunction[] = [withMeasure]; -export const globals = { +export const initialGlobals = { [PARAM_KEY]: false, }; diff --git a/code/addons/outline/src/preview.tsx b/code/addons/outline/src/preview.tsx index b1d09e1a4920..28b187cbea4f 100644 --- a/code/addons/outline/src/preview.tsx +++ b/code/addons/outline/src/preview.tsx @@ -4,6 +4,6 @@ import { PARAM_KEY } from './constants'; export const decorators: Addon_DecoratorFunction[] = [withOutline]; -export const globals = { +export const initialGlobals = { [PARAM_KEY]: false, }; diff --git a/code/addons/viewport/src/preview.ts b/code/addons/viewport/src/preview.ts index afe0f1b5f0b4..a429414748df 100644 --- a/code/addons/viewport/src/preview.ts +++ b/code/addons/viewport/src/preview.ts @@ -1 +1 @@ -export const globals = { viewport: 'reset', viewportRotated: false }; +export const initialGlobals = { viewport: 'reset', viewportRotated: false }; diff --git a/code/addons/viewport/src/shortcuts.ts b/code/addons/viewport/src/shortcuts.ts index 974abe477d6d..17fd17dfdc66 100644 --- a/code/addons/viewport/src/shortcuts.ts +++ b/code/addons/viewport/src/shortcuts.ts @@ -1,6 +1,6 @@ import { type API } from '@storybook/manager-api'; import { ADDON_ID } from './constants'; -import { globals as defaultGlobals } from './preview'; +import { initialGlobals as defaultGlobals } from './preview'; const getCurrentViewportIndex = (viewportsKeys: string[], current: string): number => viewportsKeys.indexOf(current); diff --git a/code/lib/preview-api/template/stories/preview.ts b/code/lib/preview-api/template/stories/preview.ts index 3f479374e900..9286c5998952 100644 --- a/code/lib/preview-api/template/stories/preview.ts +++ b/code/lib/preview-api/template/stories/preview.ts @@ -19,7 +19,7 @@ export const decorators = [ }, ]; -export const globals = { +export const initialGlobals = { foo: 'fooValue', }; From 8dbd2d324c7b907c4ed1b103e31e2a09a4f41139 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Wed, 12 Jun 2024 06:37:39 +0800 Subject: [PATCH 14/14] update yarn.lock --- .../nextjs/yarn.lock | 182 +++++++++--------- .../svelte/yarn.lock | 18 +- 2 files changed, 100 insertions(+), 100 deletions(-) diff --git a/test-storybooks/portable-stories-kitchen-sink/nextjs/yarn.lock b/test-storybooks/portable-stories-kitchen-sink/nextjs/yarn.lock index a1ff99ef4ecd..b9f109dd2716 100644 --- a/test-storybooks/portable-stories-kitchen-sink/nextjs/yarn.lock +++ b/test-storybooks/portable-stories-kitchen-sink/nextjs/yarn.lock @@ -2833,7 +2833,7 @@ __metadata: "@storybook/addon-actions@file:../../../code/addons/actions::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-actions@file:../../../code/addons/actions#../../../code/addons/actions::hash=5876f9&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-actions@file:../../../code/addons/actions#../../../code/addons/actions::hash=b3dd41&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/core-events": "workspace:*" "@storybook/global": "npm:^5.0.0" @@ -2841,36 +2841,36 @@ __metadata: dequal: "npm:^2.0.2" polished: "npm:^4.2.2" uuid: "npm:^9.0.0" - checksum: 10/9f743179432e8ea3a148d9a8879d20266b9499175eb6bf355743e4d55dc8499b5ed2b17e29ff1ae797f8e6b7da8b1142f2411c36a36d5275ab8f43ff22a74890 + checksum: 10/819f251fdfcfe060a5d80a3f4226da904deb3858b782b63d613d0a187c34f9f5dd31d00d93661aa8504420d80f8933a8324efe386dc8f6d7ee11bd118e34798d languageName: node linkType: hard "@storybook/addon-backgrounds@file:../../../code/addons/backgrounds::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-backgrounds@file:../../../code/addons/backgrounds#../../../code/addons/backgrounds::hash=7effe1&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-backgrounds@file:../../../code/addons/backgrounds#../../../code/addons/backgrounds::hash=79a8a6&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" memoizerific: "npm:^1.11.3" ts-dedent: "npm:^2.0.0" - checksum: 10/4d1469288f212fa3daaa627bbfebe87d4b130975616bf3c3255f5dcd48e44971c773cdde3b173c4656a1a533f2c7d4afc7b1a9a26943a1c7267d933408540f32 + checksum: 10/1afa16c585bb6a72a18e12948f8c614e7db326e7a9b63a49dc46c604a9c91bfb6122392e6cf57cc7a2310e29f158073427d419275ca0cec7b07d1369eb740b6d languageName: node linkType: hard "@storybook/addon-controls@file:../../../code/addons/controls::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-controls@file:../../../code/addons/controls#../../../code/addons/controls::hash=d65d18&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-controls@file:../../../code/addons/controls#../../../code/addons/controls::hash=b20fef&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/blocks": "workspace:*" dequal: "npm:^2.0.2" lodash: "npm:^4.17.21" ts-dedent: "npm:^2.0.0" - checksum: 10/3bd7e63d7bc4fe8616f8b7714b934eda73f1e5877e9551b1d0c9f452cbfa2d3ce7ff83910d27e77df7ce400069a82d93266568a7a0d0f22120d4ca6916d53520 + checksum: 10/ba7f3dd55a9ca69f50d16aaea9415c003364982dd15f7268fee6e1a95c270f51787f8141374417c56a75260c57f8532e94d94f14706634ae85905259ee116bca languageName: node linkType: hard "@storybook/addon-docs@file:../../../code/addons/docs::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-docs@file:../../../code/addons/docs#../../../code/addons/docs::hash=fa87f3&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-docs@file:../../../code/addons/docs#../../../code/addons/docs::hash=2394df&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@babel/core": "npm:^7.24.4" "@mdx-js/react": "npm:^3.0.0" @@ -2892,13 +2892,13 @@ __metadata: rehype-external-links: "npm:^3.0.0" rehype-slug: "npm:^6.0.0" ts-dedent: "npm:^2.0.0" - checksum: 10/4a9e32cd20dfd59e6e7adf39490d677ec78fef6b70ca9105e356f4146a2663e3c99200ba25b8c61d13bcd29c7aeebe1c07d8bafb6d0a027b8b26a9f626acd063 + checksum: 10/5b557f444b04adeea796017761505d666e0d046f88226a06e7811305b333b7a93fc5c52e78888cb05a22d6b3a5f92d77550f48cc6d8174b4a281622f01483080 languageName: node linkType: hard "@storybook/addon-essentials@file:../../../code/addons/essentials::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-essentials@file:../../../code/addons/essentials#../../../code/addons/essentials::hash=4fd371&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-essentials@file:../../../code/addons/essentials#../../../code/addons/essentials::hash=fca3e7&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/addon-actions": "workspace:*" "@storybook/addon-backgrounds": "workspace:*" @@ -2914,22 +2914,22 @@ __metadata: "@storybook/node-logger": "workspace:*" "@storybook/preview-api": "workspace:*" ts-dedent: "npm:^2.0.0" - checksum: 10/7c2387e169042fb3df27d9093a3ede5457558468e6bc470e9445e10ae91401961ab40a2af1039730e1529ee441bc461db20cdfe95ee0dd426c3189533e378a9e + checksum: 10/0cc3de5fd6d59db6b62e5d2114e22d14325ae50b4f06aadbb7304a8a69ff97c0fe42f4ea36fc6387b4031a1b9108b1f122eb799a9b1ac444afedf1f9b4278fbe languageName: node linkType: hard "@storybook/addon-highlight@file:../../../code/addons/highlight::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-highlight@file:../../../code/addons/highlight#../../../code/addons/highlight::hash=439069&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-highlight@file:../../../code/addons/highlight#../../../code/addons/highlight::hash=907ff1&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" - checksum: 10/13621b32af294253b362f2673343bf9f66e0added8d9efa0dfba655a8f9f4630ae8844e617b65219efad0be4ec29c7e2bd790d0bd7f9cd47dc8b4e8fdbe0b6fd + checksum: 10/0a91b3f12df34c532bd11543e4d4ec0a962783c6ea8faa275ae1ef9432ae0f773b328ab824b5368adf1bdf1f704619a4bfe255285c047ce7ac03874aaa0d3351 languageName: node linkType: hard "@storybook/addon-interactions@file:../../../code/addons/interactions::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-interactions@file:../../../code/addons/interactions#../../../code/addons/interactions::hash=2e5086&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-interactions@file:../../../code/addons/interactions#../../../code/addons/interactions::hash=ceac2d&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" "@storybook/instrumenter": "workspace:*" @@ -2937,55 +2937,55 @@ __metadata: "@storybook/types": "workspace:*" polished: "npm:^4.2.2" ts-dedent: "npm:^2.2.0" - checksum: 10/5301dc4674d410818c3ecb05c808d9970e2d62c599664d4f345ec713e144505713271cfa8e340b69daa7e2bfa57ec2277e45538b3ae768d4fe22cfb041d3ff4b + checksum: 10/8d2df15d07d93fb5d9bff5c3dd08af081946800c4f335f8a82e6527a0b73c139becb77097474d11569415065f6cbec2da9bdd577e6524c6a0e192b5eb9017734 languageName: node linkType: hard "@storybook/addon-measure@file:../../../code/addons/measure::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-measure@file:../../../code/addons/measure#../../../code/addons/measure::hash=f17947&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-measure@file:../../../code/addons/measure#../../../code/addons/measure::hash=193f4e&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" tiny-invariant: "npm:^1.3.1" - checksum: 10/26eb1629c8f3c821a41c73ae181eb7d86db03e48da74ad8f3c8384d52d409b56d53da4e0a220417691567094daaedb55b5b56c5825467e6ac70c27a6e025aa09 + checksum: 10/96c140acdfe782c705d0f6e21f17973186238901b9146c7ccf81fdda6cfc247a8b76a540d6d0aefe9ccb510da2e4bf8e79de8d6f05220625afe858e0abf33bb7 languageName: node linkType: hard "@storybook/addon-outline@file:../../../code/addons/outline::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-outline@file:../../../code/addons/outline#../../../code/addons/outline::hash=822274&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-outline@file:../../../code/addons/outline#../../../code/addons/outline::hash=d9f77c&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" ts-dedent: "npm:^2.0.0" - checksum: 10/fabeb58b6d98ed7db56203b66aa36bbffa411730f80898093c0dceee8184f08d6f3c73a3fe3ca546f788e50ffe326178ca81435b709fe989f79be045302194f6 + checksum: 10/3a7b90e07339f5afcdbc2b7eae85e86201fa507d2f4e8c5825caa38adebe1dd7f56ab84459787a2be72e75b6f757aae836928f35a1d9d68d21c2d0c0a2793f50 languageName: node linkType: hard "@storybook/addon-toolbars@file:../../../code/addons/toolbars::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-toolbars@file:../../../code/addons/toolbars#../../../code/addons/toolbars::hash=ff5940&locator=portable-stories-nextjs%40workspace%3A." - checksum: 10/2932151df9d51b606c52ea46008c821684f5b0070fbc17543bc5ec2ea166a4b06c59636efc986eb9479578c1e446d3fc066dbe7fbccd602b3127e31afdc98af2 + resolution: "@storybook/addon-toolbars@file:../../../code/addons/toolbars#../../../code/addons/toolbars::hash=2e634e&locator=portable-stories-nextjs%40workspace%3A." + checksum: 10/4e14b02a8ed0cb7a7d96b028953ca8693f2997af7e6e1cd1b12142be227a6b6b52045a426b8fefa0f0c3d1a4a0a239496cbdceb9cefceed2885424bb78124358 languageName: node linkType: hard "@storybook/addon-viewport@file:../../../code/addons/viewport::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/addon-viewport@file:../../../code/addons/viewport#../../../code/addons/viewport::hash=22c143&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/addon-viewport@file:../../../code/addons/viewport#../../../code/addons/viewport::hash=5ae3b0&locator=portable-stories-nextjs%40workspace%3A." dependencies: memoizerific: "npm:^1.11.3" - checksum: 10/f027a593d698a6e283117c82e485fbc48f61229108b15186e5e3c9045c937d5056cddf130d753c205e8de302a503b2460f0012ad652aa557f247ecdee1c66190 + checksum: 10/987dfe37926960e874d918bd5da6da087ed1cd91f60208c7c08875385b29c1e4405c76555685cab7073b729c5a8c8e39616c72fa38474ec4ba33041d9b006792 languageName: node linkType: hard "@storybook/blocks@file:../../../code/ui/blocks::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/blocks@file:../../../code/ui/blocks#../../../code/ui/blocks::hash=0d1f97&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/blocks@file:../../../code/ui/blocks#../../../code/ui/blocks::hash=757b4e&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -3013,13 +3013,13 @@ __metadata: optional: true react-dom: optional: true - checksum: 10/fb1ecec87e1dc6487990db4ab78bbf9a3bdab507dafc862ef95b539a99efcbc0055492ad4c0bbff7f137d2f93d9204e8a930bdb802925a709a0186915b1f9b05 + checksum: 10/4e78732ad5e1c2df282830ef431c026cff2459cbd5ab785389bd00b088c0513d38df03576ddd06abab79ec5a1d440f683cee9a958035aae510314cee646ec00f languageName: node linkType: hard "@storybook/builder-manager@file:../../../code/builders/builder-manager::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/builder-manager@file:../../../code/builders/builder-manager#../../../code/builders/builder-manager::hash=ace69f&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/builder-manager@file:../../../code/builders/builder-manager#../../../code/builders/builder-manager::hash=a60c5a&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@fal-works/esbuild-plugin-global-externals": "npm:^2.1.2" "@storybook/core-common": "workspace:*" @@ -3035,13 +3035,13 @@ __metadata: fs-extra: "npm:^11.1.0" process: "npm:^0.11.10" util: "npm:^0.12.4" - checksum: 10/a65315370078ab356824602de9bc0b8da09114ccd07049f03f3e7bf945a11921a932293bff227c84651b3ed6c05d50726a1c33db7934fdf195b52745440248b3 + checksum: 10/341a4b607fece9ea7bc5ef68ffeacb3a5a9fea356fb2fddae1607fdbec5453f08e1389753e2da0dbbd9bcfd4661d5385eefcb47dfceebd23bc443670ffdfdfcb languageName: node linkType: hard "@storybook/builder-webpack5@file:../../../code/builders/builder-webpack5::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/builder-webpack5@file:../../../code/builders/builder-webpack5#../../../code/builders/builder-webpack5::hash=3f855a&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/builder-webpack5@file:../../../code/builders/builder-webpack5#../../../code/builders/builder-webpack5::hash=042e54&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" @@ -3080,26 +3080,26 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/7abcec2a90886d3ab46492a84091daa658d83e76d7d7c515125efb91954b89a13a7f52f39485db13162733276e5f6f2018f7c3c537090addf4d6f9ca164e8eb8 + checksum: 10/3651c6c381a5e0a7d909322c2630f7c736c7f4f573188d25fad61989365879dc1b35410089cd0dac9985f74b54fe57823c10cf39c2e35c15302c2e6382851568 languageName: node linkType: hard "@storybook/channels@file:../../../code/lib/channels::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/channels@file:../../../code/lib/channels#../../../code/lib/channels::hash=62c1d4&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/channels@file:../../../code/lib/channels#../../../code/lib/channels::hash=aaa3cd&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" "@storybook/global": "npm:^5.0.0" telejson: "npm:^7.2.0" tiny-invariant: "npm:^1.3.1" - checksum: 10/147649a5623ef910eb930f910e9ab715d1ec4da7efa9a0a582ff256794fe9406c583df37d781ba79e57bb5c4739c13f1fa11732131b28a4528a8755af0e30588 + checksum: 10/762ff525d5df6f81057ad3fbc8393a258db8276f07ccfb1b36769a88a295fddec505eb2c67ac4d2e05b77bc1461e48e43825606a0fd462ca7981327e2a2037b9 languageName: node linkType: hard "@storybook/cli@file:../../../code/lib/cli::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/cli@file:../../../code/lib/cli#../../../code/lib/cli::hash=ca957d&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/cli@file:../../../code/lib/cli#../../../code/lib/cli::hash=5ac19a&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@babel/core": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" @@ -3140,27 +3140,27 @@ __metadata: bin: getstorybook: ./bin/index.js sb: ./bin/index.js - checksum: 10/a92be0f80b4242f467b279ec26fda7b401068dd3a720387c738a6c1202d49c8228059e0c5b52025b76b11f3cd1f309d08a7b3b09badea702ff95324202e1472a + checksum: 10/af509e8cc8834fbdd8ef8ec210d85c636f94eadee468bfa2801d08bc7637fbe08b632854464a4c3c892f254a908ac645a5929cc393f76a60602e0b9f8a8bf220 languageName: node linkType: hard "@storybook/client-logger@file:../../../code/lib/client-logger::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/client-logger@file:../../../code/lib/client-logger#../../../code/lib/client-logger::hash=29ba30&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/client-logger@file:../../../code/lib/client-logger#../../../code/lib/client-logger::hash=693b46&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/global": "npm:^5.0.0" - checksum: 10/aa3fb040168dfb7a315de39323ee81bfabe06bcccdd9289e3a11f6d34e232a73f84bbfd489710e245a5f4609681d8bf3b0aaa776cab36c225989a8e0652e4692 + checksum: 10/95d36525f22c9351bcbfe0afb8403b9a0fc0d58e1573a90c9885219af3d27e8f34bbb6e842317b653625a1fe9998d8f1a72dba131976bde9a932253e838af783 languageName: node linkType: hard "@storybook/codemod@file:../../../code/lib/codemod::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/codemod@file:../../../code/lib/codemod#../../../code/lib/codemod::hash=35c1a1&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/codemod@file:../../../code/lib/codemod#../../../code/lib/codemod::hash=1ffa44&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -3172,18 +3172,18 @@ __metadata: prettier: "npm:^3.1.1" recast: "npm:^0.23.5" tiny-invariant: "npm:^1.3.1" - checksum: 10/6ee5d16e89a55785172f4f05fbd96e4097d05eae969a6bdc11000d720de93a2bce201bb4ab6bcf79b12fbfcd9bb45168af045d6ab43b3bd37d5e31e1a36a1a2a + checksum: 10/9c4bea6484529aef3ea8ebd3c1a1f928253ea55ff5c74165515fdfbf8857771b32cfa177a9674b169c3051edb2585d2b5e24f50db50d8f79d5f1144ca4189e21 languageName: node linkType: hard "@storybook/components@file:../../../code/ui/components::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/components@file:../../../code/ui/components#../../../code/ui/components::hash=882239&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/components@file:../../../code/ui/components#../../../code/ui/components::hash=edefaf&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@radix-ui/react-dialog": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/theming": "workspace:*" @@ -3193,13 +3193,13 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - checksum: 10/fa82b0e491dd4738b6c8431f37708762f1c72173e8675d35e07b595aaa87a9a494bb7769c46c8e0d2f6ad8c0fcbc7294767785e8ce9c86ea5e407d90c093301d + checksum: 10/b19a7796dacdf19e7a5fc48244bd4ef24a4b8792c87dc71490811d33c2dc12bd717079159822fe37b2f197b0e75adac6e20587535bc772869737ccc27c4dca97 languageName: node linkType: hard "@storybook/core-common@file:../../../code/lib/core-common::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/core-common@file:../../../code/lib/core-common#../../../code/lib/core-common::hash=67ea6d&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/core-common@file:../../../code/lib/core-common#../../../code/lib/core-common::hash=92eb3d&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/core-events": "workspace:*" "@storybook/csf-tools": "workspace:*" @@ -3235,23 +3235,23 @@ __metadata: peerDependenciesMeta: prettier: optional: true - checksum: 10/6e70b0bd8d2c4af73fe50e347d0a1eb15f9989ec36e6d7e0b3a5094c07cdc1b1a3257a31067b039872f4e70e04e19ed1303d6d3b655018110b3ecd0c99c9926b + checksum: 10/dbb6cb4494c2351a22477137839076002493a177725202ebbb183152f04bf0590071c91353596a85403812261f0009a179473e556f849f1243937d088e0cd40e languageName: node linkType: hard "@storybook/core-events@file:../../../code/lib/core-events::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/core-events@file:../../../code/lib/core-events#../../../code/lib/core-events::hash=d3e754&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/core-events@file:../../../code/lib/core-events#../../../code/lib/core-events::hash=636bd9&locator=portable-stories-nextjs%40workspace%3A." dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" ts-dedent: "npm:^2.0.0" - checksum: 10/625133990de99b506ce578213ccd5113500277140fb35e859fc5b439a6ac99ca76bca5f1e8be03ecea729a2fb7e4f1dc87a90d62d04ea9978ccdd3d6d9b56415 + checksum: 10/93ff4e7e48bdadae27c3e8fbd9f99b37ced2cf1815528f9e46b4ab18b29a9a7d55cdafbea2ecfbe233da7800d6f0dc7948ec4e4bb7298243eecf682813af3256 languageName: node linkType: hard "@storybook/core-server@file:../../../code/lib/core-server::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/core-server@file:../../../code/lib/core-server#../../../code/lib/core-server::hash=793357&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/core-server@file:../../../code/lib/core-server#../../../code/lib/core-server::hash=f196f1&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@aw-web-design/x-default-browser": "npm:1.4.126" "@babel/core": "npm:^7.24.4" @@ -3261,7 +3261,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" @@ -3299,47 +3299,47 @@ __metadata: util-deprecate: "npm:^1.0.2" watchpack: "npm:^2.2.0" ws: "npm:^8.2.3" - checksum: 10/98a28e2f267718ab793638f77f998091510c7e208abe055aef87bcdffc9b03a4a7a41ea878550e7f011f34c2205e865bbd86c800fdf9492423cd7b9234ceeebb + checksum: 10/942e366fcf6e5c6ce17c0a9a8c8824825bb14d23a0f065cac2cd756c7dd13ddda56364bba6753c466feeff2a80d807faff845358c30083466eb964b5758884a5 languageName: node linkType: hard "@storybook/core-webpack@file:../../../code/lib/core-webpack::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/core-webpack@file:../../../code/lib/core-webpack#../../../code/lib/core-webpack::hash=43cd27&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/core-webpack@file:../../../code/lib/core-webpack#../../../code/lib/core-webpack::hash=88b192&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/core-common": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" "@types/node": "npm:^18.0.0" ts-dedent: "npm:^2.0.0" - checksum: 10/1c54f8c9ddc023f27776e41dd2d42f8297fb0705493ef357ac99cc0bbd47a3e1dd61786d08c732b048808ef272de1d42a3062b33f1ffc722b4e22a83123f0038 + checksum: 10/c475c6fc72d3faa00fa5bb0746f9830748f1a902d6e6f20dbea448a0b2bca6a8fb422a6c4b92d8584c2ddf6c3bdb09c528e138cd31e8c6e494d2328f19f46e1e languageName: node linkType: hard "@storybook/csf-plugin@file:../../../code/lib/csf-plugin::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/csf-plugin@file:../../../code/lib/csf-plugin#../../../code/lib/csf-plugin::hash=c26807&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/csf-plugin@file:../../../code/lib/csf-plugin#../../../code/lib/csf-plugin::hash=7a065c&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/csf-tools": "workspace:*" unplugin: "npm:^1.3.1" - checksum: 10/e39a69842651d74b55dae065d1df62dfae75c7e5a5c120254fa671781071e61f0c7e6ecdc6703c95387fbc2a33959dab2ebed2196ab7e4464d1c9cdcff3bd14b + checksum: 10/b793d4563426633089bb56d25c6a0f3e4911e8d9cb89d4a0506cb979ca1520a2e9bc381870d3b917475b17e21241eb4830f36ae2933aaf77fee5f51686518826 languageName: node linkType: hard "@storybook/csf-tools@file:../../../code/lib/csf-tools::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/csf-tools@file:../../../code/lib/csf-tools#../../../code/lib/csf-tools::hash=36579b&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/csf-tools@file:../../../code/lib/csf-tools#../../../code/lib/csf-tools::hash=8ad709&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@babel/generator": "npm:^7.24.4" "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" fs-extra: "npm:^11.1.0" recast: "npm:^0.23.5" ts-dedent: "npm:^2.0.0" - checksum: 10/e352ae6e566416ca675dddf9253e50362294f881986b99b763e93c45c8b3d8a9b16aabd4d0d7f675455b89997b49852f8c766c5d7e27866c0c28359992138ee0 + checksum: 10/18819a881cfd54040c70cbec947f713e077120edbf32daeda5b104e4cf3921346c988b80a1915b8b8cb9b559bfc763810330410f4743fda1dc2b7809e869864f languageName: node linkType: hard @@ -3352,7 +3352,7 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.7": +"@storybook/csf@npm:^0.1.8": version: 0.1.8 resolution: "@storybook/csf@npm:0.1.8" dependencies: @@ -3370,7 +3370,7 @@ __metadata: "@storybook/docs-tools@file:../../../code/lib/docs-tools::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/docs-tools@file:../../../code/lib/docs-tools#../../../code/lib/docs-tools::hash=a72a0f&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/docs-tools@file:../../../code/lib/docs-tools#../../../code/lib/docs-tools::hash=ded0a2&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" @@ -3379,7 +3379,7 @@ __metadata: comment-parser: "npm:^1.4.1" jsdoc-type-pratt-parser: "npm:^4.0.0" lodash: "npm:^4.17.21" - checksum: 10/a80c060c065202cc404076c67383f352510b0fa05566d0d2b3aebdca55639e79e743c452c1db0db280031950ac6ee766e017b90db2d32bd9b14f220d3bb58897 + checksum: 10/6c71507a02e1d778daf9c9fb42d873bdf169bd9bc4adc450d88c0a862f96105cc3eea61f314061266eb3b17bf05bf589dfdc8c01866d8f64e624adf062ee5713 languageName: node linkType: hard @@ -3402,7 +3402,7 @@ __metadata: "@storybook/instrumenter@file:../../../code/lib/instrumenter::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/instrumenter@file:../../../code/lib/instrumenter#../../../code/lib/instrumenter::hash=e789c0&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/instrumenter@file:../../../code/lib/instrumenter#../../../code/lib/instrumenter::hash=fd1076&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" @@ -3411,18 +3411,18 @@ __metadata: "@storybook/preview-api": "workspace:*" "@vitest/utils": "npm:^1.3.1" util: "npm:^0.12.4" - checksum: 10/756dc8130cd7ce302b5f3783ffda5bad124e48674d78b29f52691b788fb6670c1898b2d167050dd83dd4cd5b17652e2bb75f66d6a7630dca82c0b8f1621bb2c2 + checksum: 10/4c6b36536cc04adf86d36bea696202fab1ca9b8cf4200e7325854b78ae317f37367f87a2d27e405eef69e5b3d7d0488522a35cac5c10ff753869cf77d151996b languageName: node linkType: hard "@storybook/manager-api@file:../../../code/lib/manager-api::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/manager-api@file:../../../code/lib/manager-api#../../../code/lib/manager-api::hash=c57659&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/manager-api@file:../../../code/lib/manager-api#../../../code/lib/manager-api::hash=a22fe6&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -3434,20 +3434,20 @@ __metadata: store2: "npm:^2.14.2" telejson: "npm:^7.2.0" ts-dedent: "npm:^2.0.0" - checksum: 10/9380b7d3b9925c39e62013204c4867952062fd1d55fb69618d1e8540a8da7a9605667a632bac55aad5aa2f377f9ab29025cedcb523bad02a30e22b34be7f50be + checksum: 10/ceb50473145d76f8833e1c039efa1776bc89aa3ac1b6e29e7267f09d13232d845e90340bcfff27abcb24cc6855be4aaad27753f9aba18dcc1d270e35f1b4be19 languageName: node linkType: hard "@storybook/manager@file:../../../code/ui/manager::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/manager@file:../../../code/ui/manager#../../../code/ui/manager::hash=0e0013&locator=portable-stories-nextjs%40workspace%3A." - checksum: 10/a9efde5ef34be3753dd3aa9f55de4f6e03dcd6eee1f30ef0d1aa7d294b34674bd745288f0d1bc20002d2fefb2583ac28cc372d64946cdef9d74b09708ca6dcb9 + resolution: "@storybook/manager@file:../../../code/ui/manager#../../../code/ui/manager::hash=0ddf9e&locator=portable-stories-nextjs%40workspace%3A." + checksum: 10/ef552d1628a08841843b77945e6e4ecd409dbc9998915b0a16c19fee758cf47e10e89745e48c3f5a0812012377cb9272139651765bac386109757f0559057a04 languageName: node linkType: hard "@storybook/nextjs@file:../../../code/frameworks/nextjs::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/nextjs@file:../../../code/frameworks/nextjs#../../../code/frameworks/nextjs::hash=ef5bcc&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/nextjs@file:../../../code/frameworks/nextjs#../../../code/frameworks/nextjs::hash=ccc2ad&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@babel/core": "npm:^7.24.4" "@babel/plugin-syntax-bigint": "npm:^7.8.3" @@ -3507,20 +3507,20 @@ __metadata: optional: true webpack: optional: true - checksum: 10/4282cabdd87f5e191e79c8a65fba5fe70dc353ca065fbf8a2df7faee0cb0fbc3f489c8a81ba36c32f0c9e50f13e9b70370bc141526628ff5685a7b5de6430d19 + checksum: 10/cfbd63f55341f3909d9292b8baa85714e7b690f3546f70250710690b2e07848f654e730d9fe18aed67862da9fd68a8d476e467b487083b8460b8f214227cd8d7 languageName: node linkType: hard "@storybook/node-logger@file:../../../code/lib/node-logger::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/node-logger@file:../../../code/lib/node-logger#../../../code/lib/node-logger::hash=0c69f3&locator=portable-stories-nextjs%40workspace%3A." - checksum: 10/04b5f9dbcc7600d45de65e3bc0aade4866f8106058cbc3965b7d96afe38564afe1a32dbef2cf0e3fcc1e1bc8e375dcf5505460ee2aaeeb036f32fb2e064961b6 + resolution: "@storybook/node-logger@file:../../../code/lib/node-logger#../../../code/lib/node-logger::hash=8e10e4&locator=portable-stories-nextjs%40workspace%3A." + checksum: 10/20b42a4f9581f9caacc2f1b06bc05c0e33b49d262b37d6f3647d13e1269142c0cef4f48ad3cc5bebf9bb03855ced739cb908b37b8ecec50407b04106ab85bdc2 languageName: node linkType: hard "@storybook/preset-react-webpack@file:../../../code/presets/react-webpack::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/preset-react-webpack@file:../../../code/presets/react-webpack#../../../code/presets/react-webpack::hash=187a85&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/preset-react-webpack@file:../../../code/presets/react-webpack#../../../code/presets/react-webpack::hash=b7b068&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/core-webpack": "workspace:*" "@storybook/docs-tools": "workspace:*" @@ -3543,18 +3543,18 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/8bb00d182bd7735316c913b370b70fd4e6c0d01077cd912f43da51d5d4c2ffceaac40aa1a27bbae02797191ad875288d38258215001d83ad451db43510abbf89 + checksum: 10/f08780e0647294ba0cdc10bc70223f4e7a66bfc6fc429596d165a800c30b95b15d03590211b3623f5ad048451946cab08ec991da8dcae60e40a813f08313927d languageName: node linkType: hard "@storybook/preview-api@file:../../../code/lib/preview-api::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/preview-api@file:../../../code/lib/preview-api#../../../code/lib/preview-api::hash=bb36ad&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/preview-api@file:../../../code/lib/preview-api#../../../code/lib/preview-api::hash=048630&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5" @@ -3565,14 +3565,14 @@ __metadata: tiny-invariant: "npm:^1.3.1" ts-dedent: "npm:^2.0.0" util-deprecate: "npm:^1.0.2" - checksum: 10/b9e24ae99739fe371d9d1c7ab92f32ec30e6882e0aa078956bc27230ee6ad4c7c586b7ce681bf4ca563aa0f312824fdb5bd8fbf9776a917a6d55a3468ccff1a4 + checksum: 10/22ff55ec02f89e14493dce0081edd2d12f9b8e1488e49834735c9344836ce7c3bd37848f1885c4d92ba01f21bc16b3ec5f57100b332bd009c0b910902985cb1b languageName: node linkType: hard "@storybook/preview@file:../../../code/lib/preview::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/preview@file:../../../code/lib/preview#../../../code/lib/preview::hash=d19e60&locator=portable-stories-nextjs%40workspace%3A." - checksum: 10/fa905b9f0eb84c1c9cf175c01303c4df8111af6e92ae9174ab5bee65cb192a80f1aee9fe4a3b429e3bedd9cd4fb3a2e661d97e7d2aa44430cb311d1cf7b260d8 + resolution: "@storybook/preview@file:../../../code/lib/preview#../../../code/lib/preview::hash=89cb1c&locator=portable-stories-nextjs%40workspace%3A." + checksum: 10/11735462386dee2d5f7d5bb69b02e9a2a3baf68b94188de8f4688166b1890dc4ba294ecd3b319939e1bff11d26200a65fbcb13d9a9b7e28cb233f495ea970c6f languageName: node linkType: hard @@ -3596,17 +3596,17 @@ __metadata: "@storybook/react-dom-shim@file:../../../code/lib/react-dom-shim::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/react-dom-shim@file:../../../code/lib/react-dom-shim#../../../code/lib/react-dom-shim::hash=fb723a&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/react-dom-shim@file:../../../code/lib/react-dom-shim#../../../code/lib/react-dom-shim::hash=206ee5&locator=portable-stories-nextjs%40workspace%3A." peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - checksum: 10/158025198263988242ff63a93007fa8642ddc36646c2e4ccdf13d07e87b0c3859ba2676e52730636830fd3879b0b9b1c4800c374b4a16d21a16b6df495567255 + checksum: 10/fe1f510f8a36d7506b8a146834d801341db82678aa38e293d9bcf72bd304eb111b3cd7a2de19ac4b7f730f075f2ea28ddd7934aec988cc1b92d16ac1f773126e languageName: node linkType: hard "@storybook/react@file:../../../code/renderers/react::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/react@file:../../../code/renderers/react#../../../code/renderers/react::hash=f6ae7b&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/react@file:../../../code/renderers/react#../../../code/renderers/react::hash=6441b1&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/client-logger": "workspace:*" "@storybook/docs-tools": "workspace:*" @@ -3636,24 +3636,24 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/2b46a51f46a85ffe2f69c54828afe5e64591569b040b1e42afe3ae368b0cf16f6686f5377399095f790fe26edd7f857057ea9ec24e5fb7c56d42ba78f0ccbec4 + checksum: 10/092272aae149f500498a491637afa31ab223c3064ed4bd0727aeb06b838e7bb774b3a48eae21d74e00446948491be940b8a257b4940feb7b28e9cb6c8be4539b languageName: node linkType: hard "@storybook/router@file:../../../code/lib/router::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/router@file:../../../code/lib/router#../../../code/lib/router::hash=13132a&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/router@file:../../../code/lib/router#../../../code/lib/router::hash=acec61&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/client-logger": "workspace:*" memoizerific: "npm:^1.11.3" qs: "npm:^6.10.0" - checksum: 10/54858a72939e2f1e4992cc7456a7eda5b4d8730c095f2a8029829bb4250363b8522885b64ad3ae6e57909091045d5a208293b1f6c1e57df4a76c775cb9f494ab + checksum: 10/9a89735115b69469437baadda94201dd749599e5b20f3fa5079d50f9fa81b4829ffd2c29c64381a01096aa9ff2c7adc61a7e057acfeb7f4e80fcd78d7a62a94c languageName: node linkType: hard "@storybook/telemetry@file:../../../code/lib/telemetry::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/telemetry@file:../../../code/lib/telemetry#../../../code/lib/telemetry::hash=22ecf8&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/telemetry@file:../../../code/lib/telemetry#../../../code/lib/telemetry::hash=b738c4&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/client-logger": "workspace:*" "@storybook/core-common": "workspace:*" @@ -3663,13 +3663,13 @@ __metadata: fetch-retry: "npm:^5.0.2" fs-extra: "npm:^11.1.0" read-pkg-up: "npm:^7.0.1" - checksum: 10/0371a34141ac321e7f17c2fb74d466a437f876c74609933cd23673b53bb9601b67aff02c6f163774d18ec84956028d1da21d18345957e23b08046547e087ab24 + checksum: 10/dde888124f1fc59de91fa15ebae0247cd25c36e31925f5fb14c268b8ddea03f5664f36d7f23d91398f7a1fa53c3ca7c9e91efe573570e6c5e0baa6fa7e391a4e languageName: node linkType: hard "@storybook/test@file:../../../code/lib/test::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/test@file:../../../code/lib/test#../../../code/lib/test::hash=ba4fdb&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/test@file:../../../code/lib/test#../../../code/lib/test::hash=cc1e8a&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" @@ -3681,13 +3681,13 @@ __metadata: "@vitest/expect": "npm:1.6.0" "@vitest/spy": "npm:1.6.0" util: "npm:^0.12.4" - checksum: 10/8f68f4c9dfb3c3835ba1e853b455add68758291e5689b5bd001eee3ce2f295e145d6cb9dfdf23b41c8d74b7527cd2c6471603f87efab6d8ae187cdd455a67136 + checksum: 10/b62fa0a76339c07c08b08b757e96a12acf2a418927cb9487517ffff30d29522637304601177d1825dab6ab7de0e32b40be2b1a918e9f83831079a150786cd94c languageName: node linkType: hard "@storybook/theming@file:../../../code/lib/theming::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/theming@file:../../../code/lib/theming#../../../code/lib/theming::hash=b5aef5&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/theming@file:../../../code/lib/theming#../../../code/lib/theming::hash=7f464c&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@emotion/use-insertion-effect-with-fallbacks": "npm:^1.0.1" "@storybook/client-logger": "workspace:*" @@ -3701,18 +3701,18 @@ __metadata: optional: true react-dom: optional: true - checksum: 10/f6d068f5e50ef7ba4b387b45b3deea3f276f4d430a51b17a37e55145c92005ed8193da37e556d87646b45cb6b1aca6c1acb5bee3469cd140eb88e00c0e5f8d57 + checksum: 10/b2c6b2a9a79bfb8ee5ae4d00d5e265f3763a262b4d7dfff9482b153794e4570aba7b54eade7f74abb465d3c31e38c96ab497be5533498616127201da60f5b5e7 languageName: node linkType: hard "@storybook/types@file:../../../code/lib/types::locator=portable-stories-nextjs%40workspace%3A.": version: 8.2.0-alpha.7 - resolution: "@storybook/types@file:../../../code/lib/types#../../../code/lib/types::hash=ab5e54&locator=portable-stories-nextjs%40workspace%3A." + resolution: "@storybook/types@file:../../../code/lib/types#../../../code/lib/types::hash=660b47&locator=portable-stories-nextjs%40workspace%3A." dependencies: "@storybook/channels": "workspace:*" "@types/express": "npm:^4.17.21" file-system-cache: "npm:2.3.0" - checksum: 10/34030c10689dc4dbaae2fce7462b33a25c8f525733a57d3fbd09a77d26ca3af8ba5460c89562ab89b0d12e11805bc620e1a877beb57a44153e76411b4fe50f1d + checksum: 10/31d32e6812f4acae33edd094bbdf1634f31bbf1376b8e349ee2aaafed722bec8557f3fcb42912215ce239c2a23f0779b4f56b407d2aec54c8c995bd886881847 languageName: node linkType: hard diff --git a/test-storybooks/portable-stories-kitchen-sink/svelte/yarn.lock b/test-storybooks/portable-stories-kitchen-sink/svelte/yarn.lock index 22fb8791cf56..55949f28ac81 100644 --- a/test-storybooks/portable-stories-kitchen-sink/svelte/yarn.lock +++ b/test-storybooks/portable-stories-kitchen-sink/svelte/yarn.lock @@ -2587,7 +2587,7 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" @@ -2748,7 +2748,7 @@ __metadata: "@babel/core": "npm:^7.24.4" "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/node-logger": "workspace:*" "@storybook/types": "workspace:*" @@ -2770,7 +2770,7 @@ __metadata: "@radix-ui/react-dialog": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" "@storybook/client-logger": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/theming": "workspace:*" @@ -2828,7 +2828,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/core-events@portal:../../../code/lib/core-events::locator=portable-stories-svelte%40workspace%3A." dependencies: - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" ts-dedent: "npm:^2.0.0" languageName: node linkType: soft @@ -2845,7 +2845,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/csf-tools": "workspace:*" "@storybook/docs-mdx": "npm:3.1.0-next.0" "@storybook/global": "npm:^5.0.0" @@ -2903,7 +2903,7 @@ __metadata: "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/types": "workspace:*" fs-extra: "npm:^11.1.0" recast: "npm:^0.23.5" @@ -2911,7 +2911,7 @@ __metadata: languageName: node linkType: soft -"@storybook/csf@npm:^0.1.7": +"@storybook/csf@npm:^0.1.8": version: 0.1.8 resolution: "@storybook/csf@npm:0.1.8" dependencies: @@ -2979,7 +2979,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/router": "workspace:*" @@ -3013,7 +3013,7 @@ __metadata: "@storybook/channels": "workspace:*" "@storybook/client-logger": "workspace:*" "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.7" + "@storybook/csf": "npm:^0.1.8" "@storybook/global": "npm:^5.0.0" "@storybook/types": "workspace:*" "@types/qs": "npm:^6.9.5"