From bd812b4529aa09b98d528cca9ca19cb7416cacf1 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 2 Jun 2023 15:24:25 +0200 Subject: [PATCH 01/14] Add an API for sending messages to the serverChannel from manager-api Add listening capability to serverChannel on node's side Fix data/args handling from serverChannel --- code/lib/channels/src/index.ts | 3 ++- code/lib/core-server/src/dev-server.ts | 2 +- .../src/utils/get-server-channel.ts | 24 +++++++++++++++++++ code/lib/manager-api/src/modules/channel.ts | 10 ++++++++ 4 files changed, 37 insertions(+), 2 deletions(-) diff --git a/code/lib/channels/src/index.ts b/code/lib/channels/src/index.ts index 9c7425690f05..4757af186e86 100644 --- a/code/lib/channels/src/index.ts +++ b/code/lib/channels/src/index.ts @@ -131,7 +131,8 @@ export class Channel { const listeners = this.listeners(event.type); if (listeners && listeners.length) { listeners.forEach((fn) => { - fn.apply(event, event.args); + // args should always be an array, but serverChannel seems to sometimes send a single value + fn.apply(event, Array.isArray(event.args) ? event.args : [event.args]); }); } this.data[event.type] = event.args; diff --git a/code/lib/core-server/src/dev-server.ts b/code/lib/core-server/src/dev-server.ts index a66de7bb5a89..97dc060e6670 100644 --- a/code/lib/core-server/src/dev-server.ts +++ b/code/lib/core-server/src/dev-server.ts @@ -29,7 +29,7 @@ export async function storybookDevServer(options: Options) { options.presets.apply('core'), ]); - const serverChannel = getServerChannel(server); + const serverChannel = await options.presets.apply('serverChannel', getServerChannel(server)); let indexError: Error; // try get index generator, if failed, send telemetry without storyCount, then rethrow the error diff --git a/code/lib/core-server/src/utils/get-server-channel.ts b/code/lib/core-server/src/utils/get-server-channel.ts index 348a980d0303..7ed169d5e348 100644 --- a/code/lib/core-server/src/utils/get-server-channel.ts +++ b/code/lib/core-server/src/utils/get-server-channel.ts @@ -6,8 +6,11 @@ type Server = ConstructorParameters[0]['server']; export class ServerChannel { webSocketServer: WebSocketServer; + listeners: Record; + constructor(server: Server) { this.webSocketServer = new WebSocketServer({ noServer: true }); + this.listeners = {}; server.on('upgrade', (request, socket, head) => { if (request.url === '/storybook-server-channel') { @@ -16,6 +19,27 @@ export class ServerChannel { }); } }); + this.webSocketServer.on('connection', (wss) => { + wss.on('message', (data) => { + try { + const { type, args } = JSON.parse(data.toString('utf-8')); + if (this.listeners) { + this.listeners[type].forEach((listener) => listener(args)); + } + } catch (e) { + // + } + }); + }); + } + + on(type: string, callback: any) { + this.listeners[type] = this.listeners[type] || []; + this.listeners[type].push(callback); + + return () => { + this.listeners[type] = this.listeners[type].filter((l) => l !== callback); + }; } emit(type: string, args: any = []) { diff --git a/code/lib/manager-api/src/modules/channel.ts b/code/lib/manager-api/src/modules/channel.ts index da85ebd6a7f2..ec3cd15446c5 100644 --- a/code/lib/manager-api/src/modules/channel.ts +++ b/code/lib/manager-api/src/modules/channel.ts @@ -8,8 +8,10 @@ import type { API, ModuleFn } from '../index'; export interface SubAPI { getChannel: () => API_Provider['channel']; on: (type: string, cb: Listener) => () => void; + onServerAction: (type: string, cb: Listener) => () => void; off: (type: string, cb: Listener) => void; emit: (type: string, ...args: any[]) => void; + emitServerAction: (type: string, ...args: any[]) => void; once: (type: string, cb: Listener) => void; collapseAll: () => void; expandAll: () => void; @@ -25,6 +27,11 @@ export const init: ModuleFn = ({ provider }) => { return () => provider.channel.removeListener(type, cb); }, + onServerAction: (type, cb) => { + provider.serverChannel.addListener(type, cb); + + return () => provider.serverChannel.removeListener(type, cb); + }, off: (type, cb) => provider.channel.removeListener(type, cb), once: (type, cb) => provider.channel.once(type, cb), emit: (type, data, ...args) => { @@ -40,6 +47,9 @@ export const init: ModuleFn = ({ provider }) => { } provider.channel.emit(type, data, ...args); }, + emitServerAction: (type, data, ...args) => { + provider.serverChannel.emit(type, data, ...args); + }, collapseAll: () => { provider.channel.emit(STORIES_COLLAPSE_ALL, {}); From 16bad71f05e9dac07b0b83594fcd0dd33ca95049 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 5 Jun 2023 14:55:05 +0200 Subject: [PATCH 02/14] wrap using a Channel class --- code/lib/core-server/package.json | 1 + .../src/utils/get-server-channel.ts | 51 ++++++------ code/lib/manager-api/src/modules/stories.ts | 2 +- .../lib/manager-api/src/tests/stories.test.ts | 82 ++++++++++++++----- code/yarn.lock | 1 + 5 files changed, 88 insertions(+), 49 deletions(-) diff --git a/code/lib/core-server/package.json b/code/lib/core-server/package.json index 3e17106cf6a6..9ec02902255a 100644 --- a/code/lib/core-server/package.json +++ b/code/lib/core-server/package.json @@ -57,6 +57,7 @@ "@aw-web-design/x-default-browser": "1.4.88", "@discoveryjs/json-ext": "^0.5.3", "@storybook/builder-manager": "7.1.0-alpha.26", + "@storybook/channels": "7.1.0-alpha.26", "@storybook/core-common": "7.1.0-alpha.26", "@storybook/core-events": "7.1.0-alpha.26", "@storybook/csf": "^0.1.0", diff --git a/code/lib/core-server/src/utils/get-server-channel.ts b/code/lib/core-server/src/utils/get-server-channel.ts index 7ed169d5e348..8587629cee01 100644 --- a/code/lib/core-server/src/utils/get-server-channel.ts +++ b/code/lib/core-server/src/utils/get-server-channel.ts @@ -1,56 +1,51 @@ import WebSocket, { WebSocketServer } from 'ws'; -import { stringify } from 'telejson'; +import { isJSON, parse, stringify } from 'telejson'; +import type { ChannelHandler } from '@storybook/channels'; +import { Channel } from '@storybook/channels'; type Server = ConstructorParameters[0]['server']; -export class ServerChannel { - webSocketServer: WebSocketServer; +export class ServerChannelTransport { + private socket: WebSocketServer; - listeners: Record; + private handler?: ChannelHandler; constructor(server: Server) { - this.webSocketServer = new WebSocketServer({ noServer: true }); - this.listeners = {}; + this.socket = new WebSocketServer({ noServer: true }); server.on('upgrade', (request, socket, head) => { if (request.url === '/storybook-server-channel') { - this.webSocketServer.handleUpgrade(request, socket, head, (ws) => { - this.webSocketServer.emit('connection', ws, request); + this.socket.handleUpgrade(request, socket, head, (ws) => { + this.socket.emit('connection', ws, request); }); } }); - this.webSocketServer.on('connection', (wss) => { + this.socket.on('connection', (wss) => { wss.on('message', (data) => { - try { - const { type, args } = JSON.parse(data.toString('utf-8')); - if (this.listeners) { - this.listeners[type].forEach((listener) => listener(args)); - } - } catch (e) { - // - } + const event = typeof data === 'string' && isJSON(data) ? parse(data) : data; + this.handler(event); }); }); } - on(type: string, callback: any) { - this.listeners[type] = this.listeners[type] || []; - this.listeners[type].push(callback); - - return () => { - this.listeners[type] = this.listeners[type].filter((l) => l !== callback); - }; + setHandler(handler: ChannelHandler) { + this.handler = handler; } - emit(type: string, args: any = []) { - const event = { type, args }; + send(event: any) { const data = stringify(event, { maxDepth: 15, allowFunction: true }); - Array.from(this.webSocketServer.clients) + + Array.from(this.socket.clients) .filter((c) => c.readyState === WebSocket.OPEN) .forEach((client) => client.send(data)); } } export function getServerChannel(server: Server) { - return new ServerChannel(server); + const transport = new ServerChannelTransport(server); + + return new Channel({ transport, async: true }); } + +// for backwards compatibility +export type ServerChannel = ReturnType; diff --git a/code/lib/manager-api/src/modules/stories.ts b/code/lib/manager-api/src/modules/stories.ts index 0d8b7b87659c..38d2ff275ea0 100644 --- a/code/lib/manager-api/src/modules/stories.ts +++ b/code/lib/manager-api/src/modules/stories.ts @@ -563,7 +563,7 @@ export const init: ModuleFn = ({ }); if (FEATURES?.storyStoreV7) { - provider.serverChannel?.on(STORY_INDEX_INVALIDATED, () => fullAPI.fetchIndex()); + fullAPI.onServerAction(STORY_INDEX_INVALIDATED, () => fullAPI.fetchIndex()); await fullAPI.fetchIndex(); } }; diff --git a/code/lib/manager-api/src/tests/stories.test.ts b/code/lib/manager-api/src/tests/stories.test.ts index 4e6e7081db24..7ed336374506 100644 --- a/code/lib/manager-api/src/tests/stories.test.ts +++ b/code/lib/manager-api/src/tests/stories.test.ts @@ -395,7 +395,7 @@ describe('stories API', () => { it('handles properly prepared stories', async () => { const navigate = jest.fn(); const store = createMockStore(); - const fullAPI = Object.assign(new EventEmitter()); + const fullAPI = Object.assign(new EventEmitter(), { onServerAction: jest.fn() }); const { api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api); @@ -432,7 +432,10 @@ describe('stories API', () => { it('retains prepared-ness of stories', async () => { const navigate = jest.fn(); const store = createMockStore(); - const fullAPI = Object.assign(new EventEmitter(), { setOptions: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), { + setOptions: jest.fn(), + onServerAction: jest.fn(), + }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api); @@ -561,6 +564,7 @@ describe('stories API', () => { Object.assign(fullAPI, api, { setIndex: jest.fn(), setOptions: jest.fn(), + onServerAction: jest.fn(), }); init(); @@ -579,6 +583,7 @@ describe('stories API', () => { setIndex: jest.fn(), setOptions: jest.fn(), getCurrentParameter: jest.fn().mockReturnValue('options'), + onServerAction: jest.fn(), }); init(); @@ -592,7 +597,13 @@ describe('stories API', () => { it('deals with 500 errors', async () => { const navigate = jest.fn(); const store = createMockStore({}); - const fullAPI = Object.assign(new EventEmitter(), {}); + const fullAPI = Object.assign( + new EventEmitter(), + { + onServerAction: jest.fn(), + }, + {} + ); (global.fetch as jest.Mock>).mockReturnValue( Promise.resolve({ @@ -609,11 +620,16 @@ describe('stories API', () => { expect(indexError).toBeDefined(); }); - it('watches for the INVALIDATE event and refetches -- and resets the hash', async () => { + it('watches for the INVALIDATE event and re-fetches -- and resets the hash', async () => { const navigate = jest.fn(); const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { setIndex: jest.fn(), + onServerAction: jest.fn((type, cb) => { + provider.serverChannel.addListener(type, cb); + + return () => provider.serverChannel.removeListener(type, cb); + }), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -648,6 +664,11 @@ describe('stories API', () => { const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { setIndex: jest.fn(), + onServerAction: jest.fn((type, cb) => { + provider.serverChannel.addListener(type, cb); + + return () => provider.serverChannel.removeListener(type, cb); + }), }); (global.fetch as jest.Mock>).mockReturnValueOnce( @@ -693,6 +714,7 @@ describe('stories API', () => { isSettingsScreenActive() { return false; }, + onServerAction: jest.fn(), }); const store = createMockStore({}); const { init, api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -738,7 +760,7 @@ describe('stories API', () => { describe('CURRENT_STORY_WAS_SET event', () => { it('sets previewInitialized', async () => { const navigate = jest.fn(); - const fullAPI = Object.assign(new EventEmitter()); + const fullAPI = Object.assign(new EventEmitter(), { onServerAction: jest.fn() }); const store = createMockStore({}); const { init, api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -751,7 +773,10 @@ describe('stories API', () => { it('sets a ref to previewInitialized', async () => { const navigate = jest.fn(); - const fullAPI = Object.assign(new EventEmitter(), { updateRef: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), { + updateRef: jest.fn(), + onServerAction: jest.fn(), + }); const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -798,7 +823,10 @@ describe('stories API', () => { it('changes args properly, per story when receiving STORY_ARGS_UPDATED', () => { const navigate = jest.fn(); const store = createMockStore(); - const fullAPI = new EventEmitter(); + const fullAPI = Object.assign(new EventEmitter(), { + onServerAction: jest.fn(), + updateRef: jest.fn(), + }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -825,6 +853,7 @@ describe('stories API', () => { const { init, api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api, { updateRef: jest.fn(), + onServerAction: jest.fn(), }); init(); @@ -842,7 +871,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on }; + const fullAPI = { emit, on, onServerAction: jest.fn() }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -869,7 +898,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on }; + const fullAPI = { emit, on, onServerAction: jest.fn() }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -893,7 +922,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on }; + const fullAPI = { emit, on, onServerAction: jest.fn() }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -920,7 +949,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on }; + const fullAPI = { emit, on, onServerAction: jest.fn() }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1391,6 +1420,7 @@ describe('stories API', () => { const fullAPI = Object.assign(new EventEmitter(), { setStories: jest.fn(), setOptions: jest.fn(), + onServerAction: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1422,6 +1452,7 @@ describe('stories API', () => { const fullAPI = Object.assign(new EventEmitter(), { setStories: jest.fn(), setOptions: jest.fn(), + onServerAction: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1452,6 +1483,7 @@ describe('stories API', () => { const fullAPI = Object.assign(new EventEmitter(), { setStories: jest.fn(), setOptions: jest.fn(), + onServerAction: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1480,7 +1512,9 @@ describe('stories API', () => { it('sets previewInitialized to true, local', async () => { const navigate = jest.fn(); const store = createMockStore(); - const fullAPI = Object.assign(new EventEmitter(), {}); + const fullAPI = Object.assign(new EventEmitter(), { + onServerAction: jest.fn(), + }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api); @@ -1495,7 +1529,10 @@ describe('stories API', () => { it('sets previewInitialized to true, ref', async () => { const navigate = jest.fn(); - const fullAPI = Object.assign(new EventEmitter(), { updateRef: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), { + onServerAction: jest.fn(), + updateRef: jest.fn(), + }); const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1519,7 +1556,7 @@ describe('stories API', () => { it('sets previewInitialized to true, local', async () => { const navigate = jest.fn(); const store = createMockStore(); - const fullAPI = Object.assign(new EventEmitter(), {}); + const fullAPI = Object.assign(new EventEmitter(), { onServerAction: jest.fn() }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api); @@ -1534,7 +1571,10 @@ describe('stories API', () => { it('sets previewInitialized to true, ref', async () => { const navigate = jest.fn(); - const fullAPI = Object.assign(new EventEmitter(), { updateRef: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), { + updateRef: jest.fn(), + onServerAction: jest.fn(), + }); const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1556,15 +1596,16 @@ describe('stories API', () => { describe('v2 SET_STORIES event', () => { it('normalizes parameters and calls setRef for external stories', () => { - const fullAPI = Object.assign(new EventEmitter()); + const fullAPI = Object.assign(new EventEmitter(), { onServerAction: jest.fn() }); const navigate = jest.fn(); const store = createMockStore(); const { init, api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); - Object.assign(fullAPI, api, { + const finalAPI = Object.assign(fullAPI, api, { setIndex: jest.fn(), findRef: jest.fn(), setRef: jest.fn(), + onServerAction: jest.fn(), }); init(); @@ -1578,10 +1619,10 @@ describe('stories API', () => { kindParameters: { a: { kind: 'kind' } }, stories: { 'a--1': { kind: 'a', parameters: { story: 'story' } } }, }; - fullAPI.emit(SET_STORIES, setStoriesPayload); + finalAPI.emit(SET_STORIES, setStoriesPayload); - expect(fullAPI.setIndex).not.toHaveBeenCalled(); - expect(fullAPI.setRef).toHaveBeenCalledWith( + expect(finalAPI.setIndex).not.toHaveBeenCalled(); + expect(finalAPI.setRef).toHaveBeenCalledWith( 'ref', { id: 'ref', @@ -1604,6 +1645,7 @@ describe('stories API', () => { setIndex: jest.fn(), findRef: jest.fn(), setRef: jest.fn(), + onServerAction: jest.fn(), }); init(); diff --git a/code/yarn.lock b/code/yarn.lock index 267a38ca50bc..b1b386e50bef 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -6355,6 +6355,7 @@ __metadata: "@aw-web-design/x-default-browser": 1.4.88 "@discoveryjs/json-ext": ^0.5.3 "@storybook/builder-manager": 7.1.0-alpha.26 + "@storybook/channels": 7.1.0-alpha.26 "@storybook/core-common": 7.1.0-alpha.26 "@storybook/core-events": 7.1.0-alpha.26 "@storybook/csf": ^0.1.0 From 91f632e830a8c2921157a4835e97ec98471c24bd Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 5 Jun 2023 17:01:31 +0200 Subject: [PATCH 03/14] add serverChannel to FakeProvider --- code/ui/manager/src/FakeProvider.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/ui/manager/src/FakeProvider.tsx b/code/ui/manager/src/FakeProvider.tsx index 647e1ad81b06..65a454f602ef 100644 --- a/code/ui/manager/src/FakeProvider.tsx +++ b/code/ui/manager/src/FakeProvider.tsx @@ -17,6 +17,14 @@ export class FakeProvider extends Provider { addListener: () => {}, removeListener: () => {}, }; + // @ts-expect-error (Converted from ts-ignore) + this.serverChannel = { + on: () => {}, + off: () => {}, + emit: () => {}, + addListener: () => {}, + removeListener: () => {}, + }; } // @ts-expect-error (Converted from ts-ignore) From 3a3f92f69fbb8b95046b827e025987ddcb32b4e4 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Jun 2023 09:58:50 +0200 Subject: [PATCH 04/14] no longer need hack with args being an array sometimes, convert Buffer into string --- code/lib/channels/src/index.ts | 3 +-- code/lib/core-server/src/utils/get-server-channel.ts | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/lib/channels/src/index.ts b/code/lib/channels/src/index.ts index 4757af186e86..9c7425690f05 100644 --- a/code/lib/channels/src/index.ts +++ b/code/lib/channels/src/index.ts @@ -131,8 +131,7 @@ export class Channel { const listeners = this.listeners(event.type); if (listeners && listeners.length) { listeners.forEach((fn) => { - // args should always be an array, but serverChannel seems to sometimes send a single value - fn.apply(event, Array.isArray(event.args) ? event.args : [event.args]); + fn.apply(event, event.args); }); } this.data[event.type] = event.args; diff --git a/code/lib/core-server/src/utils/get-server-channel.ts b/code/lib/core-server/src/utils/get-server-channel.ts index 8587629cee01..18390c7676aa 100644 --- a/code/lib/core-server/src/utils/get-server-channel.ts +++ b/code/lib/core-server/src/utils/get-server-channel.ts @@ -21,7 +21,8 @@ export class ServerChannelTransport { } }); this.socket.on('connection', (wss) => { - wss.on('message', (data) => { + wss.on('message', (raw) => { + const data = raw.toString(); const event = typeof data === 'string' && isJSON(data) ? parse(data) : data; this.handler(event); }); From e73539f97a4e635deaa3134b171396b25c21600d Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Jun 2023 10:43:49 +0200 Subject: [PATCH 05/14] rename to `onServer` and `emitServer`, prefix with `experimental_` --- code/lib/manager-api/src/modules/channel.ts | 8 +-- code/lib/manager-api/src/modules/stories.ts | 2 +- .../lib/manager-api/src/tests/stories.test.ts | 52 +++++++++---------- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/code/lib/manager-api/src/modules/channel.ts b/code/lib/manager-api/src/modules/channel.ts index ec3cd15446c5..64568498f77d 100644 --- a/code/lib/manager-api/src/modules/channel.ts +++ b/code/lib/manager-api/src/modules/channel.ts @@ -8,10 +8,10 @@ import type { API, ModuleFn } from '../index'; export interface SubAPI { getChannel: () => API_Provider['channel']; on: (type: string, cb: Listener) => () => void; - onServerAction: (type: string, cb: Listener) => () => void; + experimental_onServer: (type: string, cb: Listener) => () => void; off: (type: string, cb: Listener) => void; emit: (type: string, ...args: any[]) => void; - emitServerAction: (type: string, ...args: any[]) => void; + experimental_emitServer: (type: string, ...args: any[]) => void; once: (type: string, cb: Listener) => void; collapseAll: () => void; expandAll: () => void; @@ -27,7 +27,7 @@ export const init: ModuleFn = ({ provider }) => { return () => provider.channel.removeListener(type, cb); }, - onServerAction: (type, cb) => { + experimental_onServer: (type, cb) => { provider.serverChannel.addListener(type, cb); return () => provider.serverChannel.removeListener(type, cb); @@ -47,7 +47,7 @@ export const init: ModuleFn = ({ provider }) => { } provider.channel.emit(type, data, ...args); }, - emitServerAction: (type, data, ...args) => { + experimental_emitServer: (type, data, ...args) => { provider.serverChannel.emit(type, data, ...args); }, diff --git a/code/lib/manager-api/src/modules/stories.ts b/code/lib/manager-api/src/modules/stories.ts index 38d2ff275ea0..9e3ac1f36464 100644 --- a/code/lib/manager-api/src/modules/stories.ts +++ b/code/lib/manager-api/src/modules/stories.ts @@ -563,7 +563,7 @@ export const init: ModuleFn = ({ }); if (FEATURES?.storyStoreV7) { - fullAPI.onServerAction(STORY_INDEX_INVALIDATED, () => fullAPI.fetchIndex()); + fullAPI.experimental_onServer(STORY_INDEX_INVALIDATED, () => fullAPI.fetchIndex()); await fullAPI.fetchIndex(); } }; diff --git a/code/lib/manager-api/src/tests/stories.test.ts b/code/lib/manager-api/src/tests/stories.test.ts index 7ed336374506..ec9220a75888 100644 --- a/code/lib/manager-api/src/tests/stories.test.ts +++ b/code/lib/manager-api/src/tests/stories.test.ts @@ -395,7 +395,7 @@ describe('stories API', () => { it('handles properly prepared stories', async () => { const navigate = jest.fn(); const store = createMockStore(); - const fullAPI = Object.assign(new EventEmitter(), { onServerAction: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), { experimental_onServer: jest.fn() }); const { api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api); @@ -434,7 +434,7 @@ describe('stories API', () => { const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { setOptions: jest.fn(), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -564,7 +564,7 @@ describe('stories API', () => { Object.assign(fullAPI, api, { setIndex: jest.fn(), setOptions: jest.fn(), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); init(); @@ -583,7 +583,7 @@ describe('stories API', () => { setIndex: jest.fn(), setOptions: jest.fn(), getCurrentParameter: jest.fn().mockReturnValue('options'), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); init(); @@ -600,7 +600,7 @@ describe('stories API', () => { const fullAPI = Object.assign( new EventEmitter(), { - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }, {} ); @@ -625,7 +625,7 @@ describe('stories API', () => { const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { setIndex: jest.fn(), - onServerAction: jest.fn((type, cb) => { + experimental_onServer: jest.fn((type, cb) => { provider.serverChannel.addListener(type, cb); return () => provider.serverChannel.removeListener(type, cb); @@ -664,7 +664,7 @@ describe('stories API', () => { const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { setIndex: jest.fn(), - onServerAction: jest.fn((type, cb) => { + experimental_onServer: jest.fn((type, cb) => { provider.serverChannel.addListener(type, cb); return () => provider.serverChannel.removeListener(type, cb); @@ -714,7 +714,7 @@ describe('stories API', () => { isSettingsScreenActive() { return false; }, - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); const store = createMockStore({}); const { init, api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -760,7 +760,7 @@ describe('stories API', () => { describe('CURRENT_STORY_WAS_SET event', () => { it('sets previewInitialized', async () => { const navigate = jest.fn(); - const fullAPI = Object.assign(new EventEmitter(), { onServerAction: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), { experimental_onServer: jest.fn() }); const store = createMockStore({}); const { init, api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -775,7 +775,7 @@ describe('stories API', () => { const navigate = jest.fn(); const fullAPI = Object.assign(new EventEmitter(), { updateRef: jest.fn(), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -824,7 +824,7 @@ describe('stories API', () => { const navigate = jest.fn(); const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), updateRef: jest.fn(), }); @@ -853,7 +853,7 @@ describe('stories API', () => { const { init, api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api, { updateRef: jest.fn(), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); init(); @@ -871,7 +871,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on, onServerAction: jest.fn() }; + const fullAPI = { emit, on, experimental_onServer: jest.fn() }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -898,7 +898,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on, onServerAction: jest.fn() }; + const fullAPI = { emit, on, experimental_onServer: jest.fn() }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -922,7 +922,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on, onServerAction: jest.fn() }; + const fullAPI = { emit, on, experimental_onServer: jest.fn() }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -949,7 +949,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on, onServerAction: jest.fn() }; + const fullAPI = { emit, on, experimental_onServer: jest.fn() }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1420,7 +1420,7 @@ describe('stories API', () => { const fullAPI = Object.assign(new EventEmitter(), { setStories: jest.fn(), setOptions: jest.fn(), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1452,7 +1452,7 @@ describe('stories API', () => { const fullAPI = Object.assign(new EventEmitter(), { setStories: jest.fn(), setOptions: jest.fn(), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1483,7 +1483,7 @@ describe('stories API', () => { const fullAPI = Object.assign(new EventEmitter(), { setStories: jest.fn(), setOptions: jest.fn(), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1513,7 +1513,7 @@ describe('stories API', () => { const navigate = jest.fn(); const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1530,7 +1530,7 @@ describe('stories API', () => { it('sets previewInitialized to true, ref', async () => { const navigate = jest.fn(); const fullAPI = Object.assign(new EventEmitter(), { - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), updateRef: jest.fn(), }); const store = createMockStore(); @@ -1556,7 +1556,7 @@ describe('stories API', () => { it('sets previewInitialized to true, local', async () => { const navigate = jest.fn(); const store = createMockStore(); - const fullAPI = Object.assign(new EventEmitter(), { onServerAction: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), { experimental_onServer: jest.fn() }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api); @@ -1573,7 +1573,7 @@ describe('stories API', () => { const navigate = jest.fn(); const fullAPI = Object.assign(new EventEmitter(), { updateRef: jest.fn(), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1596,7 +1596,7 @@ describe('stories API', () => { describe('v2 SET_STORIES event', () => { it('normalizes parameters and calls setRef for external stories', () => { - const fullAPI = Object.assign(new EventEmitter(), { onServerAction: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), { experimental_onServer: jest.fn() }); const navigate = jest.fn(); const store = createMockStore(); @@ -1605,7 +1605,7 @@ describe('stories API', () => { setIndex: jest.fn(), findRef: jest.fn(), setRef: jest.fn(), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); init(); @@ -1645,7 +1645,7 @@ describe('stories API', () => { setIndex: jest.fn(), findRef: jest.fn(), setRef: jest.fn(), - onServerAction: jest.fn(), + experimental_onServer: jest.fn(), }); init(); From 7c64ac7f098e08a80409552d4b2a397384af7c47 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Jun 2023 11:37:05 +0200 Subject: [PATCH 06/14] merge next into norbert/server-channel-for-addons --- CHANGELOG.md | 7 + MIGRATION.md | 23 + code/addons/a11y/package.json | 22 +- code/addons/actions/package.json | 18 +- code/addons/backgrounds/package.json | 18 +- code/addons/controls/package.json | 22 +- code/addons/docs/package.json | 26 +- code/addons/essentials/package.json | 32 +- code/addons/gfm/package.json | 6 +- code/addons/highlight/package.json | 8 +- code/addons/interactions/package.json | 22 +- code/addons/jest/package.json | 16 +- code/addons/links/package.json | 16 +- code/addons/measure/package.json | 16 +- code/addons/outline/package.json | 16 +- code/addons/storyshots-core/package.json | 24 +- code/addons/storyshots-puppeteer/package.json | 10 +- code/addons/storysource/package.json | 18 +- code/addons/toolbars/package.json | 14 +- code/addons/viewport/package.json | 16 +- code/builders/builder-manager/package.json | 10 +- code/builders/builder-vite/package.json | 22 +- .../builders/builder-vite/src/list-stories.ts | 7 +- code/builders/builder-webpack5/package.json | 40 +- code/deprecated/addons/package.json | 10 +- code/deprecated/client-api/package.json | 8 +- code/deprecated/core-client/package.json | 8 +- code/deprecated/manager-api-shim/package.json | 8 +- code/deprecated/preview-web/package.json | 8 +- code/deprecated/store/package.json | 8 +- code/frameworks/angular/package.json | 30 +- code/frameworks/ember/package.json | 14 +- code/frameworks/html-vite/package.json | 22 +- code/frameworks/html-webpack5/package.json | 12 +- code/frameworks/nextjs/package.json | 18 +- code/frameworks/preact-vite/package.json | 8 +- code/frameworks/preact-webpack5/package.json | 12 +- code/frameworks/react-vite/package.json | 8 +- code/frameworks/react-webpack5/package.json | 10 +- code/frameworks/server-webpack5/package.json | 12 +- code/frameworks/svelte-vite/package.json | 10 +- code/frameworks/svelte-webpack5/package.json | 12 +- code/frameworks/sveltekit/package.json | 10 +- code/frameworks/vue-vite/package.json | 12 +- code/frameworks/vue-webpack5/package.json | 12 +- code/frameworks/vue3-vite/package.json | 10 +- code/frameworks/vue3-webpack5/package.json | 12 +- .../web-components-vite/package.json | 12 +- .../web-components-webpack5/package.json | 12 +- code/lerna.json | 2 +- code/lib/channel-postmessage/package.json | 10 +- code/lib/channel-websocket/package.json | 8 +- code/lib/channels/package.json | 4 +- code/lib/cli-sb/package.json | 6 +- code/lib/cli-storybook/package.json | 6 +- code/lib/cli/package.json | 20 +- code/lib/cli/src/automigrate/fixes/mdx-gfm.ts | 3 +- code/lib/cli/src/versions.ts | 186 ++-- code/lib/client-logger/package.json | 4 +- code/lib/codemod/package.json | 10 +- code/lib/core-common/package.json | 8 +- code/lib/core-common/src/index.ts | 1 + .../src/utils/common-glob-options.ts | 5 + code/lib/core-events/package.json | 4 +- code/lib/core-server/package.json | 24 +- .../src/utils/StoryIndexGenerator.ts | 4 +- .../lib/core-server/src/utils/update-check.ts | 5 +- .../src/utils/watch-story-specifiers.ts | 3 +- code/lib/core-webpack/package.json | 10 +- code/lib/csf-plugin/package.json | 6 +- code/lib/csf-tools/package.json | 6 +- code/lib/docs-tools/package.json | 10 +- code/lib/instrumenter/package.json | 12 +- code/lib/manager-api/package.json | 16 +- code/lib/manager-api/src/version.ts | 2 +- code/lib/node-logger/package.json | 4 +- code/lib/postinstall/package.json | 4 +- code/lib/preview-api/package.json | 16 +- code/lib/preview/package.json | 16 +- code/lib/react-dom-shim/package.json | 6 +- code/lib/router/package.json | 6 +- code/lib/source-loader/package.json | 6 +- code/lib/telemetry/package.json | 8 +- code/lib/theming/package.json | 6 +- code/lib/types/package.json | 6 +- code/package.json | 2 +- code/presets/create-react-app/package.json | 8 +- code/presets/html-webpack/package.json | 6 +- code/presets/preact-webpack/package.json | 6 +- code/presets/react-webpack/package.json | 12 +- code/presets/server-webpack/package.json | 10 +- code/presets/svelte-webpack/package.json | 8 +- code/presets/vue-webpack/package.json | 8 +- code/presets/vue3-webpack/package.json | 8 +- .../web-components-webpack/package.json | 6 +- code/renderers/html/package.json | 12 +- code/renderers/preact/package.json | 10 +- code/renderers/react/package.json | 16 +- code/renderers/server/package.json | 12 +- code/renderers/svelte/package.json | 16 +- code/renderers/vue/package.json | 14 +- code/renderers/vue3/package.json | 12 +- code/renderers/web-components/package.json | 16 +- code/ui/blocks/package.json | 24 +- code/ui/components/package.json | 10 +- code/ui/manager/package.json | 28 +- code/yarn.lock | 930 +++++++++--------- docs/versions/next.json | 2 +- 108 files changed, 1199 insertions(+), 1157 deletions(-) create mode 100644 code/lib/core-common/src/utils/common-glob-options.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 56bebfa659d4..15c19827be03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 7.1.0-alpha.29 (June 6, 2023) + +#### Bug Fixes + +- CLI: Fix upgrade notification message [#22933](https://github.com/storybooks/storybook/pull/22933) +- Core: Fix indexing errors by excluding node_modules stories [#22873](https://github.com/storybooks/storybook/pull/22873) + ## 7.1.0-alpha.28 (June 6, 2023) #### Bug Fixes diff --git a/MIGRATION.md b/MIGRATION.md index 4d60d090a75b..618fe072a5a1 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -25,6 +25,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) - [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) @@ -833,6 +834,28 @@ With [nginx](https://www.nginx.com/), you need to extend [the MIME type handling It would otherwise default to serving the `.mjs` files as `application/octet-stream`. +##### Ignore story files from node_modules + +In 6.x Storybook literally followed the glob patterns specified in your `.storybook/main.js` `stories` field. Storybook 7.0 ignores files from `node_modules` unless your glob pattern includes the string `"node_modules"`. + +Given the following `main.js`: + +```js +export default { + stories: ['../**/*.stories.*'] +} +``` + +If you want to restore the previous behavior to include `node_modules`, you can update it to: + +```js +export default { + stories: ['../**/*.stories.*', '../**/node_modules/**/*.stories.*'] +} +``` + +The first glob would have node_modules automatically excluded by Storybook, and the second glob would include all stories that are under a nested `node_modules` directory. + ### 7.0 Core changes #### 7.0 feature flags removed diff --git a/code/addons/a11y/package.json b/code/addons/a11y/package.json index 612911db9300..50be3673336f 100644 --- a/code/addons/a11y/package.json +++ b/code/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Test component compliance with web accessibility standards", "keywords": [ "a11y", @@ -63,16 +63,16 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addon-highlight": "7.1.0-alpha.28", - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/addon-highlight": "7.1.0-alpha.29", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "axe-core": "^4.2.0", "lodash": "^4.17.21", "react-resize-detector": "^7.1.2" @@ -104,7 +104,7 @@ "./src/preview.tsx" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Accessibility", "icon": "https://user-images.githubusercontent.com/263385/101991665-47042f80-3c7c-11eb-8f00-64b5a18f498a.png", diff --git a/code/addons/actions/package.json b/code/addons/actions/package.json index 7b5d8f661286..95fae1c5265d 100644 --- a/code/addons/actions/package.json +++ b/code/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Get UI feedback when an action is performed on an interactive element", "keywords": [ "storybook", @@ -80,14 +80,14 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "dequal": "^2.0.2", "lodash": "^4.17.21", "polished": "^4.2.2", @@ -125,7 +125,7 @@ "./src/preview.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Actions", "unsupportedFrameworks": [ diff --git a/code/addons/backgrounds/package.json b/code/addons/backgrounds/package.json index b5ba2c650868..9fcdf60d9844 100644 --- a/code/addons/backgrounds/package.json +++ b/code/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Switch backgrounds to view components in different settings", "keywords": [ "addon", @@ -76,14 +76,14 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "memoizerific": "^1.11.3", "ts-dedent": "^2.0.0" }, @@ -112,7 +112,7 @@ "./src/preview.tsx" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Backgrounds", "icon": "https://user-images.githubusercontent.com/263385/101991667-479cc600-3c7c-11eb-96d3-410e936252e7.png", diff --git a/code/addons/controls/package.json b/code/addons/controls/package.json index bc434d106895..92df13d451c2 100644 --- a/code/addons/controls/package.json +++ b/code/addons/controls/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-controls", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Interact with component inputs dynamically in the Storybook UI", "keywords": [ "addon", @@ -68,15 +68,15 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/blocks": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/blocks": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "lodash": "^4.17.21", "ts-dedent": "^2.0.0" }, @@ -102,7 +102,7 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Controls", "icon": "https://user-images.githubusercontent.com/263385/101991669-479cc600-3c7c-11eb-93d9-38b67e8371f2.png", diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index 24d5c84c3e93..af4dc281c698 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-docs", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Document component usage and properties in Markdown", "keywords": [ "addon", @@ -99,19 +99,19 @@ "dependencies": { "@jest/transform": "^29.3.1", "@mdx-js/react": "^2.1.5", - "@storybook/blocks": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/csf-plugin": "7.1.0-alpha.28", - "@storybook/csf-tools": "7.1.0-alpha.28", + "@storybook/blocks": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/csf-plugin": "7.1.0-alpha.29", + "@storybook/csf-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", "@storybook/mdx2-csf": "^1.0.0", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/postinstall": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/react-dom-shim": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/postinstall": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/react-dom-shim": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "fs-extra": "^11.1.0", "remark-external-links": "^8.0.0", "remark-slug": "^6.0.0", @@ -141,7 +141,7 @@ "@storybook/mdx1-csf" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Docs", "icon": "https://user-images.githubusercontent.com/263385/101991672-48355c80-3c7c-11eb-82d9-95fa12438f64.png", diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json index 6997661652e6..adef067201d6 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-essentials", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Curated addons to bring out the best of Storybook", "keywords": [ "addon", @@ -119,23 +119,23 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addon-actions": "7.1.0-alpha.28", - "@storybook/addon-backgrounds": "7.1.0-alpha.28", - "@storybook/addon-controls": "7.1.0-alpha.28", - "@storybook/addon-docs": "7.1.0-alpha.28", - "@storybook/addon-highlight": "7.1.0-alpha.28", - "@storybook/addon-measure": "7.1.0-alpha.28", - "@storybook/addon-outline": "7.1.0-alpha.28", - "@storybook/addon-toolbars": "7.1.0-alpha.28", - "@storybook/addon-viewport": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", + "@storybook/addon-actions": "7.1.0-alpha.29", + "@storybook/addon-backgrounds": "7.1.0-alpha.29", + "@storybook/addon-controls": "7.1.0-alpha.29", + "@storybook/addon-docs": "7.1.0-alpha.29", + "@storybook/addon-highlight": "7.1.0-alpha.29", + "@storybook/addon-measure": "7.1.0-alpha.29", + "@storybook/addon-outline": "7.1.0-alpha.29", + "@storybook/addon-toolbars": "7.1.0-alpha.29", + "@storybook/addon-viewport": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", "ts-dedent": "^2.0.0" }, "devDependencies": { - "@storybook/vue": "7.1.0-alpha.28", + "@storybook/vue": "7.1.0-alpha.29", "typescript": "^4.9.3" }, "peerDependencies": { @@ -166,5 +166,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/addons/gfm/package.json b/code/addons/gfm/package.json index 0e466d4ebf2c..33fe7fe588f8 100644 --- a/code/addons/gfm/package.json +++ b/code/addons/gfm/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-mdx-gfm", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "GitHub Flavored Markdown in Storybook", "keywords": [ "addon", @@ -51,7 +51,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/node-logger": "7.1.0-alpha.28", + "@storybook/node-logger": "7.1.0-alpha.29", "remark-gfm": "^3.0.1", "ts-dedent": "^2.0.0" }, @@ -69,5 +69,5 @@ "cjs" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/addons/highlight/package.json b/code/addons/highlight/package.json index df43e0d7fd0d..0bf51537af0d 100644 --- a/code/addons/highlight/package.json +++ b/code/addons/highlight/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-highlight", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Highlight DOM nodes within your stories", "keywords": [ "storybook-addons", @@ -61,9 +61,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28" + "@storybook/preview-api": "7.1.0-alpha.29" }, "devDependencies": { "@types/webpack-env": "^1.16.0", @@ -78,7 +78,7 @@ "./src/preview.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "sbmodern": "dist/modern/index.js", "storybook": { "displayName": "Highlight", diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json index ba5d59796415..2aa2569ae02b 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-interactions", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Automate, test and debug user interactions", "keywords": [ "storybook-addons", @@ -72,16 +72,16 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/instrumenter": "7.1.0-alpha.28", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/instrumenter": "7.1.0-alpha.29", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "jest-mock": "^27.0.6", "polished": "^4.2.2", "ts-dedent": "^2.2.0" @@ -118,7 +118,7 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Interactions", "unsupportedFrameworks": [ diff --git a/code/addons/jest/package.json b/code/addons/jest/package.json index a095ace4a28a..ec87e0fc7beb 100644 --- a/code/addons/jest/package.json +++ b/code/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -70,13 +70,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", "react-resize-detector": "^7.1.2", "tiny-invariant": "^1.3.1", "upath": "^1.2.0" @@ -106,7 +106,7 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Jest", "icon": "https://pbs.twimg.com/profile_images/821713465245102080/mMtKIMax_400x400.jpg", diff --git a/code/addons/links/package.json b/code/addons/links/package.json index 3ae5f3368b41..7c835d62fe56 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Link stories together to build demos and prototypes with your UI components", "keywords": [ "addon", @@ -80,14 +80,14 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/csf": "^0.1.0", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/router": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/router": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "prop-types": "^15.7.2", "ts-dedent": "^2.0.0" }, @@ -119,7 +119,7 @@ ], "post": "./scripts/fix-preview-api-reference.ts" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Links", "icon": "https://user-images.githubusercontent.com/263385/101991673-48355c80-3c7c-11eb-9b6e-b627c96a75f6.png", diff --git a/code/addons/measure/package.json b/code/addons/measure/package.json index 14b15f557924..2ea2655c982b 100644 --- a/code/addons/measure/package.json +++ b/code/addons/measure/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-measure", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Inspect layouts by visualizing the box model", "keywords": [ "storybook-addons", @@ -75,13 +75,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28" + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29" }, "devDependencies": { "typescript": "~4.9.3" @@ -108,7 +108,7 @@ "./src/preview.tsx" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Measure", "unsupportedFrameworks": [ diff --git a/code/addons/outline/package.json b/code/addons/outline/package.json index cef14cc7dea5..f705d0e252ee 100644 --- a/code/addons/outline/package.json +++ b/code/addons/outline/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-outline", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Outline all elements with CSS to help with layout placement and alignment", "keywords": [ "storybook-addons", @@ -78,13 +78,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "ts-dedent": "^2.0.0" }, "devDependencies": { @@ -112,7 +112,7 @@ "./src/preview.tsx" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Outline", "unsupportedFrameworks": [ diff --git a/code/addons/storyshots-core/package.json b/code/addons/storyshots-core/package.json index 3423fc7b144e..fa72db41417d 100644 --- a/code/addons/storyshots-core/package.json +++ b/code/addons/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Take a code snapshot of every story automatically with Jest", "keywords": [ "addon", @@ -38,12 +38,12 @@ "dependencies": { "@jest/transform": "^29.3.1", "@storybook/babel-plugin-require-context-hook": "1.0.1", - "@storybook/client-api": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/core-webpack": "7.1.0-alpha.28", + "@storybook/client-api": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/core-webpack": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/jest-specific-snapshot": "^0.5.6", "glob": "^10.0.0", "jest-specific-snapshot": "^7.0.0", @@ -57,11 +57,11 @@ "@angular/core": "^13.3.6", "@angular/platform-browser-dynamic": "^13.3.6", "@emotion/jest": "^11.8.0", - "@storybook/addon-docs": "7.1.0-alpha.28", - "@storybook/angular": "7.1.0-alpha.28", - "@storybook/react": "7.1.0-alpha.28", - "@storybook/vue": "7.1.0-alpha.28", - "@storybook/vue3": "7.1.0-alpha.28", + "@storybook/addon-docs": "7.1.0-alpha.29", + "@storybook/angular": "7.1.0-alpha.29", + "@storybook/react": "7.1.0-alpha.29", + "@storybook/vue": "7.1.0-alpha.29", + "@storybook/vue3": "7.1.0-alpha.29", "babel-loader": "^9.1.2", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.5", @@ -142,7 +142,7 @@ "access": "public" }, "bundler": {}, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Storyshots", "icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png", diff --git a/code/addons/storyshots-puppeteer/package.json b/code/addons/storyshots-puppeteer/package.json index ac0a2215d79d..9b714b7d1889 100644 --- a/code/addons/storyshots-puppeteer/package.json +++ b/code/addons/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Image snapshots addition to StoryShots based on puppeteer", "keywords": [ "addon", @@ -37,8 +37,8 @@ "dependencies": { "@axe-core/puppeteer": "^4.2.0", "@storybook/csf": "^0.1.0", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/jest-image-snapshot": "^5.1.0", "jest-image-snapshot": "^6.0.0" }, @@ -50,7 +50,7 @@ "rimraf": "^3.0.2" }, "peerDependencies": { - "@storybook/addon-storyshots": "7.1.0-alpha.28", + "@storybook/addon-storyshots": "7.1.0-alpha.29", "puppeteer": ">=2.0.0" }, "peerDependenciesMeta": { @@ -62,5 +62,5 @@ "access": "public" }, "bundler": {}, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/addons/storysource/package.json b/code/addons/storysource/package.json index 12965d8f6fa8..aba651b380bc 100644 --- a/code/addons/storysource/package.json +++ b/code/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "View a story’s source code to see how it works and paste into your app", "keywords": [ "addon", @@ -53,13 +53,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/router": "7.1.0-alpha.28", - "@storybook/source-loader": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/router": "7.1.0-alpha.29", + "@storybook/source-loader": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", "estraverse": "^5.2.0", "prop-types": "^15.7.2", "react-syntax-highlighter": "^15.5.0", @@ -92,7 +92,7 @@ "./src/preset.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Storysource", "icon": "https://user-images.githubusercontent.com/263385/101991675-48cdf300-3c7c-11eb-9400-58de5ac6daa7.png", diff --git a/code/addons/toolbars/package.json b/code/addons/toolbars/package.json index 3d117cd608d5..8898313567d1 100644 --- a/code/addons/toolbars/package.json +++ b/code/addons/toolbars/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-toolbars", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Create your own toolbar items that control story rendering", "keywords": [ "addon", @@ -68,11 +68,11 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28" + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29" }, "devDependencies": { "typescript": "~4.9.3" @@ -99,7 +99,7 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Toolbars", "icon": "https://user-images.githubusercontent.com/263385/101991677-48cdf300-3c7c-11eb-93b4-19b0e3366959.png", diff --git a/code/addons/viewport/package.json b/code/addons/viewport/package.json index 71e703cc3c36..b010520949b8 100644 --- a/code/addons/viewport/package.json +++ b/code/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Build responsive components by adjusting Storybook’s viewport size and orientation", "keywords": [ "addon", @@ -73,13 +73,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", "memoizerific": "^1.11.3", "prop-types": "^15.7.2" }, @@ -109,7 +109,7 @@ "./src/preview.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf", + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16", "storybook": { "displayName": "Viewport", "icon": "https://user-images.githubusercontent.com/263385/101991678-48cdf300-3c7c-11eb-9764-f8af293c1b28.png", diff --git a/code/builders/builder-manager/package.json b/code/builders/builder-manager/package.json index ad4c6d0d712d..7106db7b92aa 100644 --- a/code/builders/builder-manager/package.json +++ b/code/builders/builder-manager/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-manager", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook manager builder", "keywords": [ "storybook" @@ -44,9 +44,9 @@ }, "dependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/manager": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/manager": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", "@types/ejs": "^3.1.1", "@types/find-cache-dir": "^3.2.1", "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10", @@ -73,5 +73,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/builders/builder-vite/package.json b/code/builders/builder-vite/package.json index b524d228c0f9..7dbb2c822706 100644 --- a/code/builders/builder-vite/package.json +++ b/code/builders/builder-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-vite", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "A plugin to run and build Storybooks with Vite", "homepage": "https://github.com/storybookjs/storybook/tree/next/code/builders/builder-vite/#readme", "bugs": { @@ -42,16 +42,16 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channel-postmessage": "7.1.0-alpha.28", - "@storybook/channel-websocket": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/csf-plugin": "7.1.0-alpha.28", + "@storybook/channel-postmessage": "7.1.0-alpha.29", + "@storybook/channel-websocket": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/csf-plugin": "7.1.0-alpha.29", "@storybook/mdx2-csf": "^1.0.0", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/preview": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/preview": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "browser-assert": "^1.2.1", "es-module-lexer": "^0.9.3", "express": "^4.17.3", @@ -99,5 +99,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/builders/builder-vite/src/list-stories.ts b/code/builders/builder-vite/src/list-stories.ts index ce5ae76e100c..746373c4c0f5 100644 --- a/code/builders/builder-vite/src/list-stories.ts +++ b/code/builders/builder-vite/src/list-stories.ts @@ -1,7 +1,7 @@ import * as path from 'path'; import slash from 'slash'; import { glob } from 'glob'; -import { normalizeStories } from '@storybook/core-common'; +import { normalizeStories, commonGlobOptions } from '@storybook/core-common'; import type { Options } from '@storybook/types'; import { normalizePath } from 'vite'; @@ -18,7 +18,10 @@ export async function listStories(options: Options) { ? pattern : path.join(options.configDir, pattern); - return glob(slash(absolutePattern), { follow: true }); + return glob(slash(absolutePattern), { + ...commonGlobOptions(absolutePattern), + follow: true, + }); }) ) ).reduce((carry, stories) => carry.concat(stories.map(normalizePath)), []); diff --git a/code/builders/builder-webpack5/package.json b/code/builders/builder-webpack5/package.json index dbddd954b9c5..120c825108ed 100644 --- a/code/builders/builder-webpack5/package.json +++ b/code/builders/builder-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-webpack5", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -56,25 +56,25 @@ }, "dependencies": { "@babel/core": "^7.22.0", - "@storybook/addons": "7.1.0-alpha.28", - "@storybook/api": "7.1.0-alpha.28", - "@storybook/channel-postmessage": "7.1.0-alpha.28", - "@storybook/channel-websocket": "7.1.0-alpha.28", - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/client-api": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", - "@storybook/core-webpack": "7.1.0-alpha.28", + "@storybook/addons": "7.1.0-alpha.29", + "@storybook/api": "7.1.0-alpha.29", + "@storybook/channel-postmessage": "7.1.0-alpha.29", + "@storybook/channel-websocket": "7.1.0-alpha.29", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/client-api": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", + "@storybook/core-webpack": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/preview": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/router": "7.1.0-alpha.28", - "@storybook/store": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/preview": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/router": "7.1.0-alpha.29", + "@storybook/store": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", "@swc/core": "^1.3.49", "@types/node": "^16.0.0", "@types/semver": "^7.3.4", @@ -131,5 +131,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/deprecated/addons/package.json b/code/deprecated/addons/package.json index afb3ff1c2a2c..02f42280faff 100644 --- a/code/deprecated/addons/package.json +++ b/code/deprecated/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook addons store", "keywords": [ "storybook" @@ -44,9 +44,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28" + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", @@ -60,5 +60,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/deprecated/client-api/package.json b/code/deprecated/client-api/package.json index 745b98885e41..dd206b436c0f 100644 --- a/code/deprecated/client-api/package.json +++ b/code/deprecated/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook Client API", "keywords": [ "storybook" @@ -42,8 +42,8 @@ "prep": "../../../scripts/prepare/facade.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28" + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29" }, "publishConfig": { "access": "public" @@ -54,5 +54,5 @@ ], "shim": "@storybook/preview-api/dist/client-api" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/deprecated/core-client/package.json b/code/deprecated/core-client/package.json index c7077eb693d3..cb00f9eae531 100644 --- a/code/deprecated/core-client/package.json +++ b/code/deprecated/core-client/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-client", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -35,8 +35,8 @@ "prep": "../../../scripts/prepare/facade.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28" + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29" }, "publishConfig": { "access": "public" @@ -47,5 +47,5 @@ ], "shim": "@storybook/preview-api/dist/core-client" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/deprecated/manager-api-shim/package.json b/code/deprecated/manager-api-shim/package.json index 2e2efd8987b1..aee46c8b7507 100644 --- a/code/deprecated/manager-api-shim/package.json +++ b/code/deprecated/manager-api-shim/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/api", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook Manager API (facade)", "keywords": [ "storybook" @@ -42,8 +42,8 @@ "prep": "../../../scripts/prepare/facade.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/manager-api": "7.1.0-alpha.28" + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/manager-api": "7.1.0-alpha.29" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", @@ -66,5 +66,5 @@ ], "shim": "@storybook/manager-api" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/deprecated/preview-web/package.json b/code/deprecated/preview-web/package.json index 9a89b34c4e0a..c83f9dc787d1 100644 --- a/code/deprecated/preview-web/package.json +++ b/code/deprecated/preview-web/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preview-web", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -42,8 +42,8 @@ "prep": "../../../scripts/prepare/facade.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28" + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29" }, "publishConfig": { "access": "public" @@ -54,5 +54,5 @@ ], "shim": "@storybook/preview-api/dist/preview-web" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/deprecated/store/package.json b/code/deprecated/store/package.json index 223c0c3cb3de..dd9e89531c94 100644 --- a/code/deprecated/store/package.json +++ b/code/deprecated/store/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/store", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -42,8 +42,8 @@ "prep": "../../../scripts/prepare/facade.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28" + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29" }, "publishConfig": { "access": "public" @@ -55,5 +55,5 @@ "platform": "node", "shim": "@storybook/preview-api/dist/store" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/angular/package.json b/code/frameworks/angular/package.json index 4973543543b7..874d940a331e 100644 --- a/code/frameworks/angular/package.json +++ b/code/frameworks/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.", "keywords": [ "storybook", @@ -36,20 +36,20 @@ "prep": "../../../scripts/prepare/tsc.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/cli": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", - "@storybook/core-server": "7.1.0-alpha.28", - "@storybook/core-webpack": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/cli": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", + "@storybook/core-server": "7.1.0-alpha.29", + "@storybook/core-webpack": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/telemetry": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/telemetry": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/node": "^16.0.0", "@types/react": "^16.14.34", "@types/react-dom": "^16.9.14", @@ -123,5 +123,5 @@ "bundler": { "tsConfig": "tsconfig.build.json" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/ember/package.json b/code/frameworks/ember/package.json index b171e1c80d2a..7cc9c02ec14a 100644 --- a/code/frameworks/ember/package.json +++ b/code/frameworks/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybookjs/storybook/tree/next/code/frameworks/ember", "bugs": { @@ -31,12 +31,12 @@ "prep": "../../../scripts/prepare/tsc.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "ts-dedent": "^2.0.0" }, "devDependencies": { @@ -59,5 +59,5 @@ "access": "public" }, "bundler": {}, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/html-vite/package.json b/code/frameworks/html-vite/package.json index 3ed43448a114..551ef37c426f 100644 --- a/code/frameworks/html-vite/package.json +++ b/code/frameworks/html-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html-vite", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for HTML and Vite: Develop HTML in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,15 +47,15 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.1.0-alpha.28", - "@storybook/builder-vite": "7.1.0-alpha.28", - "@storybook/channel-postmessage": "7.1.0-alpha.28", - "@storybook/channel-websocket": "7.1.0-alpha.28", - "@storybook/client-api": "7.1.0-alpha.28", - "@storybook/core-server": "7.1.0-alpha.28", - "@storybook/html": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/preview-web": "7.1.0-alpha.28", + "@storybook/addons": "7.1.0-alpha.29", + "@storybook/builder-vite": "7.1.0-alpha.29", + "@storybook/channel-postmessage": "7.1.0-alpha.29", + "@storybook/channel-websocket": "7.1.0-alpha.29", + "@storybook/client-api": "7.1.0-alpha.29", + "@storybook/core-server": "7.1.0-alpha.29", + "@storybook/html": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/preview-web": "7.1.0-alpha.29", "magic-string": "^0.27.0" }, "devDependencies": { @@ -75,5 +75,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/html-webpack5/package.json b/code/frameworks/html-webpack5/package.json index 7713395bfb80..f2fd0357db1c 100644 --- a/code/frameworks/html-webpack5/package.json +++ b/code/frameworks/html-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html-webpack5", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,11 +47,11 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/html": "7.1.0-alpha.28", - "@storybook/preset-html-webpack": "7.1.0-alpha.28", + "@storybook/html": "7.1.0-alpha.29", + "@storybook/preset-html-webpack": "7.1.0-alpha.29", "@types/node": "^16.0.0" }, "devDependencies": { @@ -75,5 +75,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/nextjs/package.json b/code/frameworks/nextjs/package.json index 144c30cca1fe..d56d82387f17 100644 --- a/code/frameworks/nextjs/package.json +++ b/code/frameworks/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/nextjs", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Next.js", "keywords": [ "storybook", @@ -70,13 +70,13 @@ "@babel/preset-react": "^7.22.0", "@babel/preset-typescript": "^7.21.0", "@babel/runtime": "^7.22.0", - "@storybook/addon-actions": "7.1.0-alpha.28", - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/preset-react-webpack": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/react": "7.1.0-alpha.28", + "@storybook/addon-actions": "7.1.0-alpha.29", + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/preset-react-webpack": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/react": "7.1.0-alpha.29", "@types/node": "^16.0.0", "css-loader": "^6.7.3", "find-up": "^5.0.0", @@ -147,5 +147,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/preact-vite/package.json b/code/frameworks/preact-vite/package.json index 7ea05de6571c..13f5b1be37d9 100644 --- a/code/frameworks/preact-vite/package.json +++ b/code/frameworks/preact-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact-vite", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,8 +47,8 @@ }, "dependencies": { "@preact/preset-vite": "^2.0.0", - "@storybook/builder-vite": "7.1.0-alpha.28", - "@storybook/preact": "7.1.0-alpha.28" + "@storybook/builder-vite": "7.1.0-alpha.29", + "@storybook/preact": "7.1.0-alpha.29" }, "devDependencies": { "@types/node": "^16.0.0", @@ -72,5 +72,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/preact-webpack5/package.json b/code/frameworks/preact-webpack5/package.json index 574c82d74b69..126be3bf1d3c 100644 --- a/code/frameworks/preact-webpack5/package.json +++ b/code/frameworks/preact-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact-webpack5", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -47,10 +47,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/preact": "7.1.0-alpha.28", - "@storybook/preset-preact-webpack": "7.1.0-alpha.28", + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/preact": "7.1.0-alpha.29", + "@storybook/preset-preact-webpack": "7.1.0-alpha.29", "@types/node": "^16.0.0" }, "devDependencies": { @@ -76,5 +76,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json index f4165af3fee5..0987bdc81dba 100644 --- a/code/frameworks/react-vite/package.json +++ b/code/frameworks/react-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-vite", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -49,8 +49,8 @@ "dependencies": { "@joshwooding/vite-plugin-react-docgen-typescript": "0.2.1", "@rollup/pluginutils": "^4.2.0", - "@storybook/builder-vite": "7.1.0-alpha.28", - "@storybook/react": "7.1.0-alpha.28", + "@storybook/builder-vite": "7.1.0-alpha.29", + "@storybook/react": "7.1.0-alpha.29", "@vitejs/plugin-react": "^3.0.1", "ast-types": "^0.14.2", "magic-string": "^0.27.0", @@ -79,5 +79,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/react-webpack5/package.json b/code/frameworks/react-webpack5/package.json index 3cb582d1e04b..ea4e3a8e4cc4 100644 --- a/code/frameworks/react-webpack5/package.json +++ b/code/frameworks/react-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-webpack5", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,9 +47,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/preset-react-webpack": "7.1.0-alpha.28", - "@storybook/react": "7.1.0-alpha.28", + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/preset-react-webpack": "7.1.0-alpha.29", + "@storybook/react": "7.1.0-alpha.29", "@types/node": "^16.0.0" }, "devDependencies": { @@ -82,5 +82,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/server-webpack5/package.json b/code/frameworks/server-webpack5/package.json index b3dcfc601c9c..71af0fc67c1c 100644 --- a/code/frameworks/server-webpack5/package.json +++ b/code/frameworks/server-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/server-webpack5", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,10 +47,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/preset-server-webpack": "7.1.0-alpha.28", - "@storybook/server": "7.1.0-alpha.28", + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/preset-server-webpack": "7.1.0-alpha.29", + "@storybook/server": "7.1.0-alpha.29", "@types/node": "^16.0.0" }, "devDependencies": { @@ -73,5 +73,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/svelte-vite/package.json b/code/frameworks/svelte-vite/package.json index a3c3a0766eb4..14f48cb6b195 100644 --- a/code/frameworks/svelte-vite/package.json +++ b/code/frameworks/svelte-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte-vite", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Svelte and Vite: Develop Svelte components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,9 +47,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-vite": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/svelte": "7.1.0-alpha.28", + "@storybook/builder-vite": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/svelte": "7.1.0-alpha.29", "@sveltejs/vite-plugin-svelte": "^2.0.0", "magic-string": "^0.27.0", "svelte": "^3.0.0", @@ -79,5 +79,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/svelte-webpack5/package.json b/code/frameworks/svelte-webpack5/package.json index 5a1373e0ab9b..08501533e76b 100644 --- a/code/frameworks/svelte-webpack5/package.json +++ b/code/frameworks/svelte-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte-webpack5", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,10 +47,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/preset-svelte-webpack": "7.1.0-alpha.28", - "@storybook/svelte": "7.1.0-alpha.28" + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/preset-svelte-webpack": "7.1.0-alpha.29", + "@storybook/svelte": "7.1.0-alpha.29" }, "devDependencies": { "svelte": "^3.48.0", @@ -77,5 +77,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/sveltekit/package.json b/code/frameworks/sveltekit/package.json index 489582971398..a543c716298c 100644 --- a/code/frameworks/sveltekit/package.json +++ b/code/frameworks/sveltekit/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/sveltekit", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for SvelteKit", "keywords": [ "storybook", @@ -50,9 +50,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-vite": "7.1.0-alpha.28", - "@storybook/svelte": "7.1.0-alpha.28", - "@storybook/svelte-vite": "7.1.0-alpha.28" + "@storybook/builder-vite": "7.1.0-alpha.29", + "@storybook/svelte": "7.1.0-alpha.29", + "@storybook/svelte-vite": "7.1.0-alpha.29" }, "devDependencies": { "@types/node": "^16.0.0", @@ -75,5 +75,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/vue-vite/package.json b/code/frameworks/vue-vite/package.json index 14cba9f48cd5..da8446feec1d 100644 --- a/code/frameworks/vue-vite/package.json +++ b/code/frameworks/vue-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue-vite", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Vue2 and Vite: Develop Vue2 Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,10 +47,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-vite": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/core-server": "7.1.0-alpha.28", - "@storybook/vue": "7.1.0-alpha.28", + "@storybook/builder-vite": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/core-server": "7.1.0-alpha.29", + "@storybook/vue": "7.1.0-alpha.29", "magic-string": "^0.27.0", "vue-docgen-api": "^4.40.0" }, @@ -78,5 +78,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/vue-webpack5/package.json b/code/frameworks/vue-webpack5/package.json index 52aa6a610654..cb6cedd22929 100644 --- a/code/frameworks/vue-webpack5/package.json +++ b/code/frameworks/vue-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue-webpack5", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,10 +47,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/preset-vue-webpack": "7.1.0-alpha.28", - "@storybook/vue": "7.1.0-alpha.28", + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/preset-vue-webpack": "7.1.0-alpha.29", + "@storybook/vue": "7.1.0-alpha.29", "@types/node": "^16.0.0" }, "devDependencies": { @@ -82,5 +82,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json index c753ef83ae16..286073f519c5 100644 --- a/code/frameworks/vue3-vite/package.json +++ b/code/frameworks/vue3-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3-vite", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Vue3 and Vite: Develop Vue3 components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,9 +47,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-vite": "7.1.0-alpha.28", - "@storybook/core-server": "7.1.0-alpha.28", - "@storybook/vue3": "7.1.0-alpha.28", + "@storybook/builder-vite": "7.1.0-alpha.29", + "@storybook/core-server": "7.1.0-alpha.29", + "@storybook/vue3": "7.1.0-alpha.29", "@vitejs/plugin-vue": "^4.0.0", "magic-string": "^0.27.0", "vue-docgen-api": "^4.40.0" @@ -77,5 +77,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/vue3-webpack5/package.json b/code/frameworks/vue3-webpack5/package.json index 566b28db3fec..52d3705fafc9 100644 --- a/code/frameworks/vue3-webpack5/package.json +++ b/code/frameworks/vue3-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3-webpack5", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,10 +47,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/preset-vue3-webpack": "7.1.0-alpha.28", - "@storybook/vue3": "7.1.0-alpha.28", + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/preset-vue3-webpack": "7.1.0-alpha.29", + "@storybook/vue3": "7.1.0-alpha.29", "@types/node": "^16.0.0" }, "devDependencies": { @@ -79,5 +79,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/web-components-vite/package.json b/code/frameworks/web-components-vite/package.json index 99836d7fa09a..23f6027e294c 100644 --- a/code/frameworks/web-components-vite/package.json +++ b/code/frameworks/web-components-vite/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/web-components-vite", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for web-components and Vite: Develop Web Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,10 +47,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-vite": "7.1.0-alpha.28", - "@storybook/core-server": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/web-components": "7.1.0-alpha.28", + "@storybook/builder-vite": "7.1.0-alpha.29", + "@storybook/core-server": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/web-components": "7.1.0-alpha.29", "magic-string": "^0.27.0" }, "devDependencies": { @@ -74,5 +74,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/frameworks/web-components-webpack5/package.json b/code/frameworks/web-components-webpack5/package.json index 36e15fcaa700..809bc227faf4 100644 --- a/code/frameworks/web-components-webpack5/package.json +++ b/code/frameworks/web-components-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/web-components-webpack5", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.", "keywords": [ "lit", @@ -51,10 +51,10 @@ }, "dependencies": { "@babel/preset-env": "^7.22.0", - "@storybook/builder-webpack5": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/preset-web-components-webpack": "7.1.0-alpha.28", - "@storybook/web-components": "7.1.0-alpha.28", + "@storybook/builder-webpack5": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/preset-web-components-webpack": "7.1.0-alpha.29", + "@storybook/web-components": "7.1.0-alpha.29", "@types/node": "^16.0.0" }, "devDependencies": { @@ -79,5 +79,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lerna.json b/code/lerna.json index 99cd88d1bf03..c4881ba783a9 100644 --- a/code/lerna.json +++ b/code/lerna.json @@ -2,5 +2,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "7.1.0-alpha.28" + "version": "7.1.0-alpha.29" } diff --git a/code/lib/channel-postmessage/package.json b/code/lib/channel-postmessage/package.json index 492591a19089..6d86a27c9726 100644 --- a/code/lib/channel-postmessage/package.json +++ b/code/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -43,9 +43,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", "qs": "^6.10.0", "telejson": "^7.0.3", @@ -62,5 +62,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/channel-websocket/package.json b/code/lib/channel-websocket/package.json index 43f98b25cfca..c3432c828e45 100644 --- a/code/lib/channel-websocket/package.json +++ b/code/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -43,8 +43,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", "telejson": "^7.0.3", "tiny-invariant": "^1.3.1" @@ -60,5 +60,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/channels/package.json b/code/lib/channels/package.json index c4f69a70953a..8543d306aa2c 100644 --- a/code/lib/channels/package.json +++ b/code/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -53,5 +53,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/cli-sb/package.json b/code/lib/cli-sb/package.json index 549872b83121..3de9c3a58933 100644 --- a/code/lib/cli-sb/package.json +++ b/code/lib/cli-sb/package.json @@ -1,6 +1,6 @@ { "name": "sb", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook CLI", "keywords": [ "storybook" @@ -21,10 +21,10 @@ "license": "MIT", "bin": "./index.js", "dependencies": { - "@storybook/cli": "7.1.0-alpha.28" + "@storybook/cli": "7.1.0-alpha.29" }, "publishConfig": { "access": "public" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/cli-storybook/package.json b/code/lib/cli-storybook/package.json index fb57fe565438..32655f57a3f3 100644 --- a/code/lib/cli-storybook/package.json +++ b/code/lib/cli-storybook/package.json @@ -1,6 +1,6 @@ { "name": "storybook", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook CLI", "keywords": [ "storybook" @@ -24,10 +24,10 @@ "storybook": "./index.js" }, "dependencies": { - "@storybook/cli": "7.1.0-alpha.28" + "@storybook/cli": "7.1.0-alpha.29" }, "publishConfig": { "access": "public" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/cli/package.json b/code/lib/cli/package.json index 682a617a4d71..93406ced99ad 100644 --- a/code/lib/cli/package.json +++ b/code/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -57,13 +57,13 @@ "@babel/core": "^7.22.0", "@babel/preset-env": "^7.22.0", "@ndelangen/get-tarball": "^3.0.7", - "@storybook/codemod": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/core-server": "7.1.0-alpha.28", - "@storybook/csf-tools": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/telemetry": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/codemod": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/core-server": "7.1.0-alpha.29", + "@storybook/csf-tools": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/telemetry": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/semver": "^7.3.4", "boxen": "^5.1.2", "chalk": "^4.1.0", @@ -95,7 +95,7 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { - "@storybook/client-api": "7.1.0-alpha.28", + "@storybook/client-api": "7.1.0-alpha.29", "@types/cross-spawn": "^6.0.2", "@types/prompts": "^2.0.9", "@types/puppeteer-core": "^2.1.0", @@ -116,5 +116,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts b/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts index 7989b5c1517a..b8c215feef06 100644 --- a/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts +++ b/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts @@ -3,6 +3,7 @@ import semver from 'semver'; import { join } from 'path'; import slash from 'slash'; import glob from 'globby'; +import { commonGlobOptions } from '@storybook/core-common'; import { getStorybookData, updateMainConfig } from '../helpers/mainConfigFile'; import type { Fix } from '../types'; import { getStorybookVersionSpecifier } from '../../helpers'; @@ -37,7 +38,7 @@ export const mdxgfm: Fix = { ? slash(join(configDir, item)) : slash(join(configDir, item.directory, item.files)); - const files = await glob(pattern); + const files = await glob(pattern, commonGlobOptions(pattern)); return files.some((f) => f.endsWith('.mdx')); }, Promise.resolve(false)); diff --git a/code/lib/cli/src/versions.ts b/code/lib/cli/src/versions.ts index 642174fd816e..df64b80e0943 100644 --- a/code/lib/cli/src/versions.ts +++ b/code/lib/cli/src/versions.ts @@ -1,96 +1,96 @@ // auto generated file, do not edit export default { - '@storybook/addon-a11y': '7.1.0-alpha.28', - '@storybook/addon-actions': '7.1.0-alpha.28', - '@storybook/addon-backgrounds': '7.1.0-alpha.28', - '@storybook/addon-controls': '7.1.0-alpha.28', - '@storybook/addon-docs': '7.1.0-alpha.28', - '@storybook/addon-essentials': '7.1.0-alpha.28', - '@storybook/addon-highlight': '7.1.0-alpha.28', - '@storybook/addon-interactions': '7.1.0-alpha.28', - '@storybook/addon-jest': '7.1.0-alpha.28', - '@storybook/addon-links': '7.1.0-alpha.28', - '@storybook/addon-mdx-gfm': '7.1.0-alpha.28', - '@storybook/addon-measure': '7.1.0-alpha.28', - '@storybook/addon-outline': '7.1.0-alpha.28', - '@storybook/addon-storyshots': '7.1.0-alpha.28', - '@storybook/addon-storyshots-puppeteer': '7.1.0-alpha.28', - '@storybook/addon-storysource': '7.1.0-alpha.28', - '@storybook/addon-toolbars': '7.1.0-alpha.28', - '@storybook/addon-viewport': '7.1.0-alpha.28', - '@storybook/addons': '7.1.0-alpha.28', - '@storybook/angular': '7.1.0-alpha.28', - '@storybook/api': '7.1.0-alpha.28', - '@storybook/blocks': '7.1.0-alpha.28', - '@storybook/builder-manager': '7.1.0-alpha.28', - '@storybook/builder-vite': '7.1.0-alpha.28', - '@storybook/builder-webpack5': '7.1.0-alpha.28', - '@storybook/channel-postmessage': '7.1.0-alpha.28', - '@storybook/channel-websocket': '7.1.0-alpha.28', - '@storybook/channels': '7.1.0-alpha.28', - '@storybook/cli': '7.1.0-alpha.28', - '@storybook/client-api': '7.1.0-alpha.28', - '@storybook/client-logger': '7.1.0-alpha.28', - '@storybook/codemod': '7.1.0-alpha.28', - '@storybook/components': '7.1.0-alpha.28', - '@storybook/core-client': '7.1.0-alpha.28', - '@storybook/core-common': '7.1.0-alpha.28', - '@storybook/core-events': '7.1.0-alpha.28', - '@storybook/core-server': '7.1.0-alpha.28', - '@storybook/core-webpack': '7.1.0-alpha.28', - '@storybook/csf-plugin': '7.1.0-alpha.28', - '@storybook/csf-tools': '7.1.0-alpha.28', - '@storybook/docs-tools': '7.1.0-alpha.28', - '@storybook/ember': '7.1.0-alpha.28', - '@storybook/html': '7.1.0-alpha.28', - '@storybook/html-vite': '7.1.0-alpha.28', - '@storybook/html-webpack5': '7.1.0-alpha.28', - '@storybook/instrumenter': '7.1.0-alpha.28', - '@storybook/manager': '7.1.0-alpha.28', - '@storybook/manager-api': '7.1.0-alpha.28', - '@storybook/nextjs': '7.1.0-alpha.28', - '@storybook/node-logger': '7.1.0-alpha.28', - '@storybook/postinstall': '7.1.0-alpha.28', - '@storybook/preact': '7.1.0-alpha.28', - '@storybook/preact-vite': '7.1.0-alpha.28', - '@storybook/preact-webpack5': '7.1.0-alpha.28', - '@storybook/preset-create-react-app': '7.1.0-alpha.28', - '@storybook/preset-html-webpack': '7.1.0-alpha.28', - '@storybook/preset-preact-webpack': '7.1.0-alpha.28', - '@storybook/preset-react-webpack': '7.1.0-alpha.28', - '@storybook/preset-server-webpack': '7.1.0-alpha.28', - '@storybook/preset-svelte-webpack': '7.1.0-alpha.28', - '@storybook/preset-vue-webpack': '7.1.0-alpha.28', - '@storybook/preset-vue3-webpack': '7.1.0-alpha.28', - '@storybook/preset-web-components-webpack': '7.1.0-alpha.28', - '@storybook/preview': '7.1.0-alpha.28', - '@storybook/preview-api': '7.1.0-alpha.28', - '@storybook/preview-web': '7.1.0-alpha.28', - '@storybook/react': '7.1.0-alpha.28', - '@storybook/react-dom-shim': '7.1.0-alpha.28', - '@storybook/react-vite': '7.1.0-alpha.28', - '@storybook/react-webpack5': '7.1.0-alpha.28', - '@storybook/router': '7.1.0-alpha.28', - '@storybook/server': '7.1.0-alpha.28', - '@storybook/server-webpack5': '7.1.0-alpha.28', - '@storybook/source-loader': '7.1.0-alpha.28', - '@storybook/store': '7.1.0-alpha.28', - '@storybook/svelte': '7.1.0-alpha.28', - '@storybook/svelte-vite': '7.1.0-alpha.28', - '@storybook/svelte-webpack5': '7.1.0-alpha.28', - '@storybook/sveltekit': '7.1.0-alpha.28', - '@storybook/telemetry': '7.1.0-alpha.28', - '@storybook/theming': '7.1.0-alpha.28', - '@storybook/types': '7.1.0-alpha.28', - '@storybook/vue': '7.1.0-alpha.28', - '@storybook/vue-vite': '7.1.0-alpha.28', - '@storybook/vue-webpack5': '7.1.0-alpha.28', - '@storybook/vue3': '7.1.0-alpha.28', - '@storybook/vue3-vite': '7.1.0-alpha.28', - '@storybook/vue3-webpack5': '7.1.0-alpha.28', - '@storybook/web-components': '7.1.0-alpha.28', - '@storybook/web-components-vite': '7.1.0-alpha.28', - '@storybook/web-components-webpack5': '7.1.0-alpha.28', - sb: '7.1.0-alpha.28', - storybook: '7.1.0-alpha.28', + '@storybook/addon-a11y': '7.1.0-alpha.29', + '@storybook/addon-actions': '7.1.0-alpha.29', + '@storybook/addon-backgrounds': '7.1.0-alpha.29', + '@storybook/addon-controls': '7.1.0-alpha.29', + '@storybook/addon-docs': '7.1.0-alpha.29', + '@storybook/addon-essentials': '7.1.0-alpha.29', + '@storybook/addon-highlight': '7.1.0-alpha.29', + '@storybook/addon-interactions': '7.1.0-alpha.29', + '@storybook/addon-jest': '7.1.0-alpha.29', + '@storybook/addon-links': '7.1.0-alpha.29', + '@storybook/addon-mdx-gfm': '7.1.0-alpha.29', + '@storybook/addon-measure': '7.1.0-alpha.29', + '@storybook/addon-outline': '7.1.0-alpha.29', + '@storybook/addon-storyshots': '7.1.0-alpha.29', + '@storybook/addon-storyshots-puppeteer': '7.1.0-alpha.29', + '@storybook/addon-storysource': '7.1.0-alpha.29', + '@storybook/addon-toolbars': '7.1.0-alpha.29', + '@storybook/addon-viewport': '7.1.0-alpha.29', + '@storybook/addons': '7.1.0-alpha.29', + '@storybook/angular': '7.1.0-alpha.29', + '@storybook/api': '7.1.0-alpha.29', + '@storybook/blocks': '7.1.0-alpha.29', + '@storybook/builder-manager': '7.1.0-alpha.29', + '@storybook/builder-vite': '7.1.0-alpha.29', + '@storybook/builder-webpack5': '7.1.0-alpha.29', + '@storybook/channel-postmessage': '7.1.0-alpha.29', + '@storybook/channel-websocket': '7.1.0-alpha.29', + '@storybook/channels': '7.1.0-alpha.29', + '@storybook/cli': '7.1.0-alpha.29', + '@storybook/client-api': '7.1.0-alpha.29', + '@storybook/client-logger': '7.1.0-alpha.29', + '@storybook/codemod': '7.1.0-alpha.29', + '@storybook/components': '7.1.0-alpha.29', + '@storybook/core-client': '7.1.0-alpha.29', + '@storybook/core-common': '7.1.0-alpha.29', + '@storybook/core-events': '7.1.0-alpha.29', + '@storybook/core-server': '7.1.0-alpha.29', + '@storybook/core-webpack': '7.1.0-alpha.29', + '@storybook/csf-plugin': '7.1.0-alpha.29', + '@storybook/csf-tools': '7.1.0-alpha.29', + '@storybook/docs-tools': '7.1.0-alpha.29', + '@storybook/ember': '7.1.0-alpha.29', + '@storybook/html': '7.1.0-alpha.29', + '@storybook/html-vite': '7.1.0-alpha.29', + '@storybook/html-webpack5': '7.1.0-alpha.29', + '@storybook/instrumenter': '7.1.0-alpha.29', + '@storybook/manager': '7.1.0-alpha.29', + '@storybook/manager-api': '7.1.0-alpha.29', + '@storybook/nextjs': '7.1.0-alpha.29', + '@storybook/node-logger': '7.1.0-alpha.29', + '@storybook/postinstall': '7.1.0-alpha.29', + '@storybook/preact': '7.1.0-alpha.29', + '@storybook/preact-vite': '7.1.0-alpha.29', + '@storybook/preact-webpack5': '7.1.0-alpha.29', + '@storybook/preset-create-react-app': '7.1.0-alpha.29', + '@storybook/preset-html-webpack': '7.1.0-alpha.29', + '@storybook/preset-preact-webpack': '7.1.0-alpha.29', + '@storybook/preset-react-webpack': '7.1.0-alpha.29', + '@storybook/preset-server-webpack': '7.1.0-alpha.29', + '@storybook/preset-svelte-webpack': '7.1.0-alpha.29', + '@storybook/preset-vue-webpack': '7.1.0-alpha.29', + '@storybook/preset-vue3-webpack': '7.1.0-alpha.29', + '@storybook/preset-web-components-webpack': '7.1.0-alpha.29', + '@storybook/preview': '7.1.0-alpha.29', + '@storybook/preview-api': '7.1.0-alpha.29', + '@storybook/preview-web': '7.1.0-alpha.29', + '@storybook/react': '7.1.0-alpha.29', + '@storybook/react-dom-shim': '7.1.0-alpha.29', + '@storybook/react-vite': '7.1.0-alpha.29', + '@storybook/react-webpack5': '7.1.0-alpha.29', + '@storybook/router': '7.1.0-alpha.29', + '@storybook/server': '7.1.0-alpha.29', + '@storybook/server-webpack5': '7.1.0-alpha.29', + '@storybook/source-loader': '7.1.0-alpha.29', + '@storybook/store': '7.1.0-alpha.29', + '@storybook/svelte': '7.1.0-alpha.29', + '@storybook/svelte-vite': '7.1.0-alpha.29', + '@storybook/svelte-webpack5': '7.1.0-alpha.29', + '@storybook/sveltekit': '7.1.0-alpha.29', + '@storybook/telemetry': '7.1.0-alpha.29', + '@storybook/theming': '7.1.0-alpha.29', + '@storybook/types': '7.1.0-alpha.29', + '@storybook/vue': '7.1.0-alpha.29', + '@storybook/vue-vite': '7.1.0-alpha.29', + '@storybook/vue-webpack5': '7.1.0-alpha.29', + '@storybook/vue3': '7.1.0-alpha.29', + '@storybook/vue3-vite': '7.1.0-alpha.29', + '@storybook/vue3-webpack5': '7.1.0-alpha.29', + '@storybook/web-components': '7.1.0-alpha.29', + '@storybook/web-components-vite': '7.1.0-alpha.29', + '@storybook/web-components-webpack5': '7.1.0-alpha.29', + sb: '7.1.0-alpha.29', + storybook: '7.1.0-alpha.29', }; diff --git a/code/lib/client-logger/package.json b/code/lib/client-logger/package.json index 32eacfe6aee0..e0f39cffbd39 100644 --- a/code/lib/client-logger/package.json +++ b/code/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -56,5 +56,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json index 624bb833c339..d3d5886bbae7 100644 --- a/code/lib/codemod/package.json +++ b/code/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" @@ -49,9 +49,9 @@ "@babel/preset-env": "^7.22.0", "@babel/types": "^7.22.0", "@storybook/csf": "^0.1.0", - "@storybook/csf-tools": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/csf-tools": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "cross-spawn": "^7.0.3", "globby": "^11.0.2", "jscodeshift": "^0.14.0", @@ -97,5 +97,5 @@ "cjs" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/core-common/package.json b/code/lib/core-common/package.json index a0900979f50d..19c7c98a7b29 100644 --- a/code/lib/core-common/package.json +++ b/code/lib/core-common/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-common", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -43,8 +43,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/node": "^16.0.0", "@types/pretty-hrtime": "^1.0.0", "chalk": "^4.1.0", @@ -79,5 +79,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/core-common/src/index.ts b/code/lib/core-common/src/index.ts index 726812b67bb3..7296dc814a2c 100644 --- a/code/lib/core-common/src/index.ts +++ b/code/lib/core-common/src/index.ts @@ -6,6 +6,7 @@ export * from './utils/cache'; export * from './utils/check-addon-order'; export * from './utils/envs'; export * from './utils/findDistEsm'; +export * from './utils/common-glob-options'; export * from './utils/get-builder-options'; export * from './utils/get-framework-name'; export * from './utils/get-renderer-name'; diff --git a/code/lib/core-common/src/utils/common-glob-options.ts b/code/lib/core-common/src/utils/common-glob-options.ts new file mode 100644 index 000000000000..482ed8630674 --- /dev/null +++ b/code/lib/core-common/src/utils/common-glob-options.ts @@ -0,0 +1,5 @@ +const NODE_MODULES_RE = /node_modules/; + +// Exclude node_modules stories everywhere we call `glob` +export const commonGlobOptions = (glob: string) => + NODE_MODULES_RE.test(glob) ? {} : { ignore: ['**/node_modules/**'] }; diff --git a/code/lib/core-events/package.json b/code/lib/core-events/package.json index 420ba39ce78a..1c271e26cbe2 100644 --- a/code/lib/core-events/package.json +++ b/code/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Event names used in storybook core", "keywords": [ "storybook" @@ -53,5 +53,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/core-server/package.json b/code/lib/core-server/package.json index c3a3ffbbc128..39e2e8d7232a 100644 --- a/code/lib/core-server/package.json +++ b/code/lib/core-server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-server", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -56,19 +56,19 @@ "dependencies": { "@aw-web-design/x-default-browser": "1.4.88", "@discoveryjs/json-ext": "^0.5.3", - "@storybook/builder-manager": "7.1.0-alpha.28", - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/builder-manager": "7.1.0-alpha.29", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/csf": "^0.1.0", - "@storybook/csf-tools": "7.1.0-alpha.28", + "@storybook/csf-tools": "7.1.0-alpha.29", "@storybook/docs-mdx": "^0.1.0", "@storybook/global": "^5.0.0", - "@storybook/manager": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/telemetry": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/manager": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/telemetry": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/detect-port": "^1.3.0", "@types/node": "^16.0.0", "@types/node-fetch": "^2.5.7", @@ -120,5 +120,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/core-server/src/utils/StoryIndexGenerator.ts b/code/lib/core-server/src/utils/StoryIndexGenerator.ts index 4ed21984da86..002b58edbab1 100644 --- a/code/lib/core-server/src/utils/StoryIndexGenerator.ts +++ b/code/lib/core-server/src/utils/StoryIndexGenerator.ts @@ -21,7 +21,7 @@ import type { StoryName, } from '@storybook/types'; import { userOrAutoTitleFromSpecifier, sortStoriesV7 } from '@storybook/preview-api'; -import { normalizeStoryPath } from '@storybook/core-common'; +import { commonGlobOptions, normalizeStoryPath } from '@storybook/core-common'; import { logger, once } from '@storybook/node-logger'; import { getStorySortParameter } from '@storybook/csf-tools'; import { toId } from '@storybook/csf'; @@ -122,7 +122,7 @@ export class StoryIndexGenerator { const fullGlob = slash( path.join(this.options.workingDir, specifier.directory, specifier.files) ); - const files = await glob(fullGlob); + const files = await glob(fullGlob, commonGlobOptions(fullGlob)); if (files.length === 0) { once.warn( diff --git a/code/lib/core-server/src/utils/update-check.ts b/code/lib/core-server/src/utils/update-check.ts index f4c463d2e344..2012921921a0 100644 --- a/code/lib/core-server/src/utils/update-check.ts +++ b/code/lib/core-server/src/utils/update-check.ts @@ -37,8 +37,9 @@ export function createUpdateMessage(updateInfo: VersionCheck, version: string): let updateMessage; try { - const suffix = semver.prerelease(updateInfo.data.latest.version) ? '--prerelease' : ''; - const upgradeCommand = `npx storybook@latest upgrade ${suffix}`.trim(); + const isPrerelease = semver.prerelease(updateInfo.data.latest.version); + const suffix = isPrerelease ? '@next upgrade --prerelease' : '@latest upgrade'; + const upgradeCommand = `npx storybook${suffix}`; updateMessage = updateInfo.success && semver.lt(version, updateInfo.data.latest.version) ? dedent` diff --git a/code/lib/core-server/src/utils/watch-story-specifiers.ts b/code/lib/core-server/src/utils/watch-story-specifiers.ts index f7946940ed55..a0d1818be720 100644 --- a/code/lib/core-server/src/utils/watch-story-specifiers.ts +++ b/code/lib/core-server/src/utils/watch-story-specifiers.ts @@ -6,6 +6,7 @@ import glob from 'globby'; import uniq from 'lodash/uniq.js'; import type { NormalizedStoriesSpecifier, Path } from '@storybook/types'; +import { commonGlobOptions } from '@storybook/core-common'; const isDirectory = (directory: Path) => { try { @@ -74,7 +75,7 @@ export function watchStorySpecifiers( path.basename(specifier.files) ); // glob only supports forward slashes - const files = await glob(slash(dirGlob)); + const files = await glob(slash(dirGlob), commonGlobOptions(dirGlob)); files.forEach((filePath) => { const fileImportPath = toImportPath( diff --git a/code/lib/core-webpack/package.json b/code/lib/core-webpack/package.json index aad424926eac..388f028535ba 100644 --- a/code/lib/core-webpack/package.json +++ b/code/lib/core-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-webpack", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -43,9 +43,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/node": "^16.0.0", "ts-dedent": "^2.0.0" }, @@ -62,5 +62,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/csf-plugin/package.json b/code/lib/csf-plugin/package.json index 031d7a7f5ff5..2a689c193395 100644 --- a/code/lib/csf-plugin/package.json +++ b/code/lib/csf-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/csf-plugin", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Enrich CSF files via static analysis", "keywords": [ "storybook" @@ -43,7 +43,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/csf-tools": "7.1.0-alpha.28", + "@storybook/csf-tools": "7.1.0-alpha.29", "unplugin": "^0.10.2" }, "devDependencies": { @@ -64,5 +64,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/csf-tools/package.json b/code/lib/csf-tools/package.json index 9087f14f8599..2a5fa9436741 100644 --- a/code/lib/csf-tools/package.json +++ b/code/lib/csf-tools/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/csf-tools", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Parse and manipulate CSF and Storybook config files", "keywords": [ "storybook" @@ -46,7 +46,7 @@ "@babel/traverse": "^7.22.0", "@babel/types": "^7.22.0", "@storybook/csf": "^0.1.0", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/types": "7.1.0-alpha.29", "fs-extra": "^11.1.0", "recast": "^0.23.1", "ts-dedent": "^2.0.0" @@ -68,5 +68,5 @@ "cjs" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/docs-tools/package.json b/code/lib/docs-tools/package.json index e02f19d25562..16e1916e9566 100644 --- a/code/lib/docs-tools/package.json +++ b/code/lib/docs-tools/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/docs-tools", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Shared utility functions for frameworks to implement docs", "keywords": [ "storybook" @@ -43,9 +43,9 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-common": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/core-common": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/doctrine": "^0.0.3", "doctrine": "^3.0.0", "lodash": "^4.17.21" @@ -64,5 +64,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/instrumenter/package.json b/code/lib/instrumenter/package.json index 634539068923..4e40124843ab 100644 --- a/code/lib/instrumenter/package.json +++ b/code/lib/instrumenter/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/instrumenter", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -43,11 +43,11 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28" + "@storybook/preview-api": "7.1.0-alpha.29" }, "devDependencies": { "typescript": "~4.9.3" @@ -60,5 +60,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/manager-api/package.json b/code/lib/manager-api/package.json index 35e7e411eec2..6b0afc956b24 100644 --- a/code/lib/manager-api/package.json +++ b/code/lib/manager-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/manager-api", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Core Storybook Manager API & Context", "keywords": [ "storybook" @@ -42,14 +42,14 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/csf": "^0.1.0", "@storybook/global": "^5.0.0", - "@storybook/router": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/router": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "dequal": "^2.0.2", "lodash": "^4.17.21", "memoizerific": "^1.11.3", @@ -78,5 +78,5 @@ "./src/index.tsx" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/manager-api/src/version.ts b/code/lib/manager-api/src/version.ts index 9b2af7a7baa2..364788a853a6 100644 --- a/code/lib/manager-api/src/version.ts +++ b/code/lib/manager-api/src/version.ts @@ -1 +1 @@ -export const version = '7.1.0-alpha.28'; +export const version = '7.1.0-alpha.29'; diff --git a/code/lib/node-logger/package.json b/code/lib/node-logger/package.json index f88d6f78f307..8d241b3e1baa 100644 --- a/code/lib/node-logger/package.json +++ b/code/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -60,5 +60,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/postinstall/package.json b/code/lib/postinstall/package.json index b0a2a78b99de..47a4810be72d 100644 --- a/code/lib/postinstall/package.json +++ b/code/lib/postinstall/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/postinstall", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook addons postinstall utilities", "keywords": [ "api", @@ -57,5 +57,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/preview-api/package.json b/code/lib/preview-api/package.json index ebbfdda2fa83..2916ea64a010 100644 --- a/code/lib/preview-api/package.json +++ b/code/lib/preview-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preview-api", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -67,13 +67,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channel-postmessage": "7.1.0-alpha.28", - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/channel-postmessage": "7.1.0-alpha.29", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/csf": "^0.1.0", "@storybook/global": "^5.0.0", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/types": "7.1.0-alpha.29", "@types/qs": "^6.9.5", "dequal": "^2.0.2", "lodash": "^4.17.21", @@ -85,7 +85,7 @@ }, "devDependencies": { "@jest/globals": "^26.6.2", - "@storybook/core-common": "7.1.0-alpha.28", + "@storybook/core-common": "7.1.0-alpha.29", "ansi-to-html": "^0.6.11", "react": "^16.14.0", "slash": "^5.0.0" @@ -103,5 +103,5 @@ "./src/store.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/preview/package.json b/code/lib/preview/package.json index 1169555b8e79..bc03def76163 100644 --- a/code/lib/preview/package.json +++ b/code/lib/preview/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preview", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -55,12 +55,12 @@ "prep": "../../../scripts/prepare/esm-bundle.ts" }, "devDependencies": { - "@storybook/channel-postmessage": "7.1.0-alpha.28", - "@storybook/channel-websocket": "7.1.0-alpha.28", - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", + "@storybook/channel-postmessage": "7.1.0-alpha.29", + "@storybook/channel-websocket": "7.1.0-alpha.29", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", "typescript": "~4.9.3" }, "publishConfig": { @@ -74,5 +74,5 @@ "./src/globals.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/react-dom-shim/package.json b/code/lib/react-dom-shim/package.json index a6ad78929502..472f08611435 100644 --- a/code/lib/react-dom-shim/package.json +++ b/code/lib/react-dom-shim/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-dom-shim", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "", "keywords": [ "storybook" @@ -53,7 +53,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "devDependencies": { - "@storybook/types": "7.1.0-alpha.28", + "@storybook/types": "7.1.0-alpha.29", "typescript": "~4.9.3" }, "peerDependencies": { @@ -70,5 +70,5 @@ "./src/react-18.tsx" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/router/package.json b/code/lib/router/package.json index c0feaa35a2dd..a3510ffd7437 100644 --- a/code/lib/router/package.json +++ b/code/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Core Storybook Router", "keywords": [ "storybook" @@ -48,7 +48,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", "memoizerific": "^1.11.3", "qs": "^6.10.0" }, @@ -74,5 +74,5 @@ "./src/utils.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/source-loader/package.json b/code/lib/source-loader/package.json index 39f9d6037c01..c800819dc0a7 100644 --- a/code/lib/source-loader/package.json +++ b/code/lib/source-loader/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/source-loader", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Source loader", "keywords": [ "lib", @@ -45,7 +45,7 @@ }, "dependencies": { "@storybook/csf": "^0.1.0", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/types": "7.1.0-alpha.29", "estraverse": "^5.2.0", "lodash": "^4.17.21", "prettier": "^2.8.0" @@ -67,5 +67,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/telemetry/package.json b/code/lib/telemetry/package.json index 660fde43946c..85182bdb0037 100644 --- a/code/lib/telemetry/package.json +++ b/code/lib/telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/telemetry", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Telemetry logging for crash reports and usage statistics", "keywords": [ "storybook" @@ -43,8 +43,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-common": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-common": "7.1.0-alpha.29", "chalk": "^4.1.0", "detect-package-manager": "^2.0.1", "fetch-retry": "^5.0.2", @@ -65,5 +65,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/theming/package.json b/code/lib/theming/package.json index c68320810c89..c0af27add940 100644 --- a/code/lib/theming/package.json +++ b/code/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -49,7 +49,7 @@ }, "dependencies": { "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0", - "@storybook/client-logger": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", "memoizerific": "^1.11.3" }, @@ -80,5 +80,5 @@ ], "post": "./scripts/fix-theme-type-export.ts" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/lib/types/package.json b/code/lib/types/package.json index 34072cb8bd89..2fea0057efc6 100644 --- a/code/lib/types/package.json +++ b/code/lib/types/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/types", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Core Storybook TS Types", "keywords": [ "storybook" @@ -43,7 +43,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.1.0-alpha.28", + "@storybook/channels": "7.1.0-alpha.29", "@types/babel__core": "^7.0.0", "@types/express": "^4.7.0", "file-system-cache": "^2.0.0" @@ -61,5 +61,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/package.json b/code/package.json index ba629bdb25aa..74f7a3f6d4ea 100644 --- a/code/package.json +++ b/code/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/root", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "private": true, "description": "Storybook root", "homepage": "https://storybook.js.org/", diff --git a/code/presets/create-react-app/package.json b/code/presets/create-react-app/package.json index 3e1c1de1182d..1ddbb640b8fe 100644 --- a/code/presets/create-react-app/package.json +++ b/code/presets/create-react-app/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-create-react-app", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Create React App preset", "keywords": [ "storybook" @@ -50,14 +50,14 @@ "dependencies": { "@pmmmwh/react-refresh-webpack-plugin": "^0.5.1", "@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/types": "7.1.0-alpha.29", "@types/babel__core": "^7.1.7", "babel-plugin-react-docgen": "^4.1.0", "pnp-webpack-plugin": "^1.7.0", "semver": "^7.3.5" }, "devDependencies": { - "@storybook/node-logger": "7.1.0-alpha.28", + "@storybook/node-logger": "7.1.0-alpha.29", "@types/node": "^16.0.0", "typescript": "~4.9.3" }, @@ -76,5 +76,5 @@ "cjs" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/presets/html-webpack/package.json b/code/presets/html-webpack/package.json index 311dd9e8bd4f..4a4bd02047df 100644 --- a/code/presets/html-webpack/package.json +++ b/code/presets/html-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-html-webpack", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -48,7 +48,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-webpack": "7.1.0-alpha.28", + "@storybook/core-webpack": "7.1.0-alpha.29", "@types/node": "^16.0.0", "html-loader": "^3.1.0", "webpack": "5" @@ -71,5 +71,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/presets/preact-webpack/package.json b/code/presets/preact-webpack/package.json index 7bcd705fa7e5..7e0f83f06722 100644 --- a/code/presets/preact-webpack/package.json +++ b/code/presets/preact-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-preact-webpack", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -50,7 +50,7 @@ "dependencies": { "@babel/plugin-transform-react-jsx": "^7.21.0", "@babel/preset-typescript": "^7.21.0", - "@storybook/core-webpack": "7.1.0-alpha.28", + "@storybook/core-webpack": "7.1.0-alpha.29", "@types/node": "^16.0.0" }, "devDependencies": { @@ -73,5 +73,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/presets/react-webpack/package.json b/code/presets/react-webpack/package.json index e58e3c10921f..25ed020228be 100644 --- a/code/presets/react-webpack/package.json +++ b/code/presets/react-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-react-webpack", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading", "keywords": [ "storybook" @@ -66,10 +66,10 @@ "@babel/preset-flow": "^7.21.0", "@babel/preset-react": "^7.22.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5", - "@storybook/core-webpack": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", - "@storybook/react": "7.1.0-alpha.28", + "@storybook/core-webpack": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", + "@storybook/react": "7.1.0-alpha.29", "@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0", "@types/node": "^16.0.0", "@types/semver": "^7.3.4", @@ -111,5 +111,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/presets/server-webpack/package.json b/code/presets/server-webpack/package.json index f488f2723c6b..e85abd073c8b 100644 --- a/code/presets/server-webpack/package.json +++ b/code/presets/server-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-server-webpack", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -53,10 +53,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-server": "7.1.0-alpha.28", - "@storybook/core-webpack": "7.1.0-alpha.28", + "@storybook/core-server": "7.1.0-alpha.29", + "@storybook/core-webpack": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/server": "7.1.0-alpha.28", + "@storybook/server": "7.1.0-alpha.29", "@types/node": "^16.0.0", "safe-identifier": "^0.4.1", "ts-dedent": "^2.0.0", @@ -81,5 +81,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/presets/svelte-webpack/package.json b/code/presets/svelte-webpack/package.json index c985d2ce01e4..0135200f185b 100644 --- a/code/presets/svelte-webpack/package.json +++ b/code/presets/svelte-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-svelte-webpack", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -63,8 +63,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-webpack": "7.1.0-alpha.28", - "@storybook/node-logger": "7.1.0-alpha.28", + "@storybook/core-webpack": "7.1.0-alpha.29", + "@storybook/node-logger": "7.1.0-alpha.29", "sveltedoc-parser": "^4.2.1", "ts-dedent": "^2.0.0" }, @@ -93,5 +93,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/presets/vue-webpack/package.json b/code/presets/vue-webpack/package.json index de8e79e309ed..a373ec49e504 100644 --- a/code/presets/vue-webpack/package.json +++ b/code/presets/vue-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-vue-webpack", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -58,8 +58,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-webpack": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/core-webpack": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", "@types/node": "^16.0.0", "ts-loader": "^9.2.8", "vue-docgen-api": "^4.44.23", @@ -95,5 +95,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/presets/vue3-webpack/package.json b/code/presets/vue3-webpack/package.json index eed6cec6d450..ae6d88b32070 100644 --- a/code/presets/vue3-webpack/package.json +++ b/code/presets/vue3-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-vue3-webpack", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -58,8 +58,8 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-webpack": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/core-webpack": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", "@types/node": "^16.0.0", "ts-loader": "^9.2.8", "vue-docgen-api": "^4.46.0", @@ -92,5 +92,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/presets/web-components-webpack/package.json b/code/presets/web-components-webpack/package.json index 96bfa5e974c3..99d90f8342ee 100644 --- a/code/presets/web-components-webpack/package.json +++ b/code/presets/web-components-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preset-web-components-webpack", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.", "keywords": [ "lit", @@ -54,7 +54,7 @@ "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/preset-env": "^7.22.0", - "@storybook/core-webpack": "7.1.0-alpha.28", + "@storybook/core-webpack": "7.1.0-alpha.29", "@types/node": "^16.0.0", "babel-loader": "^7.0.0 || ^8.0.0 || ^9.0.0", "babel-plugin-bundled-import-meta": "^0.3.1" @@ -78,5 +78,5 @@ ], "platform": "node" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/renderers/html/package.json b/code/renderers/html/package.json index 195e2bf3f06a..2f16e98034dd 100644 --- a/code/renderers/html/package.json +++ b/code/renderers/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook HTML renderer", "keywords": [ "storybook" @@ -48,11 +48,11 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-client": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/core-client": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "ts-dedent": "^2.0.0" }, "devDependencies": { @@ -74,5 +74,5 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/renderers/preact/package.json b/code/renderers/preact/package.json index cddaca232db9..7c75d52aa2ab 100644 --- a/code/renderers/preact/package.json +++ b/code/renderers/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook Preact renderer", "keywords": [ "storybook" @@ -48,10 +48,10 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-client": "7.1.0-alpha.28", + "@storybook/core-client": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "ts-dedent": "^2.0.0" }, "devDependencies": { @@ -74,5 +74,5 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/renderers/react/package.json b/code/renderers/react/package.json index c16fd7decc68..7faf871af073 100644 --- a/code/renderers/react/package.json +++ b/code/renderers/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook React renderer", "keywords": [ "storybook" @@ -52,13 +52,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-client": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-client": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/react-dom-shim": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/react-dom-shim": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/escodegen": "^0.0.6", "@types/estree": "^0.0.51", "@types/node": "^16.0.0", @@ -105,5 +105,5 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index e75bd8af5978..cd220aea1f3a 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/server", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook Server renderer", "keywords": [ "storybook" @@ -53,12 +53,12 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-client": "7.1.0-alpha.28", + "@storybook/core-client": "7.1.0-alpha.29", "@storybook/csf": "^0.1.0", - "@storybook/csf-tools": "7.1.0-alpha.28", + "@storybook/csf-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/fs-extra": "^11.0.1", "fs-extra": "^11.1.0", "ts-dedent": "^2.0.0", @@ -81,5 +81,5 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/renderers/svelte/package.json b/code/renderers/svelte/package.json index d6a60ea561c9..9db5ffcb63f4 100644 --- a/code/renderers/svelte/package.json +++ b/code/renderers/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook Svelte renderer", "keywords": [ "storybook" @@ -52,13 +52,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-client": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-client": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "sveltedoc-parser": "^4.2.1", "type-fest": "2.19.0" }, @@ -84,5 +84,5 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/renderers/vue/package.json b/code/renderers/vue/package.json index 7ce5fdb528b0..f6ded8506842 100644 --- a/code/renderers/vue/package.json +++ b/code/renderers/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook Vue renderer", "keywords": [ "storybook" @@ -48,12 +48,12 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-client": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-client": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "ts-dedent": "^2.0.0", "type-fest": "2.19.0" }, @@ -86,5 +86,5 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/renderers/vue3/package.json b/code/renderers/vue3/package.json index bbbcc4a2d6af..9f7aa7539f85 100644 --- a/code/renderers/vue3/package.json +++ b/code/renderers/vue3/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook Vue 3 renderer", "keywords": [ "storybook" @@ -48,11 +48,11 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-client": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/core-client": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "ts-dedent": "^2.0.0", "type-fest": "2.19.0", "vue-component-type-helpers": "^1.6.5" @@ -81,5 +81,5 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/renderers/web-components/package.json b/code/renderers/web-components/package.json index 94c90ede2333..2d9f33194054 100644 --- a/code/renderers/web-components/package.json +++ b/code/renderers/web-components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/web-components", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook web-components renderer", "keywords": [ "lit", @@ -51,13 +51,13 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/core-client": "7.1.0-alpha.28", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/core-client": "7.1.0-alpha.29", + "@storybook/docs-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "tiny-invariant": "^1.3.1", "ts-dedent": "^2.0.0" }, @@ -85,5 +85,5 @@ ], "platform": "browser" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/ui/blocks/package.json b/code/ui/blocks/package.json index 18f5a531d752..5b4264baf580 100644 --- a/code/ui/blocks/package.json +++ b/code/ui/blocks/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/blocks", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Storybook Doc Blocks", "keywords": [ "storybook" @@ -43,17 +43,17 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/csf": "^0.1.0", - "@storybook/docs-tools": "7.1.0-alpha.28", + "@storybook/docs-tools": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/preview-api": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/preview-api": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@types/lodash": "^4.14.167", "color-convert": "^2.0.1", "dequal": "^2.0.2", @@ -67,7 +67,7 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { - "@storybook/addon-actions": "7.1.0-alpha.28", + "@storybook/addon-actions": "7.1.0-alpha.29", "@types/color-convert": "^2.0.0" }, "peerDependencies": { @@ -82,5 +82,5 @@ "./src/index.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/ui/components/package.json b/code/ui/components/package.json index 28c8dc3ed254..26d4a3ba37d3 100644 --- a/code/ui/components/package.json +++ b/code/ui/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -48,11 +48,11 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "7.1.0-alpha.28", + "@storybook/client-logger": "7.1.0-alpha.29", "@storybook/csf": "^0.1.0", "@storybook/global": "^5.0.0", - "@storybook/theming": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/theming": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "memoizerific": "^1.11.3", "use-resize-observer": "^9.1.0", "util-deprecate": "^1.0.2" @@ -85,5 +85,5 @@ ], "platform": "neutral" }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/ui/manager/package.json b/code/ui/manager/package.json index c0137bc8759e..fadedf186d76 100644 --- a/code/ui/manager/package.json +++ b/code/ui/manager/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/manager", - "version": "7.1.0-alpha.28", + "version": "7.1.0-alpha.29", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -51,19 +51,19 @@ }, "devDependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", - "@storybook/addons": "7.1.0-alpha.28", - "@storybook/api": "7.1.0-alpha.28", - "@storybook/channel-postmessage": "7.1.0-alpha.28", - "@storybook/channel-websocket": "7.1.0-alpha.28", - "@storybook/channels": "7.1.0-alpha.28", - "@storybook/client-logger": "7.1.0-alpha.28", - "@storybook/components": "7.1.0-alpha.28", - "@storybook/core-events": "7.1.0-alpha.28", + "@storybook/addons": "7.1.0-alpha.29", + "@storybook/api": "7.1.0-alpha.29", + "@storybook/channel-postmessage": "7.1.0-alpha.29", + "@storybook/channel-websocket": "7.1.0-alpha.29", + "@storybook/channels": "7.1.0-alpha.29", + "@storybook/client-logger": "7.1.0-alpha.29", + "@storybook/components": "7.1.0-alpha.29", + "@storybook/core-events": "7.1.0-alpha.29", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.1.0-alpha.28", - "@storybook/router": "7.1.0-alpha.28", - "@storybook/theming": "7.1.0-alpha.28", - "@storybook/types": "7.1.0-alpha.28", + "@storybook/manager-api": "7.1.0-alpha.29", + "@storybook/router": "7.1.0-alpha.29", + "@storybook/theming": "7.1.0-alpha.29", + "@storybook/types": "7.1.0-alpha.29", "@testing-library/react": "^11.2.2", "@types/semver": "^7.3.4", "copy-to-clipboard": "^3.3.1", @@ -99,5 +99,5 @@ "./src/globals.ts" ] }, - "gitHead": "301fa4868a78b498d46e2e2907339968f300e1cf" + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16" } diff --git a/code/yarn.lock b/code/yarn.lock index c8f248840d7f..1e25b6c71c87 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -5263,16 +5263,16 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-a11y@workspace:addons/a11y" dependencies: - "@storybook/addon-highlight": 7.1.0-alpha.28 - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/addon-highlight": 7.1.0-alpha.29 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@testing-library/react": ^11.2.2 axe-core: ^4.2.0 lodash: ^4.17.21 @@ -5290,18 +5290,18 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-actions@7.1.0-alpha.28, @storybook/addon-actions@workspace:*, @storybook/addon-actions@workspace:addons/actions": +"@storybook/addon-actions@7.1.0-alpha.29, @storybook/addon-actions@workspace:*, @storybook/addon-actions@workspace:addons/actions": version: 0.0.0-use.local resolution: "@storybook/addon-actions@workspace:addons/actions" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/lodash": ^4.14.167 "@types/uuid": ^9.0.1 dequal: ^2.0.2 @@ -5324,18 +5324,18 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-backgrounds@7.1.0-alpha.28, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds": +"@storybook/addon-backgrounds@7.1.0-alpha.29, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds": version: 0.0.0-use.local resolution: "@storybook/addon-backgrounds@workspace:addons/backgrounds" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 memoizerific: ^1.11.3 ts-dedent: ^2.0.0 typescript: ~4.9.3 @@ -5350,19 +5350,19 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-controls@7.1.0-alpha.28, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls": +"@storybook/addon-controls@7.1.0-alpha.29, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls": version: 0.0.0-use.local resolution: "@storybook/addon-controls@workspace:addons/controls" dependencies: - "@storybook/blocks": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/blocks": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 lodash: ^4.17.21 ts-dedent: ^2.0.0 peerDependencies: @@ -5376,25 +5376,25 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-docs@7.1.0-alpha.28, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs": +"@storybook/addon-docs@7.1.0-alpha.29, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs": version: 0.0.0-use.local resolution: "@storybook/addon-docs@workspace:addons/docs" dependencies: "@jest/transform": ^29.3.1 "@mdx-js/react": ^2.1.5 - "@storybook/blocks": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/csf-plugin": 7.1.0-alpha.28 - "@storybook/csf-tools": 7.1.0-alpha.28 + "@storybook/blocks": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/csf-plugin": 7.1.0-alpha.29 + "@storybook/csf-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 "@storybook/mdx2-csf": ^1.0.0 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/postinstall": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/react-dom-shim": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/postinstall": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/react-dom-shim": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 fs-extra: ^11.1.0 react: ^16.14.0 react-dom: ^16.8.0 @@ -5412,20 +5412,20 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-essentials@workspace:addons/essentials" dependencies: - "@storybook/addon-actions": 7.1.0-alpha.28 - "@storybook/addon-backgrounds": 7.1.0-alpha.28 - "@storybook/addon-controls": 7.1.0-alpha.28 - "@storybook/addon-docs": 7.1.0-alpha.28 - "@storybook/addon-highlight": 7.1.0-alpha.28 - "@storybook/addon-measure": 7.1.0-alpha.28 - "@storybook/addon-outline": 7.1.0-alpha.28 - "@storybook/addon-toolbars": 7.1.0-alpha.28 - "@storybook/addon-viewport": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/vue": 7.1.0-alpha.28 + "@storybook/addon-actions": 7.1.0-alpha.29 + "@storybook/addon-backgrounds": 7.1.0-alpha.29 + "@storybook/addon-controls": 7.1.0-alpha.29 + "@storybook/addon-docs": 7.1.0-alpha.29 + "@storybook/addon-highlight": 7.1.0-alpha.29 + "@storybook/addon-measure": 7.1.0-alpha.29 + "@storybook/addon-outline": 7.1.0-alpha.29 + "@storybook/addon-toolbars": 7.1.0-alpha.29 + "@storybook/addon-viewport": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/vue": 7.1.0-alpha.29 ts-dedent: ^2.0.0 typescript: ^4.9.3 peerDependencies: @@ -5434,13 +5434,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-highlight@7.1.0-alpha.28, @storybook/addon-highlight@workspace:*, @storybook/addon-highlight@workspace:addons/highlight": +"@storybook/addon-highlight@7.1.0-alpha.29, @storybook/addon-highlight@workspace:*, @storybook/addon-highlight@workspace:addons/highlight": version: 0.0.0-use.local resolution: "@storybook/addon-highlight@workspace:addons/highlight" dependencies: - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 "@types/webpack-env": ^1.16.0 typescript: ~4.9.3 languageName: unknown @@ -5451,18 +5451,18 @@ __metadata: resolution: "@storybook/addon-interactions@workspace:addons/interactions" dependencies: "@devtools-ds/object-inspector": ^1.1.2 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/instrumenter": 7.1.0-alpha.28 + "@storybook/instrumenter": 7.1.0-alpha.29 "@storybook/jest": future - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 "@storybook/testing-library": future - "@storybook/theming": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/theming": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/node": ^16.0.0 formik: ^2.2.9 jest-mock: ^27.0.6 @@ -5484,13 +5484,13 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-jest@workspace:addons/jest" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 react-resize-detector: ^7.1.2 tiny-invariant: ^1.3.1 typescript: ~4.9.3 @@ -5510,14 +5510,14 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-links@workspace:addons/links" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/csf": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/router": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/router": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 fs-extra: ^11.1.0 prop-types: ^15.7.2 ts-dedent: ^2.0.0 @@ -5537,24 +5537,24 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-mdx-gfm@workspace:addons/gfm" dependencies: - "@storybook/node-logger": 7.1.0-alpha.28 + "@storybook/node-logger": 7.1.0-alpha.29 remark-gfm: ^3.0.1 ts-dedent: ^2.0.0 typescript: ~4.9.3 languageName: unknown linkType: soft -"@storybook/addon-measure@7.1.0-alpha.28, @storybook/addon-measure@workspace:*, @storybook/addon-measure@workspace:addons/measure": +"@storybook/addon-measure@7.1.0-alpha.29, @storybook/addon-measure@workspace:*, @storybook/addon-measure@workspace:addons/measure": version: 0.0.0-use.local resolution: "@storybook/addon-measure@workspace:addons/measure" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 typescript: ~4.9.3 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5567,17 +5567,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-outline@7.1.0-alpha.28, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline": +"@storybook/addon-outline@7.1.0-alpha.29, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline": version: 0.0.0-use.local resolution: "@storybook/addon-outline@workspace:addons/outline" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 ts-dedent: ^2.0.0 typescript: ~4.9.3 peerDependencies: @@ -5597,8 +5597,8 @@ __metadata: dependencies: "@axe-core/puppeteer": ^4.2.0 "@storybook/csf": ^0.1.0 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/jest-image-snapshot": ^5.1.0 "@types/puppeteer": ^5.4.0 enzyme: ^3.11.0 @@ -5607,7 +5607,7 @@ __metadata: puppeteer: ^2.0.0 || ^3.0.0 rimraf: ^3.0.2 peerDependencies: - "@storybook/addon-storyshots": 7.1.0-alpha.28 + "@storybook/addon-storyshots": 7.1.0-alpha.29 puppeteer: ">=2.0.0" peerDependenciesMeta: puppeteer: @@ -5623,18 +5623,18 @@ __metadata: "@angular/platform-browser-dynamic": ^13.3.6 "@emotion/jest": ^11.8.0 "@jest/transform": ^29.3.1 - "@storybook/addon-docs": 7.1.0-alpha.28 - "@storybook/angular": 7.1.0-alpha.28 + "@storybook/addon-docs": 7.1.0-alpha.29 + "@storybook/angular": 7.1.0-alpha.29 "@storybook/babel-plugin-require-context-hook": 1.0.1 - "@storybook/client-api": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/core-webpack": 7.1.0-alpha.28 + "@storybook/client-api": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/core-webpack": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/react": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 - "@storybook/vue": 7.1.0-alpha.28 - "@storybook/vue3": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/react": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 + "@storybook/vue": 7.1.0-alpha.29 + "@storybook/vue3": 7.1.0-alpha.29 "@types/jest-specific-snapshot": ^0.5.6 babel-loader: ^9.1.2 enzyme: ^3.11.0 @@ -5707,13 +5707,13 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/addon-storysource@workspace:addons/storysource" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/router": 7.1.0-alpha.28 - "@storybook/source-loader": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/router": 7.1.0-alpha.29 + "@storybook/source-loader": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 "@types/react": ^16.14.34 "@types/react-syntax-highlighter": 11.0.5 estraverse: ^5.2.0 @@ -5732,15 +5732,15 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-toolbars@7.1.0-alpha.28, @storybook/addon-toolbars@workspace:*, @storybook/addon-toolbars@workspace:addons/toolbars": +"@storybook/addon-toolbars@7.1.0-alpha.29, @storybook/addon-toolbars@workspace:*, @storybook/addon-toolbars@workspace:addons/toolbars": version: 0.0.0-use.local resolution: "@storybook/addon-toolbars@workspace:addons/toolbars" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 typescript: ~4.9.3 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5753,17 +5753,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-viewport@7.1.0-alpha.28, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport": +"@storybook/addon-viewport@7.1.0-alpha.29, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport": version: 0.0.0-use.local resolution: "@storybook/addon-viewport@workspace:addons/viewport" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 memoizerific: ^1.11.3 prop-types: ^15.7.2 typescript: ~4.9.3 @@ -5778,20 +5778,20 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addons@7.1.0-alpha.28, @storybook/addons@workspace:*, @storybook/addons@workspace:deprecated/addons": +"@storybook/addons@7.1.0-alpha.29, @storybook/addons@workspace:*, @storybook/addons@workspace:deprecated/addons": version: 0.0.0-use.local resolution: "@storybook/addons@workspace:deprecated/addons" dependencies: - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 languageName: unknown linkType: soft -"@storybook/angular@7.1.0-alpha.28, @storybook/angular@workspace:*, @storybook/angular@workspace:frameworks/angular": +"@storybook/angular@7.1.0-alpha.29, @storybook/angular@workspace:*, @storybook/angular@workspace:frameworks/angular": version: 0.0.0-use.local resolution: "@storybook/angular@workspace:frameworks/angular" dependencies: @@ -5807,20 +5807,20 @@ __metadata: "@angular/forms": ^16.0.0-rc.4 "@angular/platform-browser": ^16.0.0-rc.4 "@angular/platform-browser-dynamic": ^16.0.0-rc.4 - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/cli": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 - "@storybook/core-server": 7.1.0-alpha.28 - "@storybook/core-webpack": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/cli": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 + "@storybook/core-server": 7.1.0-alpha.29 + "@storybook/core-webpack": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/telemetry": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/telemetry": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/node": ^16.0.0 "@types/react": ^16.14.34 "@types/react-dom": ^16.9.14 @@ -5868,12 +5868,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/api@7.1.0-alpha.28, @storybook/api@workspace:*, @storybook/api@workspace:deprecated/manager-api-shim": +"@storybook/api@7.1.0-alpha.29, @storybook/api@workspace:*, @storybook/api@workspace:deprecated/manager-api-shim": version: 0.0.0-use.local resolution: "@storybook/api@workspace:deprecated/manager-api-shim" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/manager-api": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/manager-api": 7.1.0-alpha.29 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5917,22 +5917,22 @@ __metadata: languageName: node linkType: hard -"@storybook/blocks@7.1.0-alpha.28, @storybook/blocks@workspace:*, @storybook/blocks@workspace:ui/blocks": +"@storybook/blocks@7.1.0-alpha.29, @storybook/blocks@workspace:*, @storybook/blocks@workspace:ui/blocks": version: 0.0.0-use.local resolution: "@storybook/blocks@workspace:ui/blocks" dependencies: - "@storybook/addon-actions": 7.1.0-alpha.28 - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/addon-actions": 7.1.0-alpha.29 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/csf": ^0.1.0 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/docs-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/color-convert": ^2.0.0 "@types/lodash": ^4.14.167 color-convert: ^2.0.1 @@ -5951,14 +5951,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/builder-manager@7.1.0-alpha.28, @storybook/builder-manager@workspace:*, @storybook/builder-manager@workspace:builders/builder-manager": +"@storybook/builder-manager@7.1.0-alpha.29, @storybook/builder-manager@workspace:*, @storybook/builder-manager@workspace:builders/builder-manager": version: 0.0.0-use.local resolution: "@storybook/builder-manager@workspace:builders/builder-manager" dependencies: "@fal-works/esbuild-plugin-global-externals": ^2.1.2 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/manager": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/manager": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 "@types/ejs": ^3.1.1 "@types/find-cache-dir": ^3.2.1 "@yarnpkg/esbuild-plugin-pnp": ^3.0.0-rc.10 @@ -5976,20 +5976,20 @@ __metadata: languageName: unknown linkType: soft -"@storybook/builder-vite@7.1.0-alpha.28, @storybook/builder-vite@workspace:*, @storybook/builder-vite@workspace:builders/builder-vite": +"@storybook/builder-vite@7.1.0-alpha.29, @storybook/builder-vite@workspace:*, @storybook/builder-vite@workspace:builders/builder-vite": version: 0.0.0-use.local resolution: "@storybook/builder-vite@workspace:builders/builder-vite" dependencies: - "@storybook/channel-postmessage": 7.1.0-alpha.28 - "@storybook/channel-websocket": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/csf-plugin": 7.1.0-alpha.28 + "@storybook/channel-postmessage": 7.1.0-alpha.29 + "@storybook/channel-websocket": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/csf-plugin": 7.1.0-alpha.29 "@storybook/mdx2-csf": ^1.0.0 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/preview": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/preview": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/express": ^4.17.13 "@types/node": ^16.0.0 browser-assert: ^1.2.1 @@ -6019,30 +6019,30 @@ __metadata: languageName: unknown linkType: soft -"@storybook/builder-webpack5@7.1.0-alpha.28, @storybook/builder-webpack5@workspace:*, @storybook/builder-webpack5@workspace:builders/builder-webpack5": +"@storybook/builder-webpack5@7.1.0-alpha.29, @storybook/builder-webpack5@workspace:*, @storybook/builder-webpack5@workspace:builders/builder-webpack5": version: 0.0.0-use.local resolution: "@storybook/builder-webpack5@workspace:builders/builder-webpack5" dependencies: "@babel/core": ^7.22.0 - "@storybook/addons": 7.1.0-alpha.28 - "@storybook/api": 7.1.0-alpha.28 - "@storybook/channel-postmessage": 7.1.0-alpha.28 - "@storybook/channel-websocket": 7.1.0-alpha.28 - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/client-api": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 - "@storybook/core-webpack": 7.1.0-alpha.28 + "@storybook/addons": 7.1.0-alpha.29 + "@storybook/api": 7.1.0-alpha.29 + "@storybook/channel-postmessage": 7.1.0-alpha.29 + "@storybook/channel-websocket": 7.1.0-alpha.29 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/client-api": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 + "@storybook/core-webpack": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/preview": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/router": 7.1.0-alpha.28 - "@storybook/store": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/preview": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/router": 7.1.0-alpha.29 + "@storybook/store": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 "@swc/core": ^1.3.49 "@types/node": ^16.0.0 "@types/pretty-hrtime": ^1.0.0 @@ -6085,13 +6085,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-postmessage@7.1.0-alpha.28, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:lib/channel-postmessage": +"@storybook/channel-postmessage@7.1.0-alpha.29, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:lib/channel-postmessage": version: 0.0.0-use.local resolution: "@storybook/channel-postmessage@workspace:lib/channel-postmessage" dependencies: - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 qs: ^6.10.0 telejson: ^7.0.3 @@ -6115,12 +6115,12 @@ __metadata: languageName: node linkType: hard -"@storybook/channel-websocket@7.1.0-alpha.28, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket": +"@storybook/channel-websocket@7.1.0-alpha.29, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket": version: 0.0.0-use.local resolution: "@storybook/channel-websocket@workspace:lib/channel-websocket" dependencies: - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 telejson: ^7.0.3 tiny-invariant: ^1.3.1 @@ -6128,7 +6128,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channels@7.1.0-alpha.28, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels": +"@storybook/channels@7.1.0-alpha.29, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels": version: 0.0.0-use.local resolution: "@storybook/channels@workspace:lib/channels" dependencies: @@ -6143,21 +6143,21 @@ __metadata: languageName: node linkType: hard -"@storybook/cli@7.1.0-alpha.28, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli": +"@storybook/cli@7.1.0-alpha.29, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli": version: 0.0.0-use.local resolution: "@storybook/cli@workspace:lib/cli" dependencies: "@babel/core": ^7.22.0 "@babel/preset-env": ^7.22.0 "@ndelangen/get-tarball": ^3.0.7 - "@storybook/client-api": 7.1.0-alpha.28 - "@storybook/codemod": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/core-server": 7.1.0-alpha.28 - "@storybook/csf-tools": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/telemetry": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/client-api": 7.1.0-alpha.29 + "@storybook/codemod": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/core-server": 7.1.0-alpha.29 + "@storybook/csf-tools": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/telemetry": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/cross-spawn": ^6.0.2 "@types/prompts": ^2.0.9 "@types/puppeteer-core": ^2.1.0 @@ -6200,16 +6200,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/client-api@7.1.0-alpha.28, @storybook/client-api@workspace:*, @storybook/client-api@workspace:deprecated/client-api": +"@storybook/client-api@7.1.0-alpha.29, @storybook/client-api@workspace:*, @storybook/client-api@workspace:deprecated/client-api": version: 0.0.0-use.local resolution: "@storybook/client-api@workspace:deprecated/client-api" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 languageName: unknown linkType: soft -"@storybook/client-logger@7.1.0-alpha.28, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger": +"@storybook/client-logger@7.1.0-alpha.29, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger": version: 0.0.0-use.local resolution: "@storybook/client-logger@workspace:lib/client-logger" dependencies: @@ -6227,7 +6227,7 @@ __metadata: languageName: node linkType: hard -"@storybook/codemod@7.1.0-alpha.28, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod": +"@storybook/codemod@7.1.0-alpha.29, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod": version: 0.0.0-use.local resolution: "@storybook/codemod@workspace:lib/codemod" dependencies: @@ -6235,9 +6235,9 @@ __metadata: "@babel/preset-env": ^7.22.0 "@babel/types": ^7.22.0 "@storybook/csf": ^0.1.0 - "@storybook/csf-tools": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/csf-tools": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/jscodeshift": ^0.11.6 ansi-regex: ^5.0.1 cross-spawn: ^7.0.3 @@ -6262,16 +6262,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/components@7.1.0-alpha.28, @storybook/components@workspace:*, @storybook/components@workspace:ui/components": +"@storybook/components@7.1.0-alpha.29, @storybook/components@workspace:*, @storybook/components@workspace:ui/components": version: 0.0.0-use.local resolution: "@storybook/components@workspace:ui/components" dependencies: "@popperjs/core": ^2.6.0 - "@storybook/client-logger": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 "@storybook/csf": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/theming": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/theming": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/overlayscrollbars": ^1.12.0 "@types/react-syntax-highlighter": 11.0.5 "@types/util-deprecate": ^1.0.0 @@ -6293,21 +6293,21 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-client@7.1.0-alpha.28, @storybook/core-client@workspace:*, @storybook/core-client@workspace:deprecated/core-client": +"@storybook/core-client@7.1.0-alpha.29, @storybook/core-client@workspace:*, @storybook/core-client@workspace:deprecated/core-client": version: 0.0.0-use.local resolution: "@storybook/core-client@workspace:deprecated/core-client" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 languageName: unknown linkType: soft -"@storybook/core-common@7.1.0-alpha.28, @storybook/core-common@workspace:*, @storybook/core-common@workspace:lib/core-common": +"@storybook/core-common@7.1.0-alpha.29, @storybook/core-common@workspace:*, @storybook/core-common@workspace:lib/core-common": version: 0.0.0-use.local resolution: "@storybook/core-common@workspace:lib/core-common" dependencies: - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/mock-fs": ^4.13.1 "@types/node": ^16.0.0 "@types/picomatch": ^2.3.0 @@ -6333,7 +6333,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-events@7.1.0-alpha.28, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events": +"@storybook/core-events@7.1.0-alpha.29, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events": version: 0.0.0-use.local resolution: "@storybook/core-events@workspace:lib/core-events" dependencies: @@ -6348,25 +6348,25 @@ __metadata: languageName: node linkType: hard -"@storybook/core-server@7.1.0-alpha.28, @storybook/core-server@workspace:*, @storybook/core-server@workspace:lib/core-server": +"@storybook/core-server@7.1.0-alpha.29, @storybook/core-server@workspace:*, @storybook/core-server@workspace:lib/core-server": version: 0.0.0-use.local resolution: "@storybook/core-server@workspace:lib/core-server" dependencies: "@aw-web-design/x-default-browser": 1.4.88 "@discoveryjs/json-ext": ^0.5.3 - "@storybook/builder-manager": 7.1.0-alpha.28 - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/builder-manager": 7.1.0-alpha.29 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/csf": ^0.1.0 - "@storybook/csf-tools": 7.1.0-alpha.28 + "@storybook/csf-tools": 7.1.0-alpha.29 "@storybook/docs-mdx": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/manager": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/telemetry": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/telemetry": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/compression": ^1.7.0 "@types/detect-port": ^1.3.0 "@types/ip": ^1.1.0 @@ -6407,13 +6407,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-webpack@7.1.0-alpha.28, @storybook/core-webpack@workspace:*, @storybook/core-webpack@workspace:lib/core-webpack": +"@storybook/core-webpack@7.1.0-alpha.29, @storybook/core-webpack@workspace:*, @storybook/core-webpack@workspace:lib/core-webpack": version: 0.0.0-use.local resolution: "@storybook/core-webpack@workspace:lib/core-webpack" dependencies: - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/node": ^16.0.0 ts-dedent: ^2.0.0 typescript: ~4.9.3 @@ -6421,17 +6421,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/csf-plugin@7.1.0-alpha.28, @storybook/csf-plugin@workspace:*, @storybook/csf-plugin@workspace:lib/csf-plugin": +"@storybook/csf-plugin@7.1.0-alpha.29, @storybook/csf-plugin@workspace:*, @storybook/csf-plugin@workspace:lib/csf-plugin": version: 0.0.0-use.local resolution: "@storybook/csf-plugin@workspace:lib/csf-plugin" dependencies: - "@storybook/csf-tools": 7.1.0-alpha.28 + "@storybook/csf-tools": 7.1.0-alpha.29 typescript: ~4.9.3 unplugin: ^0.10.2 languageName: unknown linkType: soft -"@storybook/csf-tools@7.1.0-alpha.28, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools": +"@storybook/csf-tools@7.1.0-alpha.29, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools": version: 0.0.0-use.local resolution: "@storybook/csf-tools@workspace:lib/csf-tools" dependencies: @@ -6440,7 +6440,7 @@ __metadata: "@babel/traverse": ^7.22.0 "@babel/types": ^7.22.0 "@storybook/csf": ^0.1.0 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/types": 7.1.0-alpha.29 "@types/fs-extra": ^11.0.1 "@types/js-yaml": ^3.12.6 fs-extra: ^11.1.0 @@ -6476,14 +6476,14 @@ __metadata: languageName: node linkType: hard -"@storybook/docs-tools@7.1.0-alpha.28, @storybook/docs-tools@workspace:*, @storybook/docs-tools@workspace:lib/docs-tools": +"@storybook/docs-tools@7.1.0-alpha.29, @storybook/docs-tools@workspace:*, @storybook/docs-tools@workspace:lib/docs-tools": version: 0.0.0-use.local resolution: "@storybook/docs-tools@workspace:lib/docs-tools" dependencies: "@babel/core": ^7.22.0 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/doctrine": ^0.0.3 doctrine: ^3.0.0 jest-specific-snapshot: ^7.0.0 @@ -6497,12 +6497,12 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/ember@workspace:frameworks/ember" dependencies: - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 ember-source: ~3.28.1 ts-dedent: ^2.0.0 typescript: ~4.9.3 @@ -6546,15 +6546,15 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/html-vite@workspace:frameworks/html-vite" dependencies: - "@storybook/addons": 7.1.0-alpha.28 - "@storybook/builder-vite": 7.1.0-alpha.28 - "@storybook/channel-postmessage": 7.1.0-alpha.28 - "@storybook/channel-websocket": 7.1.0-alpha.28 - "@storybook/client-api": 7.1.0-alpha.28 - "@storybook/core-server": 7.1.0-alpha.28 - "@storybook/html": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/preview-web": 7.1.0-alpha.28 + "@storybook/addons": 7.1.0-alpha.29 + "@storybook/builder-vite": 7.1.0-alpha.29 + "@storybook/channel-postmessage": 7.1.0-alpha.29 + "@storybook/channel-websocket": 7.1.0-alpha.29 + "@storybook/client-api": 7.1.0-alpha.29 + "@storybook/core-server": 7.1.0-alpha.29 + "@storybook/html": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/preview-web": 7.1.0-alpha.29 "@types/node": ^16.0.0 magic-string: ^0.27.0 typescript: ~4.9.3 @@ -6565,11 +6565,11 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/html-webpack5@workspace:frameworks/html-webpack5" dependencies: - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/html": 7.1.0-alpha.28 - "@storybook/preset-html-webpack": 7.1.0-alpha.28 + "@storybook/html": 7.1.0-alpha.29 + "@storybook/preset-html-webpack": 7.1.0-alpha.29 "@types/node": ^16.0.0 typescript: ~4.9.3 peerDependencies: @@ -6579,15 +6579,15 @@ __metadata: languageName: unknown linkType: soft -"@storybook/html@7.1.0-alpha.28, @storybook/html@workspace:*, @storybook/html@workspace:renderers/html": +"@storybook/html@7.1.0-alpha.29, @storybook/html@workspace:*, @storybook/html@workspace:renderers/html": version: 0.0.0-use.local resolution: "@storybook/html@workspace:renderers/html" dependencies: - "@storybook/core-client": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/core-client": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 ts-dedent: ^2.0.0 typescript: ~4.9.3 peerDependencies: @@ -6595,15 +6595,15 @@ __metadata: languageName: unknown linkType: soft -"@storybook/instrumenter@7.1.0-alpha.28, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter": +"@storybook/instrumenter@7.1.0-alpha.29, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter": version: 0.0.0-use.local resolution: "@storybook/instrumenter@workspace:lib/instrumenter" dependencies: - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 typescript: ~4.9.3 languageName: unknown linkType: soft @@ -6660,19 +6660,19 @@ __metadata: languageName: node linkType: hard -"@storybook/manager-api@7.1.0-alpha.28, @storybook/manager-api@workspace:*, @storybook/manager-api@workspace:lib/manager-api": +"@storybook/manager-api@7.1.0-alpha.29, @storybook/manager-api@workspace:*, @storybook/manager-api@workspace:lib/manager-api": version: 0.0.0-use.local resolution: "@storybook/manager-api@workspace:lib/manager-api" dependencies: "@jest/globals": ^29.3.1 - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/csf": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/router": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/router": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/lodash": ^4.14.167 "@types/qs": ^6 dequal: ^2.0.2 @@ -6691,24 +6691,24 @@ __metadata: languageName: unknown linkType: soft -"@storybook/manager@7.1.0-alpha.28, @storybook/manager@workspace:*, @storybook/manager@workspace:ui/manager": +"@storybook/manager@7.1.0-alpha.29, @storybook/manager@workspace:*, @storybook/manager@workspace:ui/manager": version: 0.0.0-use.local resolution: "@storybook/manager@workspace:ui/manager" dependencies: "@fal-works/esbuild-plugin-global-externals": ^2.1.2 - "@storybook/addons": 7.1.0-alpha.28 - "@storybook/api": 7.1.0-alpha.28 - "@storybook/channel-postmessage": 7.1.0-alpha.28 - "@storybook/channel-websocket": 7.1.0-alpha.28 - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/components": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/addons": 7.1.0-alpha.29 + "@storybook/api": 7.1.0-alpha.29 + "@storybook/channel-postmessage": 7.1.0-alpha.29 + "@storybook/channel-websocket": 7.1.0-alpha.29 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/components": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/router": 7.1.0-alpha.28 - "@storybook/theming": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/router": 7.1.0-alpha.29 + "@storybook/theming": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@testing-library/react": ^11.2.2 "@types/semver": ^7.3.4 copy-to-clipboard: ^3.3.1 @@ -6758,13 +6758,13 @@ __metadata: "@babel/preset-typescript": ^7.21.0 "@babel/runtime": ^7.22.0 "@babel/types": ^7.22.0 - "@storybook/addon-actions": 7.1.0-alpha.28 - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/preset-react-webpack": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/react": 7.1.0-alpha.28 + "@storybook/addon-actions": 7.1.0-alpha.29 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/preset-react-webpack": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/react": 7.1.0-alpha.29 "@types/babel__core": ^7 "@types/babel__plugin-transform-runtime": ^7 "@types/babel__preset-env": ^7 @@ -6810,7 +6810,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/node-logger@7.1.0-alpha.28, @storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger": +"@storybook/node-logger@7.1.0-alpha.29, @storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger": version: 0.0.0-use.local resolution: "@storybook/node-logger@workspace:lib/node-logger" dependencies: @@ -6823,7 +6823,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/postinstall@7.1.0-alpha.28, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall": +"@storybook/postinstall@7.1.0-alpha.29, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall": version: 0.0.0-use.local resolution: "@storybook/postinstall@workspace:lib/postinstall" dependencies: @@ -6839,8 +6839,8 @@ __metadata: resolution: "@storybook/preact-vite@workspace:frameworks/preact-vite" dependencies: "@preact/preset-vite": ^2.0.0 - "@storybook/builder-vite": 7.1.0-alpha.28 - "@storybook/preact": 7.1.0-alpha.28 + "@storybook/builder-vite": 7.1.0-alpha.29 + "@storybook/preact": 7.1.0-alpha.29 "@types/node": ^16.0.0 typescript: ~4.9.3 vite: ^4.0.0 @@ -6854,10 +6854,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/preact-webpack5@workspace:frameworks/preact-webpack5" dependencies: - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/preact": 7.1.0-alpha.28 - "@storybook/preset-preact-webpack": 7.1.0-alpha.28 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/preact": 7.1.0-alpha.29 + "@storybook/preset-preact-webpack": 7.1.0-alpha.29 "@types/node": ^16.0.0 preact: ^10.5.13 typescript: ~4.9.3 @@ -6869,14 +6869,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preact@7.1.0-alpha.28, @storybook/preact@workspace:*, @storybook/preact@workspace:renderers/preact": +"@storybook/preact@7.1.0-alpha.29, @storybook/preact@workspace:*, @storybook/preact@workspace:renderers/preact": version: 0.0.0-use.local resolution: "@storybook/preact@workspace:renderers/preact" dependencies: - "@storybook/core-client": 7.1.0-alpha.28 + "@storybook/core-client": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 preact: ^10.5.13 ts-dedent: ^2.0.0 typescript: ~4.9.3 @@ -6890,9 +6890,9 @@ __metadata: resolution: "@storybook/preset-create-react-app@workspace:presets/create-react-app" dependencies: "@pmmmwh/react-refresh-webpack-plugin": ^0.5.1 - "@storybook/node-logger": 7.1.0-alpha.28 + "@storybook/node-logger": 7.1.0-alpha.29 "@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.0c3f3b7.0 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/types": 7.1.0-alpha.29 "@types/babel__core": ^7.1.7 "@types/node": ^16.0.0 babel-plugin-react-docgen: ^4.1.0 @@ -6905,11 +6905,11 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-html-webpack@7.1.0-alpha.28, @storybook/preset-html-webpack@workspace:*, @storybook/preset-html-webpack@workspace:presets/html-webpack": +"@storybook/preset-html-webpack@7.1.0-alpha.29, @storybook/preset-html-webpack@workspace:*, @storybook/preset-html-webpack@workspace:presets/html-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-html-webpack@workspace:presets/html-webpack" dependencies: - "@storybook/core-webpack": 7.1.0-alpha.28 + "@storybook/core-webpack": 7.1.0-alpha.29 "@types/node": ^16.0.0 html-loader: ^3.1.0 typescript: ~4.9.3 @@ -6919,13 +6919,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-preact-webpack@7.1.0-alpha.28, @storybook/preset-preact-webpack@workspace:*, @storybook/preset-preact-webpack@workspace:presets/preact-webpack": +"@storybook/preset-preact-webpack@7.1.0-alpha.29, @storybook/preset-preact-webpack@workspace:*, @storybook/preset-preact-webpack@workspace:presets/preact-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-preact-webpack@workspace:presets/preact-webpack" dependencies: "@babel/plugin-transform-react-jsx": ^7.21.0 "@babel/preset-typescript": ^7.21.0 - "@storybook/core-webpack": 7.1.0-alpha.28 + "@storybook/core-webpack": 7.1.0-alpha.29 "@types/node": ^16.0.0 preact: ^10.5.13 typescript: ~4.9.3 @@ -6935,17 +6935,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-react-webpack@7.1.0-alpha.28, @storybook/preset-react-webpack@workspace:*, @storybook/preset-react-webpack@workspace:presets/react-webpack": +"@storybook/preset-react-webpack@7.1.0-alpha.29, @storybook/preset-react-webpack@workspace:*, @storybook/preset-react-webpack@workspace:presets/react-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-react-webpack@workspace:presets/react-webpack" dependencies: "@babel/preset-flow": ^7.21.0 "@babel/preset-react": ^7.22.0 "@pmmmwh/react-refresh-webpack-plugin": ^0.5.5 - "@storybook/core-webpack": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/react": 7.1.0-alpha.28 + "@storybook/core-webpack": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/react": 7.1.0-alpha.29 "@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.0c3f3b7.0 "@types/node": ^16.0.0 "@types/semver": ^7.3.4 @@ -6968,14 +6968,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-server-webpack@7.1.0-alpha.28, @storybook/preset-server-webpack@workspace:*, @storybook/preset-server-webpack@workspace:presets/server-webpack": +"@storybook/preset-server-webpack@7.1.0-alpha.29, @storybook/preset-server-webpack@workspace:*, @storybook/preset-server-webpack@workspace:presets/server-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-server-webpack@workspace:presets/server-webpack" dependencies: - "@storybook/core-server": 7.1.0-alpha.28 - "@storybook/core-webpack": 7.1.0-alpha.28 + "@storybook/core-server": 7.1.0-alpha.29 + "@storybook/core-webpack": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/server": 7.1.0-alpha.28 + "@storybook/server": 7.1.0-alpha.29 "@types/node": ^16.0.0 fs-extra: ^11.1.0 jest-specific-snapshot: ^7.0.0 @@ -6987,12 +6987,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-svelte-webpack@7.1.0-alpha.28, @storybook/preset-svelte-webpack@workspace:*, @storybook/preset-svelte-webpack@workspace:presets/svelte-webpack": +"@storybook/preset-svelte-webpack@7.1.0-alpha.29, @storybook/preset-svelte-webpack@workspace:*, @storybook/preset-svelte-webpack@workspace:presets/svelte-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-svelte-webpack@workspace:presets/svelte-webpack" dependencies: - "@storybook/core-webpack": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 + "@storybook/core-webpack": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 svelte: ^3.31.2 svelte-loader: ^3.1.2 sveltedoc-parser: ^4.2.1 @@ -7005,12 +7005,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-vue-webpack@7.1.0-alpha.28, @storybook/preset-vue-webpack@workspace:*, @storybook/preset-vue-webpack@workspace:presets/vue-webpack": +"@storybook/preset-vue-webpack@7.1.0-alpha.29, @storybook/preset-vue-webpack@workspace:*, @storybook/preset-vue-webpack@workspace:presets/vue-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-vue-webpack@workspace:presets/vue-webpack" dependencies: - "@storybook/core-webpack": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/core-webpack": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 "@types/node": ^16.0.0 ts-loader: ^9.2.8 typescript: ~4.9.3 @@ -7030,12 +7030,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-vue3-webpack@7.1.0-alpha.28, @storybook/preset-vue3-webpack@workspace:*, @storybook/preset-vue3-webpack@workspace:presets/vue3-webpack": +"@storybook/preset-vue3-webpack@7.1.0-alpha.29, @storybook/preset-vue3-webpack@workspace:*, @storybook/preset-vue3-webpack@workspace:presets/vue3-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-vue3-webpack@workspace:presets/vue3-webpack" dependencies: - "@storybook/core-webpack": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/core-webpack": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 "@types/node": ^16.0.0 "@vue/compiler-sfc": ^3.2.33 ts-loader: ^9.2.8 @@ -7053,14 +7053,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-web-components-webpack@7.1.0-alpha.28, @storybook/preset-web-components-webpack@workspace:*, @storybook/preset-web-components-webpack@workspace:presets/web-components-webpack": +"@storybook/preset-web-components-webpack@7.1.0-alpha.29, @storybook/preset-web-components-webpack@workspace:*, @storybook/preset-web-components-webpack@workspace:presets/web-components-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-web-components-webpack@workspace:presets/web-components-webpack" dependencies: "@babel/plugin-syntax-dynamic-import": ^7.8.3 "@babel/plugin-syntax-import-meta": ^7.10.4 "@babel/preset-env": ^7.22.0 - "@storybook/core-webpack": 7.1.0-alpha.28 + "@storybook/core-webpack": 7.1.0-alpha.29 "@types/node": ^16.0.0 babel-loader: ^7.0.0 || ^8.0.0 || ^9.0.0 babel-plugin-bundled-import-meta: ^0.3.1 @@ -7071,19 +7071,19 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preview-api@7.1.0-alpha.28, @storybook/preview-api@workspace:*, @storybook/preview-api@workspace:lib/preview-api": +"@storybook/preview-api@7.1.0-alpha.29, @storybook/preview-api@workspace:*, @storybook/preview-api@workspace:lib/preview-api": version: 0.0.0-use.local resolution: "@storybook/preview-api@workspace:lib/preview-api" dependencies: "@jest/globals": ^26.6.2 - "@storybook/channel-postmessage": 7.1.0-alpha.28 - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 + "@storybook/channel-postmessage": 7.1.0-alpha.29 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 "@storybook/csf": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/types": 7.1.0-alpha.29 "@types/qs": ^6.9.5 ansi-to-html: ^0.6.11 dequal: ^2.0.2 @@ -7121,25 +7121,25 @@ __metadata: languageName: node linkType: hard -"@storybook/preview-web@7.1.0-alpha.28, @storybook/preview-web@workspace:*, @storybook/preview-web@workspace:deprecated/preview-web": +"@storybook/preview-web@7.1.0-alpha.29, @storybook/preview-web@workspace:*, @storybook/preview-web@workspace:deprecated/preview-web": version: 0.0.0-use.local resolution: "@storybook/preview-web@workspace:deprecated/preview-web" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 languageName: unknown linkType: soft -"@storybook/preview@7.1.0-alpha.28, @storybook/preview@workspace:*, @storybook/preview@workspace:lib/preview": +"@storybook/preview@7.1.0-alpha.29, @storybook/preview@workspace:*, @storybook/preview@workspace:lib/preview": version: 0.0.0-use.local resolution: "@storybook/preview@workspace:lib/preview" dependencies: - "@storybook/channel-postmessage": 7.1.0-alpha.28 - "@storybook/channel-websocket": 7.1.0-alpha.28 - "@storybook/channels": 7.1.0-alpha.28 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 + "@storybook/channel-postmessage": 7.1.0-alpha.29 + "@storybook/channel-websocket": 7.1.0-alpha.29 + "@storybook/channels": 7.1.0-alpha.29 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 typescript: ~4.9.3 languageName: unknown linkType: soft @@ -7162,11 +7162,11 @@ __metadata: languageName: node linkType: hard -"@storybook/react-dom-shim@7.1.0-alpha.28, @storybook/react-dom-shim@workspace:lib/react-dom-shim": +"@storybook/react-dom-shim@7.1.0-alpha.29, @storybook/react-dom-shim@workspace:lib/react-dom-shim": version: 0.0.0-use.local resolution: "@storybook/react-dom-shim@workspace:lib/react-dom-shim" dependencies: - "@storybook/types": 7.1.0-alpha.28 + "@storybook/types": 7.1.0-alpha.29 typescript: ~4.9.3 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -7180,8 +7180,8 @@ __metadata: dependencies: "@joshwooding/vite-plugin-react-docgen-typescript": 0.2.1 "@rollup/pluginutils": ^4.2.0 - "@storybook/builder-vite": 7.1.0-alpha.28 - "@storybook/react": 7.1.0-alpha.28 + "@storybook/builder-vite": 7.1.0-alpha.29 + "@storybook/react": 7.1.0-alpha.29 "@types/node": ^16.0.0 "@vitejs/plugin-react": ^3.0.1 ast-types: ^0.14.2 @@ -7200,9 +7200,9 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/react-webpack5@workspace:frameworks/react-webpack5" dependencies: - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/preset-react-webpack": 7.1.0-alpha.28 - "@storybook/react": 7.1.0-alpha.28 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/preset-react-webpack": 7.1.0-alpha.29 + "@storybook/react": 7.1.0-alpha.29 "@types/node": ^16.0.0 jest-specific-snapshot: ^7.0.0 typescript: ~4.9.3 @@ -7218,18 +7218,18 @@ __metadata: languageName: unknown linkType: soft -"@storybook/react@7.1.0-alpha.28, @storybook/react@workspace:*, @storybook/react@workspace:renderers/react": +"@storybook/react@7.1.0-alpha.29, @storybook/react@workspace:*, @storybook/react@workspace:renderers/react": version: 0.0.0-use.local resolution: "@storybook/react@workspace:renderers/react" dependencies: "@babel/core": ^7.22.0 - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-client": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-client": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/react-dom-shim": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/react-dom-shim": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/escodegen": ^0.0.6 "@types/estree": ^0.0.51 "@types/node": ^16.0.0 @@ -7451,11 +7451,11 @@ __metadata: languageName: unknown linkType: soft -"@storybook/router@7.1.0-alpha.28, @storybook/router@workspace:*, @storybook/router@workspace:lib/router": +"@storybook/router@7.1.0-alpha.29, @storybook/router@workspace:*, @storybook/router@workspace:lib/router": version: 0.0.0-use.local resolution: "@storybook/router@workspace:lib/router" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 dequal: ^2.0.2 lodash: ^4.17.21 @@ -7474,10 +7474,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/server-webpack5@workspace:frameworks/server-webpack5" dependencies: - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/preset-server-webpack": 7.1.0-alpha.28 - "@storybook/server": 7.1.0-alpha.28 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/preset-server-webpack": 7.1.0-alpha.29 + "@storybook/server": 7.1.0-alpha.29 "@types/node": ^16.0.0 typescript: ~4.9.3 peerDependencies: @@ -7486,16 +7486,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/server@7.1.0-alpha.28, @storybook/server@workspace:*, @storybook/server@workspace:renderers/server": +"@storybook/server@7.1.0-alpha.29, @storybook/server@workspace:*, @storybook/server@workspace:renderers/server": version: 0.0.0-use.local resolution: "@storybook/server@workspace:renderers/server" dependencies: - "@storybook/core-client": 7.1.0-alpha.28 + "@storybook/core-client": 7.1.0-alpha.29 "@storybook/csf": ^0.1.0 - "@storybook/csf-tools": 7.1.0-alpha.28 + "@storybook/csf-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/fs-extra": ^11.0.1 fs-extra: ^11.1.0 ts-dedent: ^2.0.0 @@ -7504,12 +7504,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/source-loader@7.1.0-alpha.28, @storybook/source-loader@workspace:*, @storybook/source-loader@workspace:lib/source-loader": +"@storybook/source-loader@7.1.0-alpha.29, @storybook/source-loader@workspace:*, @storybook/source-loader@workspace:lib/source-loader": version: 0.0.0-use.local resolution: "@storybook/source-loader@workspace:lib/source-loader" dependencies: "@storybook/csf": ^0.1.0 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/types": 7.1.0-alpha.29 estraverse: ^5.2.0 jest-specific-snapshot: ^7.0.0 lodash: ^4.17.21 @@ -7521,22 +7521,22 @@ __metadata: languageName: unknown linkType: soft -"@storybook/store@7.1.0-alpha.28, @storybook/store@workspace:*, @storybook/store@workspace:deprecated/store": +"@storybook/store@7.1.0-alpha.29, @storybook/store@workspace:*, @storybook/store@workspace:deprecated/store": version: 0.0.0-use.local resolution: "@storybook/store@workspace:deprecated/store" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 languageName: unknown linkType: soft -"@storybook/svelte-vite@7.1.0-alpha.28, @storybook/svelte-vite@workspace:frameworks/svelte-vite": +"@storybook/svelte-vite@7.1.0-alpha.29, @storybook/svelte-vite@workspace:frameworks/svelte-vite": version: 0.0.0-use.local resolution: "@storybook/svelte-vite@workspace:frameworks/svelte-vite" dependencies: - "@storybook/builder-vite": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/svelte": 7.1.0-alpha.28 + "@storybook/builder-vite": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/svelte": 7.1.0-alpha.29 "@sveltejs/vite-plugin-svelte": ^2.0.0 "@types/node": ^16.0.0 magic-string: ^0.27.0 @@ -7556,10 +7556,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/svelte-webpack5@workspace:frameworks/svelte-webpack5" dependencies: - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/preset-svelte-webpack": 7.1.0-alpha.28 - "@storybook/svelte": 7.1.0-alpha.28 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/preset-svelte-webpack": 7.1.0-alpha.29 + "@storybook/svelte": 7.1.0-alpha.29 svelte: ^3.48.0 svelte-loader: ^3.1.2 typescript: ~4.9.3 @@ -7572,17 +7572,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/svelte@7.1.0-alpha.28, @storybook/svelte@workspace:*, @storybook/svelte@workspace:renderers/svelte": +"@storybook/svelte@7.1.0-alpha.29, @storybook/svelte@workspace:*, @storybook/svelte@workspace:renderers/svelte": version: 0.0.0-use.local resolution: "@storybook/svelte@workspace:renderers/svelte" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-client": 7.1.0-alpha.28 - "@storybook/core-events": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-client": 7.1.0-alpha.29 + "@storybook/core-events": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 expect-type: ^0.14.2 svelte: ^3.59.1 svelte-check: ^3.4.3 @@ -7598,9 +7598,9 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/sveltekit@workspace:frameworks/sveltekit" dependencies: - "@storybook/builder-vite": 7.1.0-alpha.28 - "@storybook/svelte": 7.1.0-alpha.28 - "@storybook/svelte-vite": 7.1.0-alpha.28 + "@storybook/builder-vite": 7.1.0-alpha.29 + "@storybook/svelte": 7.1.0-alpha.29 + "@storybook/svelte-vite": 7.1.0-alpha.29 "@types/node": ^16.0.0 typescript: ^4.9.3 vite: ^4.0.0 @@ -7609,12 +7609,12 @@ __metadata: languageName: unknown linkType: soft -"@storybook/telemetry@7.1.0-alpha.28, @storybook/telemetry@workspace:*, @storybook/telemetry@workspace:lib/telemetry": +"@storybook/telemetry@7.1.0-alpha.29, @storybook/telemetry@workspace:*, @storybook/telemetry@workspace:lib/telemetry": version: 0.0.0-use.local resolution: "@storybook/telemetry@workspace:lib/telemetry" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 chalk: ^4.1.0 detect-package-manager: ^2.0.1 fetch-retry: ^5.0.2 @@ -7639,7 +7639,7 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@7.1.0-alpha.28, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming": +"@storybook/theming@7.1.0-alpha.29, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming": version: 0.0.0-use.local resolution: "@storybook/theming@workspace:lib/theming" dependencies: @@ -7648,7 +7648,7 @@ __metadata: "@emotion/react": ^11.10.4 "@emotion/styled": ^11.10.4 "@emotion/use-insertion-effect-with-fallbacks": ^1.0.0 - "@storybook/client-logger": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 "@types/fs-extra": ^11.0.1 "@types/node": ^16.0.0 @@ -7664,11 +7664,11 @@ __metadata: languageName: unknown linkType: soft -"@storybook/types@7.1.0-alpha.28, @storybook/types@workspace:*, @storybook/types@workspace:lib/types": +"@storybook/types@7.1.0-alpha.29, @storybook/types@workspace:*, @storybook/types@workspace:lib/types": version: 0.0.0-use.local resolution: "@storybook/types@workspace:lib/types" dependencies: - "@storybook/channels": 7.1.0-alpha.28 + "@storybook/channels": 7.1.0-alpha.29 "@storybook/csf": ^0.1.0 "@types/babel__core": ^7.0.0 "@types/express": ^4.7.0 @@ -7694,10 +7694,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/vue-vite@workspace:frameworks/vue-vite" dependencies: - "@storybook/builder-vite": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/core-server": 7.1.0-alpha.28 - "@storybook/vue": 7.1.0-alpha.28 + "@storybook/builder-vite": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/core-server": 7.1.0-alpha.29 + "@storybook/vue": 7.1.0-alpha.29 magic-string: ^0.27.0 typescript: ~4.9.3 vite: ^4.0.0 @@ -7715,10 +7715,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/vue-webpack5@workspace:frameworks/vue-webpack5" dependencies: - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/preset-vue-webpack": 7.1.0-alpha.28 - "@storybook/vue": 7.1.0-alpha.28 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/preset-vue-webpack": 7.1.0-alpha.29 + "@storybook/vue": 7.1.0-alpha.29 "@types/node": ^16.0.0 typescript: ~4.9.3 vue: ^2.6.12 @@ -7740,9 +7740,9 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/vue3-vite@workspace:frameworks/vue3-vite" dependencies: - "@storybook/builder-vite": 7.1.0-alpha.28 - "@storybook/core-server": 7.1.0-alpha.28 - "@storybook/vue3": 7.1.0-alpha.28 + "@storybook/builder-vite": 7.1.0-alpha.29 + "@storybook/core-server": 7.1.0-alpha.29 + "@storybook/vue3": 7.1.0-alpha.29 "@types/node": ^16.0.0 "@vitejs/plugin-vue": ^4.0.0 magic-string: ^0.27.0 @@ -7760,10 +7760,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/vue3-webpack5@workspace:frameworks/vue3-webpack5" dependencies: - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/preset-vue3-webpack": 7.1.0-alpha.28 - "@storybook/vue3": 7.1.0-alpha.28 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/preset-vue3-webpack": 7.1.0-alpha.29 + "@storybook/vue3": 7.1.0-alpha.29 "@types/node": ^16.0.0 "@vue/compiler-sfc": 3.0.0 typescript: ~4.9.3 @@ -7778,16 +7778,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/vue3@7.1.0-alpha.28, @storybook/vue3@workspace:*, @storybook/vue3@workspace:renderers/vue3": +"@storybook/vue3@7.1.0-alpha.29, @storybook/vue3@workspace:*, @storybook/vue3@workspace:renderers/vue3": version: 0.0.0-use.local resolution: "@storybook/vue3@workspace:renderers/vue3" dependencies: "@digitak/esrun": ^3.2.2 - "@storybook/core-client": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/core-client": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/prettier": 2.7.2 "@vue/vue3-jest": 29 ts-dedent: ^2.0.0 @@ -7801,16 +7801,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/vue@7.1.0-alpha.28, @storybook/vue@workspace:*, @storybook/vue@workspace:renderers/vue": +"@storybook/vue@7.1.0-alpha.29, @storybook/vue@workspace:*, @storybook/vue@workspace:renderers/vue": version: 0.0.0-use.local resolution: "@storybook/vue@workspace:renderers/vue" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-client": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-client": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 ts-dedent: ^2.0.0 type-fest: 2.19.0 typescript: ~4.9.3 @@ -7831,10 +7831,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/web-components-vite@workspace:frameworks/web-components-vite" dependencies: - "@storybook/builder-vite": 7.1.0-alpha.28 - "@storybook/core-server": 7.1.0-alpha.28 - "@storybook/node-logger": 7.1.0-alpha.28 - "@storybook/web-components": 7.1.0-alpha.28 + "@storybook/builder-vite": 7.1.0-alpha.29 + "@storybook/core-server": 7.1.0-alpha.29 + "@storybook/node-logger": 7.1.0-alpha.29 + "@storybook/web-components": 7.1.0-alpha.29 "@types/node": ^16.0.0 magic-string: ^0.27.0 typescript: ~4.9.3 @@ -7849,10 +7849,10 @@ __metadata: resolution: "@storybook/web-components-webpack5@workspace:frameworks/web-components-webpack5" dependencies: "@babel/preset-env": ^7.22.0 - "@storybook/builder-webpack5": 7.1.0-alpha.28 - "@storybook/core-common": 7.1.0-alpha.28 - "@storybook/preset-web-components-webpack": 7.1.0-alpha.28 - "@storybook/web-components": 7.1.0-alpha.28 + "@storybook/builder-webpack5": 7.1.0-alpha.29 + "@storybook/core-common": 7.1.0-alpha.29 + "@storybook/preset-web-components-webpack": 7.1.0-alpha.29 + "@storybook/web-components": 7.1.0-alpha.29 "@types/node": ^16.0.0 lit: 2.3.1 typescript: ~4.9.3 @@ -7863,17 +7863,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/web-components@7.1.0-alpha.28, @storybook/web-components@workspace:*, @storybook/web-components@workspace:renderers/web-components": +"@storybook/web-components@7.1.0-alpha.29, @storybook/web-components@workspace:*, @storybook/web-components@workspace:renderers/web-components": version: 0.0.0-use.local resolution: "@storybook/web-components@workspace:renderers/web-components" dependencies: - "@storybook/client-logger": 7.1.0-alpha.28 - "@storybook/core-client": 7.1.0-alpha.28 - "@storybook/docs-tools": 7.1.0-alpha.28 + "@storybook/client-logger": 7.1.0-alpha.29 + "@storybook/core-client": 7.1.0-alpha.29 + "@storybook/docs-tools": 7.1.0-alpha.29 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.1.0-alpha.28 - "@storybook/preview-api": 7.1.0-alpha.28 - "@storybook/types": 7.1.0-alpha.28 + "@storybook/manager-api": 7.1.0-alpha.29 + "@storybook/preview-api": 7.1.0-alpha.29 + "@storybook/types": 7.1.0-alpha.29 "@types/cross-spawn": ^6.0.2 "@types/node": ^16.0.0 cross-spawn: ^7.0.3 @@ -27804,7 +27804,7 @@ __metadata: version: 0.0.0-use.local resolution: "sb@workspace:lib/cli-sb" dependencies: - "@storybook/cli": 7.1.0-alpha.28 + "@storybook/cli": 7.1.0-alpha.29 bin: sb: ./index.js languageName: unknown @@ -28768,7 +28768,7 @@ __metadata: version: 0.0.0-use.local resolution: "storybook@workspace:lib/cli-storybook" dependencies: - "@storybook/cli": 7.1.0-alpha.28 + "@storybook/cli": 7.1.0-alpha.29 bin: sb: ./index.js storybook: ./index.js diff --git a/docs/versions/next.json b/docs/versions/next.json index bb6f04b34241..d6cb3dcdfd19 100644 --- a/docs/versions/next.json +++ b/docs/versions/next.json @@ -1 +1 @@ -{"version":"7.1.0-alpha.28","info":{"plain":"#### Bug Fixes\n\n- Docs: E2E tests for Source block update fix [#22835](https://github.com/storybooks/storybook/pull/22835)\n- Docs: Fix Source block snippet updates [#22807](https://github.com/storybooks/storybook/pull/22807)"}} \ No newline at end of file +{"version":"7.1.0-alpha.29","info":{"plain":"#### Bug Fixes\n\n- CLI: Fix upgrade notification message [#22933](https://github.com/storybooks/storybook/pull/22933)\n- Core: Fix indexing errors by excluding node_modules stories [#22873](https://github.com/storybooks/storybook/pull/22873)"}} \ No newline at end of file From 5625cac6a84d76566610d7b25d661f9e70515f9c Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Jun 2023 13:15:18 +0200 Subject: [PATCH 07/14] experiment with universal channel --- code/lib/channel-postmessage/package.json | 1 + code/lib/channel-postmessage/src/index.ts | 16 +++++-- code/lib/channel-postmessage/src/typings.d.ts | 1 + code/lib/channels/src/index.ts | 44 ++++++++++++++----- code/ui/manager/src/typings.d.ts | 2 +- code/yarn.lock | 1 + 6 files changed, 50 insertions(+), 15 deletions(-) diff --git a/code/lib/channel-postmessage/package.json b/code/lib/channel-postmessage/package.json index 6d86a27c9726..810aeb611be3 100644 --- a/code/lib/channel-postmessage/package.json +++ b/code/lib/channel-postmessage/package.json @@ -43,6 +43,7 @@ "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { + "@storybook/channel-websocket": "7.1.0-alpha.29", "@storybook/channels": "7.1.0-alpha.29", "@storybook/client-logger": "7.1.0-alpha.29", "@storybook/core-events": "7.1.0-alpha.29", diff --git a/code/lib/channel-postmessage/src/index.ts b/code/lib/channel-postmessage/src/index.ts index 164f26c305ba..7a6b428c2a1e 100644 --- a/code/lib/channel-postmessage/src/index.ts +++ b/code/lib/channel-postmessage/src/index.ts @@ -2,12 +2,13 @@ import { global } from '@storybook/global'; import * as EVENTS from '@storybook/core-events'; import { Channel } from '@storybook/channels'; import type { ChannelHandler, ChannelEvent, ChannelTransport } from '@storybook/channels'; +import { WebsocketTransport } from '@storybook/channel-websocket'; import { logger, pretty } from '@storybook/client-logger'; import { isJSON, parse, stringify } from 'telejson'; import qs from 'qs'; import invariant from 'tiny-invariant'; -const { document, location } = global; +const { document, location, CONFIG_TYPE } = global; interface Config { page: 'manager' | 'preview'; @@ -289,8 +290,17 @@ const getEventSourceUrl = (event: MessageEvent) => { * Creates a channel which communicates with an iframe or child window. */ export function createChannel({ page }: Config): Channel { - const transport = new PostmsgTransport({ page }); - return new Channel({ transport }); + const transports: ChannelTransport[] = [new PostmsgTransport({ page })]; + + if (CONFIG_TYPE === 'DEVELOPMENT') { + const protocol = window.location.protocol === 'http:' ? 'ws' : 'wss'; + const { hostname, port } = window.location; + const channelUrl = `${protocol}://${hostname}:${port}/storybook-server-channel`; + + transports.push(new WebsocketTransport({ url: channelUrl, onError: () => {} })); + } + + return new Channel({ transports }); } // backwards compat with builder-vite diff --git a/code/lib/channel-postmessage/src/typings.d.ts b/code/lib/channel-postmessage/src/typings.d.ts index 5c3e4f56f641..459ea6f109e6 100644 --- a/code/lib/channel-postmessage/src/typings.d.ts +++ b/code/lib/channel-postmessage/src/typings.d.ts @@ -1 +1,2 @@ declare var CHANNEL_OPTIONS: any; +declare var CONFIG_TYPE: 'DEVELOPMENT' | 'PRODUCTION'; diff --git a/code/lib/channels/src/index.ts b/code/lib/channels/src/index.ts index 9c7425690f05..d12cda556b73 100644 --- a/code/lib/channels/src/index.ts +++ b/code/lib/channels/src/index.ts @@ -21,10 +21,20 @@ interface EventsKeyValue { [key: string]: Listener[]; } -interface ChannelArgs { +type ChannelArgs = ChannelArgsSingle | ChannelArgsMulti; +interface ChannelArgsSingle { transport?: ChannelTransport; async?: boolean; } +interface ChannelArgsMulti { + transports: ChannelTransport[]; + async?: boolean; +} + +const isMulti = (args: ChannelArgs): args is ChannelArgsMulti => { + // @ts-expect-error (we guard against this right here) + return args.transports !== undefined; +}; const generateRandomId = () => { // generates a random 13 character string @@ -40,18 +50,30 @@ export class Channel { private data: Record = {}; - private readonly transport: ChannelTransport | undefined = undefined; + private readonly transports: ChannelTransport[] = []; + + constructor(input: ChannelArgsMulti); + constructor(input: ChannelArgsSingle); + constructor(input: ChannelArgs = {}) { + this.isAsync = input.async || false; - constructor({ transport, async = false }: ChannelArgs = {}) { - this.isAsync = async; - if (transport) { - this.transport = transport; - this.transport.setHandler((event) => this.handleEvent(event)); + if (isMulti(input)) { + this.transports = input.transports || []; + + this.transports.forEach((t) => { + t.setHandler((event) => this.handleEvent(event)); + }); + } else { + this.transports = input.transport ? [input.transport] : []; } + + this.transports.forEach((t) => { + t.setHandler((event) => this.handleEvent(event)); + }); } get hasTransport() { - return !!this.transport; + return this.transports.length > 0; } addListener(eventName: string, listener: Listener) { @@ -67,9 +89,9 @@ export class Channel { } const handler = () => { - if (this.transport) { - this.transport.send(event, options); - } + this.transports.forEach((t) => { + t.send(event, options); + }); this.handleEvent(event); }; diff --git a/code/ui/manager/src/typings.d.ts b/code/ui/manager/src/typings.d.ts index 0a39bf209901..0be1e038d698 100644 --- a/code/ui/manager/src/typings.d.ts +++ b/code/ui/manager/src/typings.d.ts @@ -2,7 +2,7 @@ declare module 'chromatic/isChromatic'; declare var DOCS_OPTIONS: any; -declare var CONFIG_TYPE: any; +declare var CONFIG_TYPE: 'DEVELOPMENT' | 'PRODUCTION'; declare var PREVIEW_URL: any; declare var __STORYBOOK_ADDONS_MANAGER: any; diff --git a/code/yarn.lock b/code/yarn.lock index 1e25b6c71c87..a3eb22160582 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -6089,6 +6089,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/channel-postmessage@workspace:lib/channel-postmessage" dependencies: + "@storybook/channel-websocket": 7.1.0-alpha.29 "@storybook/channels": 7.1.0-alpha.29 "@storybook/client-logger": 7.1.0-alpha.29 "@storybook/core-events": 7.1.0-alpha.29 From 0fa6639e7c2c8dc3db237235ef57e955b9ad4f33 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Jun 2023 13:33:50 +0200 Subject: [PATCH 08/14] stop connecting twice, just use main channel for everything, it connects to both. leave serverChannel to point to main channel for backwards compatibility --- code/builders/builder-vite/src/codegen-set-addon-channel.ts | 4 +--- .../templates/virtualModuleModernEntry.js.handlebars | 4 +--- code/ui/manager/src/runtime.ts | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/code/builders/builder-vite/src/codegen-set-addon-channel.ts b/code/builders/builder-vite/src/codegen-set-addon-channel.ts index aa866408415d..ed57a358d83d 100644 --- a/code/builders/builder-vite/src/codegen-set-addon-channel.ts +++ b/code/builders/builder-vite/src/codegen-set-addon-channel.ts @@ -9,9 +9,7 @@ export async function generateAddonSetupCode() { window.__STORYBOOK_ADDONS_CHANNEL__ = channel; if (window.CONFIG_TYPE === 'DEVELOPMENT'){ - const serverChannel = createWebSocketChannel({}); - addons.setServerChannel(serverChannel); - window.__STORYBOOK_SERVER_CHANNEL__ = serverChannel; + window.__STORYBOOK_SERVER_CHANNEL__ = channel; } `.trim(); } diff --git a/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars b/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars index 154c413e9404..541dd90b08c5 100644 --- a/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars +++ b/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars @@ -13,9 +13,7 @@ const channel = createPostMessageChannel({ page: 'preview' }); addons.setChannel(channel); if (global.CONFIG_TYPE === 'DEVELOPMENT'){ - const serverChannel = createWebSocketChannel({}); - addons.setServerChannel(serverChannel); - window.__STORYBOOK_SERVER_CHANNEL__ = serverChannel; + window.__STORYBOOK_SERVER_CHANNEL__ = channel; } const preview = new PreviewWeb(); diff --git a/code/ui/manager/src/runtime.ts b/code/ui/manager/src/runtime.ts index 0a1df3bb2756..f390cded7a73 100644 --- a/code/ui/manager/src/runtime.ts +++ b/code/ui/manager/src/runtime.ts @@ -5,7 +5,6 @@ import type { AddonStore } from '@storybook/manager-api'; import { addons } from '@storybook/manager-api'; import type { Addon_Types, Addon_Config } from '@storybook/types'; import * as postMessage from '@storybook/channel-postmessage'; -import * as webSocket from '@storybook/channel-websocket'; import { CHANNEL_CREATED } from '@storybook/core-events'; import Provider from './provider'; import { renderStorybookUI } from './index'; @@ -36,8 +35,7 @@ class ReactProvider extends Provider { this.channel = postMessageChannel; if (FEATURES?.storyStoreV7 && CONFIG_TYPE === 'DEVELOPMENT') { - const serverChannel = webSocket.createChannel({}); - this.serverChannel = serverChannel; + this.serverChannel = this.channel; addons.setServerChannel(this.serverChannel); } } From 348a9b06d1e3bebf94fa9577d5d998085028a011 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Jun 2023 14:23:06 +0200 Subject: [PATCH 09/14] cleanup && fix tests --- code/lib/channels/src/index.test.ts | 11 ++-- code/lib/manager-api/src/modules/channel.ts | 11 ---- code/lib/manager-api/src/modules/stories.ts | 2 +- .../lib/manager-api/src/tests/stories.test.ts | 56 ++++--------------- 4 files changed, 20 insertions(+), 60 deletions(-) diff --git a/code/lib/channels/src/index.test.ts b/code/lib/channels/src/index.test.ts index 886d2fa20800..8eb319f927fc 100644 --- a/code/lib/channels/src/index.test.ts +++ b/code/lib/channels/src/index.test.ts @@ -19,7 +19,7 @@ describe('Channel', () => { }); it('should not set transport if not passed as an argument', () => { - channel = new Channel(); + channel = new Channel({}); expect(channel.hasTransport).toBeFalsy(); }); @@ -29,7 +29,7 @@ describe('Channel', () => { }); it('should set isAsync to false as default value', () => { - channel = new Channel(); + channel = new Channel({}); expect(channel.isAsync).toBeFalsy(); }); @@ -104,8 +104,11 @@ describe('Channel', () => { listenerOutputData = data; }); const sendSpy = jest.fn(); - // @ts-expect-error (Converted from ts-ignore) - channel.transport.send = sendSpy; + // @ts-expect-error (access private property for testing purposes) + channel.transports.forEach((t) => { + // eslint-disable-next-line no-param-reassign + t.send = sendSpy; + }); channel.emit(eventName, ...listenerInputData); expect(listenerOutputData).toEqual(listenerInputData); expect(sendSpy.mock.calls[0][1]).toEqual({ depth: 1 }); diff --git a/code/lib/manager-api/src/modules/channel.ts b/code/lib/manager-api/src/modules/channel.ts index 64568498f77d..38d65a843366 100644 --- a/code/lib/manager-api/src/modules/channel.ts +++ b/code/lib/manager-api/src/modules/channel.ts @@ -8,10 +8,8 @@ import type { API, ModuleFn } from '../index'; export interface SubAPI { getChannel: () => API_Provider['channel']; on: (type: string, cb: Listener) => () => void; - experimental_onServer: (type: string, cb: Listener) => () => void; off: (type: string, cb: Listener) => void; emit: (type: string, ...args: any[]) => void; - experimental_emitServer: (type: string, ...args: any[]) => void; once: (type: string, cb: Listener) => void; collapseAll: () => void; expandAll: () => void; @@ -27,11 +25,6 @@ export const init: ModuleFn = ({ provider }) => { return () => provider.channel.removeListener(type, cb); }, - experimental_onServer: (type, cb) => { - provider.serverChannel.addListener(type, cb); - - return () => provider.serverChannel.removeListener(type, cb); - }, off: (type, cb) => provider.channel.removeListener(type, cb), once: (type, cb) => provider.channel.once(type, cb), emit: (type, data, ...args) => { @@ -47,10 +40,6 @@ export const init: ModuleFn = ({ provider }) => { } provider.channel.emit(type, data, ...args); }, - experimental_emitServer: (type, data, ...args) => { - provider.serverChannel.emit(type, data, ...args); - }, - collapseAll: () => { provider.channel.emit(STORIES_COLLAPSE_ALL, {}); }, diff --git a/code/lib/manager-api/src/modules/stories.ts b/code/lib/manager-api/src/modules/stories.ts index 9e3ac1f36464..ef356a1755ef 100644 --- a/code/lib/manager-api/src/modules/stories.ts +++ b/code/lib/manager-api/src/modules/stories.ts @@ -563,7 +563,7 @@ export const init: ModuleFn = ({ }); if (FEATURES?.storyStoreV7) { - fullAPI.experimental_onServer(STORY_INDEX_INVALIDATED, () => fullAPI.fetchIndex()); + fullAPI.on(STORY_INDEX_INVALIDATED, () => fullAPI.fetchIndex()); await fullAPI.fetchIndex(); } }; diff --git a/code/lib/manager-api/src/tests/stories.test.ts b/code/lib/manager-api/src/tests/stories.test.ts index ec9220a75888..d8db6b09332c 100644 --- a/code/lib/manager-api/src/tests/stories.test.ts +++ b/code/lib/manager-api/src/tests/stories.test.ts @@ -395,7 +395,7 @@ describe('stories API', () => { it('handles properly prepared stories', async () => { const navigate = jest.fn(); const store = createMockStore(); - const fullAPI = Object.assign(new EventEmitter(), { experimental_onServer: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), {}); const { api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api); @@ -434,7 +434,6 @@ describe('stories API', () => { const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { setOptions: jest.fn(), - experimental_onServer: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -564,7 +563,6 @@ describe('stories API', () => { Object.assign(fullAPI, api, { setIndex: jest.fn(), setOptions: jest.fn(), - experimental_onServer: jest.fn(), }); init(); @@ -583,7 +581,6 @@ describe('stories API', () => { setIndex: jest.fn(), setOptions: jest.fn(), getCurrentParameter: jest.fn().mockReturnValue('options'), - experimental_onServer: jest.fn(), }); init(); @@ -597,13 +594,7 @@ describe('stories API', () => { it('deals with 500 errors', async () => { const navigate = jest.fn(); const store = createMockStore({}); - const fullAPI = Object.assign( - new EventEmitter(), - { - experimental_onServer: jest.fn(), - }, - {} - ); + const fullAPI = Object.assign(new EventEmitter(), {}, {}); (global.fetch as jest.Mock>).mockReturnValue( Promise.resolve({ @@ -625,11 +616,6 @@ describe('stories API', () => { const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { setIndex: jest.fn(), - experimental_onServer: jest.fn((type, cb) => { - provider.serverChannel.addListener(type, cb); - - return () => provider.serverChannel.removeListener(type, cb); - }), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -649,7 +635,7 @@ describe('stories API', () => { importPath: './path/to/component-a.ts', }, }); - provider.serverChannel.emit(STORY_INDEX_INVALIDATED); + fullAPI.emit(STORY_INDEX_INVALIDATED); expect(global.fetch).toHaveBeenCalledTimes(1); // Let the promise/await chain resolve @@ -664,11 +650,6 @@ describe('stories API', () => { const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { setIndex: jest.fn(), - experimental_onServer: jest.fn((type, cb) => { - provider.serverChannel.addListener(type, cb); - - return () => provider.serverChannel.removeListener(type, cb); - }), }); (global.fetch as jest.Mock>).mockReturnValueOnce( @@ -695,7 +676,7 @@ describe('stories API', () => { importPath: './path/to/component-a.ts', }, }); - provider.serverChannel.emit(STORY_INDEX_INVALIDATED); + fullAPI.emit(STORY_INDEX_INVALIDATED); expect(global.fetch).toHaveBeenCalledTimes(1); // Let the promise/await chain resolve @@ -714,7 +695,6 @@ describe('stories API', () => { isSettingsScreenActive() { return false; }, - experimental_onServer: jest.fn(), }); const store = createMockStore({}); const { init, api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -760,7 +740,7 @@ describe('stories API', () => { describe('CURRENT_STORY_WAS_SET event', () => { it('sets previewInitialized', async () => { const navigate = jest.fn(); - const fullAPI = Object.assign(new EventEmitter(), { experimental_onServer: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), {}); const store = createMockStore({}); const { init, api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -775,7 +755,6 @@ describe('stories API', () => { const navigate = jest.fn(); const fullAPI = Object.assign(new EventEmitter(), { updateRef: jest.fn(), - experimental_onServer: jest.fn(), }); const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -824,7 +803,6 @@ describe('stories API', () => { const navigate = jest.fn(); const store = createMockStore(); const fullAPI = Object.assign(new EventEmitter(), { - experimental_onServer: jest.fn(), updateRef: jest.fn(), }); @@ -853,7 +831,6 @@ describe('stories API', () => { const { init, api } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api, { updateRef: jest.fn(), - experimental_onServer: jest.fn(), }); init(); @@ -871,7 +848,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on, experimental_onServer: jest.fn() }; + const fullAPI = { emit, on }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -898,7 +875,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on, experimental_onServer: jest.fn() }; + const fullAPI = { emit, on }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -922,7 +899,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on, experimental_onServer: jest.fn() }; + const fullAPI = { emit, on }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -949,7 +926,7 @@ describe('stories API', () => { const navigate = jest.fn(); const emit = jest.fn(); const on = jest.fn(); - const fullAPI = { emit, on, experimental_onServer: jest.fn() }; + const fullAPI = { emit, on }; const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1420,7 +1397,6 @@ describe('stories API', () => { const fullAPI = Object.assign(new EventEmitter(), { setStories: jest.fn(), setOptions: jest.fn(), - experimental_onServer: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1452,7 +1428,6 @@ describe('stories API', () => { const fullAPI = Object.assign(new EventEmitter(), { setStories: jest.fn(), setOptions: jest.fn(), - experimental_onServer: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1483,7 +1458,6 @@ describe('stories API', () => { const fullAPI = Object.assign(new EventEmitter(), { setStories: jest.fn(), setOptions: jest.fn(), - experimental_onServer: jest.fn(), }); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1512,9 +1486,7 @@ describe('stories API', () => { it('sets previewInitialized to true, local', async () => { const navigate = jest.fn(); const store = createMockStore(); - const fullAPI = Object.assign(new EventEmitter(), { - experimental_onServer: jest.fn(), - }); + const fullAPI = Object.assign(new EventEmitter(), {}); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api); @@ -1530,7 +1502,6 @@ describe('stories API', () => { it('sets previewInitialized to true, ref', async () => { const navigate = jest.fn(); const fullAPI = Object.assign(new EventEmitter(), { - experimental_onServer: jest.fn(), updateRef: jest.fn(), }); const store = createMockStore(); @@ -1556,7 +1527,7 @@ describe('stories API', () => { it('sets previewInitialized to true, local', async () => { const navigate = jest.fn(); const store = createMockStore(); - const fullAPI = Object.assign(new EventEmitter(), { experimental_onServer: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), {}); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); Object.assign(fullAPI, api); @@ -1573,7 +1544,6 @@ describe('stories API', () => { const navigate = jest.fn(); const fullAPI = Object.assign(new EventEmitter(), { updateRef: jest.fn(), - experimental_onServer: jest.fn(), }); const store = createMockStore(); const { api, init } = initStoriesAndSetState({ store, navigate, provider, fullAPI } as any); @@ -1596,7 +1566,7 @@ describe('stories API', () => { describe('v2 SET_STORIES event', () => { it('normalizes parameters and calls setRef for external stories', () => { - const fullAPI = Object.assign(new EventEmitter(), { experimental_onServer: jest.fn() }); + const fullAPI = Object.assign(new EventEmitter(), {}); const navigate = jest.fn(); const store = createMockStore(); @@ -1605,7 +1575,6 @@ describe('stories API', () => { setIndex: jest.fn(), findRef: jest.fn(), setRef: jest.fn(), - experimental_onServer: jest.fn(), }); init(); @@ -1645,7 +1614,6 @@ describe('stories API', () => { setIndex: jest.fn(), findRef: jest.fn(), setRef: jest.fn(), - experimental_onServer: jest.fn(), }); init(); From 55acaf91f3910a9c7bfb2e7b13f5c3fd5d6ce5d4 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Jun 2023 14:30:41 +0200 Subject: [PATCH 10/14] simplify --- code/ui/manager/src/runtime.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/code/ui/manager/src/runtime.ts b/code/ui/manager/src/runtime.ts index f390cded7a73..fa67a9d9ce41 100644 --- a/code/ui/manager/src/runtime.ts +++ b/code/ui/manager/src/runtime.ts @@ -17,7 +17,6 @@ const { FEATURES, CONFIG_TYPE } = global; class ReactProvider extends Provider { private addons: AddonStore; - // @ts-expect-error Unused, possibly remove, leaving, because it could be accessed even though it is private private channel: Channel; private serverChannel?: Channel; @@ -25,14 +24,14 @@ class ReactProvider extends Provider { constructor() { super(); - const postMessageChannel = postMessage.createChannel({ page: 'manager' }); + const channel = postMessage.createChannel({ page: 'manager' }); - addons.setChannel(postMessageChannel); + addons.setChannel(channel); - postMessageChannel.emit(CHANNEL_CREATED); + channel.emit(CHANNEL_CREATED); this.addons = addons; - this.channel = postMessageChannel; + this.channel = channel; if (FEATURES?.storyStoreV7 && CONFIG_TYPE === 'DEVELOPMENT') { this.serverChannel = this.channel; From 422703b10fa6a51fc8c491f4ecd24fb6f1f7a272 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Jun 2023 14:49:52 +0200 Subject: [PATCH 11/14] fixes --- code/builders/builder-vite/package.json | 1 - code/builders/builder-vite/src/codegen-set-addon-channel.ts | 1 - code/builders/builder-webpack5/package.json | 1 - .../templates/virtualModuleModernEntry.js.handlebars | 1 - code/frameworks/html-vite/package.json | 1 - .../modules/preview-web/docs-context/DocsContext.test.ts | 2 +- .../src/modules/preview-web/render/CsfDocsRender.test.ts | 4 ++-- .../src/modules/preview-web/render/MdxDocsRender.test.ts | 6 +++--- .../src/modules/preview-web/render/StoryRender.test.ts | 6 +++--- code/ui/blocks/src/blocks/external/ExternalPreview.ts | 2 +- code/ui/manager/package.json | 1 - code/yarn.lock | 4 ---- 12 files changed, 10 insertions(+), 20 deletions(-) diff --git a/code/builders/builder-vite/package.json b/code/builders/builder-vite/package.json index 7dbb2c822706..f9308e6000ac 100644 --- a/code/builders/builder-vite/package.json +++ b/code/builders/builder-vite/package.json @@ -43,7 +43,6 @@ }, "dependencies": { "@storybook/channel-postmessage": "7.1.0-alpha.29", - "@storybook/channel-websocket": "7.1.0-alpha.29", "@storybook/client-logger": "7.1.0-alpha.29", "@storybook/core-common": "7.1.0-alpha.29", "@storybook/csf-plugin": "7.1.0-alpha.29", diff --git a/code/builders/builder-vite/src/codegen-set-addon-channel.ts b/code/builders/builder-vite/src/codegen-set-addon-channel.ts index ed57a358d83d..6548d64c67c1 100644 --- a/code/builders/builder-vite/src/codegen-set-addon-channel.ts +++ b/code/builders/builder-vite/src/codegen-set-addon-channel.ts @@ -1,7 +1,6 @@ export async function generateAddonSetupCode() { return ` import { createChannel as createPostMessageChannel } from '@storybook/channel-postmessage'; - import { createChannel as createWebSocketChannel } from '@storybook/channel-websocket'; import { addons } from '@storybook/preview-api'; const channel = createPostMessageChannel({ page: 'preview' }); diff --git a/code/builders/builder-webpack5/package.json b/code/builders/builder-webpack5/package.json index 120c825108ed..f9bb0f978bf0 100644 --- a/code/builders/builder-webpack5/package.json +++ b/code/builders/builder-webpack5/package.json @@ -59,7 +59,6 @@ "@storybook/addons": "7.1.0-alpha.29", "@storybook/api": "7.1.0-alpha.29", "@storybook/channel-postmessage": "7.1.0-alpha.29", - "@storybook/channel-websocket": "7.1.0-alpha.29", "@storybook/channels": "7.1.0-alpha.29", "@storybook/client-api": "7.1.0-alpha.29", "@storybook/client-logger": "7.1.0-alpha.29", diff --git a/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars b/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars index 541dd90b08c5..ec9848e1e121 100644 --- a/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars +++ b/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars @@ -2,7 +2,6 @@ import { global } from '@storybook/global'; import { ClientApi, PreviewWeb, addons, composeConfigs } from '@storybook/preview-api'; import { createChannel as createPostMessageChannel } from '@storybook/channel-postmessage'; -import { createChannel as createWebSocketChannel } from '@storybook/channel-websocket'; import { importFn } from './{{storiesFilename}}'; diff --git a/code/frameworks/html-vite/package.json b/code/frameworks/html-vite/package.json index 551ef37c426f..34d02d96c682 100644 --- a/code/frameworks/html-vite/package.json +++ b/code/frameworks/html-vite/package.json @@ -50,7 +50,6 @@ "@storybook/addons": "7.1.0-alpha.29", "@storybook/builder-vite": "7.1.0-alpha.29", "@storybook/channel-postmessage": "7.1.0-alpha.29", - "@storybook/channel-websocket": "7.1.0-alpha.29", "@storybook/client-api": "7.1.0-alpha.29", "@storybook/core-server": "7.1.0-alpha.29", "@storybook/html": "7.1.0-alpha.29", diff --git a/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContext.test.ts b/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContext.test.ts index b36c08ede673..a45c15db2751 100644 --- a/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContext.test.ts +++ b/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContext.test.ts @@ -5,7 +5,7 @@ import type { StoryStore } from '../../store'; import { DocsContext } from './DocsContext'; import { csfFileParts } from './test-utils'; -const channel = new Channel(); +const channel = new Channel({}); const renderStoryToElement = jest.fn(); describe('referenceCSFFile', () => { diff --git a/code/lib/preview-api/src/modules/preview-web/render/CsfDocsRender.test.ts b/code/lib/preview-api/src/modules/preview-web/render/CsfDocsRender.test.ts index 94f6b0920d70..b492a27e6506 100644 --- a/code/lib/preview-api/src/modules/preview-web/render/CsfDocsRender.test.ts +++ b/code/lib/preview-api/src/modules/preview-web/render/CsfDocsRender.test.ts @@ -34,7 +34,7 @@ it('throws PREPARE_ABORTED if torndown during prepare', async () => { }; const render = new CsfDocsRender( - new Channel(), + new Channel({}), mockStore as unknown as StoryStore, entry, {} as RenderContextCallbacks @@ -63,7 +63,7 @@ it('attached immediately', async () => { } as unknown as StoryStore; const render = new CsfDocsRender( - new Channel(), + new Channel({}), store, entry, {} as RenderContextCallbacks diff --git a/code/lib/preview-api/src/modules/preview-web/render/MdxDocsRender.test.ts b/code/lib/preview-api/src/modules/preview-web/render/MdxDocsRender.test.ts index dbdfad5c06e6..d6676ee26a98 100644 --- a/code/lib/preview-api/src/modules/preview-web/render/MdxDocsRender.test.ts +++ b/code/lib/preview-api/src/modules/preview-web/render/MdxDocsRender.test.ts @@ -33,7 +33,7 @@ it('throws PREPARE_ABORTED if torndown during prepare', async () => { }; const render = new MdxDocsRender( - new Channel(), + new Channel({}), mockStore as unknown as StoryStore, entry, {} as RenderContextCallbacks @@ -62,7 +62,7 @@ describe('attaching', () => { it('is not attached if you do not call setMeta', async () => { const render = new MdxDocsRender( - new Channel(), + new Channel({}), store, entry, {} as RenderContextCallbacks @@ -76,7 +76,7 @@ describe('attaching', () => { it('is attached if you call referenceMeta with attach=true', async () => { const render = new MdxDocsRender( - new Channel(), + new Channel({}), store, entry, {} as RenderContextCallbacks diff --git a/code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts b/code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts index b95cbe5d3383..96b0032f2361 100644 --- a/code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts +++ b/code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts @@ -33,7 +33,7 @@ describe('StoryRender', () => { }; const render = new StoryRender( - new Channel(), + new Channel({}), mockStore as unknown as StoryStore, jest.fn(), {} as any, @@ -63,7 +63,7 @@ describe('StoryRender', () => { }; const render = new StoryRender( - new Channel(), + new Channel({}), { getStoryContext: () => ({}) } as any, jest.fn() as any, {} as any, @@ -90,7 +90,7 @@ describe('StoryRender', () => { }; const render = new StoryRender( - new Channel(), + new Channel({}), { getStoryContext: () => ({}) } as any, jest.fn() as any, {} as any, diff --git a/code/ui/blocks/src/blocks/external/ExternalPreview.ts b/code/ui/blocks/src/blocks/external/ExternalPreview.ts index 4f5b557518a5..52d8e90378d7 100644 --- a/code/ui/blocks/src/blocks/external/ExternalPreview.ts +++ b/code/ui/blocks/src/blocks/external/ExternalPreview.ts @@ -36,7 +36,7 @@ export class ExternalPreview extends Prev private moduleExportsByImportPath: Record = {}; constructor(public projectAnnotations: ProjectAnnotations) { - super(new Channel()); + super(new Channel({})); this.initialize({ getStoryIndex: () => this.storyIndex, diff --git a/code/ui/manager/package.json b/code/ui/manager/package.json index fadedf186d76..8a6ee029d77e 100644 --- a/code/ui/manager/package.json +++ b/code/ui/manager/package.json @@ -54,7 +54,6 @@ "@storybook/addons": "7.1.0-alpha.29", "@storybook/api": "7.1.0-alpha.29", "@storybook/channel-postmessage": "7.1.0-alpha.29", - "@storybook/channel-websocket": "7.1.0-alpha.29", "@storybook/channels": "7.1.0-alpha.29", "@storybook/client-logger": "7.1.0-alpha.29", "@storybook/components": "7.1.0-alpha.29", diff --git a/code/yarn.lock b/code/yarn.lock index a3eb22160582..48ebe05dc863 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -5981,7 +5981,6 @@ __metadata: resolution: "@storybook/builder-vite@workspace:builders/builder-vite" dependencies: "@storybook/channel-postmessage": 7.1.0-alpha.29 - "@storybook/channel-websocket": 7.1.0-alpha.29 "@storybook/client-logger": 7.1.0-alpha.29 "@storybook/core-common": 7.1.0-alpha.29 "@storybook/csf-plugin": 7.1.0-alpha.29 @@ -6027,7 +6026,6 @@ __metadata: "@storybook/addons": 7.1.0-alpha.29 "@storybook/api": 7.1.0-alpha.29 "@storybook/channel-postmessage": 7.1.0-alpha.29 - "@storybook/channel-websocket": 7.1.0-alpha.29 "@storybook/channels": 7.1.0-alpha.29 "@storybook/client-api": 7.1.0-alpha.29 "@storybook/client-logger": 7.1.0-alpha.29 @@ -6550,7 +6548,6 @@ __metadata: "@storybook/addons": 7.1.0-alpha.29 "@storybook/builder-vite": 7.1.0-alpha.29 "@storybook/channel-postmessage": 7.1.0-alpha.29 - "@storybook/channel-websocket": 7.1.0-alpha.29 "@storybook/client-api": 7.1.0-alpha.29 "@storybook/core-server": 7.1.0-alpha.29 "@storybook/html": 7.1.0-alpha.29 @@ -6700,7 +6697,6 @@ __metadata: "@storybook/addons": 7.1.0-alpha.29 "@storybook/api": 7.1.0-alpha.29 "@storybook/channel-postmessage": 7.1.0-alpha.29 - "@storybook/channel-websocket": 7.1.0-alpha.29 "@storybook/channels": 7.1.0-alpha.29 "@storybook/client-logger": 7.1.0-alpha.29 "@storybook/components": 7.1.0-alpha.29 From 860663f9891468536431fff77ff66c27f7ce5863 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Jun 2023 15:46:09 +0200 Subject: [PATCH 12/14] add deprecations & cleanup --- code/lib/manager-api/src/lib/addons.ts | 12 ++++++++++++ code/lib/preview-api/src/modules/addons/main.ts | 12 ++++++++++++ .../preview-api/src/modules/preview-web/Preview.tsx | 6 ++++-- code/lib/types/src/modules/api.ts | 3 +++ 4 files changed, 31 insertions(+), 2 deletions(-) diff --git a/code/lib/manager-api/src/lib/addons.ts b/code/lib/manager-api/src/lib/addons.ts index de8dd75c2767..aa508b535ec1 100644 --- a/code/lib/manager-api/src/lib/addons.ts +++ b/code/lib/manager-api/src/lib/addons.ts @@ -36,6 +36,9 @@ export class AddonStore { private channel: Channel | undefined; + /** + * @deprecated will be removed in 8.0 + */ private serverChannel: Channel | undefined; private promise: any; @@ -51,6 +54,9 @@ export class AddonStore { return this.channel; }; + /** + * @deprecated will be removed in 8.0, use getChannel instead + */ getServerChannel = (): Channel => { if (!this.serverChannel) { throw new Error('Accessing non-existent serverChannel'); @@ -63,6 +69,9 @@ export class AddonStore { hasChannel = (): boolean => !!this.channel; + /** + * @deprecated will be removed in 8.0, please use the normal channel instead + */ hasServerChannel = (): boolean => !!this.serverChannel; setChannel = (channel: Channel): void => { @@ -70,6 +79,9 @@ export class AddonStore { this.resolve(); }; + /** + * @deprecated will be removed in 8.0, please use the normal channel instead + */ setServerChannel = (channel: Channel): void => { this.serverChannel = channel; }; diff --git a/code/lib/preview-api/src/modules/addons/main.ts b/code/lib/preview-api/src/modules/addons/main.ts index dec90e0f2ab7..5b663fe0f435 100644 --- a/code/lib/preview-api/src/modules/addons/main.ts +++ b/code/lib/preview-api/src/modules/addons/main.ts @@ -12,6 +12,9 @@ export class AddonStore { private channel: Channel | undefined; + /** + * @deprecated will be removed in 8.0, please use channel instead + */ private serverChannel: Channel | undefined; private promise: any; @@ -29,6 +32,9 @@ export class AddonStore { return this.channel; }; + /** + * @deprecated will be removed in 8.0, please use getChannel instead + */ getServerChannel = (): Channel => { if (!this.serverChannel) { throw new Error('Accessing non-existent serverChannel'); @@ -41,6 +47,9 @@ export class AddonStore { hasChannel = (): boolean => !!this.channel; + /** + * @deprecated will be removed in 8.0, please use the normal channel instead + */ hasServerChannel = (): boolean => !!this.serverChannel; setChannel = (channel: Channel): void => { @@ -48,6 +57,9 @@ export class AddonStore { this.resolve(); }; + /** + * @deprecated will be removed in 8.0, please use the normal channel instead + */ setServerChannel = (channel: Channel): void => { this.serverChannel = channel; }; diff --git a/code/lib/preview-api/src/modules/preview-web/Preview.tsx b/code/lib/preview-api/src/modules/preview-web/Preview.tsx index cde068b7b9dc..638cf8126b61 100644 --- a/code/lib/preview-api/src/modules/preview-web/Preview.tsx +++ b/code/lib/preview-api/src/modules/preview-web/Preview.tsx @@ -43,6 +43,9 @@ const STORY_INDEX_PATH = './index.json'; export type MaybePromise = Promise | T; export class Preview { + /** + * @deprecated will be removed in 8.0, please use channel instead + */ serverChannel?: Channel; storyStore: StoryStore; @@ -96,8 +99,7 @@ export class Preview { } setupListeners() { - this.serverChannel?.on(STORY_INDEX_INVALIDATED, this.onStoryIndexChanged.bind(this)); - + this.channel.on(STORY_INDEX_INVALIDATED, this.onStoryIndexChanged.bind(this)); this.channel.on(UPDATE_GLOBALS, this.onUpdateGlobals.bind(this)); this.channel.on(UPDATE_STORY_ARGS, this.onUpdateArgs.bind(this)); this.channel.on(RESET_STORY_ARGS, this.onResetArgs.bind(this)); diff --git a/code/lib/types/src/modules/api.ts b/code/lib/types/src/modules/api.ts index b9ed52477190..b20e3d0e120e 100644 --- a/code/lib/types/src/modules/api.ts +++ b/code/lib/types/src/modules/api.ts @@ -47,6 +47,9 @@ export interface API_ProviderData { export interface API_Provider { channel?: Channel; + /** + * @deprecated will be removed in 8.0, please use channel instead + */ serverChannel?: Channel; renderPreview?: API_IframeRenderer; handleAPI(api: API): void; From 7c415f115c3345522f250b5218053304d413bd02 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 6 Jun 2023 15:47:45 +0200 Subject: [PATCH 13/14] more cleanup --- code/ui/manager/src/FakeProvider.tsx | 8 -------- code/ui/manager/src/runtime.ts | 3 +++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/code/ui/manager/src/FakeProvider.tsx b/code/ui/manager/src/FakeProvider.tsx index 65a454f602ef..647e1ad81b06 100644 --- a/code/ui/manager/src/FakeProvider.tsx +++ b/code/ui/manager/src/FakeProvider.tsx @@ -17,14 +17,6 @@ export class FakeProvider extends Provider { addListener: () => {}, removeListener: () => {}, }; - // @ts-expect-error (Converted from ts-ignore) - this.serverChannel = { - on: () => {}, - off: () => {}, - emit: () => {}, - addListener: () => {}, - removeListener: () => {}, - }; } // @ts-expect-error (Converted from ts-ignore) diff --git a/code/ui/manager/src/runtime.ts b/code/ui/manager/src/runtime.ts index fa67a9d9ce41..27a96b44dbdb 100644 --- a/code/ui/manager/src/runtime.ts +++ b/code/ui/manager/src/runtime.ts @@ -19,6 +19,9 @@ class ReactProvider extends Provider { private channel: Channel; + /** + * @deprecated will be removed in 8.0, please use channel instead + */ private serverChannel?: Channel; constructor() { From 782ec33470eb0a5924539bef9bfc18aed00ab656 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 7 Jun 2023 10:52:47 +0200 Subject: [PATCH 14/14] add context/explanation, add experimental prefix, add same logic to react-native (websocket, without duplicating the storybook-server-channel transport --- code/lib/channel-websocket/src/index.ts | 22 ++++++++++++++----- code/lib/channel-websocket/src/typings.d.ts | 1 + code/lib/core-server/src/dev-server.ts | 5 ++++- .../src/utils/get-server-channel.ts | 8 +++++-- 4 files changed, 27 insertions(+), 9 deletions(-) diff --git a/code/lib/channel-websocket/src/index.ts b/code/lib/channel-websocket/src/index.ts index 3738fea4eaa0..64fa26e74b2c 100644 --- a/code/lib/channel-websocket/src/index.ts +++ b/code/lib/channel-websocket/src/index.ts @@ -1,10 +1,12 @@ import { global } from '@storybook/global'; import { Channel } from '@storybook/channels'; -import type { ChannelHandler } from '@storybook/channels'; +import type { ChannelHandler, ChannelTransport } from '@storybook/channels'; import { logger } from '@storybook/client-logger'; import { isJSON, parse, stringify } from 'telejson'; import invariant from 'tiny-invariant'; +const { CONFIG_TYPE } = global; + const { WebSocket } = global; type OnError = (message: Event) => void; @@ -80,15 +82,23 @@ export function createChannel({ async = false, onError = (err) => logger.warn(err), }: CreateChannelArgs) { - let channelUrl = url; - if (!channelUrl) { + const transports: ChannelTransport[] = []; + + if (url) { + transports.push(new WebsocketTransport({ url, onError })); + } + + const isUrlServerChannel = !!url?.includes('storybook-server-channel'); + + if (CONFIG_TYPE === 'DEVELOPMENT' && isUrlServerChannel === false) { const protocol = window.location.protocol === 'http:' ? 'ws' : 'wss'; const { hostname, port } = window.location; - channelUrl = `${protocol}://${hostname}:${port}/storybook-server-channel`; + const channelUrl = `${protocol}://${hostname}:${port}/storybook-server-channel`; + + transports.push(new WebsocketTransport({ url: channelUrl, onError: () => {} })); } - const transport = new WebsocketTransport({ url: channelUrl, onError }); - return new Channel({ transport, async }); + return new Channel({ transports, async }); } // backwards compat with builder-vite diff --git a/code/lib/channel-websocket/src/typings.d.ts b/code/lib/channel-websocket/src/typings.d.ts index 36dadd3de8aa..14231067a5c9 100644 --- a/code/lib/channel-websocket/src/typings.d.ts +++ b/code/lib/channel-websocket/src/typings.d.ts @@ -1 +1,2 @@ declare module 'json-fn'; +declare var CONFIG_TYPE: 'DEVELOPMENT' | 'PRODUCTION'; diff --git a/code/lib/core-server/src/dev-server.ts b/code/lib/core-server/src/dev-server.ts index 97dc060e6670..27979118a088 100644 --- a/code/lib/core-server/src/dev-server.ts +++ b/code/lib/core-server/src/dev-server.ts @@ -29,7 +29,10 @@ export async function storybookDevServer(options: Options) { options.presets.apply('core'), ]); - const serverChannel = await options.presets.apply('serverChannel', getServerChannel(server)); + const serverChannel = await options.presets.apply( + 'experimental_serverChannel', + getServerChannel(server) + ); let indexError: Error; // try get index generator, if failed, send telemetry without storyCount, then rethrow the error diff --git a/code/lib/core-server/src/utils/get-server-channel.ts b/code/lib/core-server/src/utils/get-server-channel.ts index 18390c7676aa..f43f0dcf5b0e 100644 --- a/code/lib/core-server/src/utils/get-server-channel.ts +++ b/code/lib/core-server/src/utils/get-server-channel.ts @@ -5,6 +5,10 @@ import { Channel } from '@storybook/channels'; type Server = ConstructorParameters[0]['server']; +/** + * This class represents a channel transport that allows for a one-to-many relationship between the server and clients. + * Unlike other channels such as the postmessage and websocket channel implementations, this channel will receive from many clients and any events emitted will be sent out to all connected clients. + */ export class ServerChannelTransport { private socket: WebSocketServer; @@ -43,9 +47,9 @@ export class ServerChannelTransport { } export function getServerChannel(server: Server) { - const transport = new ServerChannelTransport(server); + const transports = [new ServerChannelTransport(server)]; - return new Channel({ transport, async: true }); + return new Channel({ transports, async: true }); } // for backwards compatibility