diff --git a/code/.eslintignore b/code/.eslintignore index 5ced53c96672..908c71d91047 100644 --- a/code/.eslintignore +++ b/code/.eslintignore @@ -17,5 +17,4 @@ ember-output !.eslintrc.js !.eslintrc-markdown.js !.storybook -lib/core-common/templates/base-preview-head.html -lib/core-server/src/utils/__search-files-tests__ \ No newline at end of file +core/assets diff --git a/code/.eslintrc.js b/code/.eslintrc.js index 1c460e0e8afc..71840316182b 100644 --- a/code/.eslintrc.js +++ b/code/.eslintrc.js @@ -98,7 +98,7 @@ module.exports = { rules: { 'import/no-extraneous-dependencies': [ 'error', - { bundledDependencies: false, devDependencies: true }, + { bundledDependencies: false, devDependencies: true, peerDependencies: true }, ], }, }, @@ -107,7 +107,16 @@ module.exports = { rules: { 'import/no-extraneous-dependencies': [ 'error', - { packageDir: [__dirname], devDependencies: true }, + { packageDir: [__dirname], devDependencies: true, peerDependencies: true }, + ], + }, + }, + { + files: ['**/core/**'], + rules: { + 'import/no-extraneous-dependencies': [ + 'error', + { packageDir: [__dirname], devDependencies: true, peerDependencies: true }, ], }, }, @@ -128,7 +137,11 @@ module.exports = { rules: { 'import/no-extraneous-dependencies': [ 'error', - { packageDir: [__dirname, path.join(__dirname, 'ui', directory)], devDependencies: true }, + { + packageDir: [__dirname, path.join(__dirname, 'ui', directory)], + devDependencies: true, + peerDependencies: true, + }, ], }, })), diff --git a/code/addons/a11y/package.json b/code/addons/a11y/package.json index b4ead0743136..005717311ab1 100644 --- a/code/addons/a11y/package.json +++ b/code/addons/a11y/package.json @@ -60,15 +60,11 @@ "axe-core": "^4.2.0" }, "devDependencies": { - "@storybook/channels": "workspace:*", - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "@testing-library/react": "^14.0.0", "lodash": "^4.17.21", "react": "^18.2.0", @@ -77,6 +73,9 @@ "resize-observer-polyfill": "^1.5.1", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/a11y/src/a11yRunner.test.ts b/code/addons/a11y/src/a11yRunner.test.ts index 9a8e479f1beb..44b5db6eb3a1 100644 --- a/code/addons/a11y/src/a11yRunner.test.ts +++ b/code/addons/a11y/src/a11yRunner.test.ts @@ -1,9 +1,9 @@ import type { Mock } from 'vitest'; import { describe, beforeEach, it, expect, vi } from 'vitest'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import { EVENTS } from './constants'; -vi.mock('@storybook/preview-api'); +vi.mock('@storybook/core/dist/preview-api'); const mockedAddons = vi.mocked(addons); describe('a11yRunner', () => { diff --git a/code/addons/a11y/src/a11yRunner.ts b/code/addons/a11y/src/a11yRunner.ts index ec33803558c3..93ef01704b06 100644 --- a/code/addons/a11y/src/a11yRunner.ts +++ b/code/addons/a11y/src/a11yRunner.ts @@ -1,5 +1,5 @@ import { global } from '@storybook/global'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import { EVENTS } from './constants'; import type { A11yParameters } from './params'; diff --git a/code/addons/a11y/src/components/A11yContext.tsx b/code/addons/a11y/src/components/A11yContext.tsx index 01e9c68c32ba..6f25fd968037 100644 --- a/code/addons/a11y/src/components/A11yContext.tsx +++ b/code/addons/a11y/src/components/A11yContext.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { themes, convert } from '@storybook/theming'; import type { Result } from 'axe-core'; import { useChannel, useAddonState, useStorybookApi } from '@storybook/manager-api'; -import { STORY_CHANGED, STORY_RENDERED } from '@storybook/core-events'; +import { STORY_CHANGED, STORY_RENDERED } from '@storybook/core/dist/core-events'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import { ADDON_ID, EVENTS } from '../constants'; diff --git a/code/addons/a11y/src/manager.test.tsx b/code/addons/a11y/src/manager.test.tsx index b707a9bd5cff..cad9a0df82ef 100644 --- a/code/addons/a11y/src/manager.test.tsx +++ b/code/addons/a11y/src/manager.test.tsx @@ -1,6 +1,6 @@ import { describe, it, expect, vi } from 'vitest'; import * as api from '@storybook/manager-api'; -import type { Addon_BaseType } from '@storybook/types'; +import type { Addon_BaseType } from '@storybook/core/dist/types'; import { PANEL_ID } from './constants'; import './manager'; diff --git a/code/addons/actions/package.json b/code/addons/actions/package.json index ece8a2ec4e3b..1b75e0ca7164 100644 --- a/code/addons/actions/package.json +++ b/code/addons/actions/package.json @@ -68,7 +68,6 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts" }, "dependencies": { - "@storybook/core-events": "workspace:*", "@storybook/global": "^5.0.0", "@types/uuid": "^9.0.1", "dequal": "^2.0.2", @@ -76,18 +75,18 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "react": "^18.2.0", "react-dom": "^18.2.0", "react-inspector": "^6.0.0", "telejson": "^7.2.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/actions/src/addArgs.ts b/code/addons/actions/src/addArgs.ts index 5742bd8627c0..4bd85bf8f3be 100644 --- a/code/addons/actions/src/addArgs.ts +++ b/code/addons/actions/src/addArgs.ts @@ -1,4 +1,4 @@ -import type { ArgsEnhancer } from '@storybook/types'; +import type { ArgsEnhancer } from '@storybook/core/dist/types'; import { addActionsFromArgTypes, inferActionsFromArgTypesRegex } from './addArgsHelpers'; export const argsEnhancers: ArgsEnhancer[] = [ diff --git a/code/addons/actions/src/addArgsHelpers.test.ts b/code/addons/actions/src/addArgsHelpers.test.ts index d03b9ea55d9b..441ff21f33f1 100644 --- a/code/addons/actions/src/addArgsHelpers.test.ts +++ b/code/addons/actions/src/addArgsHelpers.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import type { StoryContext } from '@storybook/types'; +import type { StoryContext } from '@storybook/core/dist/types'; import { inferActionsFromArgTypesRegex, addActionsFromArgTypes } from './addArgsHelpers'; describe('actions parameter enhancers', () => { diff --git a/code/addons/actions/src/addArgsHelpers.ts b/code/addons/actions/src/addArgsHelpers.ts index ab8fd3b36a0b..d635f13fafb4 100644 --- a/code/addons/actions/src/addArgsHelpers.ts +++ b/code/addons/actions/src/addArgsHelpers.ts @@ -1,4 +1,4 @@ -import type { Args, Renderer, ArgsEnhancer } from '@storybook/types'; +import type { Args, Renderer, ArgsEnhancer } from '@storybook/core/dist/types'; import { action } from './runtime/action'; // interface ActionsParameter { @@ -51,13 +51,11 @@ export const addActionsFromArgTypes: ArgsEnhancer = (context) => { return {}; } - const argTypesWithAction = Object.entries(argTypes).filter( - ([name, argType]) => !!argType['action'] - ); + const argTypesWithAction = Object.entries(argTypes).filter(([name, argType]) => !!argType.action); return argTypesWithAction.reduce((acc, [name, argType]) => { if (isInInitialArgs(name, initialArgs)) { - acc[name] = action(typeof argType['action'] === 'string' ? argType['action'] : name); + acc[name] = action(typeof argType.action === 'string' ? argType.action : name); } return acc; }, {} as Args); diff --git a/code/addons/actions/src/containers/ActionLogger/index.tsx b/code/addons/actions/src/containers/ActionLogger/index.tsx index 6f5d5f3a1366..fc5f33aa91cd 100644 --- a/code/addons/actions/src/containers/ActionLogger/index.tsx +++ b/code/addons/actions/src/containers/ActionLogger/index.tsx @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import { dequal as deepEqual } from 'dequal'; import type { API } from '@storybook/manager-api'; -import { STORY_CHANGED } from '@storybook/core-events'; +import { STORY_CHANGED } from '@storybook/core/dist/core-events'; import { ActionLogger as ActionLoggerComponent } from '../../components/ActionLogger'; import type { ActionDisplay } from '../../models'; diff --git a/code/addons/actions/src/decorator.ts b/code/addons/actions/src/decorator.ts index 3022714f1253..8da7e463c0b6 100644 --- a/code/addons/actions/src/decorator.ts +++ b/code/addons/actions/src/decorator.ts @@ -1,6 +1,6 @@ import { global } from '@storybook/global'; -import { useEffect, makeDecorator } from '@storybook/preview-api'; -import type { PartialStoryFn, Renderer } from '@storybook/types'; +import { useEffect, makeDecorator } from '@storybook/core/dist/preview-api'; +import type { PartialStoryFn, Renderer } from '@storybook/core/dist/types'; import { actions } from './runtime/actions'; import { PARAM_KEY } from './constants'; @@ -62,8 +62,8 @@ export const withActions: (storyFn: PartialStoryFn) => T[ parameterName: PARAM_KEY, skipIfNoParametersOrOptions: true, wrapper: (getStory, context, { parameters }) => { - if (parameters?.['handles']) { - applyEventHandlers(actions, ...parameters['handles']); + if (parameters?.handles) { + applyEventHandlers(actions, ...parameters.handles); } return getStory(context); diff --git a/code/addons/actions/src/loaders.ts b/code/addons/actions/src/loaders.ts index eebb09acb71b..9cbf98eb10f9 100644 --- a/code/addons/actions/src/loaders.ts +++ b/code/addons/actions/src/loaders.ts @@ -1,5 +1,5 @@ /* eslint-disable no-underscore-dangle */ -import type { LoaderFunction } from '@storybook/types'; +import type { LoaderFunction } from '@storybook/core/dist/types'; import { global } from '@storybook/global'; import type { onMockCall as onMockCallType } from '@storybook/test'; import { action } from './runtime'; diff --git a/code/addons/actions/src/manager.tsx b/code/addons/actions/src/manager.tsx index cade1d86fdce..090644450699 100644 --- a/code/addons/actions/src/manager.tsx +++ b/code/addons/actions/src/manager.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { addons, types, useAddonState, useChannel } from '@storybook/manager-api'; -import { STORY_CHANGED } from '@storybook/core-events'; +import { STORY_CHANGED } from '@storybook/core/dist/core-events'; import { Badge, Spaced } from '@storybook/components'; import ActionLogger from './containers/ActionLogger'; import { ADDON_ID, CLEAR_ID, EVENT_ID, PANEL_ID, PARAM_KEY } from './constants'; diff --git a/code/addons/actions/src/runtime/__tests__/action.test.js b/code/addons/actions/src/runtime/__tests__/action.test.js index e0a2af63597c..62aff8e0c470 100644 --- a/code/addons/actions/src/runtime/__tests__/action.test.js +++ b/code/addons/actions/src/runtime/__tests__/action.test.js @@ -1,8 +1,8 @@ import { describe, it, expect, vi } from 'vitest'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import { action, configureActions } from '../..'; -vi.mock('@storybook/preview-api'); +vi.mock('@storybook/core/dist/preview-api'); const createChannel = () => { const channel = { emit: vi.fn() }; diff --git a/code/addons/actions/src/runtime/__tests__/actions.test.js b/code/addons/actions/src/runtime/__tests__/actions.test.js index de2f9adc0352..f72a14f56658 100644 --- a/code/addons/actions/src/runtime/__tests__/actions.test.js +++ b/code/addons/actions/src/runtime/__tests__/actions.test.js @@ -1,8 +1,8 @@ import { describe, it, expect, vi } from 'vitest'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import { actions } from '../..'; -vi.mock('@storybook/preview-api'); +vi.mock('@storybook/core/dist/preview-api'); const createChannel = () => { const channel = { emit: vi.fn() }; diff --git a/code/addons/actions/src/runtime/action.ts b/code/addons/actions/src/runtime/action.ts index 4d15504c36b6..115253d565f9 100644 --- a/code/addons/actions/src/runtime/action.ts +++ b/code/addons/actions/src/runtime/action.ts @@ -1,9 +1,9 @@ import { v4 as uuidv4 } from 'uuid'; -import type { PreviewWeb } from '@storybook/preview-api'; -import { addons } from '@storybook/preview-api'; -import type { Renderer } from '@storybook/types'; +import type { PreviewWeb } from '@storybook/core/dist/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; +import type { Renderer } from '@storybook/core/dist/types'; import { global } from '@storybook/global'; -import { ImplicitActionsDuringRendering } from '@storybook/core-events/preview-errors'; +import { ImplicitActionsDuringRendering } from '@storybook/core/dist/preview-errors'; import { EVENT_ID } from '../constants'; import type { ActionDisplay, ActionOptions, HandlerFunction } from '../models'; import { config } from './configureActions'; diff --git a/code/addons/actions/src/typings.d.ts b/code/addons/actions/src/typings.d.ts index 4ae6735dbc30..e633c1be5e9a 100644 --- a/code/addons/actions/src/typings.d.ts +++ b/code/addons/actions/src/typings.d.ts @@ -1 +1 @@ -declare var FEATURES: import('@storybook/types').StorybookConfigRaw['features']; +declare var FEATURES: import('@storybook/core/dist/types').StorybookConfigRaw['features']; diff --git a/code/addons/backgrounds/package.json b/code/addons/backgrounds/package.json index 6a28feca7160..983f74c9a35e 100644 --- a/code/addons/backgrounds/package.json +++ b/code/addons/backgrounds/package.json @@ -61,17 +61,17 @@ "ts-dedent": "^2.0.0" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/backgrounds/src/containers/BackgroundSelector.tsx b/code/addons/backgrounds/src/containers/BackgroundSelector.tsx index c8d4bcb9019d..ae01969c62e6 100644 --- a/code/addons/backgrounds/src/containers/BackgroundSelector.tsx +++ b/code/addons/backgrounds/src/containers/BackgroundSelector.tsx @@ -3,7 +3,7 @@ import React, { useState, Fragment, useCallback, useMemo, memo } from 'react'; import memoize from 'memoizerific'; import { useParameter, useGlobals } from '@storybook/manager-api'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import { IconButton, WithTooltip, TooltipLinkList } from '@storybook/components'; import { PhotoIcon } from '@storybook/icons'; diff --git a/code/addons/backgrounds/src/decorators/withBackground.ts b/code/addons/backgrounds/src/decorators/withBackground.ts index 10d2df3a8a28..92a09a23464d 100644 --- a/code/addons/backgrounds/src/decorators/withBackground.ts +++ b/code/addons/backgrounds/src/decorators/withBackground.ts @@ -1,5 +1,9 @@ -import { useMemo, useEffect } from '@storybook/preview-api'; -import type { Renderer, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/types'; +import { useMemo, useEffect } from '@storybook/core/dist/preview-api'; +import type { + Renderer, + PartialStoryFn as StoryFunction, + StoryContext, +} from '@storybook/core/dist/types'; import { PARAM_KEY as BACKGROUNDS_PARAM_KEY } from '../constants'; import { diff --git a/code/addons/backgrounds/src/decorators/withGrid.ts b/code/addons/backgrounds/src/decorators/withGrid.ts index e262c847727b..1333e546b51b 100644 --- a/code/addons/backgrounds/src/decorators/withGrid.ts +++ b/code/addons/backgrounds/src/decorators/withGrid.ts @@ -1,5 +1,9 @@ -import { useMemo, useEffect } from '@storybook/preview-api'; -import type { Renderer, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/types'; +import { useMemo, useEffect } from '@storybook/core/dist/preview-api'; +import type { + Renderer, + PartialStoryFn as StoryFunction, + StoryContext, +} from '@storybook/core/dist/types'; import { clearStyles, addGridStyle } from '../helpers'; import { PARAM_KEY as BACKGROUNDS_PARAM_KEY } from '../constants'; diff --git a/code/addons/backgrounds/src/helpers/index.ts b/code/addons/backgrounds/src/helpers/index.ts index c1af13cde407..1cba36872aef 100644 --- a/code/addons/backgrounds/src/helpers/index.ts +++ b/code/addons/backgrounds/src/helpers/index.ts @@ -1,7 +1,7 @@ import { global } from '@storybook/global'; import { dedent } from 'ts-dedent'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import type { Background } from '../types'; diff --git a/code/addons/backgrounds/src/preview.tsx b/code/addons/backgrounds/src/preview.tsx index 139575e7f259..18fb064e8c2c 100644 --- a/code/addons/backgrounds/src/preview.tsx +++ b/code/addons/backgrounds/src/preview.tsx @@ -1,4 +1,4 @@ -import type { Addon_DecoratorFunction } from '@storybook/types'; +import type { Addon_DecoratorFunction } from '@storybook/core/dist/types'; import { withBackground } from './decorators/withBackground'; import { withGrid } from './decorators/withGrid'; import { PARAM_KEY } from './constants'; diff --git a/code/addons/controls/package.json b/code/addons/controls/package.json index 482e56e196ee..8994b6a708ee 100644 --- a/code/addons/controls/package.json +++ b/code/addons/controls/package.json @@ -57,18 +57,16 @@ "ts-dedent": "^2.0.0" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-common": "workspace:*", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/node-logger": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "react": "^18.2.0", "react-dom": "^18.2.0" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/controls/src/ControlsPanel.tsx b/code/addons/controls/src/ControlsPanel.tsx index 6e82b0c0e727..60ad27ab8e6f 100644 --- a/code/addons/controls/src/ControlsPanel.tsx +++ b/code/addons/controls/src/ControlsPanel.tsx @@ -10,7 +10,7 @@ import { } from '@storybook/manager-api'; import { PureArgsTable as ArgsTable, type PresetColor, type SortType } from '@storybook/blocks'; import { styled } from '@storybook/theming'; -import type { ArgTypes } from '@storybook/types'; +import type { ArgTypes } from '@storybook/core/dist/types'; import { PARAM_KEY } from './constants'; import { SaveStory } from './SaveStory'; diff --git a/code/addons/controls/src/manager.tsx b/code/addons/controls/src/manager.tsx index 2601b2787ec1..98d4fc0f3d88 100644 --- a/code/addons/controls/src/manager.tsx +++ b/code/addons/controls/src/manager.tsx @@ -5,8 +5,8 @@ import type { ResponseData, SaveStoryRequestPayload, SaveStoryResponsePayload, -} from '@storybook/core-events'; -import { SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE } from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; +import { SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE } from '@storybook/core/dist/core-events'; import { addons, experimental_requestResponse, types, useArgTypes } from '@storybook/manager-api'; import { color } from '@storybook/theming'; import { ControlsPanel } from './ControlsPanel'; diff --git a/code/addons/controls/src/preset/checkDocsLoaded.ts b/code/addons/controls/src/preset/checkDocsLoaded.ts index e888487605e9..765b9e4c0522 100644 --- a/code/addons/controls/src/preset/checkDocsLoaded.ts +++ b/code/addons/controls/src/preset/checkDocsLoaded.ts @@ -1,4 +1,4 @@ -import { checkAddonOrder, serverRequire } from '@storybook/core-common'; +import { checkAddonOrder, serverRequire } from '@storybook/core/dist/common'; import path from 'path'; export const checkDocsLoaded = (configDir: string) => { diff --git a/code/addons/controls/src/typings.d.ts b/code/addons/controls/src/typings.d.ts index c51fcc2f2f86..8378d9c26086 100644 --- a/code/addons/controls/src/typings.d.ts +++ b/code/addons/controls/src/typings.d.ts @@ -7,7 +7,7 @@ declare var PREVIEW_URL: any; declare var __STORYBOOK_ADDONS_MANAGER: any; declare var RELEASE_NOTES_DATA: any; -declare var FEATURES: import('@storybook/types').StorybookConfigRaw['features']; +declare var FEATURES: import('@storybook/core/dist/types').StorybookConfigRaw['features']; declare var REFS: any; declare var VERSIONCHECK: any; diff --git a/code/addons/controls/template/stories/basics.stories.ts b/code/addons/controls/template/stories/basics.stories.ts index b1d636d2a790..7be5c9cf8caf 100644 --- a/code/addons/controls/template/stories/basics.stories.ts +++ b/code/addons/controls/template/stories/basics.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, StoryContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/addons/controls/template/stories/conditional.stories.ts b/code/addons/controls/template/stories/conditional.stories.ts index eba90f541a0d..a5dd8a483e45 100644 --- a/code/addons/controls/template/stories/conditional.stories.ts +++ b/code/addons/controls/template/stories/conditional.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, StoryContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/addons/controls/template/stories/disable.stories.ts b/code/addons/controls/template/stories/disable.stories.ts index 7b8be89df32f..d3c92a3056c6 100644 --- a/code/addons/controls/template/stories/disable.stories.ts +++ b/code/addons/controls/template/stories/disable.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, StoryContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/addons/controls/template/stories/filters.stories.ts b/code/addons/controls/template/stories/filters.stories.ts index 5b84f32e110a..28385f497c12 100644 --- a/code/addons/controls/template/stories/filters.stories.ts +++ b/code/addons/controls/template/stories/filters.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, StoryContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/addons/controls/template/stories/issues.stories.ts b/code/addons/controls/template/stories/issues.stories.ts index 00c5c71b21e0..12c603f4936a 100644 --- a/code/addons/controls/template/stories/issues.stories.ts +++ b/code/addons/controls/template/stories/issues.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, StoryContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/addons/controls/template/stories/matchers.stories.ts b/code/addons/controls/template/stories/matchers.stories.ts index 174d59f085c1..547df5e7fc8a 100644 --- a/code/addons/controls/template/stories/matchers.stories.ts +++ b/code/addons/controls/template/stories/matchers.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, StoryContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/addons/controls/template/stories/sorting.stories.ts b/code/addons/controls/template/stories/sorting.stories.ts index 12353382b436..88ad423d51b9 100644 --- a/code/addons/controls/template/stories/sorting.stories.ts +++ b/code/addons/controls/template/stories/sorting.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, StoryContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index 20c26d3fa9d5..7d93712346c4 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -101,16 +101,11 @@ "@babel/core": "^7.24.4", "@mdx-js/react": "^3.0.0", "@storybook/blocks": "workspace:*", - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", "@storybook/csf-plugin": "workspace:*", - "@storybook/csf-tools": "workspace:*", "@storybook/global": "^5.0.0", - "@storybook/node-logger": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/react-dom-shim": "workspace:*", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", "fs-extra": "^11.1.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", @@ -128,6 +123,9 @@ "typescript": "^5.3.2", "vite": "^4.0.4" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/docs/src/DocsRenderer.tsx b/code/addons/docs/src/DocsRenderer.tsx index f87aac472f68..ca08be9b554f 100644 --- a/code/addons/docs/src/DocsRenderer.tsx +++ b/code/addons/docs/src/DocsRenderer.tsx @@ -1,7 +1,12 @@ import type { PropsWithChildren } from 'react'; import React, { Component } from 'react'; import { renderElement, unmountElement } from '@storybook/react-dom-shim'; -import type { Renderer, Parameters, DocsContextProps, DocsRenderFunction } from '@storybook/types'; +import type { + Renderer, + Parameters, + DocsContextProps, + DocsRenderFunction, +} from '@storybook/core/dist/types'; import { Docs, CodeOrSourceMdx, AnchorMdx, HeadersMdx } from '@storybook/blocks'; // TS doesn't like that we export a component with types that it doesn't know about (TS4203) diff --git a/code/addons/docs/src/blocks.ts b/code/addons/docs/src/blocks.ts index 34260b6785cf..936107b00c66 100644 --- a/code/addons/docs/src/blocks.ts +++ b/code/addons/docs/src/blocks.ts @@ -1,4 +1,4 @@ -import { deprecate } from '@storybook/client-logger'; +import { deprecate } from '@storybook/core/dist/client-logger'; deprecate( "Import from '@storybook/addon-docs/blocks' is deprecated. Please import from '@storybook/blocks' instead." diff --git a/code/addons/docs/src/plugins/mdx-plugin.ts b/code/addons/docs/src/plugins/mdx-plugin.ts index a75194fa7309..dc1a2d3e022b 100644 --- a/code/addons/docs/src/plugins/mdx-plugin.ts +++ b/code/addons/docs/src/plugins/mdx-plugin.ts @@ -1,4 +1,4 @@ -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import type { Plugin } from 'vite'; import rehypeSlug from 'rehype-slug'; import rehypeExternalLinks from 'rehype-external-links'; diff --git a/code/addons/docs/src/preset.ts b/code/addons/docs/src/preset.ts index 4b8811935ec9..84f1e550b34f 100644 --- a/code/addons/docs/src/preset.ts +++ b/code/addons/docs/src/preset.ts @@ -2,9 +2,9 @@ import { dirname, join, isAbsolute } from 'path'; import rehypeSlug from 'rehype-slug'; import rehypeExternalLinks from 'rehype-external-links'; -import type { DocsOptions, Options, PresetProperty } from '@storybook/types'; +import type { DocsOptions, Options, PresetProperty } from '@storybook/core/dist/types'; import type { CsfPluginOptions } from '@storybook/csf-plugin'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import type { CompileOptions } from './compiler'; /** diff --git a/code/addons/docs/src/preview.ts b/code/addons/docs/src/preview.ts index 991a7811b472..f1f7e2b55b03 100644 --- a/code/addons/docs/src/preview.ts +++ b/code/addons/docs/src/preview.ts @@ -1,4 +1,4 @@ -import type { PreparedStory } from '@storybook/types'; +import type { PreparedStory } from '@storybook/core/dist/types'; import { global } from '@storybook/global'; const excludeTags = Object.entries(global.TAGS_OPTIONS ?? {}).reduce( diff --git a/code/addons/docs/src/typings.d.ts b/code/addons/docs/src/typings.d.ts index 7349466f2a65..0f161e56a7f4 100644 --- a/code/addons/docs/src/typings.d.ts +++ b/code/addons/docs/src/typings.d.ts @@ -6,8 +6,8 @@ declare module 'sveltedoc-parser' { export function parse(options: any): Promise; } -declare var FEATURES: import('@storybook/types').StorybookConfigRaw['features']; +declare var FEATURES: import('@storybook/core/dist/types').StorybookConfigRaw['features']; declare var LOGLEVEL: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent' | undefined; -declare var TAGS_OPTIONS: import('@storybook/types').TagsOptions; +declare var TAGS_OPTIONS: import('@storybook/core/dist/types').TagsOptions; diff --git a/code/addons/docs/template/stories/docspage/source.stories.ts b/code/addons/docs/template/stories/docspage/source.stories.ts index a87778fe912c..39ad8b55597a 100644 --- a/code/addons/docs/template/stories/docspage/source.stories.ts +++ b/code/addons/docs/template/stories/docspage/source.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { StoryContext } from '@storybook/types'; +import type { StoryContext } from '@storybook/core/dist/types'; import dedent from 'ts-dedent'; export default { diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json index 33112d9708df..c2637fd25a87 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -98,15 +98,15 @@ "@storybook/addon-outline": "workspace:*", "@storybook/addon-toolbars": "workspace:*", "@storybook/addon-viewport": "workspace:*", - "@storybook/core-common": "workspace:*", "@storybook/manager-api": "workspace:*", - "@storybook/node-logger": "workspace:*", - "@storybook/preview-api": "workspace:*", "ts-dedent": "^2.0.0" }, "devDependencies": { "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/essentials/src/index.ts b/code/addons/essentials/src/index.ts index b2d879c2d794..3c8afadfe590 100644 --- a/code/addons/essentials/src/index.ts +++ b/code/addons/essentials/src/index.ts @@ -1,6 +1,6 @@ import path from 'path'; -import { logger } from '@storybook/node-logger'; -import { serverRequire } from '@storybook/core-common'; +import { logger } from '@storybook/core/dist/node-logger'; +import { serverRequire } from '@storybook/core/dist/common'; interface PresetOptions { /** diff --git a/code/addons/gfm/package.json b/code/addons/gfm/package.json index 5d2b909e149a..f768c9c88552 100644 --- a/code/addons/gfm/package.json +++ b/code/addons/gfm/package.json @@ -44,13 +44,15 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts" }, "dependencies": { - "@storybook/node-logger": "workspace:*", "remark-gfm": "^4.0.0", "ts-dedent": "^2.0.0" }, "devDependencies": { "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/gfm/src/index.ts b/code/addons/gfm/src/index.ts index c23a1036d5d3..ba70e87adc27 100644 --- a/code/addons/gfm/src/index.ts +++ b/code/addons/gfm/src/index.ts @@ -1,5 +1,5 @@ import { dedent } from 'ts-dedent'; -import { deprecate } from '@storybook/node-logger'; +import { deprecate } from '@storybook/core/dist/node-logger'; import remarkGfm from 'remark-gfm'; diff --git a/code/addons/highlight/package.json b/code/addons/highlight/package.json index 261aaaf561fa..019e468c4a8e 100644 --- a/code/addons/highlight/package.json +++ b/code/addons/highlight/package.json @@ -55,11 +55,12 @@ "@storybook/global": "^5.0.0" }, "devDependencies": { - "@storybook/core-events": "workspace:*", - "@storybook/preview-api": "workspace:*", "@types/webpack-env": "^1.16.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/highlight/src/preview.ts b/code/addons/highlight/src/preview.ts index 794417ef0d9d..9702ac44063b 100644 --- a/code/addons/highlight/src/preview.ts +++ b/code/addons/highlight/src/preview.ts @@ -1,7 +1,7 @@ /* eslint-env browser */ import { global } from '@storybook/global'; -import { addons } from '@storybook/preview-api'; -import { STORY_CHANGED } from '@storybook/core-events'; +import { addons } from '@storybook/core/dist/preview-api'; +import { STORY_CHANGED } from '@storybook/core/dist/core-events'; import { HIGHLIGHT, RESET_HIGHLIGHT, HIGHLIGHT_STYLE_ID } from './constants'; const { document } = global; diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json index 467cac882d2b..9f0c468d082d 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -54,21 +54,15 @@ }, "dependencies": { "@storybook/global": "^5.0.0", - "@storybook/instrumenter": "workspace:*", "@storybook/test": "workspace:*", - "@storybook/types": "workspace:*", "polished": "^4.2.2", "ts-dedent": "^2.2.0" }, "devDependencies": { "@devtools-ds/object-inspector": "^1.1.2", - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-common": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/theming": "workspace:*", "@types/node": "^18.0.0", "formik": "^2.2.9", @@ -76,6 +70,9 @@ "react-dom": "^18.2.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/interactions/src/Panel.test.ts b/code/addons/interactions/src/Panel.test.ts index e8cc77fcfa78..38c53340e876 100644 --- a/code/addons/interactions/src/Panel.test.ts +++ b/code/addons/interactions/src/Panel.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import { type Call, CallStates, type LogItem } from '@storybook/instrumenter'; +import { type Call, CallStates, type LogItem } from '@storybook/core/dist/instrumenter'; import { getInteractions } from './Panel'; describe('Panel', () => { diff --git a/code/addons/interactions/src/Panel.tsx b/code/addons/interactions/src/Panel.tsx index 3523c64bf5f7..65ff2a3c73de 100644 --- a/code/addons/interactions/src/Panel.tsx +++ b/code/addons/interactions/src/Panel.tsx @@ -8,8 +8,8 @@ import { STORY_THREW_EXCEPTION, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, -} from '@storybook/core-events'; -import { EVENTS, type Call, CallStates, type LogItem } from '@storybook/instrumenter'; +} from '@storybook/core/dist/core-events'; +import { EVENTS, type Call, CallStates, type LogItem } from '@storybook/core/dist/instrumenter'; import { InteractionsPanel } from './components/InteractionsPanel'; import { ADDON_ID } from './constants'; diff --git a/code/addons/interactions/src/components/Interaction.stories.tsx b/code/addons/interactions/src/components/Interaction.stories.tsx index a6f8bd3a3b46..5fc082805368 100644 --- a/code/addons/interactions/src/components/Interaction.stories.tsx +++ b/code/addons/interactions/src/components/Interaction.stories.tsx @@ -1,5 +1,5 @@ import type { StoryObj, Meta } from '@storybook/react'; -import { CallStates } from '@storybook/instrumenter'; +import { CallStates } from '@storybook/core/dist/instrumenter'; import { userEvent, within, expect } from '@storybook/test'; import { getCalls } from '../mocks'; diff --git a/code/addons/interactions/src/components/Interaction.tsx b/code/addons/interactions/src/components/Interaction.tsx index c5e5e41f3d5e..efcbe97042ec 100644 --- a/code/addons/interactions/src/components/Interaction.tsx +++ b/code/addons/interactions/src/components/Interaction.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { IconButton, TooltipNote, WithTooltip } from '@storybook/components'; -import { type Call, CallStates, type ControlStates } from '@storybook/instrumenter'; +import { type Call, CallStates, type ControlStates } from '@storybook/core/dist/instrumenter'; import { styled, typography } from '@storybook/theming'; import { transparentize } from 'polished'; diff --git a/code/addons/interactions/src/components/InteractionsPanel.stories.tsx b/code/addons/interactions/src/components/InteractionsPanel.stories.tsx index 5f8dd331935b..2132300d6490 100644 --- a/code/addons/interactions/src/components/InteractionsPanel.stories.tsx +++ b/code/addons/interactions/src/components/InteractionsPanel.stories.tsx @@ -1,6 +1,6 @@ import React from 'react'; import type { StoryObj, Meta } from '@storybook/react'; -import { CallStates } from '@storybook/instrumenter'; +import { CallStates } from '@storybook/core/dist/instrumenter'; import { styled } from '@storybook/theming'; import { userEvent, within, waitFor, expect } from '@storybook/test'; import { isChromatic } from '../../../../ui/.storybook/isChromatic'; diff --git a/code/addons/interactions/src/components/InteractionsPanel.tsx b/code/addons/interactions/src/components/InteractionsPanel.tsx index a5b58d94b680..67dd167a2ed3 100644 --- a/code/addons/interactions/src/components/InteractionsPanel.tsx +++ b/code/addons/interactions/src/components/InteractionsPanel.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { type Call, CallStates, type ControlStates } from '@storybook/instrumenter'; +import { type Call, CallStates, type ControlStates } from '@storybook/core/dist/instrumenter'; import { styled } from '@storybook/theming'; import { transparentize } from 'polished'; diff --git a/code/addons/interactions/src/components/MethodCall.stories.tsx b/code/addons/interactions/src/components/MethodCall.stories.tsx index 4341eefd5021..04e3662b93ff 100644 --- a/code/addons/interactions/src/components/MethodCall.stories.tsx +++ b/code/addons/interactions/src/components/MethodCall.stories.tsx @@ -1,4 +1,4 @@ -import type { Call } from '@storybook/instrumenter'; +import type { Call } from '@storybook/core/dist/instrumenter'; import React from 'react'; import { styled, typography } from '@storybook/theming'; import { Node, MethodCall } from './MethodCall'; diff --git a/code/addons/interactions/src/components/MethodCall.tsx b/code/addons/interactions/src/components/MethodCall.tsx index 2f8e5f260398..33c4bd4bd770 100644 --- a/code/addons/interactions/src/components/MethodCall.tsx +++ b/code/addons/interactions/src/components/MethodCall.tsx @@ -1,5 +1,5 @@ import { ObjectInspector } from '@devtools-ds/object-inspector'; -import type { Call, CallRef, ElementRef } from '@storybook/instrumenter'; +import type { Call, CallRef, ElementRef } from '@storybook/core/dist/instrumenter'; import { useTheme } from '@storybook/theming'; import type { ReactElement } from 'react'; import React, { Fragment } from 'react'; diff --git a/code/addons/interactions/src/components/StatusBadge.stories.tsx b/code/addons/interactions/src/components/StatusBadge.stories.tsx index f85d7f7ed9b0..5c6c594ddd79 100644 --- a/code/addons/interactions/src/components/StatusBadge.stories.tsx +++ b/code/addons/interactions/src/components/StatusBadge.stories.tsx @@ -1,4 +1,4 @@ -import { CallStates } from '@storybook/instrumenter'; +import { CallStates } from '@storybook/core/dist/instrumenter'; import { StatusBadge } from './StatusBadge'; export default { diff --git a/code/addons/interactions/src/components/StatusBadge.tsx b/code/addons/interactions/src/components/StatusBadge.tsx index 49066d93dc5a..73cd609b438b 100644 --- a/code/addons/interactions/src/components/StatusBadge.tsx +++ b/code/addons/interactions/src/components/StatusBadge.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { type Call, CallStates } from '@storybook/instrumenter'; +import { type Call, CallStates } from '@storybook/core/dist/instrumenter'; import { styled, typography } from '@storybook/theming'; export interface StatusBadgeProps { diff --git a/code/addons/interactions/src/components/StatusIcon.stories.tsx b/code/addons/interactions/src/components/StatusIcon.stories.tsx index 082f9c6c2312..f7153e3d6b05 100644 --- a/code/addons/interactions/src/components/StatusIcon.stories.tsx +++ b/code/addons/interactions/src/components/StatusIcon.stories.tsx @@ -1,4 +1,4 @@ -import { CallStates } from '@storybook/instrumenter'; +import { CallStates } from '@storybook/core/dist/instrumenter'; import { StatusIcon } from './StatusIcon'; export default { diff --git a/code/addons/interactions/src/components/StatusIcon.tsx b/code/addons/interactions/src/components/StatusIcon.tsx index 6586c71322a0..e1830cba8552 100644 --- a/code/addons/interactions/src/components/StatusIcon.tsx +++ b/code/addons/interactions/src/components/StatusIcon.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { type Call, CallStates } from '@storybook/instrumenter'; +import { type Call, CallStates } from '@storybook/core/dist/instrumenter'; import { styled, useTheme } from '@storybook/theming'; import { transparentize } from 'polished'; diff --git a/code/addons/interactions/src/components/Subnav.stories.tsx b/code/addons/interactions/src/components/Subnav.stories.tsx index a13413d791ab..a4a76da3cf43 100644 --- a/code/addons/interactions/src/components/Subnav.stories.tsx +++ b/code/addons/interactions/src/components/Subnav.stories.tsx @@ -1,5 +1,5 @@ import { action } from '@storybook/addon-actions'; -import { CallStates } from '@storybook/instrumenter'; +import { CallStates } from '@storybook/core/dist/instrumenter'; import { Subnav } from './Subnav'; export default { diff --git a/code/addons/interactions/src/components/Subnav.tsx b/code/addons/interactions/src/components/Subnav.tsx index 4a9dda73a28a..5d91a35b01ea 100644 --- a/code/addons/interactions/src/components/Subnav.tsx +++ b/code/addons/interactions/src/components/Subnav.tsx @@ -9,8 +9,8 @@ import { WithTooltip, Bar, } from '@storybook/components'; -import type { Call, ControlStates } from '@storybook/instrumenter'; -import { CallStates } from '@storybook/instrumenter'; +import type { Call, ControlStates } from '@storybook/core/dist/instrumenter'; +import { CallStates } from '@storybook/core/dist/instrumenter'; import { styled } from '@storybook/theming'; import { diff --git a/code/addons/interactions/src/manager.tsx b/code/addons/interactions/src/manager.tsx index 9de823628efa..62999784ccc6 100644 --- a/code/addons/interactions/src/manager.tsx +++ b/code/addons/interactions/src/manager.tsx @@ -2,7 +2,7 @@ import React, { useCallback } from 'react'; import type { Combo } from '@storybook/manager-api'; import { addons, Consumer, types, useAddonState } from '@storybook/manager-api'; import { AddonPanel, Badge, Spaced } from '@storybook/components'; -import { CallStates } from '@storybook/instrumenter'; +import { CallStates } from '@storybook/core/dist/instrumenter'; import { ADDON_ID, PANEL_ID } from './constants'; import { Panel } from './Panel'; import { TabIcon } from './components/TabStatus'; diff --git a/code/addons/interactions/src/mocks/index.ts b/code/addons/interactions/src/mocks/index.ts index cffabc3352bc..8fd1fa4b3123 100644 --- a/code/addons/interactions/src/mocks/index.ts +++ b/code/addons/interactions/src/mocks/index.ts @@ -1,4 +1,4 @@ -import { CallStates, type Call } from '@storybook/instrumenter'; +import { CallStates, type Call } from '@storybook/core/dist/instrumenter'; export const getCalls = (finalStatus: CallStates) => { const calls: Call[] = [ diff --git a/code/addons/interactions/src/preset.ts b/code/addons/interactions/src/preset.ts index 3c0ca1414577..fbfe4a062b53 100644 --- a/code/addons/interactions/src/preset.ts +++ b/code/addons/interactions/src/preset.ts @@ -1,4 +1,4 @@ -import { checkAddonOrder, serverRequire } from '@storybook/core-common'; +import { checkAddonOrder, serverRequire } from '@storybook/core/dist/common'; import path from 'path'; export const checkActionsLoaded = (configDir: string) => { diff --git a/code/addons/interactions/src/preview.ts b/code/addons/interactions/src/preview.ts index 5ef2520b6b71..bc7c0e54f3a0 100644 --- a/code/addons/interactions/src/preview.ts +++ b/code/addons/interactions/src/preview.ts @@ -1,5 +1,5 @@ -import type { PlayFunction, PlayFunctionContext, StepLabel } from '@storybook/types'; -import { instrument } from '@storybook/instrumenter'; +import type { PlayFunction, PlayFunctionContext, StepLabel } from '@storybook/core/dist/types'; +import { instrument } from '@storybook/core/dist/instrumenter'; export const { step: runStep } = instrument( { diff --git a/code/addons/jest/package.json b/code/addons/jest/package.json index 02d3455461a0..ec5ed245eceb 100644 --- a/code/addons/jest/package.json +++ b/code/addons/jest/package.json @@ -59,18 +59,18 @@ "upath": "^2.0.1" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/theming": "workspace:*", "react": "^18.2.0", "react-dom": "^18.2.0", "react-resize-detector": "^7.1.2", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/jest/src/hoc/provideJestResult.tsx b/code/addons/jest/src/hoc/provideJestResult.tsx index 6bd4194a1839..5e0ed21cc843 100644 --- a/code/addons/jest/src/hoc/provideJestResult.tsx +++ b/code/addons/jest/src/hoc/provideJestResult.tsx @@ -1,6 +1,6 @@ import type { ComponentType } from 'react'; import React, { Component as ReactComponent } from 'react'; -import { STORY_CHANGED } from '@storybook/core-events'; +import { STORY_CHANGED } from '@storybook/core/dist/core-events'; import type { API } from '@storybook/manager-api'; import { ADD_TESTS } from '../shared'; diff --git a/code/addons/jest/src/index.ts b/code/addons/jest/src/index.ts index bfa9b2efa5e8..815d3cbd44f6 100644 --- a/code/addons/jest/src/index.ts +++ b/code/addons/jest/src/index.ts @@ -1,4 +1,4 @@ -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import { normalize, sep } from 'upath'; import { ADD_TESTS, defineJestParameter } from './shared'; diff --git a/code/addons/jest/src/shared.ts b/code/addons/jest/src/shared.ts index a8714dc2d3d0..ec95f1f7acb6 100644 --- a/code/addons/jest/src/shared.ts +++ b/code/addons/jest/src/shared.ts @@ -1,5 +1,5 @@ import invariant from 'tiny-invariant'; -import type { StorybookInternalParameters } from '@storybook/types'; +import type { StorybookInternalParameters } from '@storybook/core/dist/types'; // addons, panels and events get unique names using a prefix export const PARAM_KEY = 'test'; diff --git a/code/addons/links/package.json b/code/addons/links/package.json index c19d89b78b0a..38d138e506c9 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -72,16 +72,12 @@ "ts-dedent": "^2.0.0" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", - "@storybook/router": "workspace:*", - "@storybook/types": "workspace:*", "fs-extra": "^11.1.0", "typescript": "^5.3.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "peerDependenciesMeta": { diff --git a/code/addons/links/src/preview.ts b/code/addons/links/src/preview.ts index 67eb2dbc1411..f8c3c8aa35b8 100644 --- a/code/addons/links/src/preview.ts +++ b/code/addons/links/src/preview.ts @@ -1,4 +1,4 @@ -import type { Addon_DecoratorFunction } from '@storybook/types'; +import type { Addon_DecoratorFunction } from '@storybook/core/dist/types'; import { withLinks } from './index'; export const decorators: Addon_DecoratorFunction[] = [withLinks]; diff --git a/code/addons/links/src/react/components/link.test.tsx b/code/addons/links/src/react/components/link.test.tsx index 872c29d5b898..f911511b21d9 100644 --- a/code/addons/links/src/react/components/link.test.tsx +++ b/code/addons/links/src/react/components/link.test.tsx @@ -1,13 +1,13 @@ /// ; import { describe, it, expect, afterEach, vi } from 'vitest'; import React from 'react'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import { render, screen, waitFor, cleanup, act } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { SELECT_STORY } from '@storybook/core-events'; import LinkTo from './link'; -vi.mock('@storybook/preview-api'); +vi.mock('@storybook/core/dist/preview-api'); vi.mock('@storybook/global', () => ({ global: { document: { diff --git a/code/addons/links/src/react/components/link.tsx b/code/addons/links/src/react/components/link.tsx index 79fa55111ea6..5341ced1fce0 100644 --- a/code/addons/links/src/react/components/link.tsx +++ b/code/addons/links/src/react/components/link.tsx @@ -1,4 +1,4 @@ -import type { ComponentTitle, StoryKind, StoryName } from '@storybook/types'; +import type { ComponentTitle, StoryKind, StoryName } from '@storybook/core/dist/types'; import type { MouseEvent, ReactNode } from 'react'; import React, { PureComponent } from 'react'; diff --git a/code/addons/links/src/utils.test.ts b/code/addons/links/src/utils.test.ts index 11cc359c1cc8..de6dd39949b8 100644 --- a/code/addons/links/src/utils.test.ts +++ b/code/addons/links/src/utils.test.ts @@ -1,10 +1,10 @@ import { describe, beforeAll, beforeEach, it, expect, vi } from 'vitest'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import { SELECT_STORY } from '@storybook/core-events'; import { linkTo, hrefTo } from './utils'; -vi.mock('@storybook/preview-api'); +vi.mock('@storybook/core/dist/preview-api'); vi.mock('@storybook/global', () => ({ global: { document: global.document, diff --git a/code/addons/links/src/utils.ts b/code/addons/links/src/utils.ts index 651183a9df66..5794d8b56fd2 100644 --- a/code/addons/links/src/utils.ts +++ b/code/addons/links/src/utils.ts @@ -1,7 +1,7 @@ import { global } from '@storybook/global'; -import { addons, makeDecorator } from '@storybook/preview-api'; -import { STORY_CHANGED, SELECT_STORY } from '@storybook/core-events'; -import type { StoryId, StoryName, ComponentTitle, StoryKind } from '@storybook/types'; +import { addons, makeDecorator } from '@storybook/core/dist/preview-api'; +import { STORY_CHANGED, SELECT_STORY } from '@storybook/core/dist/core-events'; +import type { StoryId, StoryName, ComponentTitle, StoryKind } from '@storybook/core/dist/types'; import { toId } from '@storybook/csf'; import { PARAM_KEY } from './constants'; diff --git a/code/addons/measure/package.json b/code/addons/measure/package.json index f5146ede8621..b73c1e595a16 100644 --- a/code/addons/measure/package.json +++ b/code/addons/measure/package.json @@ -72,17 +72,16 @@ "tiny-invariant": "^1.3.1" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/measure/src/preview.tsx b/code/addons/measure/src/preview.tsx index 7f19a8ed973a..995453649c9c 100644 --- a/code/addons/measure/src/preview.tsx +++ b/code/addons/measure/src/preview.tsx @@ -1,4 +1,4 @@ -import type { Addon_DecoratorFunction } from '@storybook/types'; +import type { Addon_DecoratorFunction } from '@storybook/core/dist/types'; import { withMeasure } from './withMeasure'; import { PARAM_KEY } from './constants'; diff --git a/code/addons/measure/src/withMeasure.ts b/code/addons/measure/src/withMeasure.ts index 4cf105844f55..5a912ec5168b 100644 --- a/code/addons/measure/src/withMeasure.ts +++ b/code/addons/measure/src/withMeasure.ts @@ -1,6 +1,10 @@ /* eslint-env browser */ -import { useEffect } from '@storybook/preview-api'; -import type { Renderer, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/types'; +import { useEffect } from '@storybook/core/dist/preview-api'; +import type { + Renderer, + PartialStoryFn as StoryFunction, + StoryContext, +} from '@storybook/core/dist/types'; import { drawSelectedElement } from './box-model/visualizer'; import { init, rescale, destroy } from './box-model/canvas'; import { deepElementFromPoint } from './util'; diff --git a/code/addons/onboarding/package.json b/code/addons/onboarding/package.json index b4d1940b6b3a..cb5ec4ae35ca 100644 --- a/code/addons/onboarding/package.json +++ b/code/addons/onboarding/package.json @@ -50,16 +50,12 @@ }, "devDependencies": { "@radix-ui/react-dialog": "^1.0.5", - "@storybook/channels": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", "@storybook/react": "workspace:*", - "@storybook/telemetry": "workspace:*", "@storybook/test": "workspace:*", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "framer-motion": "^11.0.3", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -67,6 +63,9 @@ "react-use-measure": "^2.1.1", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/onboarding/src/features/GuidedTour/GuidedTour.tsx b/code/addons/onboarding/src/features/GuidedTour/GuidedTour.tsx index c4fdcc240a2e..51783dfa9a8b 100644 --- a/code/addons/onboarding/src/features/GuidedTour/GuidedTour.tsx +++ b/code/addons/onboarding/src/features/GuidedTour/GuidedTour.tsx @@ -3,7 +3,7 @@ import React, { useEffect, useMemo, useState } from 'react'; import type { CallBackProps } from 'react-joyride'; import Joyride, { STATUS } from 'react-joyride'; import type { API } from '@storybook/manager-api'; -import { UPDATE_STORY_ARGS } from '@storybook/core-events'; +import { UPDATE_STORY_ARGS } from '@storybook/core/dist/core-events'; import { useTheme } from '@storybook/theming'; import { PulsatingEffect } from '../../components/PulsatingEffect/PulsatingEffect'; diff --git a/code/addons/onboarding/src/features/WriteStoriesModal/WriteStoriesModal.stories.tsx b/code/addons/onboarding/src/features/WriteStoriesModal/WriteStoriesModal.stories.tsx index 6902466a8e15..2975723b5045 100644 --- a/code/addons/onboarding/src/features/WriteStoriesModal/WriteStoriesModal.stories.tsx +++ b/code/addons/onboarding/src/features/WriteStoriesModal/WriteStoriesModal.stories.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import type { Meta, StoryObj } from '@storybook/react'; import { waitFor, within, expect, fn } from '@storybook/test'; -import { STORY_INDEX_INVALIDATED, STORY_RENDERED } from '@storybook/core-events'; +import { STORY_INDEX_INVALIDATED, STORY_RENDERED } from '@storybook/core/dist/core-events'; import { WriteStoriesModal } from './WriteStoriesModal'; import typescriptSnippet from './code/typescript'; diff --git a/code/addons/onboarding/src/features/WriteStoriesModal/hooks/useGetWarningButtonStatus.tsx b/code/addons/onboarding/src/features/WriteStoriesModal/hooks/useGetWarningButtonStatus.tsx index 8a26cca0d252..0e6f470181a0 100644 --- a/code/addons/onboarding/src/features/WriteStoriesModal/hooks/useGetWarningButtonStatus.tsx +++ b/code/addons/onboarding/src/features/WriteStoriesModal/hooks/useGetWarningButtonStatus.tsx @@ -1,7 +1,7 @@ import { useState, useEffect } from 'react'; import type { Response } from '../../../types/response'; import type { API, AddonStore } from '@storybook/manager-api'; -import { STORY_INDEX_INVALIDATED, STORY_RENDERED } from '@storybook/core-events'; +import { STORY_INDEX_INVALIDATED, STORY_RENDERED } from '@storybook/core/dist/core-events'; export const useGetWarningButtonStatus = (active: boolean, api: API, addonsStore: AddonStore) => { const [status, setStatus] = useState>(null); diff --git a/code/addons/onboarding/src/manager.tsx b/code/addons/onboarding/src/manager.tsx index e19c452724b8..cf4b4a625a57 100644 --- a/code/addons/onboarding/src/manager.tsx +++ b/code/addons/onboarding/src/manager.tsx @@ -1,7 +1,7 @@ import ReactDOM from 'react-dom'; import React, { lazy, Suspense } from 'react'; import { addons } from '@storybook/manager-api'; -import { STORY_SPECIFIED } from '@storybook/core-events'; +import { STORY_SPECIFIED } from '@storybook/core/dist/core-events'; const App = lazy(() => import('./App')); diff --git a/code/addons/onboarding/src/preset.ts b/code/addons/onboarding/src/preset.ts index 126a1dbda96d..ef873fd33bdb 100644 --- a/code/addons/onboarding/src/preset.ts +++ b/code/addons/onboarding/src/preset.ts @@ -1,7 +1,7 @@ -import type { CoreConfig, Options } from '@storybook/types'; -import type { Channel } from '@storybook/channels'; +import type { CoreConfig, Options } from '@storybook/core/dist/types'; +import type { Channel } from '@storybook/core/dist/channels'; import { STORYBOOK_ADDON_ONBOARDING_CHANNEL } from './constants'; -import { telemetry } from '@storybook/telemetry'; +import { telemetry } from '@storybook/core/dist/telemetry'; import fs from 'fs'; type Event = { diff --git a/code/addons/outline/package.json b/code/addons/outline/package.json index 1a40a4d6c6c8..191c4b8b5f60 100644 --- a/code/addons/outline/package.json +++ b/code/addons/outline/package.json @@ -62,17 +62,16 @@ "ts-dedent": "^2.0.0" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/outline/src/preview.tsx b/code/addons/outline/src/preview.tsx index b1d09e1a4920..3fa813d19ba5 100644 --- a/code/addons/outline/src/preview.tsx +++ b/code/addons/outline/src/preview.tsx @@ -1,4 +1,4 @@ -import type { Addon_DecoratorFunction } from '@storybook/types'; +import type { Addon_DecoratorFunction } from '@storybook/core/dist/types'; import { withOutline } from './withOutline'; import { PARAM_KEY } from './constants'; diff --git a/code/addons/outline/src/withOutline.ts b/code/addons/outline/src/withOutline.ts index 40196843b6c3..e6ceda280f5a 100644 --- a/code/addons/outline/src/withOutline.ts +++ b/code/addons/outline/src/withOutline.ts @@ -1,5 +1,9 @@ -import { useMemo, useEffect } from '@storybook/preview-api'; -import type { Renderer, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/types'; +import { useMemo, useEffect } from '@storybook/core/dist/preview-api'; +import type { + Renderer, + PartialStoryFn as StoryFunction, + StoryContext, +} from '@storybook/core/dist/types'; import { clearStyles, addOutlineStyles } from './helpers'; import { PARAM_KEY } from './constants'; diff --git a/code/addons/storysource/package.json b/code/addons/storysource/package.json index e116bf93a52c..2f4fc8de20a5 100644 --- a/code/addons/storysource/package.json +++ b/code/addons/storysource/package.json @@ -52,11 +52,8 @@ "tiny-invariant": "^1.3.1" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", - "@storybook/router": "workspace:*", "@storybook/theming": "workspace:*", "@types/react": "^18.0.37", "@types/react-syntax-highlighter": "11.0.5", @@ -65,6 +62,9 @@ "react-syntax-highlighter": "^15.5.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/storysource/src/StoryPanel.tsx b/code/addons/storysource/src/StoryPanel.tsx index 4dd67b8b8b42..1ac39df7bd6f 100644 --- a/code/addons/storysource/src/StoryPanel.tsx +++ b/code/addons/storysource/src/StoryPanel.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { type API, useParameter } from '@storybook/manager-api'; import { styled } from '@storybook/theming'; -import { Link } from '@storybook/router'; +import { Link } from '@storybook/core/dist/router'; import { SyntaxHighlighter, type SyntaxHighlighterProps, diff --git a/code/addons/themes/package.json b/code/addons/themes/package.json index 1203272b30db..1eb436621a8d 100644 --- a/code/addons/themes/package.json +++ b/code/addons/themes/package.json @@ -60,16 +60,15 @@ "ts-dedent": "^2.0.0" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/themes/src/decorators/class-name.decorator.tsx b/code/addons/themes/src/decorators/class-name.decorator.tsx index 0306c5ea9912..9bf45ee0d398 100644 --- a/code/addons/themes/src/decorators/class-name.decorator.tsx +++ b/code/addons/themes/src/decorators/class-name.decorator.tsx @@ -1,5 +1,5 @@ -import { useEffect } from '@storybook/preview-api'; -import type { DecoratorFunction, Renderer } from '@storybook/types'; +import { useEffect } from '@storybook/core/dist/preview-api'; +import type { DecoratorFunction, Renderer } from '@storybook/core/dist/types'; import { initializeThemeState, pluckThemeFromContext, useThemeParameters } from './helpers'; diff --git a/code/addons/themes/src/decorators/data-attribute.decorator.tsx b/code/addons/themes/src/decorators/data-attribute.decorator.tsx index 4009fd9073a0..ac2280e0d8bd 100644 --- a/code/addons/themes/src/decorators/data-attribute.decorator.tsx +++ b/code/addons/themes/src/decorators/data-attribute.decorator.tsx @@ -1,5 +1,5 @@ -import { useEffect } from '@storybook/preview-api'; -import type { DecoratorFunction, Renderer } from '@storybook/types'; +import { useEffect } from '@storybook/core/dist/preview-api'; +import type { DecoratorFunction, Renderer } from '@storybook/core/dist/types'; import { initializeThemeState, pluckThemeFromContext, useThemeParameters } from './helpers'; export interface DataAttributeStrategyConfiguration { diff --git a/code/addons/themes/src/decorators/helpers.ts b/code/addons/themes/src/decorators/helpers.ts index 98f9c89c4e46..def0e6db444b 100644 --- a/code/addons/themes/src/decorators/helpers.ts +++ b/code/addons/themes/src/decorators/helpers.ts @@ -1,5 +1,5 @@ -import { addons, useParameter } from '@storybook/preview-api'; -import type { StoryContext } from '@storybook/types'; +import { addons, useParameter } from '@storybook/core/dist/preview-api'; +import type { StoryContext } from '@storybook/core/dist/types'; import type { ThemeParameters } from '../constants'; import { GLOBAL_KEY, PARAM_KEY, THEMING_EVENTS, DEFAULT_THEME_PARAMETERS } from '../constants'; diff --git a/code/addons/themes/src/decorators/provider.decorator.tsx b/code/addons/themes/src/decorators/provider.decorator.tsx index 0466a29e6ac8..1101b5c35d31 100644 --- a/code/addons/themes/src/decorators/provider.decorator.tsx +++ b/code/addons/themes/src/decorators/provider.decorator.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import { useMemo } from '@storybook/preview-api'; -import type { DecoratorFunction, Renderer } from '@storybook/types'; +import { useMemo } from '@storybook/core/dist/preview-api'; +import type { DecoratorFunction, Renderer } from '@storybook/core/dist/types'; import { initializeThemeState, pluckThemeFromContext, useThemeParameters } from './helpers'; diff --git a/code/addons/themes/src/preview.tsx b/code/addons/themes/src/preview.tsx index 1ee39be54ed0..16161fd858d1 100644 --- a/code/addons/themes/src/preview.tsx +++ b/code/addons/themes/src/preview.tsx @@ -1,4 +1,4 @@ -import type { Renderer, ProjectAnnotations } from '@storybook/types'; +import type { Renderer, ProjectAnnotations } from '@storybook/core/dist/types'; import { GLOBAL_KEY } from './constants'; export const globals: ProjectAnnotations['globals'] = { diff --git a/code/addons/toolbars/package.json b/code/addons/toolbars/package.json index 003fe05a7602..cfa7e3fae6b9 100644 --- a/code/addons/toolbars/package.json +++ b/code/addons/toolbars/package.json @@ -51,15 +51,16 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/theming": "workspace:*", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/addons/toolbars/src/types.ts b/code/addons/toolbars/src/types.ts index 8427c53e4606..13f027f6b524 100644 --- a/code/addons/toolbars/src/types.ts +++ b/code/addons/toolbars/src/types.ts @@ -1,5 +1,5 @@ import type { IconsProps } from '@storybook/components'; -import type { InputType } from '@storybook/types'; +import type { InputType } from '@storybook/core/dist/types'; export type ToolbarShortcutType = 'next' | 'previous' | 'reset'; diff --git a/code/addons/toolbars/template/stories/globals.stories.ts b/code/addons/toolbars/template/stories/globals.stories.ts index 1a99081dd9c0..c6a655da00b0 100644 --- a/code/addons/toolbars/template/stories/globals.stories.ts +++ b/code/addons/toolbars/template/stories/globals.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, StoryContext } from '@storybook/core/dist/types'; const greetingForLocale = (locale: string) => { switch (locale) { diff --git a/code/addons/viewport/package.json b/code/addons/viewport/package.json index b1478832b2e7..6e4d4fbbd5d0 100644 --- a/code/addons/viewport/package.json +++ b/code/addons/viewport/package.json @@ -55,18 +55,18 @@ "memoizerific": "^1.11.3" }, "devDependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/theming": "workspace:*", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/builders/builder-manager/package.json b/code/builders/builder-manager/package.json index 432ee9cf3358..10e1f2d8e34d 100644 --- a/code/builders/builder-manager/package.json +++ b/code/builders/builder-manager/package.json @@ -45,9 +45,7 @@ }, "dependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", - "@storybook/core-common": "workspace:*", "@storybook/manager": "workspace:*", - "@storybook/node-logger": "workspace:*", "@types/ejs": "^3.1.1", "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10", "browser-assert": "^1.2.1", @@ -63,6 +61,9 @@ "slash": "^5.0.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/builders/builder-manager/src/index.ts b/code/builders/builder-manager/src/index.ts index 28e6fdd5a55e..69032a4b9313 100644 --- a/code/builders/builder-manager/src/index.ts +++ b/code/builders/builder-manager/src/index.ts @@ -2,13 +2,13 @@ import { dirname, join, parse } from 'path'; import fs from 'fs-extra'; import express from 'express'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { globalExternals } from '@fal-works/esbuild-plugin-global-externals'; import { pnpPlugin } from '@yarnpkg/esbuild-plugin-pnp'; import aliasPlugin from 'esbuild-plugin-alias'; -import { stringifyProcessEnvs } from '@storybook/core-common'; +import { stringifyProcessEnvs } from '@storybook/core/dist/common'; import { globalsModuleInfoMap } from '@storybook/manager/globals-module-info'; import { getTemplatePath, renderHTML } from './utils/template'; import { wrapManagerEntries } from './utils/managerEntries'; diff --git a/code/builders/builder-manager/src/types.ts b/code/builders/builder-manager/src/types.ts index a3e5634096fb..22bc58b7d202 100644 --- a/code/builders/builder-manager/src/types.ts +++ b/code/builders/builder-manager/src/types.ts @@ -3,7 +3,7 @@ import type { Builder_WithRequiredProperty, BuilderStats, Builder_Unpromise, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { BuildOptions, BuildResult } from 'esbuild'; diff --git a/code/builders/builder-manager/src/utils/data.ts b/code/builders/builder-manager/src/utils/data.ts index 3e3b3b16af5e..87952e76c040 100644 --- a/code/builders/builder-manager/src/utils/data.ts +++ b/code/builders/builder-manager/src/utils/data.ts @@ -1,6 +1,6 @@ import { basename } from 'path'; -import type { Options } from '@storybook/types'; -import { getRefs } from '@storybook/core-common'; +import type { Options } from '@storybook/core/dist/types'; +import { getRefs } from '@storybook/core/dist/common'; import { readTemplate } from './template'; diff --git a/code/builders/builder-manager/src/utils/framework.ts b/code/builders/builder-manager/src/utils/framework.ts index bf3588290511..a08a6af595e4 100644 --- a/code/builders/builder-manager/src/utils/framework.ts +++ b/code/builders/builder-manager/src/utils/framework.ts @@ -1,6 +1,9 @@ import path from 'path'; -import type { Options } from '@storybook/types'; -import { extractProperRendererNameFromFramework, getFrameworkName } from '@storybook/core-common'; +import type { Options } from '@storybook/core/dist/types'; +import { + extractProperRendererNameFromFramework, + getFrameworkName, +} from '@storybook/core/dist/common'; interface PropertyObject { name: string; diff --git a/code/builders/builder-manager/src/utils/managerEntries.ts b/code/builders/builder-manager/src/utils/managerEntries.ts index c30357851dd6..989a4fe62de5 100644 --- a/code/builders/builder-manager/src/utils/managerEntries.ts +++ b/code/builders/builder-manager/src/utils/managerEntries.ts @@ -1,5 +1,5 @@ import fs from 'fs-extra'; -import { resolvePathInStorybookCache } from '@storybook/core-common'; +import { resolvePathInStorybookCache } from '@storybook/core/dist/common'; import { join, parse, relative, sep } from 'node:path'; import slash from 'slash'; diff --git a/code/builders/builder-manager/src/utils/template.ts b/code/builders/builder-manager/src/utils/template.ts index dd2d1bc88e20..b69003690eeb 100644 --- a/code/builders/builder-manager/src/utils/template.ts +++ b/code/builders/builder-manager/src/utils/template.ts @@ -3,7 +3,7 @@ import fs from 'fs-extra'; import { render } from 'ejs'; -import type { DocsOptions, TagsOptions, Options, Ref } from '@storybook/types'; +import type { DocsOptions, TagsOptions, Options, Ref } from '@storybook/core/dist/types'; export const getTemplatePath = async (template: string) => { return join( diff --git a/code/builders/builder-vite/package.json b/code/builders/builder-vite/package.json index 6422f5c72791..ddcdd9e829bd 100644 --- a/code/builders/builder-vite/package.json +++ b/code/builders/builder-vite/package.json @@ -43,15 +43,8 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "workspace:*", - "@storybook/client-logger": "workspace:*", - "@storybook/core-common": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/csf-plugin": "workspace:*", - "@storybook/node-logger": "workspace:*", "@storybook/preview": "workspace:*", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "@types/find-cache-dir": "^3.2.1", "browser-assert": "^1.2.1", "es-module-lexer": "^1.5.0", @@ -71,6 +64,7 @@ }, "peerDependencies": { "@preact/preset-vite": "*", + "@storybook/core": "workspace:*", "typescript": ">= 4.3.x", "vite": "^4.0.0 || ^5.0.0", "vite-plugin-glimmerx": "*" diff --git a/code/builders/builder-vite/src/build.ts b/code/builders/builder-vite/src/build.ts index 67ce2c42942d..10c6d016b5dd 100644 --- a/code/builders/builder-vite/src/build.ts +++ b/code/builders/builder-vite/src/build.ts @@ -1,5 +1,5 @@ -import type { Options } from '@storybook/types'; -import { logger } from '@storybook/node-logger'; +import type { Options } from '@storybook/core/dist/types'; +import { logger } from '@storybook/core/dist/node-logger'; import dedent from 'ts-dedent'; import { commonConfig } from './vite-config'; diff --git a/code/builders/builder-vite/src/codegen-importfn-script.ts b/code/builders/builder-vite/src/codegen-importfn-script.ts index 247f15421c78..778dd1917885 100644 --- a/code/builders/builder-vite/src/codegen-importfn-script.ts +++ b/code/builders/builder-vite/src/codegen-importfn-script.ts @@ -1,6 +1,6 @@ import * as path from 'path'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import { listStories } from './list-stories'; diff --git a/code/builders/builder-vite/src/codegen-modern-iframe-script.ts b/code/builders/builder-vite/src/codegen-modern-iframe-script.ts index 39109c148df4..0db8120599ae 100644 --- a/code/builders/builder-vite/src/codegen-modern-iframe-script.ts +++ b/code/builders/builder-vite/src/codegen-modern-iframe-script.ts @@ -1,5 +1,5 @@ -import { loadPreviewOrConfigFile, getFrameworkName } from '@storybook/core-common'; -import type { Options, PreviewAnnotation } from '@storybook/types'; +import { loadPreviewOrConfigFile, getFrameworkName } from '@storybook/core/dist/common'; +import type { Options, PreviewAnnotation } from '@storybook/core/dist/types'; import { virtualStoriesFile, virtualAddonSetupFile } from './virtual-file-names'; import { processPreviewAnnotation } from './utils/process-preview-annotation'; @@ -60,7 +60,7 @@ export async function generateModernIframeScriptCode(options: Options, projectRo * @todo Inline variable and remove `noinspection` */ const code = ` - import { composeConfigs, PreviewWeb, ClientApi } from '@storybook/preview-api'; + import { composeConfigs, PreviewWeb, ClientApi } from '@storybook/core/dist/preview-api'; import '${virtualAddonSetupFile}'; import { importFn } from '${virtualStoriesFile}'; 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 f5dc708f58b8..81ff9915d20b 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,7 @@ export async function generateAddonSetupCode() { return ` - import { createBrowserChannel } from '@storybook/channels'; - import { addons } from '@storybook/preview-api'; + import { createBrowserChannel } from '@storybook/core/dist/channels'; + import { addons } from '@storybook/core/dist/preview-api'; const channel = createBrowserChannel({ page: 'preview' }); addons.setChannel(channel); diff --git a/code/builders/builder-vite/src/envs.ts b/code/builders/builder-vite/src/envs.ts index 4f101306b8d0..2ad80b88fd02 100644 --- a/code/builders/builder-vite/src/envs.ts +++ b/code/builders/builder-vite/src/envs.ts @@ -1,6 +1,6 @@ -import { stringifyEnvs } from '@storybook/core-common'; +import { stringifyEnvs } from '@storybook/core/dist/common'; import type { UserConfig as ViteConfig } from 'vite'; -import type { Builder_EnvsRaw, Options } from '@storybook/types'; +import type { Builder_EnvsRaw, Options } from '@storybook/core/dist/types'; // Allowed env variables on the client const allowedEnvVariables = [ diff --git a/code/builders/builder-vite/src/index.ts b/code/builders/builder-vite/src/index.ts index 3c0b7591d2cf..02b2baffa79d 100644 --- a/code/builders/builder-vite/src/index.ts +++ b/code/builders/builder-vite/src/index.ts @@ -5,8 +5,8 @@ import type { RequestHandler } from 'express'; import type { ViteDevServer } from 'vite'; import express from 'express'; import { dirname, join, parse } from 'path'; -import { NoStatsForViteDevError } from '@storybook/core-events/server-errors'; -import type { Options } from '@storybook/types'; +import { NoStatsForViteDevError } from '@storybook/core/dist/server-errors'; +import type { Options } from '@storybook/core/dist/types'; import { transformIframeHtml } from './transform-iframe-html'; import { createViteServer } from './vite-server'; import { build as viteBuild } from './build'; diff --git a/code/builders/builder-vite/src/list-stories.ts b/code/builders/builder-vite/src/list-stories.ts index b6cc8644bd3e..e1e339f5cada 100644 --- a/code/builders/builder-vite/src/list-stories.ts +++ b/code/builders/builder-vite/src/list-stories.ts @@ -1,9 +1,9 @@ import * as path from 'path'; import slash from 'slash'; import { glob } from 'glob'; -import { normalizeStories, commonGlobOptions } from '@storybook/core-common'; +import { normalizeStories, commonGlobOptions } from '@storybook/core/dist/common'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; export async function listStories(options: Options) { const { normalizePath } = await import('vite'); diff --git a/code/builders/builder-vite/src/optimizeDeps.ts b/code/builders/builder-vite/src/optimizeDeps.ts index 7d38b61cb747..26dfca7e9427 100644 --- a/code/builders/builder-vite/src/optimizeDeps.ts +++ b/code/builders/builder-vite/src/optimizeDeps.ts @@ -1,6 +1,6 @@ import * as path from 'path'; import type { InlineConfig as ViteInlineConfig, UserConfig } from 'vite'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import { listStories } from './list-stories'; // It ensures that vite converts cjs deps into esm without vite having to find them during startup and then having to log a message about them and restart diff --git a/code/builders/builder-vite/src/plugins/code-generator-plugin.ts b/code/builders/builder-vite/src/plugins/code-generator-plugin.ts index aa57521e2a62..9306199f33e9 100644 --- a/code/builders/builder-vite/src/plugins/code-generator-plugin.ts +++ b/code/builders/builder-vite/src/plugins/code-generator-plugin.ts @@ -1,6 +1,6 @@ import * as fs from 'fs'; import type { Plugin } from 'vite'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import { transformIframeHtml } from '../transform-iframe-html'; import { generateModernIframeScriptCode } from '../codegen-modern-iframe-script'; import { generateImportFnScriptCode } from '../codegen-importfn-script'; diff --git a/code/builders/builder-vite/src/plugins/csf-plugin.ts b/code/builders/builder-vite/src/plugins/csf-plugin.ts index 94cea3344c1c..237ea046267c 100644 --- a/code/builders/builder-vite/src/plugins/csf-plugin.ts +++ b/code/builders/builder-vite/src/plugins/csf-plugin.ts @@ -1,6 +1,6 @@ import type { Plugin } from 'vite'; import { vite } from '@storybook/csf-plugin'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; export async function csfPlugin(config: Options): Promise { const { presets } = config; diff --git a/code/builders/builder-vite/src/plugins/webpack-stats-plugin.ts b/code/builders/builder-vite/src/plugins/webpack-stats-plugin.ts index affb130c07e1..135ab9cbe07a 100644 --- a/code/builders/builder-vite/src/plugins/webpack-stats-plugin.ts +++ b/code/builders/builder-vite/src/plugins/webpack-stats-plugin.ts @@ -1,6 +1,6 @@ // This plugin is a direct port of https://github.com/IanVS/vite-plugin-turbosnap -import type { BuilderStats } from '@storybook/types'; +import type { BuilderStats } from '@storybook/core/dist/types'; import path from 'path'; import type { Plugin } from 'vite'; diff --git a/code/builders/builder-vite/src/transform-iframe-html.ts b/code/builders/builder-vite/src/transform-iframe-html.ts index a4a482b2f119..fd1f5293d258 100644 --- a/code/builders/builder-vite/src/transform-iframe-html.ts +++ b/code/builders/builder-vite/src/transform-iframe-html.ts @@ -1,5 +1,5 @@ -import { normalizeStories } from '@storybook/core-common'; -import type { DocsOptions, TagsOptions, Options } from '@storybook/types'; +import { normalizeStories } from '@storybook/core/dist/common'; +import type { DocsOptions, TagsOptions, Options } from '@storybook/core/dist/types'; export type PreviewHtml = string | undefined; diff --git a/code/builders/builder-vite/src/types.ts b/code/builders/builder-vite/src/types.ts index c8b434dc38de..2887432f6677 100644 --- a/code/builders/builder-vite/src/types.ts +++ b/code/builders/builder-vite/src/types.ts @@ -1,5 +1,5 @@ import type { InlineConfig, UserConfig } from 'vite'; -import type { Builder, Options } from '@storybook/types'; +import type { Builder, Options } from '@storybook/core/dist/types'; // Storybook's Stats are optional Webpack related property type ViteStats = { diff --git a/code/builders/builder-vite/src/utils/process-preview-annotation.ts b/code/builders/builder-vite/src/utils/process-preview-annotation.ts index a6d83b2f7093..3129ac7666c7 100644 --- a/code/builders/builder-vite/src/utils/process-preview-annotation.ts +++ b/code/builders/builder-vite/src/utils/process-preview-annotation.ts @@ -1,7 +1,7 @@ -import type { PreviewAnnotation } from '@storybook/types'; +import type { PreviewAnnotation } from '@storybook/core/dist/types'; import { resolve, isAbsolute, relative } from 'path'; import slash from 'slash'; -import { stripAbsNodeModulesPath } from '@storybook/core-common'; +import { stripAbsNodeModulesPath } from '@storybook/core/dist/common'; /** * Preview annotations can take several forms, and vite needs them to be diff --git a/code/builders/builder-vite/src/vite-config.test.ts b/code/builders/builder-vite/src/vite-config.test.ts index 8f34e65277e7..9e51bd544021 100644 --- a/code/builders/builder-vite/src/vite-config.test.ts +++ b/code/builders/builder-vite/src/vite-config.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, vi } from 'vitest'; -import type { Options, Presets } from '@storybook/types'; +import type { Options, Presets } from '@storybook/core/dist/types'; // eslint-disable-next-line @typescript-eslint/no-restricted-imports import { loadConfigFromFile } from 'vite'; import { commonConfig } from './vite-config'; diff --git a/code/builders/builder-vite/src/vite-config.ts b/code/builders/builder-vite/src/vite-config.ts index 95d68543a22e..0c94aeb20567 100644 --- a/code/builders/builder-vite/src/vite-config.ts +++ b/code/builders/builder-vite/src/vite-config.ts @@ -11,9 +11,9 @@ import { getFrameworkName, getBuilderOptions, resolvePathInStorybookCache, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import { globalsNameReferenceMap } from '@storybook/preview/globals'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import { codeGeneratorPlugin, csfPlugin, diff --git a/code/builders/builder-vite/src/vite-server.ts b/code/builders/builder-vite/src/vite-server.ts index cfd3c4051a3e..68bfa3bd8d31 100644 --- a/code/builders/builder-vite/src/vite-server.ts +++ b/code/builders/builder-vite/src/vite-server.ts @@ -1,5 +1,5 @@ import type { Server } from 'http'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import { commonConfig } from './vite-config'; import { getOptimizeDeps } from './optimizeDeps'; import { sanitizeEnvVars } from './envs'; diff --git a/code/builders/builder-webpack5/package.json b/code/builders/builder-webpack5/package.json index 4e0d3caf9cfc..45c97db7a37f 100644 --- a/code/builders/builder-webpack5/package.json +++ b/code/builders/builder-webpack5/package.json @@ -63,14 +63,8 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "workspace:*", - "@storybook/client-logger": "workspace:*", - "@storybook/core-common": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/core-webpack": "workspace:*", - "@storybook/node-logger": "workspace:*", "@storybook/preview": "workspace:*", - "@storybook/preview-api": "workspace:*", "@types/node": "^18.0.0", "@types/semver": "^7.3.4", "browser-assert": "^1.2.1", @@ -107,6 +101,9 @@ "slash": "^5.0.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "peerDependenciesMeta": { "typescript": { "optional": true diff --git a/code/builders/builder-webpack5/src/index.ts b/code/builders/builder-webpack5/src/index.ts index 6473f7db3c3d..1707d4a5fbac 100644 --- a/code/builders/builder-webpack5/src/index.ts +++ b/code/builders/builder-webpack5/src/index.ts @@ -2,18 +2,18 @@ import type { Stats, Configuration, StatsOptions } from 'webpack'; import webpack, { ProgressPlugin } from 'webpack'; import webpackDevMiddleware from 'webpack-dev-middleware'; import webpackHotMiddleware from 'webpack-hot-middleware'; -import { logger } from '@storybook/node-logger'; -import type { Builder, Options } from '@storybook/types'; +import { logger } from '@storybook/core/dist/node-logger'; +import type { Builder, Options } from '@storybook/core/dist/types'; import { checkWebpackVersion } from '@storybook/core-webpack'; import { dirname, join, parse } from 'path'; import express from 'express'; import fs from 'fs-extra'; -import { PREVIEW_BUILDER_PROGRESS } from '@storybook/core-events'; +import { PREVIEW_BUILDER_PROGRESS } from '@storybook/core/dist/core-events'; import { WebpackCompilationError, WebpackInvocationError, WebpackMissingStatsError, -} from '@storybook/core-events/server-errors'; +} from '@storybook/core/dist/server-errors'; import prettyTime from 'pretty-hrtime'; diff --git a/code/builders/builder-webpack5/src/presets/custom-webpack-preset.ts b/code/builders/builder-webpack5/src/presets/custom-webpack-preset.ts index 4068100019e0..4a0aa259ee87 100644 --- a/code/builders/builder-webpack5/src/presets/custom-webpack-preset.ts +++ b/code/builders/builder-webpack5/src/presets/custom-webpack-preset.ts @@ -1,6 +1,6 @@ import * as webpackReal from 'webpack'; -import { logger } from '@storybook/node-logger'; -import type { Options } from '@storybook/types'; +import { logger } from '@storybook/core/dist/node-logger'; +import type { Options } from '@storybook/core/dist/types'; import type { Configuration } from 'webpack'; import { loadCustomWebpackConfig } from '@storybook/core-webpack'; import { createDefaultWebpackConfig } from '../preview/base-webpack.config'; diff --git a/code/builders/builder-webpack5/src/preview/base-webpack.config.ts b/code/builders/builder-webpack5/src/preview/base-webpack.config.ts index 38961e89085d..62f56ec8774f 100644 --- a/code/builders/builder-webpack5/src/preview/base-webpack.config.ts +++ b/code/builders/builder-webpack5/src/preview/base-webpack.config.ts @@ -1,5 +1,5 @@ -import { logger } from '@storybook/node-logger'; -import type { Options } from '@storybook/types'; +import { logger } from '@storybook/core/dist/node-logger'; +import type { Options } from '@storybook/core/dist/types'; import type { Configuration } from 'webpack'; export async function createDefaultWebpackConfig( diff --git a/code/builders/builder-webpack5/src/preview/iframe-webpack.config.ts b/code/builders/builder-webpack5/src/preview/iframe-webpack.config.ts index ef510ef2378f..fd152a66be9c 100644 --- a/code/builders/builder-webpack5/src/preview/iframe-webpack.config.ts +++ b/code/builders/builder-webpack5/src/preview/iframe-webpack.config.ts @@ -8,14 +8,14 @@ import TerserWebpackPlugin from 'terser-webpack-plugin'; import VirtualModulePlugin from 'webpack-virtual-modules'; import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin'; import type { TransformOptions as EsbuildOptions } from 'esbuild'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import { globalsNameReferenceMap } from '@storybook/preview/globals'; import { getBuilderOptions, stringifyProcessEnvs, normalizeStories, isPreservingSymlinks, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import { type BuilderOptions } from '@storybook/core-webpack'; import { dedent } from 'ts-dedent'; import type { TypescriptOptions } from '../types'; diff --git a/code/builders/builder-webpack5/src/preview/virtual-module-mapping.ts b/code/builders/builder-webpack5/src/preview/virtual-module-mapping.ts index e76c64d57f96..0cba42c49019 100644 --- a/code/builders/builder-webpack5/src/preview/virtual-module-mapping.ts +++ b/code/builders/builder-webpack5/src/preview/virtual-module-mapping.ts @@ -1,4 +1,4 @@ -import type { Options, PreviewAnnotation } from '@storybook/types'; +import type { Options, PreviewAnnotation } from '@storybook/core/dist/types'; import { join, resolve } from 'path'; import { getBuilderOptions, @@ -6,7 +6,7 @@ import { loadPreviewOrConfigFile, normalizeStories, readTemplate, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import slash from 'slash'; import { toImportFn } from '@storybook/core-webpack'; import type { BuilderOptions } from '../types'; diff --git a/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars b/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars index 1224d3d015df..f18e051b054a 100644 --- a/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars +++ b/code/builders/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars @@ -1,18 +1,18 @@ import { global } from '@storybook/global'; -import { ClientApi, PreviewWeb, addons, composeConfigs } from '@storybook/preview-api'; -import { createBrowserChannel } from '@storybook/channels'; +import { ClientApi, PreviewWeb, addons, composeConfigs } from '@storybook/core/dist/preview-api'; +import { createBrowserChannel } from '@storybook/core/dist/channels'; import { importFn } from './{{storiesFilename}}'; const getProjectAnnotations = () => - composeConfigs([{{#each previewAnnotations}}require('{{this}}'),{{/each}}]); +composeConfigs([{{#each previewAnnotations}}require('{{this}}'),{{/each}}]); const channel = createBrowserChannel({ page: 'preview' }); addons.setChannel(channel); if (global.CONFIG_TYPE === 'DEVELOPMENT'){ - window.__STORYBOOK_SERVER_CHANNEL__ = channel; +window.__STORYBOOK_SERVER_CHANNEL__ = channel; } const preview = new PreviewWeb(importFn, getProjectAnnotations); @@ -22,13 +22,13 @@ window.__STORYBOOK_STORY_STORE__ = preview.storyStore; window.__STORYBOOK_ADDONS_CHANNEL__ = channel; if (import.meta.webpackHot) { - import.meta.webpackHot.accept('./{{storiesFilename}}', () => { - // importFn has changed so we need to patch the new one in - preview.onStoriesChanged({ importFn }); - }); - - import.meta.webpackHot.accept([{{#each previewAnnotations}}'{{this}}',{{/each}}], () => { - // getProjectAnnotations has changed so we need to patch the new one in - preview.onGetProjectAnnotationsChanged({ getProjectAnnotations }); - }); +import.meta.webpackHot.accept('./{{storiesFilename}}', () => { +// importFn has changed so we need to patch the new one in +preview.onStoriesChanged({ importFn }); +}); + +import.meta.webpackHot.accept([{{#each previewAnnotations}}'{{this}}',{{/each}}], () => { +// getProjectAnnotations has changed so we need to patch the new one in +preview.onGetProjectAnnotationsChanged({ getProjectAnnotations }); +}); } \ No newline at end of file diff --git a/code/core/.eslintrc b/code/core/.eslintrc new file mode 100644 index 000000000000..fe6a9b0652c7 --- /dev/null +++ b/code/core/.eslintrc @@ -0,0 +1,6 @@ +{ + "rules": { + "@typescript-eslint/triple-slash-reference": "off", + "import/no-extraneous-dependencies": "off" + } +} diff --git a/code/core/README.md b/code/core/README.md new file mode 100644 index 000000000000..4af52cb89409 --- /dev/null +++ b/code/core/README.md @@ -0,0 +1,17 @@ +# Storybook Core-server + +This package contains common node-side functionality used among the different frameworks (React, RN, Vue 3, Ember, Angular, etc). + +It contains: + +- CLI arg parsing +- Storybook UI "manager" webpack configuration +- `start-storybook` dev server +- `build-storybook` static builder +- presets handling + +The "preview" (aka iframe) side is implemented in pluggable builders: + +- `@storybook/builder-webpack5` + +These builders abstract both the webpack dependencies as well as the various core configurations and loader/plugin dependencies provided out of the box with Storybook. diff --git a/code/lib/core-events/src/errors/message-reference.png b/code/core/assets/docs/message-reference.png similarity index 100% rename from code/lib/core-events/src/errors/message-reference.png rename to code/core/assets/docs/message-reference.png diff --git a/code/lib/core-common/templates/base-preview-body.html b/code/core/assets/server/base-preview-body.html similarity index 100% rename from code/lib/core-common/templates/base-preview-body.html rename to code/core/assets/server/base-preview-body.html diff --git a/code/lib/core-common/templates/base-preview-head.html b/code/core/assets/server/base-preview-head.html similarity index 100% rename from code/lib/core-common/templates/base-preview-head.html rename to code/core/assets/server/base-preview-head.html diff --git a/code/core/package.json b/code/core/package.json new file mode 100644 index 000000000000..ed3da99c755e --- /dev/null +++ b/code/core/package.json @@ -0,0 +1,186 @@ +{ + "name": "@storybook/core", + "version": "8.1.0-alpha.7", + "description": "Storybook framework-agnostic API", + "keywords": [ + "storybook" + ], + "homepage": "https://storybook.js.org", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/core" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "type": "module", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "require": "./dist/index.cjs", + "import": "./dist/index.js" + }, + "./dist/test": { + "require": "./dist/test.cjs" + }, + "./dist/node-logger": { + "types": "./dist/node-logger/index.d.ts", + "require": "./dist/node-logger/index.cjs" + }, + "./dist/client-logger": { + "types": "./dist/client-logger/index.d.ts", + "require": "./dist/client-logger/index.cjs", + "import": "./dist/client-logger/index.js" + }, + "./dist/core-events": { + "types": "./dist/core-events/index.d.ts", + "require": "./dist/core-events/index.cjs", + "import": "./dist/core-events/index.js" + }, + "./dist/manager-errors": { + "types": "./dist/manager-errors.d.ts", + "import": "./dist/manager-errors.js" + }, + "./dist/preview-errors": { + "types": "./dist/preview-errors.d.ts", + "require": "./dist/preview-errors.cjs", + "import": "./dist/preview-errors.js" + }, + "./dist/server-errors": { + "types": "./dist/server-errors.d.ts", + "require": "./dist/server-errors.cjs" + }, + "./dist/channels": { + "types": "./dist/channels/index.d.ts", + "require": "./dist/channels/index.cjs", + "import": "./dist/channels/index.js" + }, + "./dist/types": { + "types": "./dist/types/index.d.ts", + "require": "./dist/types/index.cjs", + "import": "./dist/types/index.js" + }, + "./dist/csf-tools": { + "types": "./dist/csf-tools/index.d.ts", + "require": "./dist/csf-tools/index.cjs" + }, + "./dist/common": { + "types": "./dist/common/index.d.ts", + "require": "./dist/common/index.cjs" + }, + "./dist/telemetry": { + "types": "./dist/telemetry/index.d.ts", + "require": "./dist/telemetry/index.cjs" + }, + "./dist/preview-api": { + "types": "./dist/preview-api/index.d.ts", + "require": "./dist/preview-api/index.cjs", + "import": "./dist/preview-api/index.js" + }, + "./dist/instrumenter": { + "types": "./dist/instrumenter/index.d.ts", + "require": "./dist/instrumenter/index.cjs", + "import": "./dist/instrumenter/index.js" + }, + "./dist/router": { + "types": "./dist/router/index.d.ts", + "require": "./dist/router/index.cjs", + "import": "./dist/router/index.js" + } + }, + "main": "dist/index.cjs", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "files": [ + "dist/**/*", + "assets/**/*", + "README.md", + "!src/**/*" + ], + "scripts": { + "check": "bun ./scripts/check.ts", + "prep": "bun ./scripts/prep.ts" + }, + "dependencies": { + "@types/node": "^18.0.0", + "esbuild": "^0.18.0 || ^0.19.0 || ^0.20.0", + "esbuild-register": "^3.5.0" + }, + "devDependencies": { + "@babel/generator": "^7.24.4", + "@babel/parser": "^7.24.4", + "@babel/traverse": "^7.24.1", + "@babel/types": "^7.24.0", + "@storybook/csf": "^0.1.6", + "@storybook/global": "^5.0.0", + "@types/express": "^4.7.0", + "@types/find-cache-dir": "^5.0.0", + "@types/fs-extra": "^11.0.1", + "@types/js-yaml": "^4.0.5", + "@types/mock-fs": "^4.13.1", + "@types/node": "^18.0.0", + "@types/node-fetch": "^2.6.4", + "@types/npmlog": "^7.0.0", + "@types/picomatch": "^2.3.0", + "@types/prettier-v2": "npm:@types/prettier@^2", + "@types/pretty-hrtime": "^1.0.0", + "@types/qs": "^6.9.5", + "@vitest/utils": "^1.3.1", + "@yarnpkg/fslib": "2.10.3", + "@yarnpkg/libzip": "2.3.0", + "ansi-to-html": "^0.7.2", + "chalk": "^5.3.0", + "cross-spawn": "^7.0.3", + "dequal": "^2.0.2", + "detect-package-manager": "^3.0.2", + "execa": "^5.0.0", + "fetch-retry": "^6.0.0", + "file-system-cache": "^2.4.4", + "find-cache-dir": "^5.0.0", + "find-up": "^7.0.0", + "fs-extra": "^11.1.0", + "glob": "^10.0.0", + "handlebars": "^4.7.7", + "js-yaml": "^4.1.0", + "lazy-universal-dotenv": "^4.0.0", + "lodash": "^4.17.21", + "memoizerific": "^1.11.3", + "mock-fs": "^5.2.0", + "nanoid": "^4.0.2", + "node-fetch": "^3.3.2", + "npmlog": "^7.0.0", + "picomatch": "^2.3.0", + "pkg-dir": "^8.0.0", + "prettier-fallback": "npm:prettier@^3", + "prettier-v2": "npm:prettier@^2", + "prettier-v3": "npm:prettier@^3", + "pretty-hrtime": "^1.0.3", + "qs": "^6.10.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-router-dom": "6.0.2", + "read-pkg-up": "^11.0.0", + "recast": "^0.23.5", + "resolve-from": "^5.0.0", + "semver": "^7.3.7", + "slash": "^5.0.0", + "telejson": "^7.2.0", + "tempy": "^1.0.1", + "tiny-invariant": "^1.3.1", + "ts-dedent": "^2.0.0", + "type-fest": "^4.18.1", + "typescript": "^5.3.2", + "util": "^0.12.4", + "util-deprecate": "^1.0.2" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17" +} diff --git a/code/core/project.json b/code/core/project.json new file mode 100644 index 000000000000..f94d8da229c7 --- /dev/null +++ b/code/core/project.json @@ -0,0 +1,7 @@ +{ + "$schema": "../node_modules/nx/schemas/project-schema.json", + "projectType": "library", + "targets": { + "build": {} + } +} \ No newline at end of file diff --git a/code/core/report/REPORT.md b/code/core/report/REPORT.md new file mode 100644 index 000000000000..4279b8cd66b7 --- /dev/null +++ b/code/core/report/REPORT.md @@ -0,0 +1,6 @@ +# About these report files + +They are generated by esbuild automatically. +We can use them to debug the build process / inspect the output. + +Upload the `./meta.json` to (ESbuild bundle analyser)[https://esbuild.github.io/analyze/], to get insights on the bundle sizes. \ No newline at end of file diff --git a/code/core/report/meta.json b/code/core/report/meta.json new file mode 100644 index 000000000000..3fc6dda229d1 --- /dev/null +++ b/code/core/report/meta.json @@ -0,0 +1,33052 @@ +{ + "inputs": { + "src/index.ts": { + "bytes": 98, + "imports": [], + "format": "esm" + }, + "src/test.ts": { + "bytes": 36, + "imports": [], + "format": "esm" + }, + "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-base.js": { + "bytes": 230, + "imports": [ + { + "path": "events", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker.js": { + "bytes": 724, + "imports": [ + { + "path": "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-base.js", + "kind": "require-call", + "original": "./tracker-base.js" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-stream.js": { + "bytes": 833, + "imports": [ + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker.js", + "kind": "require-call", + "original": "./tracker.js" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-group.js": { + "bytes": 2921, + "imports": [ + { + "path": "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-base.js", + "kind": "require-call", + "original": "./tracker-base.js" + }, + { + "path": "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker.js", + "kind": "require-call", + "original": "./tracker.js" + }, + { + "path": "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-stream.js", + "kind": "require-call", + "original": "./tracker-stream.js" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/are-we-there-yet/lib/index.js": { + "bytes": 163, + "imports": [ + { + "path": "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-group.js", + "kind": "require-call", + "original": "./tracker-group.js" + }, + { + "path": "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker.js", + "kind": "require-call", + "original": "./tracker.js" + }, + { + "path": "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-stream.js", + "kind": "require-call", + "original": "./tracker-stream.js" + } + ], + "format": "cjs" + }, + "../node_modules/console-control-strings/index.js": { + "bytes": 2339, + "imports": [], + "format": "cjs" + }, + "../node_modules/ansi-regex/index.js": { + "bytes": 350, + "imports": [], + "format": "cjs" + }, + "../node_modules/string-width/node_modules/strip-ansi/index.js": { + "bytes": 154, + "imports": [ + { + "path": "../node_modules/ansi-regex/index.js", + "kind": "require-call", + "original": "ansi-regex" + } + ], + "format": "cjs" + }, + "../node_modules/is-fullwidth-code-point/index.js": { + "bytes": 1756, + "imports": [], + "format": "cjs" + }, + "../node_modules/string-width/node_modules/emoji-regex/index.js": { + "bytes": 10286, + "imports": [], + "format": "cjs" + }, + "../node_modules/string-width/index.js": { + "bytes": 923, + "imports": [ + { + "path": "../node_modules/string-width/node_modules/strip-ansi/index.js", + "kind": "require-call", + "original": "strip-ansi" + }, + { + "path": "../node_modules/is-fullwidth-code-point/index.js", + "kind": "require-call", + "original": "is-fullwidth-code-point" + }, + { + "path": "../node_modules/string-width/node_modules/emoji-regex/index.js", + "kind": "require-call", + "original": "emoji-regex" + } + ], + "format": "cjs" + }, + "../node_modules/wide-align/align.js": { + "bytes": 1428, + "imports": [ + { + "path": "../node_modules/string-width/index.js", + "kind": "require-call", + "original": "string-width" + } + ], + "format": "cjs" + }, + "../node_modules/aproba/index.js": { + "bytes": 3644, + "imports": [], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/strip-ansi/index.js": { + "bytes": 154, + "imports": [ + { + "path": "../node_modules/ansi-regex/index.js", + "kind": "require-call", + "original": "ansi-regex" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/wide-truncate.js": { + "bytes": 858, + "imports": [ + { + "path": "../node_modules/string-width/index.js", + "kind": "require-call", + "original": "string-width" + }, + { + "path": "../node_modules/npmlog/node_modules/strip-ansi/index.js", + "kind": "require-call", + "original": "strip-ansi" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/error.js": { + "bytes": 616, + "imports": [ + { + "path": "util", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/template-item.js": { + "bytes": 1977, + "imports": [ + { + "path": "../node_modules/string-width/index.js", + "kind": "require-call", + "original": "string-width" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/render-template.js": { + "bytes": 5950, + "imports": [ + { + "path": "../node_modules/wide-align/align.js", + "kind": "require-call", + "original": "wide-align" + }, + { + "path": "../node_modules/aproba/index.js", + "kind": "require-call", + "original": "aproba" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/wide-truncate.js", + "kind": "require-call", + "original": "./wide-truncate" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/error.js", + "kind": "require-call", + "original": "./error" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/template-item.js", + "kind": "require-call", + "original": "./template-item" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/plumbing.js": { + "bytes": 1279, + "imports": [ + { + "path": "../node_modules/console-control-strings/index.js", + "kind": "require-call", + "original": "console-control-strings" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/render-template.js", + "kind": "require-call", + "original": "./render-template.js" + }, + { + "path": "../node_modules/aproba/index.js", + "kind": "require-call", + "original": "aproba" + } + ], + "format": "cjs" + }, + "../node_modules/has-unicode/index.js": { + "bytes": 657, + "imports": [ + { + "path": "os", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/color-support/browser.js": { + "bytes": 299, + "imports": [], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/has-color.js": { + "bytes": 99, + "imports": [ + { + "path": "../node_modules/color-support/browser.js", + "kind": "require-call", + "original": "color-support" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/signal-exit/dist/mjs/signals.js": { + "bytes": 1438, + "imports": [], + "format": "esm" + }, + "../node_modules/npmlog/node_modules/signal-exit/dist/mjs/index.js": { + "bytes": 9090, + "imports": [ + { + "path": "../node_modules/npmlog/node_modules/signal-exit/dist/mjs/signals.js", + "kind": "import-statement", + "original": "./signals.js" + } + ], + "format": "esm" + }, + "../node_modules/npmlog/node_modules/gauge/lib/spin.js": { + "bytes": 105, + "imports": [], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/progress-bar.js": { + "bytes": 1035, + "imports": [ + { + "path": "../node_modules/aproba/index.js", + "kind": "require-call", + "original": "aproba" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/render-template.js", + "kind": "require-call", + "original": "./render-template.js" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/wide-truncate.js", + "kind": "require-call", + "original": "./wide-truncate" + }, + { + "path": "../node_modules/string-width/index.js", + "kind": "require-call", + "original": "string-width" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/base-theme.js": { + "bytes": 424, + "imports": [ + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/spin.js", + "kind": "require-call", + "original": "./spin.js" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/progress-bar.js", + "kind": "require-call", + "original": "./progress-bar.js" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/theme-set.js": { + "bytes": 3720, + "imports": [ + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/base-theme.js", + "kind": "require-call", + "original": "./base-theme.js" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/themes.js": { + "bytes": 1667, + "imports": [ + { + "path": "../node_modules/console-control-strings/index.js", + "kind": "require-call", + "original": "console-control-strings" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/theme-set.js", + "kind": "require-call", + "original": "./theme-set.js" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/set-interval.js": { + "bytes": 93, + "imports": [], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/process.js": { + "bytes": 89, + "imports": [], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/set-immediate.js": { + "bytes": 139, + "imports": [ + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/process.js", + "kind": "require-call", + "original": "./process" + } + ], + "format": "cjs" + }, + "../node_modules/npmlog/node_modules/gauge/lib/index.js": { + "bytes": 7295, + "imports": [ + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/plumbing.js", + "kind": "require-call", + "original": "./plumbing.js" + }, + { + "path": "../node_modules/has-unicode/index.js", + "kind": "require-call", + "original": "has-unicode" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/has-color.js", + "kind": "require-call", + "original": "./has-color.js" + }, + { + "path": "../node_modules/npmlog/node_modules/signal-exit/dist/mjs/index.js", + "kind": "require-call", + "original": "signal-exit" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/themes.js", + "kind": "require-call", + "original": "./themes" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/set-interval.js", + "kind": "require-call", + "original": "./set-interval.js" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/process.js", + "kind": "require-call", + "original": "./process.js" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/set-immediate.js", + "kind": "require-call", + "original": "./set-immediate" + } + ], + "format": "cjs" + }, + "../node_modules/set-blocking/index.js": { + "bytes": 252, + "imports": [], + "format": "cjs" + }, + "../node_modules/npmlog/lib/log.js": { + "bytes": 9024, + "imports": [ + { + "path": "../node_modules/npmlog/node_modules/are-we-there-yet/lib/index.js", + "kind": "require-call", + "original": "are-we-there-yet" + }, + { + "path": "../node_modules/npmlog/node_modules/gauge/lib/index.js", + "kind": "require-call", + "original": "gauge" + }, + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/set-blocking/index.js", + "kind": "require-call", + "original": "set-blocking" + }, + { + "path": "../node_modules/console-control-strings/index.js", + "kind": "require-call", + "original": "console-control-strings" + } + ], + "format": "cjs" + }, + "../node_modules/pretty-hrtime/index.js": { + "bytes": 2363, + "imports": [], + "format": "cjs" + }, + "node_modules/chalk/source/vendor/ansi-styles/index.js": { + "bytes": 5256, + "imports": [], + "format": "esm" + }, + "node_modules/chalk/source/vendor/supports-color/index.js": { + "bytes": 3855, + "imports": [ + { + "path": "node:process", + "kind": "import-statement", + "external": true + }, + { + "path": "node:os", + "kind": "import-statement", + "external": true + }, + { + "path": "node:tty", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "node_modules/chalk/source/utilities.js": { + "bytes": 997, + "imports": [], + "format": "esm" + }, + "node_modules/chalk/source/index.js": { + "bytes": 5902, + "imports": [ + { + "path": "node_modules/chalk/source/vendor/ansi-styles/index.js", + "kind": "import-statement", + "original": "#ansi-styles" + }, + { + "path": "node_modules/chalk/source/vendor/supports-color/index.js", + "kind": "import-statement", + "original": "#supports-color" + }, + { + "path": "node_modules/chalk/source/utilities.js", + "kind": "import-statement", + "original": "./utilities.js" + }, + { + "path": "node_modules/chalk/source/vendor/ansi-styles/index.js", + "kind": "import-statement", + "original": "./vendor/ansi-styles/index.js" + } + ], + "format": "esm" + }, + "src/node-logger/index.ts": { + "bytes": 2020, + "imports": [ + { + "path": "../node_modules/npmlog/lib/log.js", + "kind": "import-statement", + "original": "npmlog" + }, + { + "path": "../node_modules/pretty-hrtime/index.js", + "kind": "import-statement", + "original": "pretty-hrtime" + }, + { + "path": "node_modules/chalk/source/index.js", + "kind": "import-statement", + "original": "chalk" + } + ], + "format": "esm" + }, + "../node_modules/@storybook/global/dist/index.js": { + "bytes": 1366, + "imports": [], + "format": "cjs" + }, + "src/client-logger/index.ts": { + "bytes": 3006, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + } + ], + "format": "esm" + }, + "src/core-events/data/create-new-story.ts": { + "bytes": 717, + "imports": [], + "format": "esm" + }, + "src/core-events/data/file-component-search.ts": { + "bytes": 524, + "imports": [], + "format": "esm" + }, + "src/core-events/data/argtypes-info.ts": { + "bytes": 180, + "imports": [], + "format": "esm" + }, + "src/core-events/data/request-response.ts": { + "bytes": 321, + "imports": [], + "format": "esm" + }, + "src/core-events/data/save-story.ts": { + "bytes": 296, + "imports": [], + "format": "esm" + }, + "src/core-events/data/whats-new.ts": { + "bytes": 410, + "imports": [], + "format": "esm" + }, + "src/core-events/index.ts": { + "bytes": 5858, + "imports": [ + { + "path": "src/core-events/data/create-new-story.ts", + "kind": "import-statement", + "original": "./data/create-new-story" + }, + { + "path": "src/core-events/data/file-component-search.ts", + "kind": "import-statement", + "original": "./data/file-component-search" + }, + { + "path": "src/core-events/data/argtypes-info.ts", + "kind": "import-statement", + "original": "./data/argtypes-info" + }, + { + "path": "src/core-events/data/request-response.ts", + "kind": "import-statement", + "original": "./data/request-response" + }, + { + "path": "src/core-events/data/save-story.ts", + "kind": "import-statement", + "original": "./data/save-story" + }, + { + "path": "src/core-events/data/whats-new.ts", + "kind": "import-statement", + "original": "./data/whats-new" + } + ], + "format": "esm" + }, + "../node_modules/ts-dedent/esm/index.js": { + "bytes": 1634, + "imports": [], + "format": "esm" + }, + "src/storybook-error.ts": { + "bytes": 2215, + "imports": [], + "format": "esm" + }, + "src/preview-errors.ts": { + "bytes": 8872, + "imports": [ + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "src/storybook-error.ts", + "kind": "import-statement", + "original": "./storybook-error" + } + ], + "format": "esm" + }, + "src/server-errors.ts": { + "bytes": 18096, + "imports": [ + { + "path": "node_modules/chalk/source/index.js", + "kind": "import-statement", + "original": "chalk" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "src/storybook-error.ts", + "kind": "import-statement", + "original": "./storybook-error" + } + ], + "format": "esm" + }, + "src/channels/main.ts": { + "bytes": 3647, + "imports": [], + "format": "esm" + }, + "../node_modules/telejson/dist/chunk-465TF3XA.mjs": { + "bytes": 1826, + "imports": [], + "format": "esm" + }, + "../node_modules/memoizerific/memoizerific.js": { + "bytes": 6750, + "imports": [], + "format": "cjs" + }, + "../node_modules/telejson/dist/index.mjs": { + "bytes": 52118, + "imports": [ + { + "path": "../node_modules/telejson/dist/chunk-465TF3XA.mjs", + "kind": "import-statement", + "original": "./chunk-465TF3XA.mjs" + }, + { + "path": "../node_modules/memoizerific/memoizerific.js", + "kind": "import-statement", + "original": "memoizerific" + } + ], + "format": "esm" + }, + "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js": { + "bytes": 452, + "imports": [], + "format": "esm" + }, + "src/channels/postmessage/getEventSourceUrl.ts": { + "bytes": 1498, + "imports": [ + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/channels/postmessage/index.ts": { + "bytes": 6587, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/telejson/dist/index.mjs", + "kind": "import-statement", + "original": "telejson" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "import-statement", + "original": "tiny-invariant" + }, + { + "path": "src/channels/postmessage/getEventSourceUrl.ts", + "kind": "import-statement", + "original": "./getEventSourceUrl" + } + ], + "format": "esm" + }, + "src/channels/websocket/index.ts": { + "bytes": 1994, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "../node_modules/telejson/dist/index.mjs", + "kind": "import-statement", + "original": "telejson" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "import-statement", + "original": "tiny-invariant" + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/channels/index.ts": { + "bytes": 1511, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "src/channels/main.ts", + "kind": "import-statement", + "original": "./main" + }, + { + "path": "src/channels/postmessage/index.ts", + "kind": "import-statement", + "original": "./postmessage" + }, + { + "path": "src/channels/websocket/index.ts", + "kind": "import-statement", + "original": "./websocket" + }, + { + "path": "src/channels/main.ts", + "kind": "import-statement", + "original": "./main" + }, + { + "path": "src/channels/postmessage/index.ts", + "kind": "import-statement", + "original": "./postmessage" + }, + { + "path": "src/channels/websocket/index.ts", + "kind": "import-statement", + "original": "./websocket" + } + ], + "format": "esm" + }, + "src/types/modules/csf.ts": { + "bytes": 1707, + "imports": [], + "format": "esm" + }, + "src/types/modules/addons.ts": { + "bytes": 16316, + "imports": [], + "format": "esm" + }, + "src/types/modules/story.ts": { + "bytes": 4158, + "imports": [], + "format": "esm" + }, + "src/types/modules/core-common.ts": { + "bytes": 15296, + "imports": [], + "format": "esm" + }, + "src/types/modules/builder.ts": { + "bytes": 395, + "imports": [], + "format": "esm" + }, + "src/types/modules/api.ts": { + "bytes": 5077, + "imports": [], + "format": "esm" + }, + "src/types/modules/docs.ts": { + "bytes": 4045, + "imports": [], + "format": "esm" + }, + "src/types/modules/api-stories.ts": { + "bytes": 3257, + "imports": [], + "format": "esm" + }, + "src/types/modules/indexer.ts": { + "bytes": 4587, + "imports": [], + "format": "esm" + }, + "src/types/modules/composedStory.ts": { + "bytes": 2968, + "imports": [], + "format": "esm" + }, + "src/types/modules/channelApi.ts": { + "bytes": 1328, + "imports": [], + "format": "esm" + }, + "src/types/modules/frameworks.ts": { + "bytes": 417, + "imports": [], + "format": "esm" + }, + "src/types/modules/renderers.ts": { + "bytes": 234, + "imports": [], + "format": "esm" + }, + "src/types/index.ts": { + "bytes": 463, + "imports": [ + { + "path": "src/types/modules/csf.ts", + "kind": "import-statement", + "original": "./modules/csf" + }, + { + "path": "src/types/modules/addons.ts", + "kind": "import-statement", + "original": "./modules/addons" + }, + { + "path": "src/types/modules/story.ts", + "kind": "import-statement", + "original": "./modules/story" + }, + { + "path": "src/types/modules/core-common.ts", + "kind": "import-statement", + "original": "./modules/core-common" + }, + { + "path": "src/types/modules/builder.ts", + "kind": "import-statement", + "original": "./modules/builder" + }, + { + "path": "src/types/modules/api.ts", + "kind": "import-statement", + "original": "./modules/api" + }, + { + "path": "src/types/modules/docs.ts", + "kind": "import-statement", + "original": "./modules/docs" + }, + { + "path": "src/types/modules/api-stories.ts", + "kind": "import-statement", + "original": "./modules/api-stories" + }, + { + "path": "src/types/modules/indexer.ts", + "kind": "import-statement", + "original": "./modules/indexer" + }, + { + "path": "src/types/modules/composedStory.ts", + "kind": "import-statement", + "original": "./modules/composedStory" + }, + { + "path": "src/types/modules/channelApi.ts", + "kind": "import-statement", + "original": "./modules/channelApi" + }, + { + "path": "src/types/modules/frameworks.ts", + "kind": "import-statement", + "original": "./modules/frameworks" + }, + { + "path": "src/types/modules/renderers.ts", + "kind": "import-statement", + "original": "./modules/renderers" + } + ], + "format": "esm" + }, + "../node_modules/universalify/index.js": { + "bytes": 712, + "imports": [], + "format": "cjs" + }, + "../node_modules/graceful-fs/polyfills.js": { + "bytes": 10141, + "imports": [ + { + "path": "constants", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/graceful-fs/legacy-streams.js": { + "bytes": 2655, + "imports": [ + { + "path": "stream", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/graceful-fs/clone.js": { + "bytes": 496, + "imports": [], + "format": "cjs" + }, + "../node_modules/graceful-fs/graceful-fs.js": { + "bytes": 12680, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/graceful-fs/polyfills.js", + "kind": "require-call", + "original": "./polyfills.js" + }, + { + "path": "../node_modules/graceful-fs/legacy-streams.js", + "kind": "require-call", + "original": "./legacy-streams.js" + }, + { + "path": "../node_modules/graceful-fs/clone.js", + "kind": "require-call", + "original": "./clone.js" + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/fs/index.js": { + "bytes": 3699, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/mkdirs/utils.js": { + "bytes": 1655, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/mkdirs/make-dir.js": { + "bytes": 545, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/utils.js", + "kind": "require-call", + "original": "./utils" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/mkdirs/index.js": { + "bytes": 328, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/make-dir.js", + "kind": "require-call", + "original": "./make-dir" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/path-exists/index.js": { + "bytes": 263, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/util/utimes.js": { + "bytes": 687, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/util/stat.js": { + "bytes": 5134, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/copy/copy.js": { + "bytes": 5649, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + }, + { + "path": "../node_modules/fs-extra/lib/util/utimes.js", + "kind": "require-call", + "original": "../util/utimes" + }, + { + "path": "../node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/copy/copy-sync.js": { + "bytes": 5533, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/fs-extra/lib/util/utimes.js", + "kind": "require-call", + "original": "../util/utimes" + }, + { + "path": "../node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/copy/index.js": { + "bytes": 146, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/fs-extra/lib/copy/copy.js", + "kind": "require-call", + "original": "./copy" + }, + { + "path": "../node_modules/fs-extra/lib/copy/copy-sync.js", + "kind": "require-call", + "original": "./copy-sync" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/remove/index.js": { + "bytes": 331, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/empty/index.js": { + "bytes": 747, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/fs-extra/lib/remove/index.js", + "kind": "require-call", + "original": "../remove" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/ensure/file.js": { + "bytes": 1459, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/ensure/link.js": { + "bytes": 1366, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + }, + { + "path": "../node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/ensure/symlink-paths.js": { + "bytes": 3103, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "../node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + }, + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/ensure/symlink-type.js": { + "bytes": 596, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/ensure/symlink.js": { + "bytes": 1724, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/fs-extra/lib/ensure/symlink-paths.js", + "kind": "require-call", + "original": "./symlink-paths" + }, + { + "path": "../node_modules/fs-extra/lib/ensure/symlink-type.js", + "kind": "require-call", + "original": "./symlink-type" + }, + { + "path": "../node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + }, + { + "path": "../node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/ensure/index.js": { + "bytes": 542, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/ensure/file.js", + "kind": "require-call", + "original": "./file" + }, + { + "path": "../node_modules/fs-extra/lib/ensure/link.js", + "kind": "require-call", + "original": "./link" + }, + { + "path": "../node_modules/fs-extra/lib/ensure/symlink.js", + "kind": "require-call", + "original": "./symlink" + } + ], + "format": "cjs" + }, + "../node_modules/jsonfile/utils.js": { + "bytes": 498, + "imports": [], + "format": "cjs" + }, + "../node_modules/jsonfile/index.js": { + "bytes": 1900, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/jsonfile/utils.js", + "kind": "require-call", + "original": "./utils" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/json/jsonfile.js": { + "bytes": 238, + "imports": [ + { + "path": "../node_modules/jsonfile/index.js", + "kind": "require-call", + "original": "jsonfile" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/output-file/index.js": { + "bytes": 657, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/json/output-json.js": { + "bytes": 277, + "imports": [ + { + "path": "../node_modules/jsonfile/utils.js", + "kind": "require-call", + "original": "jsonfile/utils" + }, + { + "path": "../node_modules/fs-extra/lib/output-file/index.js", + "kind": "require-call", + "original": "../output-file" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/json/output-json-sync.js": { + "bytes": 276, + "imports": [ + { + "path": "../node_modules/jsonfile/utils.js", + "kind": "require-call", + "original": "jsonfile/utils" + }, + { + "path": "../node_modules/fs-extra/lib/output-file/index.js", + "kind": "require-call", + "original": "../output-file" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/json/index.js": { + "bytes": 508, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/fs-extra/lib/json/jsonfile.js", + "kind": "require-call", + "original": "./jsonfile" + }, + { + "path": "../node_modules/fs-extra/lib/json/output-json.js", + "kind": "require-call", + "original": "./output-json" + }, + { + "path": "../node_modules/fs-extra/lib/json/output-json-sync.js", + "kind": "require-call", + "original": "./output-json-sync" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/move/move.js": { + "bytes": 1523, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/copy/index.js", + "kind": "require-call", + "original": "../copy" + }, + { + "path": "../node_modules/fs-extra/lib/remove/index.js", + "kind": "require-call", + "original": "../remove" + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + }, + { + "path": "../node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/move/move-sync.js": { + "bytes": 1515, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/copy/index.js", + "kind": "require-call", + "original": "../copy" + }, + { + "path": "../node_modules/fs-extra/lib/remove/index.js", + "kind": "require-call", + "original": "../remove" + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/move/index.js": { + "bytes": 146, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/fs-extra/lib/move/move.js", + "kind": "require-call", + "original": "./move" + }, + { + "path": "../node_modules/fs-extra/lib/move/move-sync.js", + "kind": "require-call", + "original": "./move-sync" + } + ], + "format": "cjs" + }, + "../node_modules/fs-extra/lib/index.js": { + "bytes": 358, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "./fs" + }, + { + "path": "../node_modules/fs-extra/lib/copy/index.js", + "kind": "require-call", + "original": "./copy" + }, + { + "path": "../node_modules/fs-extra/lib/empty/index.js", + "kind": "require-call", + "original": "./empty" + }, + { + "path": "../node_modules/fs-extra/lib/ensure/index.js", + "kind": "require-call", + "original": "./ensure" + }, + { + "path": "../node_modules/fs-extra/lib/json/index.js", + "kind": "require-call", + "original": "./json" + }, + { + "path": "../node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "./mkdirs" + }, + { + "path": "../node_modules/fs-extra/lib/move/index.js", + "kind": "require-call", + "original": "./move" + }, + { + "path": "../node_modules/fs-extra/lib/output-file/index.js", + "kind": "require-call", + "original": "./output-file" + }, + { + "path": "../node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "./path-exists" + }, + { + "path": "../node_modules/fs-extra/lib/remove/index.js", + "kind": "require-call", + "original": "./remove" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/utils/shallowEqual.js": { + "bytes": 350, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/utils/deprecationWarning.js": { + "bytes": 1201, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/generated/index.js": { + "bytes": 94873, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/utils/shallowEqual.js", + "kind": "require-call", + "original": "../../utils/shallowEqual.js" + }, + { + "path": "../node_modules/@babel/types/lib/utils/deprecationWarning.js", + "kind": "require-call", + "original": "../../utils/deprecationWarning.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/matchesPattern.js": { + "bytes": 1103, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "./generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js": { + "bytes": 409, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/matchesPattern.js", + "kind": "require-call", + "original": "./matchesPattern.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/react/isReactComponent.js": { + "bytes": 368, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js", + "kind": "require-call", + "original": "../buildMatchMemberExpression.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/react/isCompatTag.js": { + "bytes": 232, + "imports": [], + "format": "cjs" + }, + "../node_modules/to-fast-properties/index.js": { + "bytes": 1001, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isType.js": { + "bytes": 590, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "../definitions/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isPlaceholderType.js": { + "bytes": 509, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "../definitions/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/is.js": { + "bytes": 778, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/utils/shallowEqual.js", + "kind": "require-call", + "original": "../utils/shallowEqual.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isType.js", + "kind": "require-call", + "original": "./isType.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isPlaceholderType.js", + "kind": "require-call", + "original": "./isPlaceholderType.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "../definitions/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/helper-validator-identifier/lib/identifier.js": { + "bytes": 12224, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/helper-validator-identifier/lib/keyword.js": { + "bytes": 1577, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/helper-validator-identifier/lib/index.js": { + "bytes": 1362, + "imports": [ + { + "path": "../node_modules/@babel/helper-validator-identifier/lib/identifier.js", + "kind": "require-call", + "original": "./identifier.js" + }, + { + "path": "../node_modules/@babel/helper-validator-identifier/lib/keyword.js", + "kind": "require-call", + "original": "./keyword.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isValidIdentifier.js": { + "bytes": 584, + "imports": [ + { + "path": "../node_modules/@babel/helper-validator-identifier/lib/index.js", + "kind": "require-call", + "original": "@babel/helper-validator-identifier" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/helper-string-parser/lib/index.js": { + "bytes": 7861, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/constants/index.js": { + "bytes": 2851, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/definitions/utils.js": { + "bytes": 9019, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/is.js", + "kind": "require-call", + "original": "../validators/is.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/validate.js", + "kind": "require-call", + "original": "../validators/validate.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/definitions/core.js": { + "bytes": 55631, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/is.js", + "kind": "require-call", + "original": "../validators/is.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isValidIdentifier.js", + "kind": "require-call", + "original": "../validators/isValidIdentifier.js" + }, + { + "path": "../node_modules/@babel/helper-validator-identifier/lib/index.js", + "kind": "require-call", + "original": "@babel/helper-validator-identifier" + }, + { + "path": "../node_modules/@babel/helper-string-parser/lib/index.js", + "kind": "require-call", + "original": "@babel/helper-string-parser" + }, + { + "path": "../node_modules/@babel/types/lib/constants/index.js", + "kind": "require-call", + "original": "../constants/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/utils.js", + "kind": "require-call", + "original": "./utils.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/definitions/flow.js": { + "bytes": 16164, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/utils.js", + "kind": "require-call", + "original": "./utils.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/definitions/jsx.js": { + "bytes": 4382, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/utils.js", + "kind": "require-call", + "original": "./utils.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/definitions/placeholders.js": { + "bytes": 1042, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/utils.js", + "kind": "require-call", + "original": "./utils.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/definitions/misc.js": { + "bytes": 675, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/utils.js", + "kind": "require-call", + "original": "./utils.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/placeholders.js", + "kind": "require-call", + "original": "./placeholders.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/definitions/experimental.js": { + "bytes": 3232, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/utils.js", + "kind": "require-call", + "original": "./utils.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/definitions/typescript.js": { + "bytes": 15795, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/utils.js", + "kind": "require-call", + "original": "./utils.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/core.js", + "kind": "require-call", + "original": "./core.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/is.js", + "kind": "require-call", + "original": "../validators/is.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/definitions/deprecated-aliases.js": { + "bytes": 275, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/definitions/index.js": { + "bytes": 2761, + "imports": [ + { + "path": "../node_modules/to-fast-properties/index.js", + "kind": "require-call", + "original": "to-fast-properties" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/core.js", + "kind": "require-call", + "original": "./core.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/flow.js", + "kind": "require-call", + "original": "./flow.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/jsx.js", + "kind": "require-call", + "original": "./jsx.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/misc.js", + "kind": "require-call", + "original": "./misc.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/experimental.js", + "kind": "require-call", + "original": "./experimental.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/typescript.js", + "kind": "require-call", + "original": "./typescript.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/utils.js", + "kind": "require-call", + "original": "./utils.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/placeholders.js", + "kind": "require-call", + "original": "./placeholders.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/deprecated-aliases.js", + "kind": "require-call", + "original": "./deprecated-aliases.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/validate.js": { + "bytes": 868, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "../definitions/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/builders/validateNode.js": { + "bytes": 421, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/validate.js", + "kind": "require-call", + "original": "../validators/validate.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "../index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/builders/generated/index.js": { + "bytes": 51582, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/builders/validateNode.js", + "kind": "require-call", + "original": "../validateNode.js" + }, + { + "path": "../node_modules/@babel/types/lib/utils/deprecationWarning.js", + "kind": "require-call", + "original": "../../utils/deprecationWarning.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js": { + "bytes": 1180, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../../builders/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "../../index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/builders/react/buildChildren.js": { + "bytes": 769, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../../validators/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js", + "kind": "require-call", + "original": "../../utils/react/cleanJSXElementLiteralChild.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isNode.js": { + "bytes": 270, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "../definitions/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/asserts/assertNode.js": { + "bytes": 465, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/isNode.js", + "kind": "require-call", + "original": "../validators/isNode.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/asserts/generated/index.js": { + "bytes": 45025, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/is.js", + "kind": "require-call", + "original": "../../validators/is.js" + }, + { + "path": "../node_modules/@babel/types/lib/utils/deprecationWarning.js", + "kind": "require-call", + "original": "../../utils/deprecationWarning.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js": { + "bytes": 1058, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js": { + "bytes": 1873, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../../validators/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js": { + "bytes": 534, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js", + "kind": "require-call", + "original": "../../modifications/flow/removeTypeDuplicates.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js": { + "bytes": 1869, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../../validators/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js": { + "bytes": 729, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js", + "kind": "require-call", + "original": "../../modifications/typescript/removeTypeDuplicates.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../../validators/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/builders/generated/uppercase.js": { + "bytes": 35515, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "./index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/builders/productions.js": { + "bytes": 333, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "./generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/clone/cloneNode.js": { + "bytes": 3148, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "../definitions/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../validators/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/clone/clone.js": { + "bytes": 256, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/clone/cloneNode.js", + "kind": "require-call", + "original": "./cloneNode.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/clone/cloneDeep.js": { + "bytes": 261, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/clone/cloneNode.js", + "kind": "require-call", + "original": "./cloneNode.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js": { + "bytes": 303, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/clone/cloneNode.js", + "kind": "require-call", + "original": "./cloneNode.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/clone/cloneWithoutLoc.js": { + "bytes": 292, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/clone/cloneNode.js", + "kind": "require-call", + "original": "./cloneNode.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/comments/addComments.js": { + "bytes": 476, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/comments/addComment.js": { + "bytes": 374, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/comments/addComments.js", + "kind": "require-call", + "original": "./addComments.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/utils/inherit.js": { + "bytes": 304, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/comments/inheritInnerComments.js": { + "bytes": 323, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/utils/inherit.js", + "kind": "require-call", + "original": "../utils/inherit.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/comments/inheritLeadingComments.js": { + "bytes": 331, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/utils/inherit.js", + "kind": "require-call", + "original": "../utils/inherit.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/comments/inheritTrailingComments.js": { + "bytes": 335, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/utils/inherit.js", + "kind": "require-call", + "original": "../utils/inherit.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/comments/inheritsComments.js": { + "bytes": 595, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/comments/inheritTrailingComments.js", + "kind": "require-call", + "original": "./inheritTrailingComments.js" + }, + { + "path": "../node_modules/@babel/types/lib/comments/inheritLeadingComments.js", + "kind": "require-call", + "original": "./inheritLeadingComments.js" + }, + { + "path": "../node_modules/@babel/types/lib/comments/inheritInnerComments.js", + "kind": "require-call", + "original": "./inheritInnerComments.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/comments/removeComments.js": { + "bytes": 321, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/constants/index.js", + "kind": "require-call", + "original": "../constants/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/constants/generated/index.js": { + "bytes": 6216, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "../../definitions/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/toBlock.js": { + "bytes": 758, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../validators/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../builders/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/ensureBlock.js": { + "bytes": 333, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/converters/toBlock.js", + "kind": "require-call", + "original": "./toBlock.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/toIdentifier.js": { + "bytes": 737, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/isValidIdentifier.js", + "kind": "require-call", + "original": "../validators/isValidIdentifier.js" + }, + { + "path": "../node_modules/@babel/helper-validator-identifier/lib/index.js", + "kind": "require-call", + "original": "@babel/helper-validator-identifier" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/toBindingIdentifierName.js": { + "bytes": 393, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/converters/toIdentifier.js", + "kind": "require-call", + "original": "./toIdentifier.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/toComputedKey.js": { + "bytes": 450, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../validators/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../builders/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/toExpression.js": { + "bytes": 710, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../validators/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/traverse/traverseFast.js": { + "bytes": 622, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "../definitions/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/modifications/removeProperties.js": { + "bytes": 797, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/constants/index.js", + "kind": "require-call", + "original": "../constants/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/modifications/removePropertiesDeep.js": { + "bytes": 418, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/traverse/traverseFast.js", + "kind": "require-call", + "original": "../traverse/traverseFast.js" + }, + { + "path": "../node_modules/@babel/types/lib/modifications/removeProperties.js", + "kind": "require-call", + "original": "./removeProperties.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/toKeyAlias.js": { + "bytes": 1047, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../validators/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/clone/cloneNode.js", + "kind": "require-call", + "original": "../clone/cloneNode.js" + }, + { + "path": "../node_modules/@babel/types/lib/modifications/removePropertiesDeep.js", + "kind": "require-call", + "original": "../modifications/removePropertiesDeep.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/toStatement.js": { + "bytes": 997, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../validators/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../builders/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/valueToNode.js": { + "bytes": 2447, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/isValidIdentifier.js", + "kind": "require-call", + "original": "../validators/isValidIdentifier.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../builders/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/modifications/appendToMemberExpression.js": { + "bytes": 480, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../builders/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/modifications/inherits.js": { + "bytes": 741, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/constants/index.js", + "kind": "require-call", + "original": "../constants/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/comments/inheritsComments.js", + "kind": "require-call", + "original": "../comments/inheritsComments.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/modifications/prependToMemberExpression.js": { + "bytes": 552, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../builders/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "../index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js": { + "bytes": 2796, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../validators/generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js": { + "bytes": 419, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js", + "kind": "require-call", + "original": "./getBindingIdentifiers.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/traverse/traverse.js": { + "bytes": 1227, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "../definitions/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isBinding.js": { + "bytes": 780, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js", + "kind": "require-call", + "original": "../retrievers/getBindingIdentifiers.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isLet.js": { + "bytes": 371, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "./generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/constants/index.js", + "kind": "require-call", + "original": "../constants/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isBlockScoped.js": { + "bytes": 390, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "./generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isLet.js", + "kind": "require-call", + "original": "./isLet.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isImmutable.js": { + "bytes": 487, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/isType.js", + "kind": "require-call", + "original": "./isType.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "./generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isNodesEquivalent.js": { + "bytes": 1481, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "../definitions/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isReferenced.js": { + "bytes": 2598, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isScope.js": { + "bytes": 534, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "./generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isSpecifierDefault.js": { + "bytes": 410, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "./generated/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isValidES3Identifier.js": { + "bytes": 649, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/isValidIdentifier.js", + "kind": "require-call", + "original": "./isValidIdentifier.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/validators/isVar.js": { + "bytes": 370, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "./generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/constants/index.js", + "kind": "require-call", + "original": "../constants/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js": { + "bytes": 2373, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js", + "kind": "require-call", + "original": "../retrievers/getBindingIdentifiers.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "../validators/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "../builders/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/clone/cloneNode.js", + "kind": "require-call", + "original": "../clone/cloneNode.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/converters/toSequenceExpression.js": { + "bytes": 549, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js", + "kind": "require-call", + "original": "./gatherSequenceExpressions.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/types/lib/index.js": { + "bytes": 17033, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/validators/react/isReactComponent.js", + "kind": "require-call", + "original": "./validators/react/isReactComponent.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/react/isCompatTag.js", + "kind": "require-call", + "original": "./validators/react/isCompatTag.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/react/buildChildren.js", + "kind": "require-call", + "original": "./builders/react/buildChildren.js" + }, + { + "path": "../node_modules/@babel/types/lib/asserts/assertNode.js", + "kind": "require-call", + "original": "./asserts/assertNode.js" + }, + { + "path": "../node_modules/@babel/types/lib/asserts/generated/index.js", + "kind": "require-call", + "original": "./asserts/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js", + "kind": "require-call", + "original": "./builders/flow/createTypeAnnotationBasedOnTypeof.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js", + "kind": "require-call", + "original": "./builders/flow/createFlowUnionType.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js", + "kind": "require-call", + "original": "./builders/typescript/createTSUnionType.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/generated/index.js", + "kind": "require-call", + "original": "./builders/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/generated/uppercase.js", + "kind": "require-call", + "original": "./builders/generated/uppercase.js" + }, + { + "path": "../node_modules/@babel/types/lib/builders/productions.js", + "kind": "require-call", + "original": "./builders/productions.js" + }, + { + "path": "../node_modules/@babel/types/lib/clone/cloneNode.js", + "kind": "require-call", + "original": "./clone/cloneNode.js" + }, + { + "path": "../node_modules/@babel/types/lib/clone/clone.js", + "kind": "require-call", + "original": "./clone/clone.js" + }, + { + "path": "../node_modules/@babel/types/lib/clone/cloneDeep.js", + "kind": "require-call", + "original": "./clone/cloneDeep.js" + }, + { + "path": "../node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js", + "kind": "require-call", + "original": "./clone/cloneDeepWithoutLoc.js" + }, + { + "path": "../node_modules/@babel/types/lib/clone/cloneWithoutLoc.js", + "kind": "require-call", + "original": "./clone/cloneWithoutLoc.js" + }, + { + "path": "../node_modules/@babel/types/lib/comments/addComment.js", + "kind": "require-call", + "original": "./comments/addComment.js" + }, + { + "path": "../node_modules/@babel/types/lib/comments/addComments.js", + "kind": "require-call", + "original": "./comments/addComments.js" + }, + { + "path": "../node_modules/@babel/types/lib/comments/inheritInnerComments.js", + "kind": "require-call", + "original": "./comments/inheritInnerComments.js" + }, + { + "path": "../node_modules/@babel/types/lib/comments/inheritLeadingComments.js", + "kind": "require-call", + "original": "./comments/inheritLeadingComments.js" + }, + { + "path": "../node_modules/@babel/types/lib/comments/inheritsComments.js", + "kind": "require-call", + "original": "./comments/inheritsComments.js" + }, + { + "path": "../node_modules/@babel/types/lib/comments/inheritTrailingComments.js", + "kind": "require-call", + "original": "./comments/inheritTrailingComments.js" + }, + { + "path": "../node_modules/@babel/types/lib/comments/removeComments.js", + "kind": "require-call", + "original": "./comments/removeComments.js" + }, + { + "path": "../node_modules/@babel/types/lib/constants/generated/index.js", + "kind": "require-call", + "original": "./constants/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/constants/index.js", + "kind": "require-call", + "original": "./constants/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/converters/ensureBlock.js", + "kind": "require-call", + "original": "./converters/ensureBlock.js" + }, + { + "path": "../node_modules/@babel/types/lib/converters/toBindingIdentifierName.js", + "kind": "require-call", + "original": "./converters/toBindingIdentifierName.js" + }, + { + "path": "../node_modules/@babel/types/lib/converters/toBlock.js", + "kind": "require-call", + "original": "./converters/toBlock.js" + }, + { + "path": "../node_modules/@babel/types/lib/converters/toComputedKey.js", + "kind": "require-call", + "original": "./converters/toComputedKey.js" + }, + { + "path": "../node_modules/@babel/types/lib/converters/toExpression.js", + "kind": "require-call", + "original": "./converters/toExpression.js" + }, + { + "path": "../node_modules/@babel/types/lib/converters/toIdentifier.js", + "kind": "require-call", + "original": "./converters/toIdentifier.js" + }, + { + "path": "../node_modules/@babel/types/lib/converters/toKeyAlias.js", + "kind": "require-call", + "original": "./converters/toKeyAlias.js" + }, + { + "path": "../node_modules/@babel/types/lib/converters/toStatement.js", + "kind": "require-call", + "original": "./converters/toStatement.js" + }, + { + "path": "../node_modules/@babel/types/lib/converters/valueToNode.js", + "kind": "require-call", + "original": "./converters/valueToNode.js" + }, + { + "path": "../node_modules/@babel/types/lib/definitions/index.js", + "kind": "require-call", + "original": "./definitions/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/modifications/appendToMemberExpression.js", + "kind": "require-call", + "original": "./modifications/appendToMemberExpression.js" + }, + { + "path": "../node_modules/@babel/types/lib/modifications/inherits.js", + "kind": "require-call", + "original": "./modifications/inherits.js" + }, + { + "path": "../node_modules/@babel/types/lib/modifications/prependToMemberExpression.js", + "kind": "require-call", + "original": "./modifications/prependToMemberExpression.js" + }, + { + "path": "../node_modules/@babel/types/lib/modifications/removeProperties.js", + "kind": "require-call", + "original": "./modifications/removeProperties.js" + }, + { + "path": "../node_modules/@babel/types/lib/modifications/removePropertiesDeep.js", + "kind": "require-call", + "original": "./modifications/removePropertiesDeep.js" + }, + { + "path": "../node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js", + "kind": "require-call", + "original": "./modifications/flow/removeTypeDuplicates.js" + }, + { + "path": "../node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js", + "kind": "require-call", + "original": "./retrievers/getBindingIdentifiers.js" + }, + { + "path": "../node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js", + "kind": "require-call", + "original": "./retrievers/getOuterBindingIdentifiers.js" + }, + { + "path": "../node_modules/@babel/types/lib/traverse/traverse.js", + "kind": "require-call", + "original": "./traverse/traverse.js" + }, + { + "path": "../node_modules/@babel/types/lib/traverse/traverseFast.js", + "kind": "require-call", + "original": "./traverse/traverseFast.js" + }, + { + "path": "../node_modules/@babel/types/lib/utils/shallowEqual.js", + "kind": "require-call", + "original": "./utils/shallowEqual.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/is.js", + "kind": "require-call", + "original": "./validators/is.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isBinding.js", + "kind": "require-call", + "original": "./validators/isBinding.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isBlockScoped.js", + "kind": "require-call", + "original": "./validators/isBlockScoped.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isImmutable.js", + "kind": "require-call", + "original": "./validators/isImmutable.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isLet.js", + "kind": "require-call", + "original": "./validators/isLet.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isNode.js", + "kind": "require-call", + "original": "./validators/isNode.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isNodesEquivalent.js", + "kind": "require-call", + "original": "./validators/isNodesEquivalent.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isPlaceholderType.js", + "kind": "require-call", + "original": "./validators/isPlaceholderType.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isReferenced.js", + "kind": "require-call", + "original": "./validators/isReferenced.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isScope.js", + "kind": "require-call", + "original": "./validators/isScope.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isSpecifierDefault.js", + "kind": "require-call", + "original": "./validators/isSpecifierDefault.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isType.js", + "kind": "require-call", + "original": "./validators/isType.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isValidES3Identifier.js", + "kind": "require-call", + "original": "./validators/isValidES3Identifier.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isValidIdentifier.js", + "kind": "require-call", + "original": "./validators/isValidIdentifier.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/isVar.js", + "kind": "require-call", + "original": "./validators/isVar.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/matchesPattern.js", + "kind": "require-call", + "original": "./validators/matchesPattern.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/validate.js", + "kind": "require-call", + "original": "./validators/validate.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js", + "kind": "require-call", + "original": "./validators/buildMatchMemberExpression.js" + }, + { + "path": "../node_modules/@babel/types/lib/validators/generated/index.js", + "kind": "require-call", + "original": "./validators/generated/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/utils/deprecationWarning.js", + "kind": "require-call", + "original": "./utils/deprecationWarning.js" + }, + { + "path": "../node_modules/@babel/types/lib/converters/toSequenceExpression.js", + "kind": "require-call", + "original": "./converters/toSequenceExpression.js" + } + ], + "format": "cjs" + }, + "../node_modules/@jridgewell/set-array/dist/set-array.umd.js": { + "bytes": 2809, + "imports": [], + "format": "cjs" + }, + "../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js": { + "bytes": 6390, + "imports": [], + "format": "cjs" + }, + "../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js": { + "bytes": 10337, + "imports": [], + "format": "cjs" + }, + "../node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js": { + "bytes": 25530, + "imports": [ + { + "path": "../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js", + "kind": "require-call", + "original": "@jridgewell/sourcemap-codec" + }, + { + "path": "../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js", + "kind": "require-call", + "original": "@jridgewell/resolve-uri" + } + ], + "format": "cjs" + }, + "../node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js": { + "bytes": 10970, + "imports": [ + { + "path": "../node_modules/@jridgewell/set-array/dist/set-array.umd.js", + "kind": "require-call", + "original": "@jridgewell/set-array" + }, + { + "path": "../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js", + "kind": "require-call", + "original": "@jridgewell/sourcemap-codec" + }, + { + "path": "../node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js", + "kind": "require-call", + "original": "@jridgewell/trace-mapping" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/source-map.js": { + "bytes": 3055, + "imports": [ + { + "path": "../node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js", + "kind": "require-call", + "original": "@jridgewell/gen-mapping" + }, + { + "path": "../node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js", + "kind": "require-call", + "original": "@jridgewell/trace-mapping" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/buffer.js": { + "bytes": 8846, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/node/whitespace.js": { + "bytes": 4844, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/node/parentheses.js": { + "bytes": 10848, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/node/index.js": { + "bytes": 2292, + "imports": [ + { + "path": "../node_modules/@babel/generator/lib/node/whitespace.js", + "kind": "require-call", + "original": "./whitespace.js" + }, + { + "path": "../node_modules/@babel/generator/lib/node/parentheses.js", + "kind": "require-call", + "original": "./parentheses.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/template-literals.js": { + "bytes": 913, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/expressions.js": { + "bytes": 8195, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/generator/lib/node/index.js", + "kind": "require-call", + "original": "../node/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/statements.js": { + "bytes": 6712, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/classes.js": { + "bytes": 4613, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/methods.js": { + "bytes": 5119, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/modules.js": { + "bytes": 7924, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/jsesc/jsesc.js": { + "bytes": 8401, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/types.js": { + "bytes": 6374, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/jsesc/jsesc.js", + "kind": "require-call", + "original": "jsesc" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/flow.js": { + "bytes": 16949, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/modules.js", + "kind": "require-call", + "original": "./modules.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/types.js", + "kind": "require-call", + "original": "./types.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/base.js": { + "bytes": 2759, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/jsx.js": { + "bytes": 3044, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/typescript.js": { + "bytes": 16849, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/generators/index.js": { + "bytes": 3858, + "imports": [ + { + "path": "../node_modules/@babel/generator/lib/generators/template-literals.js", + "kind": "require-call", + "original": "./template-literals.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/expressions.js", + "kind": "require-call", + "original": "./expressions.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/statements.js", + "kind": "require-call", + "original": "./statements.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/classes.js", + "kind": "require-call", + "original": "./classes.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/methods.js", + "kind": "require-call", + "original": "./methods.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/modules.js", + "kind": "require-call", + "original": "./modules.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/types.js", + "kind": "require-call", + "original": "./types.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/flow.js", + "kind": "require-call", + "original": "./flow.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/base.js", + "kind": "require-call", + "original": "./base.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/jsx.js", + "kind": "require-call", + "original": "./jsx.js" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/typescript.js", + "kind": "require-call", + "original": "./typescript.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/printer.js": { + "bytes": 22134, + "imports": [ + { + "path": "../node_modules/@babel/generator/lib/buffer.js", + "kind": "require-call", + "original": "./buffer.js" + }, + { + "path": "../node_modules/@babel/generator/lib/node/index.js", + "kind": "require-call", + "original": "./node/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/generator/lib/generators/index.js", + "kind": "require-call", + "original": "./generators/index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/generator/lib/index.js": { + "bytes": 3024, + "imports": [ + { + "path": "../node_modules/@babel/generator/lib/source-map.js", + "kind": "require-call", + "original": "./source-map.js" + }, + { + "path": "../node_modules/@babel/generator/lib/printer.js", + "kind": "require-call", + "original": "./printer.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/lib/virtual-types.js": { + "bytes": 1724, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js": { + "bytes": 4219, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/visitors.js": { + "bytes": 6838, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/path/lib/virtual-types.js", + "kind": "require-call", + "original": "./path/lib/virtual-types.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js", + "kind": "require-call", + "original": "./path/lib/virtual-types-validator.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/cache.js": { + "bytes": 1247, + "imports": [], + "format": "cjs" + }, + "../node_modules/debug/node_modules/ms/index.js": { + "bytes": 3023, + "imports": [], + "format": "cjs" + }, + "../node_modules/debug/src/common.js": { + "bytes": 6289, + "imports": [ + { + "path": "../node_modules/debug/node_modules/ms/index.js", + "kind": "require-call", + "original": "ms" + } + ], + "format": "cjs" + }, + "../node_modules/debug/src/browser.js": { + "bytes": 6010, + "imports": [ + { + "path": "../node_modules/debug/src/common.js", + "kind": "require-call", + "original": "./common" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/helper-split-export-declaration/lib/index.js": { + "bytes": 2518, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/helper-environment-visitor/lib/index.js": { + "bytes": 1109, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/scope/lib/renamer.js": { + "bytes": 3396, + "imports": [ + { + "path": "../node_modules/@babel/helper-split-export-declaration/lib/index.js", + "kind": "require-call", + "original": "@babel/helper-split-export-declaration" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/helper-environment-visitor/lib/index.js", + "kind": "require-call", + "original": "@babel/helper-environment-visitor" + }, + { + "path": "../node_modules/@babel/traverse/lib/traverse-node.js", + "kind": "require-call", + "original": "../../traverse-node.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/visitors.js", + "kind": "require-call", + "original": "../../visitors.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/scope/binding.js": { + "bytes": 1827, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/traverse/node_modules/globals/globals.json": { + "bytes": 36545, + "imports": [] + }, + "../node_modules/@babel/traverse/node_modules/globals/index.js": { + "bytes": 58, + "imports": [ + { + "path": "../node_modules/@babel/traverse/node_modules/globals/globals.json", + "kind": "require-call", + "original": "./globals.json" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/scope/index.js": { + "bytes": 28010, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/scope/lib/renamer.js", + "kind": "require-call", + "original": "./lib/renamer.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/index.js", + "kind": "require-call", + "original": "../index.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/scope/binding.js", + "kind": "require-call", + "original": "./binding.js" + }, + { + "path": "../node_modules/@babel/traverse/node_modules/globals/index.js", + "kind": "require-call", + "original": "globals" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/traverse/lib/cache.js", + "kind": "require-call", + "original": "../cache.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/visitors.js", + "kind": "require-call", + "original": "../visitors.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/ancestry.js": { + "bytes": 3657, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/inference/util.js": { + "bytes": 657, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/inference/inferer-reference.js": { + "bytes": 4587, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/inference/util.js", + "kind": "require-call", + "original": "./util.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/inference/inferers.js": { + "bytes": 6656, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/inference/inferer-reference.js", + "kind": "require-call", + "original": "./inferer-reference.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/inference/util.js", + "kind": "require-call", + "original": "./util.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/inference/index.js": { + "bytes": 4266, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/path/inference/inferers.js", + "kind": "require-call", + "original": "./inferers.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/js-tokens/index.js": { + "bytes": 1448, + "imports": [], + "format": "cjs" + }, + "../node_modules/picocolors/picocolors.browser.js": { + "bytes": 360, + "imports": [], + "format": "cjs" + }, + "../node_modules/escape-string-regexp/index.js": { + "bytes": 226, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/highlight/node_modules/color-name/index.js": { + "bytes": 4617, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/highlight/node_modules/color-convert/conversions.js": { + "bytes": 16850, + "imports": [ + { + "path": "../node_modules/@babel/highlight/node_modules/color-name/index.js", + "kind": "require-call", + "original": "color-name" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/highlight/node_modules/color-convert/route.js": { + "bytes": 2227, + "imports": [ + { + "path": "../node_modules/@babel/highlight/node_modules/color-convert/conversions.js", + "kind": "require-call", + "original": "./conversions" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/highlight/node_modules/color-convert/index.js": { + "bytes": 1725, + "imports": [ + { + "path": "../node_modules/@babel/highlight/node_modules/color-convert/conversions.js", + "kind": "require-call", + "original": "./conversions" + }, + { + "path": "../node_modules/@babel/highlight/node_modules/color-convert/route.js", + "kind": "require-call", + "original": "./route" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/highlight/node_modules/ansi-styles/index.js": { + "bytes": 3574, + "imports": [ + { + "path": "../node_modules/@babel/highlight/node_modules/color-convert/index.js", + "kind": "require-call", + "original": "color-convert" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/highlight/node_modules/supports-color/browser.js": { + "bytes": 67, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/highlight/node_modules/chalk/templates.js": { + "bytes": 3133, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/highlight/node_modules/chalk/index.js": { + "bytes": 6439, + "imports": [ + { + "path": "../node_modules/escape-string-regexp/index.js", + "kind": "require-call", + "original": "escape-string-regexp" + }, + { + "path": "../node_modules/@babel/highlight/node_modules/ansi-styles/index.js", + "kind": "require-call", + "original": "ansi-styles" + }, + { + "path": "../node_modules/@babel/highlight/node_modules/supports-color/browser.js", + "kind": "require-call", + "original": "supports-color" + }, + { + "path": "../node_modules/@babel/highlight/node_modules/chalk/templates.js", + "kind": "require-call", + "original": "./templates.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/highlight/lib/index.js": { + "bytes": 4439, + "imports": [ + { + "path": "../node_modules/js-tokens/index.js", + "kind": "require-call", + "original": "js-tokens" + }, + { + "path": "../node_modules/@babel/helper-validator-identifier/lib/index.js", + "kind": "require-call", + "original": "@babel/helper-validator-identifier" + }, + { + "path": "../node_modules/picocolors/picocolors.browser.js", + "kind": "require-call", + "original": "picocolors" + }, + { + "path": "../node_modules/@babel/highlight/node_modules/chalk/index.js", + "kind": "require-call", + "original": "chalk" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/code-frame/lib/index.js": { + "bytes": 6149, + "imports": [ + { + "path": "../node_modules/@babel/highlight/lib/index.js", + "kind": "require-call", + "original": "@babel/highlight" + }, + { + "path": "../node_modules/picocolors/picocolors.browser.js", + "kind": "require-call", + "original": "picocolors" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/parser/lib/index.js": { + "bytes": 484778, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/helper-hoist-variables/lib/index.js": { + "bytes": 1221, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/replacement.js": { + "bytes": 9125, + "imports": [ + { + "path": "../node_modules/@babel/code-frame/lib/index.js", + "kind": "require-call", + "original": "@babel/code-frame" + }, + { + "path": "../node_modules/@babel/traverse/lib/index.js", + "kind": "require-call", + "original": "../index.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/index.js", + "kind": "require-call", + "original": "./index.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/cache.js", + "kind": "require-call", + "original": "../cache.js" + }, + { + "path": "../node_modules/@babel/parser/lib/index.js", + "kind": "require-call", + "original": "@babel/parser" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/helper-hoist-variables/lib/index.js", + "kind": "require-call", + "original": "@babel/helper-hoist-variables" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/evaluation.js": { + "bytes": 10078, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/template/lib/formatters.js": { + "bytes": 1562, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/template/lib/options.js": { + "bytes": 3098, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/template/lib/parse.js": { + "bytes": 4484, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/parser/lib/index.js", + "kind": "require-call", + "original": "@babel/parser" + }, + { + "path": "../node_modules/@babel/code-frame/lib/index.js", + "kind": "require-call", + "original": "@babel/code-frame" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/template/lib/populate.js": { + "bytes": 3926, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/template/lib/string.js": { + "bytes": 607, + "imports": [ + { + "path": "../node_modules/@babel/template/lib/options.js", + "kind": "require-call", + "original": "./options.js" + }, + { + "path": "../node_modules/@babel/template/lib/parse.js", + "kind": "require-call", + "original": "./parse.js" + }, + { + "path": "../node_modules/@babel/template/lib/populate.js", + "kind": "require-call", + "original": "./populate.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/template/lib/literal.js": { + "bytes": 1957, + "imports": [ + { + "path": "../node_modules/@babel/template/lib/options.js", + "kind": "require-call", + "original": "./options.js" + }, + { + "path": "../node_modules/@babel/template/lib/parse.js", + "kind": "require-call", + "original": "./parse.js" + }, + { + "path": "../node_modules/@babel/template/lib/populate.js", + "kind": "require-call", + "original": "./populate.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/template/lib/builder.js": { + "bytes": 2467, + "imports": [ + { + "path": "../node_modules/@babel/template/lib/options.js", + "kind": "require-call", + "original": "./options.js" + }, + { + "path": "../node_modules/@babel/template/lib/string.js", + "kind": "require-call", + "original": "./string.js" + }, + { + "path": "../node_modules/@babel/template/lib/literal.js", + "kind": "require-call", + "original": "./literal.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/template/lib/index.js": { + "bytes": 879, + "imports": [ + { + "path": "../node_modules/@babel/template/lib/formatters.js", + "kind": "require-call", + "original": "./formatters.js" + }, + { + "path": "../node_modules/@babel/template/lib/builder.js", + "kind": "require-call", + "original": "./builder.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/helper-function-name/lib/index.js": { + "bytes": 4549, + "imports": [ + { + "path": "../node_modules/@babel/template/lib/index.js", + "kind": "require-call", + "original": "@babel/template" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/conversion.js": { + "bytes": 16856, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/helper-environment-visitor/lib/index.js", + "kind": "require-call", + "original": "@babel/helper-environment-visitor" + }, + { + "path": "../node_modules/@babel/helper-function-name/lib/index.js", + "kind": "require-call", + "original": "@babel/helper-function-name" + }, + { + "path": "../node_modules/@babel/traverse/lib/visitors.js", + "kind": "require-call", + "original": "../visitors.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/introspection.js": { + "bytes": 12804, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/context.js": { + "bytes": 6274, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/traverse-node.js", + "kind": "require-call", + "original": "../traverse-node.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/index.js", + "kind": "require-call", + "original": "./index.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/lib/removal-hooks.js": { + "bytes": 1318, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/removal.js": { + "bytes": 1757, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/path/lib/removal-hooks.js", + "kind": "require-call", + "original": "./lib/removal-hooks.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/cache.js", + "kind": "require-call", + "original": "../cache.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/index.js", + "kind": "require-call", + "original": "./index.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/lib/hoister.js": { + "bytes": 5396, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/modification.js": { + "bytes": 7811, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/cache.js", + "kind": "require-call", + "original": "../cache.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/lib/hoister.js", + "kind": "require-call", + "original": "./lib/hoister.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/index.js", + "kind": "require-call", + "original": "./index.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/family.js": { + "bytes": 10136, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/path/index.js", + "kind": "require-call", + "original": "./index.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/comments.js": { + "bytes": 1558, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/path/index.js": { + "bytes": 5413, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/path/lib/virtual-types.js", + "kind": "require-call", + "original": "./lib/virtual-types.js" + }, + { + "path": "../node_modules/debug/src/browser.js", + "kind": "require-call", + "original": "debug" + }, + { + "path": "../node_modules/@babel/traverse/lib/index.js", + "kind": "require-call", + "original": "../index.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/scope/index.js", + "kind": "require-call", + "original": "../scope/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/traverse/lib/cache.js", + "kind": "require-call", + "original": "../cache.js" + }, + { + "path": "../node_modules/@babel/generator/lib/index.js", + "kind": "require-call", + "original": "@babel/generator" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/ancestry.js", + "kind": "require-call", + "original": "./ancestry.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/inference/index.js", + "kind": "require-call", + "original": "./inference/index.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/replacement.js", + "kind": "require-call", + "original": "./replacement.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/evaluation.js", + "kind": "require-call", + "original": "./evaluation.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/conversion.js", + "kind": "require-call", + "original": "./conversion.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/introspection.js", + "kind": "require-call", + "original": "./introspection.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/context.js", + "kind": "require-call", + "original": "./context.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/removal.js", + "kind": "require-call", + "original": "./removal.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/modification.js", + "kind": "require-call", + "original": "./modification.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/family.js", + "kind": "require-call", + "original": "./family.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/comments.js", + "kind": "require-call", + "original": "./comments.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js", + "kind": "require-call", + "original": "./lib/virtual-types-validator.js" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/context.js": { + "bytes": 2947, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/path/index.js", + "kind": "require-call", + "original": "./path/index.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/traverse-node.js": { + "bytes": 769, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/context.js", + "kind": "require-call", + "original": "./context.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + } + ], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/hub.js": { + "bytes": 373, + "imports": [], + "format": "cjs" + }, + "../node_modules/@babel/traverse/lib/index.js": { + "bytes": 2681, + "imports": [ + { + "path": "../node_modules/@babel/traverse/lib/visitors.js", + "kind": "require-call", + "original": "./visitors.js" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "require-call", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/traverse/lib/cache.js", + "kind": "require-call", + "original": "./cache.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/traverse-node.js", + "kind": "require-call", + "original": "./traverse-node.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/path/index.js", + "kind": "require-call", + "original": "./path/index.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/scope/index.js", + "kind": "require-call", + "original": "./scope/index.js" + }, + { + "path": "../node_modules/@babel/traverse/lib/hub.js", + "kind": "require-call", + "original": "./hub.js" + } + ], + "format": "cjs" + }, + "../node_modules/tslib/tslib.es6.mjs": { + "bytes": 16249, + "imports": [], + "format": "esm" + }, + "../node_modules/recast/node_modules/ast-types/lib/shared.js": { + "bytes": 4170, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "./types" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/types.js": { + "bytes": 32172, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "./shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/path.js": { + "bytes": 11788, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "./shared" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "./types" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/scope.js": { + "bytes": 14551, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "./shared" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "./types" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/node-path.js": { + "bytes": 15601, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "./types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/path.js", + "kind": "require-call", + "original": "./path" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/scope.js", + "kind": "require-call", + "original": "./scope" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "./shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/path-visitor.js": { + "bytes": 13721, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "./types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/node-path.js", + "kind": "require-call", + "original": "./node-path" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "./shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/equiv.js": { + "bytes": 5262, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "./shared" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "./types" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/fork.js": { + "bytes": 1900, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "./types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/path-visitor.js", + "kind": "require-call", + "original": "./path-visitor" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/equiv.js", + "kind": "require-call", + "original": "./equiv" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/path.js", + "kind": "require-call", + "original": "./path" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/node-path.js", + "kind": "require-call", + "original": "./node-path" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "./shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/operators/core.js": { + "bytes": 757, + "imports": [ + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2016.js": { + "bytes": 842, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../../shared" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/operators/core.js", + "kind": "require-call", + "original": "./core" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2020.js": { + "bytes": 666, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../../shared" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2016.js", + "kind": "require-call", + "original": "./es2016" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2021.js": { + "bytes": 798, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../../shared" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2020.js", + "kind": "require-call", + "original": "./es2020" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/core.js": { + "bytes": 11609, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/operators/core.js", + "kind": "require-call", + "original": "./operators/core" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es6.js": { + "bytes": 10714, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/core.js", + "kind": "require-call", + "original": "./core" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2016.js": { + "bytes": 702, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2016.js", + "kind": "require-call", + "original": "./operators/es2016" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es6.js", + "kind": "require-call", + "original": "./es6" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2017.js": { + "bytes": 816, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es2016.js", + "kind": "require-call", + "original": "./es2016" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2018.js": { + "bytes": 1396, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es2017.js", + "kind": "require-call", + "original": "./es2017" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2019.js": { + "bytes": 733, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es2018.js", + "kind": "require-call", + "original": "./es2018" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2020.js": { + "bytes": 2108, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2020.js", + "kind": "require-call", + "original": "./operators/es2020" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es2019.js", + "kind": "require-call", + "original": "./es2019" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2021.js": { + "bytes": 638, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2021.js", + "kind": "require-call", + "original": "./operators/es2021" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es2020.js", + "kind": "require-call", + "original": "./es2020" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2022.js": { + "bytes": 653, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es2021.js", + "kind": "require-call", + "original": "./es2021" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es-proposals.js": { + "bytes": 2696, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es2022.js", + "kind": "require-call", + "original": "./es2022" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/jsx.js": { + "bytes": 4595, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es-proposals.js", + "kind": "require-call", + "original": "./es-proposals" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/type-annotations.js": { + "bytes": 1968, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/flow.js": { + "bytes": 14142, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es-proposals.js", + "kind": "require-call", + "original": "./es-proposals" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/type-annotations.js", + "kind": "require-call", + "original": "./type-annotations" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/esprima.js": { + "bytes": 2167, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es-proposals.js", + "kind": "require-call", + "original": "./es-proposals" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/babel-core.js": { + "bytes": 10008, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es-proposals.js", + "kind": "require-call", + "original": "./es-proposals" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/babel.js": { + "bytes": 969, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/babel-core.js", + "kind": "require-call", + "original": "./babel-core" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/flow.js", + "kind": "require-call", + "original": "./flow" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/def/typescript.js": { + "bytes": 16542, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/babel-core.js", + "kind": "require-call", + "original": "./babel-core" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/type-annotations.js", + "kind": "require-call", + "original": "./type-annotations" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/types.js", + "kind": "require-call", + "original": "../types" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/shared.js", + "kind": "require-call", + "original": "../shared" + } + ], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/gen/namedTypes.js": { + "bytes": 251, + "imports": [], + "format": "cjs" + }, + "../node_modules/recast/node_modules/ast-types/lib/main.js": { + "bytes": 2669, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/fork.js", + "kind": "require-call", + "original": "./fork" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/es-proposals.js", + "kind": "require-call", + "original": "./def/es-proposals" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/jsx.js", + "kind": "require-call", + "original": "./def/jsx" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/flow.js", + "kind": "require-call", + "original": "./def/flow" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/esprima.js", + "kind": "require-call", + "original": "./def/esprima" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/babel.js", + "kind": "require-call", + "original": "./def/babel" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/def/typescript.js", + "kind": "require-call", + "original": "./def/typescript" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/gen/namedTypes.js", + "kind": "require-call", + "original": "./gen/namedTypes" + } + ], + "format": "cjs" + }, + "../node_modules/source-map/lib/base64.js": { + "bytes": 1540, + "imports": [], + "format": "cjs" + }, + "../node_modules/source-map/lib/base64-vlq.js": { + "bytes": 4714, + "imports": [ + { + "path": "../node_modules/source-map/lib/base64.js", + "kind": "require-call", + "original": "./base64" + } + ], + "format": "cjs" + }, + "../node_modules/source-map/lib/util.js": { + "bytes": 12950, + "imports": [], + "format": "cjs" + }, + "../node_modules/source-map/lib/array-set.js": { + "bytes": 3197, + "imports": [ + { + "path": "../node_modules/source-map/lib/util.js", + "kind": "require-call", + "original": "./util" + } + ], + "format": "cjs" + }, + "../node_modules/source-map/lib/mapping-list.js": { + "bytes": 2339, + "imports": [ + { + "path": "../node_modules/source-map/lib/util.js", + "kind": "require-call", + "original": "./util" + } + ], + "format": "cjs" + }, + "../node_modules/source-map/lib/source-map-generator.js": { + "bytes": 14356, + "imports": [ + { + "path": "../node_modules/source-map/lib/base64-vlq.js", + "kind": "require-call", + "original": "./base64-vlq" + }, + { + "path": "../node_modules/source-map/lib/util.js", + "kind": "require-call", + "original": "./util" + }, + { + "path": "../node_modules/source-map/lib/array-set.js", + "kind": "require-call", + "original": "./array-set" + }, + { + "path": "../node_modules/source-map/lib/mapping-list.js", + "kind": "require-call", + "original": "./mapping-list" + } + ], + "format": "cjs" + }, + "../node_modules/source-map/lib/binary-search.js": { + "bytes": 4249, + "imports": [], + "format": "cjs" + }, + "../node_modules/source-map/lib/quick-sort.js": { + "bytes": 3616, + "imports": [], + "format": "cjs" + }, + "../node_modules/source-map/lib/source-map-consumer.js": { + "bytes": 40562, + "imports": [ + { + "path": "../node_modules/source-map/lib/util.js", + "kind": "require-call", + "original": "./util" + }, + { + "path": "../node_modules/source-map/lib/binary-search.js", + "kind": "require-call", + "original": "./binary-search" + }, + { + "path": "../node_modules/source-map/lib/array-set.js", + "kind": "require-call", + "original": "./array-set" + }, + { + "path": "../node_modules/source-map/lib/base64-vlq.js", + "kind": "require-call", + "original": "./base64-vlq" + }, + { + "path": "../node_modules/source-map/lib/quick-sort.js", + "kind": "require-call", + "original": "./quick-sort" + } + ], + "format": "cjs" + }, + "../node_modules/source-map/lib/source-node.js": { + "bytes": 13808, + "imports": [ + { + "path": "../node_modules/source-map/lib/source-map-generator.js", + "kind": "require-call", + "original": "./source-map-generator" + }, + { + "path": "../node_modules/source-map/lib/util.js", + "kind": "require-call", + "original": "./util" + } + ], + "format": "cjs" + }, + "../node_modules/source-map/source-map.js": { + "bytes": 405, + "imports": [ + { + "path": "../node_modules/source-map/lib/source-map-generator.js", + "kind": "require-call", + "original": "./lib/source-map-generator" + }, + { + "path": "../node_modules/source-map/lib/source-map-consumer.js", + "kind": "require-call", + "original": "./lib/source-map-consumer" + }, + { + "path": "../node_modules/source-map/lib/source-node.js", + "kind": "require-call", + "original": "./lib/source-node" + } + ], + "format": "cjs" + }, + "../node_modules/recast/lib/util.js": { + "bytes": 12885, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "require-call", + "original": "tiny-invariant" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/main.js", + "kind": "require-call", + "original": "ast-types" + }, + { + "path": "../node_modules/source-map/source-map.js", + "kind": "require-call", + "original": "source-map" + }, + { + "path": "os", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/esprima/dist/esprima.js": { + "bytes": 283567, + "imports": [], + "format": "cjs" + }, + "../node_modules/recast/parsers/esprima.js": { + "bytes": 987, + "imports": [ + { + "path": "../node_modules/recast/lib/util.js", + "kind": "require-call", + "original": "../lib/util" + }, + { + "path": "../node_modules/esprima/dist/esprima.js", + "kind": "require-call", + "original": "esprima" + } + ], + "format": "cjs" + }, + "../node_modules/recast/lib/options.js": { + "bytes": 1791, + "imports": [ + { + "path": "../node_modules/recast/lib/util.js", + "kind": "require-call", + "original": "./util" + }, + { + "path": "../node_modules/recast/parsers/esprima.js", + "kind": "require-call", + "original": "../parsers/esprima" + } + ], + "format": "cjs" + }, + "../node_modules/recast/lib/mapping.js": { + "bytes": 7933, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "require-call", + "original": "tiny-invariant" + }, + { + "path": "../node_modules/recast/lib/util.js", + "kind": "require-call", + "original": "./util" + } + ], + "format": "cjs" + }, + "../node_modules/recast/lib/lines.js": { + "bytes": 25554, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "require-call", + "original": "tiny-invariant" + }, + { + "path": "../node_modules/source-map/source-map.js", + "kind": "require-call", + "original": "source-map" + }, + { + "path": "../node_modules/recast/lib/options.js", + "kind": "require-call", + "original": "./options" + }, + { + "path": "../node_modules/recast/lib/util.js", + "kind": "require-call", + "original": "./util" + }, + { + "path": "../node_modules/recast/lib/mapping.js", + "kind": "require-call", + "original": "./mapping" + } + ], + "format": "cjs" + }, + "../node_modules/recast/lib/comments.js": { + "bytes": 12253, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "require-call", + "original": "tiny-invariant" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/main.js", + "kind": "require-call", + "original": "ast-types" + }, + { + "path": "../node_modules/recast/lib/lines.js", + "kind": "require-call", + "original": "./lines" + }, + { + "path": "../node_modules/recast/lib/util.js", + "kind": "require-call", + "original": "./util" + } + ], + "format": "cjs" + }, + "../node_modules/recast/lib/parser.js": { + "bytes": 9546, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "require-call", + "original": "tiny-invariant" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/main.js", + "kind": "require-call", + "original": "ast-types" + }, + { + "path": "../node_modules/recast/lib/options.js", + "kind": "require-call", + "original": "./options" + }, + { + "path": "../node_modules/recast/lib/lines.js", + "kind": "require-call", + "original": "./lines" + }, + { + "path": "../node_modules/recast/lib/comments.js", + "kind": "require-call", + "original": "./comments" + }, + { + "path": "../node_modules/recast/lib/util.js", + "kind": "require-call", + "original": "./util" + }, + { + "path": "../node_modules/esprima/dist/esprima.js", + "kind": "require-call", + "original": "esprima" + } + ], + "format": "cjs" + }, + "../node_modules/recast/lib/fast-path.js": { + "bytes": 19697, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "require-call", + "original": "tiny-invariant" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/main.js", + "kind": "require-call", + "original": "ast-types" + }, + { + "path": "../node_modules/recast/lib/util.js", + "kind": "require-call", + "original": "./util" + } + ], + "format": "cjs" + }, + "../node_modules/recast/lib/patcher.js": { + "bytes": 16121, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "require-call", + "original": "tiny-invariant" + }, + { + "path": "../node_modules/recast/lib/lines.js", + "kind": "require-call", + "original": "./lines" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/main.js", + "kind": "require-call", + "original": "ast-types" + }, + { + "path": "../node_modules/recast/lib/util.js", + "kind": "require-call", + "original": "./util" + }, + { + "path": "../node_modules/recast/lib/fast-path.js", + "kind": "require-call", + "original": "./fast-path" + } + ], + "format": "cjs" + }, + "../node_modules/recast/lib/printer.js": { + "bytes": 97288, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "require-call", + "original": "tiny-invariant" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/main.js", + "kind": "require-call", + "original": "ast-types" + }, + { + "path": "../node_modules/recast/lib/comments.js", + "kind": "require-call", + "original": "./comments" + }, + { + "path": "../node_modules/recast/lib/fast-path.js", + "kind": "require-call", + "original": "./fast-path" + }, + { + "path": "../node_modules/recast/lib/lines.js", + "kind": "require-call", + "original": "./lines" + }, + { + "path": "../node_modules/recast/lib/options.js", + "kind": "require-call", + "original": "./options" + }, + { + "path": "../node_modules/recast/lib/patcher.js", + "kind": "require-call", + "original": "./patcher" + }, + { + "path": "../node_modules/recast/lib/util.js", + "kind": "require-call", + "original": "./util" + } + ], + "format": "cjs" + }, + "../node_modules/recast/main.js": { + "bytes": 2190, + "imports": [ + { + "path": "../node_modules/tslib/tslib.es6.mjs", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/main.js", + "kind": "require-call", + "original": "ast-types" + }, + { + "path": "../node_modules/recast/lib/parser.js", + "kind": "require-call", + "original": "./lib/parser" + }, + { + "path": "../node_modules/recast/lib/printer.js", + "kind": "require-call", + "original": "./lib/printer" + }, + { + "path": "../node_modules/recast/node_modules/ast-types/lib/main.js", + "kind": "require-call", + "original": "ast-types" + } + ], + "format": "cjs" + }, + "../node_modules/@storybook/csf/dist/index.mjs": { + "bytes": 3618, + "imports": [], + "format": "esm" + }, + "src/csf-tools/babelParse.ts": { + "bytes": 1545, + "imports": [ + { + "path": "../node_modules/@babel/parser/lib/index.js", + "kind": "import-statement", + "original": "@babel/parser" + }, + { + "path": "../node_modules/recast/main.js", + "kind": "import-statement", + "original": "recast" + } + ], + "format": "esm" + }, + "src/csf-tools/findVarInitialization.ts": { + "bytes": 869, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "import-statement", + "original": "@babel/types" + } + ], + "format": "esm" + }, + "src/csf-tools/CsfFile.ts": { + "bytes": 21405, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/index.js", + "kind": "import-statement", + "original": "fs-extra" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "import-statement", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/generator/lib/index.js", + "kind": "import-statement", + "original": "@babel/generator" + }, + { + "path": "../node_modules/@babel/traverse/lib/index.js", + "kind": "import-statement", + "original": "@babel/traverse" + }, + { + "path": "../node_modules/recast/main.js", + "kind": "import-statement", + "original": "recast" + }, + { + "path": "../node_modules/@storybook/csf/dist/index.mjs", + "kind": "import-statement", + "original": "@storybook/csf" + }, + { + "path": "src/csf-tools/babelParse.ts", + "kind": "import-statement", + "original": "./babelParse" + }, + { + "path": "src/csf-tools/findVarInitialization.ts", + "kind": "import-statement", + "original": "./findVarInitialization" + } + ], + "format": "esm" + }, + "src/csf-tools/ConfigFile.ts": { + "bytes": 28879, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/index.js", + "kind": "import-statement", + "original": "fs-extra" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "import-statement", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/generator/lib/index.js", + "kind": "import-statement", + "original": "@babel/generator" + }, + { + "path": "../node_modules/@babel/traverse/lib/index.js", + "kind": "import-statement", + "original": "@babel/traverse" + }, + { + "path": "../node_modules/recast/main.js", + "kind": "import-statement", + "original": "recast" + }, + { + "path": "src/csf-tools/babelParse.ts", + "kind": "import-statement", + "original": "./babelParse" + } + ], + "format": "esm" + }, + "src/csf-tools/getStorySortParameter.ts": { + "bytes": 5214, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "import-statement", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/traverse/lib/index.js", + "kind": "import-statement", + "original": "@babel/traverse" + }, + { + "path": "../node_modules/@babel/generator/lib/index.js", + "kind": "import-statement", + "original": "@babel/generator" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "src/csf-tools/babelParse.ts", + "kind": "import-statement", + "original": "./babelParse" + }, + { + "path": "src/csf-tools/findVarInitialization.ts", + "kind": "import-statement", + "original": "./findVarInitialization" + } + ], + "format": "esm" + }, + "src/csf-tools/enrichCsf.ts": { + "bytes": 5041, + "imports": [ + { + "path": "../node_modules/@babel/types/lib/index.js", + "kind": "import-statement", + "original": "@babel/types" + }, + { + "path": "../node_modules/@babel/generator/lib/index.js", + "kind": "import-statement", + "original": "@babel/generator" + } + ], + "format": "esm" + }, + "src/csf-tools/index.ts": { + "bytes": 157, + "imports": [ + { + "path": "src/csf-tools/CsfFile.ts", + "kind": "import-statement", + "original": "./CsfFile" + }, + { + "path": "src/csf-tools/ConfigFile.ts", + "kind": "import-statement", + "original": "./ConfigFile" + }, + { + "path": "src/csf-tools/getStorySortParameter.ts", + "kind": "import-statement", + "original": "./getStorySortParameter" + }, + { + "path": "src/csf-tools/enrichCsf.ts", + "kind": "import-statement", + "original": "./enrichCsf" + }, + { + "path": "src/csf-tools/babelParse.ts", + "kind": "import-statement", + "original": "./babelParse" + } + ], + "format": "esm" + }, + "src/common/utils/interpret-files.ts": { + "bytes": 699, + "imports": [ + { + "path": "fs", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/common/utils/interpret-require.ts": { + "bytes": 1781, + "imports": [ + { + "path": "src/common/utils/interpret-files.ts", + "kind": "import-statement", + "original": "./interpret-files" + }, + { + "path": "module", + "kind": "require-call", + "external": true + }, + { + "path": "esbuild-register/dist/node", + "kind": "require-call", + "external": true + } + ], + "format": "esm" + }, + "../node_modules/balanced-match/index.js": { + "bytes": 1219, + "imports": [], + "format": "cjs" + }, + "../node_modules/brace-expansion/index.js": { + "bytes": 4992, + "imports": [ + { + "path": "../node_modules/balanced-match/index.js", + "kind": "require-call", + "original": "balanced-match" + } + ], + "format": "cjs" + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js": { + "bytes": 336, + "imports": [], + "format": "esm" + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js": { + "bytes": 5631, + "imports": [], + "format": "esm" + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js": { + "bytes": 847, + "imports": [], + "format": "esm" + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/ast.js": { + "bytes": 22532, + "imports": [ + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js", + "kind": "import-statement", + "original": "./brace-expressions.js" + }, + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js", + "kind": "import-statement", + "original": "./unescape.js" + } + ], + "format": "esm" + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/escape.js": { + "bytes": 848, + "imports": [], + "format": "esm" + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/index.js": { + "bytes": 38881, + "imports": [ + { + "path": "../node_modules/brace-expansion/index.js", + "kind": "import-statement", + "original": "brace-expansion" + }, + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js", + "kind": "import-statement", + "original": "./assert-valid-pattern.js" + }, + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/ast.js", + "kind": "import-statement", + "original": "./ast.js" + }, + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/escape.js", + "kind": "import-statement", + "original": "./escape.js" + }, + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js", + "kind": "import-statement", + "original": "./unescape.js" + }, + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/ast.js", + "kind": "import-statement", + "original": "./ast.js" + }, + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/escape.js", + "kind": "import-statement", + "original": "./escape.js" + }, + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js", + "kind": "import-statement", + "original": "./unescape.js" + } + ], + "format": "esm" + }, + "../node_modules/lru-cache/dist/esm/index.js": { + "bytes": 50646, + "imports": [], + "format": "esm" + }, + "../node_modules/minipass/dist/esm/index.js": { + "bytes": 33213, + "imports": [ + { + "path": "events", + "kind": "import-statement", + "external": true + }, + { + "path": "stream", + "kind": "import-statement", + "external": true + }, + { + "path": "string_decoder", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "../node_modules/path-scurry/dist/mjs/index.js": { + "bytes": 64089, + "imports": [ + { + "path": "../node_modules/lru-cache/dist/esm/index.js", + "kind": "import-statement", + "original": "lru-cache" + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/minipass/dist/esm/index.js", + "kind": "import-statement", + "original": "minipass" + } + ], + "format": "esm" + }, + "../node_modules/glob/dist/esm/pattern.js": { + "bytes": 7159, + "imports": [ + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/index.js", + "kind": "import-statement", + "original": "minimatch" + } + ], + "format": "esm" + }, + "../node_modules/glob/dist/esm/ignore.js": { + "bytes": 3833, + "imports": [ + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/index.js", + "kind": "import-statement", + "original": "minimatch" + }, + { + "path": "../node_modules/glob/dist/esm/pattern.js", + "kind": "import-statement", + "original": "./pattern.js" + } + ], + "format": "esm" + }, + "../node_modules/glob/dist/esm/processor.js": { + "bytes": 10465, + "imports": [ + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/index.js", + "kind": "import-statement", + "original": "minimatch" + } + ], + "format": "esm" + }, + "../node_modules/glob/dist/esm/walker.js": { + "bytes": 11232, + "imports": [ + { + "path": "../node_modules/minipass/dist/esm/index.js", + "kind": "import-statement", + "original": "minipass" + }, + { + "path": "../node_modules/glob/dist/esm/ignore.js", + "kind": "import-statement", + "original": "./ignore.js" + }, + { + "path": "../node_modules/glob/dist/esm/processor.js", + "kind": "import-statement", + "original": "./processor.js" + } + ], + "format": "esm" + }, + "../node_modules/glob/dist/esm/glob.js": { + "bytes": 8032, + "imports": [ + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/index.js", + "kind": "import-statement", + "original": "minimatch" + }, + { + "path": "../node_modules/path-scurry/dist/mjs/index.js", + "kind": "import-statement", + "original": "path-scurry" + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/glob/dist/esm/pattern.js", + "kind": "import-statement", + "original": "./pattern.js" + }, + { + "path": "../node_modules/glob/dist/esm/walker.js", + "kind": "import-statement", + "original": "./walker.js" + } + ], + "format": "esm" + }, + "../node_modules/glob/dist/esm/has-magic.js": { + "bytes": 917, + "imports": [ + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/index.js", + "kind": "import-statement", + "original": "minimatch" + } + ], + "format": "esm" + }, + "../node_modules/glob/dist/esm/index.js": { + "bytes": 1652, + "imports": [ + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/index.js", + "kind": "import-statement", + "original": "minimatch" + }, + { + "path": "../node_modules/glob/dist/esm/glob.js", + "kind": "import-statement", + "original": "./glob.js" + }, + { + "path": "../node_modules/glob/dist/esm/has-magic.js", + "kind": "import-statement", + "original": "./has-magic.js" + }, + { + "path": "../node_modules/glob/node_modules/minimatch/dist/mjs/index.js", + "kind": "import-statement", + "original": "minimatch" + }, + { + "path": "../node_modules/glob/dist/esm/glob.js", + "kind": "import-statement", + "original": "./glob.js" + }, + { + "path": "../node_modules/glob/dist/esm/has-magic.js", + "kind": "import-statement", + "original": "./has-magic.js" + } + ], + "format": "esm" + }, + "../node_modules/slash/index.js": { + "bytes": 181, + "imports": [], + "format": "esm" + }, + "src/common/utils/validate-configuration-files.ts": { + "bytes": 925, + "imports": [ + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "../node_modules/glob/dist/esm/index.js", + "kind": "import-statement", + "original": "glob" + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/slash/index.js", + "kind": "import-statement", + "original": "slash" + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "src/common/utils/interpret-files.ts", + "kind": "import-statement", + "original": "./interpret-files" + }, + { + "path": "@storybook/core/dist/server-errors", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/common/utils/load-custom-presets.ts": { + "bytes": 670, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "src/common/utils/interpret-require.ts", + "kind": "import-statement", + "original": "./interpret-require" + }, + { + "path": "src/common/utils/validate-configuration-files.ts", + "kind": "import-statement", + "original": "./validate-configuration-files" + } + ], + "format": "esm" + }, + "../node_modules/resolve-from/index.js": { + "bytes": 1201, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "module", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "src/common/utils/safeResolve.ts": { + "bytes": 330, + "imports": [ + { + "path": "../node_modules/resolve-from/index.js", + "kind": "import-statement", + "original": "resolve-from" + } + ], + "format": "esm" + }, + "src/common/utils/strip-abs-node-modules-path.ts": { + "bytes": 615, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/slash/index.js", + "kind": "import-statement", + "original": "slash" + } + ], + "format": "esm" + }, + "src/common/presets.ts": { + "bytes": 12407, + "imports": [ + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/server-errors", + "kind": "import-statement", + "external": true + }, + { + "path": "src/common/utils/load-custom-presets.ts", + "kind": "import-statement", + "original": "./utils/load-custom-presets" + }, + { + "path": "src/common/utils/safeResolve.ts", + "kind": "import-statement", + "original": "./utils/safeResolve" + }, + { + "path": "src/common/utils/interpret-require.ts", + "kind": "import-statement", + "original": "./utils/interpret-require" + }, + { + "path": "src/common/utils/strip-abs-node-modules-path.ts", + "kind": "import-statement", + "original": "./utils/strip-abs-node-modules-path" + } + ], + "format": "esm" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/fs/index.js": { + "bytes": 3699, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/utils.js": { + "bytes": 1655, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/make-dir.js": { + "bytes": 545, + "imports": [ + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/utils.js", + "kind": "require-call", + "original": "./utils" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js": { + "bytes": 328, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/make-dir.js", + "kind": "require-call", + "original": "./make-dir" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/path-exists/index.js": { + "bytes": 263, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/utimes.js": { + "bytes": 615, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/stat.js": { + "bytes": 5226, + "imports": [ + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/copy.js": { + "bytes": 7705, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/utimes.js", + "kind": "require-call", + "original": "../util/utimes" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/copy-sync.js": { + "bytes": 5533, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/utimes.js", + "kind": "require-call", + "original": "../util/utimes" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/index.js": { + "bytes": 147, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/copy.js", + "kind": "require-call", + "original": "./copy" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/copy-sync.js", + "kind": "require-call", + "original": "./copy-sync" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/remove/index.js": { + "bytes": 331, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/empty/index.js": { + "bytes": 747, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/remove/index.js", + "kind": "require-call", + "original": "../remove" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/file.js": { + "bytes": 1709, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/link.js": { + "bytes": 1652, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink-paths.js": { + "bytes": 3374, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink-type.js": { + "bytes": 694, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink.js": { + "bytes": 2522, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "../fs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink-paths.js", + "kind": "require-call", + "original": "./symlink-paths" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink-type.js", + "kind": "require-call", + "original": "./symlink-type" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/index.js": { + "bytes": 542, + "imports": [ + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/file.js", + "kind": "require-call", + "original": "./file" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/link.js", + "kind": "require-call", + "original": "./link" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink.js", + "kind": "require-call", + "original": "./symlink" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/jsonfile.js": { + "bytes": 238, + "imports": [ + { + "path": "../node_modules/jsonfile/index.js", + "kind": "require-call", + "original": "jsonfile" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/output-file/index.js": { + "bytes": 947, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/output-json.js": { + "bytes": 277, + "imports": [ + { + "path": "../node_modules/jsonfile/utils.js", + "kind": "require-call", + "original": "jsonfile/utils" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/output-file/index.js", + "kind": "require-call", + "original": "../output-file" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/output-json-sync.js": { + "bytes": 276, + "imports": [ + { + "path": "../node_modules/jsonfile/utils.js", + "kind": "require-call", + "original": "jsonfile/utils" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/output-file/index.js", + "kind": "require-call", + "original": "../output-file" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/index.js": { + "bytes": 508, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/jsonfile.js", + "kind": "require-call", + "original": "./jsonfile" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/output-json.js", + "kind": "require-call", + "original": "./output-json" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/output-json-sync.js", + "kind": "require-call", + "original": "./output-json-sync" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/move/move.js": { + "bytes": 2040, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/index.js", + "kind": "require-call", + "original": "../copy" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/remove/index.js", + "kind": "require-call", + "original": "../remove" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "../path-exists" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/move/move-sync.js": { + "bytes": 1515, + "imports": [ + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/index.js", + "kind": "require-call", + "original": "../copy" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/remove/index.js", + "kind": "require-call", + "original": "../remove" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "../mkdirs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/stat.js", + "kind": "require-call", + "original": "../util/stat" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/move/index.js": { + "bytes": 147, + "imports": [ + { + "path": "../node_modules/universalify/index.js", + "kind": "require-call", + "original": "universalify" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/move/move.js", + "kind": "require-call", + "original": "./move" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/move/move-sync.js", + "kind": "require-call", + "original": "./move-sync" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/index.js": { + "bytes": 358, + "imports": [ + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/fs/index.js", + "kind": "require-call", + "original": "./fs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/index.js", + "kind": "require-call", + "original": "./copy" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/empty/index.js", + "kind": "require-call", + "original": "./empty" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/index.js", + "kind": "require-call", + "original": "./ensure" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/index.js", + "kind": "require-call", + "original": "./json" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js", + "kind": "require-call", + "original": "./mkdirs" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/move/index.js", + "kind": "require-call", + "original": "./move" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/output-file/index.js", + "kind": "require-call", + "original": "./output-file" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/path-exists/index.js", + "kind": "require-call", + "original": "./path-exists" + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/remove/index.js", + "kind": "require-call", + "original": "./remove" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/F.js": { + "bytes": 325, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/T.js": { + "bytes": 322, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/__.js": { + "bytes": 743, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isPlaceholder.js": { + "bytes": 151, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_curry1.js": { + "bytes": 466, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_isPlaceholder.js", + "kind": "require-call", + "original": "./_isPlaceholder.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_curry2.js": { + "bytes": 839, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isPlaceholder.js", + "kind": "require-call", + "original": "./_isPlaceholder.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/add.js": { + "bytes": 466, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_concat.js": { + "bytes": 709, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_arity.js": { + "bytes": 1426, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_curryN.js": { + "bytes": 1169, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arity.js", + "kind": "require-call", + "original": "./_arity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isPlaceholder.js", + "kind": "require-call", + "original": "./_isPlaceholder.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/curryN.js": { + "bytes": 1732, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arity.js", + "kind": "require-call", + "original": "./internal/_arity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curryN.js", + "kind": "require-call", + "original": "./internal/_curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/addIndex.js": { + "bytes": 1749, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/addIndexRight.js": { + "bytes": 1607, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_curry3.js": { + "bytes": 1695, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isPlaceholder.js", + "kind": "require-call", + "original": "./_isPlaceholder.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/adjust.js": { + "bytes": 1403, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isArray.js": { + "bytes": 454, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isTransformer.js": { + "bytes": 138, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_dispatchable.js": { + "bytes": 1629, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./_isArray.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isTransformer.js", + "kind": "require-call", + "original": "./_isTransformer.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_reduced.js": { + "bytes": 167, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xfBase.js": { + "bytes": 176, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xall.js": { + "bytes": 838, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_reduced.js", + "kind": "require-call", + "original": "./_reduced.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/all.js": { + "bytes": 1206, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xall.js", + "kind": "require-call", + "original": "./internal/_xall.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_arrayFromIterator.js": { + "bytes": 191, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_includesWith.js": { + "bytes": 228, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_functionName.js": { + "bytes": 225, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_has.js": { + "bytes": 110, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_objectIs.js": { + "bytes": 415, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isArguments.js": { + "bytes": 384, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./_has.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/keys.js": { + "bytes": 2091, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArguments.js", + "kind": "require-call", + "original": "./internal/_isArguments.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/type.js": { + "bytes": 1000, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_equals.js": { + "bytes": 4072, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arrayFromIterator.js", + "kind": "require-call", + "original": "./_arrayFromIterator.js" + }, + { + "path": "../node_modules/ramda/src/internal/_includesWith.js", + "kind": "require-call", + "original": "./_includesWith.js" + }, + { + "path": "../node_modules/ramda/src/internal/_functionName.js", + "kind": "require-call", + "original": "./_functionName.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./_has.js" + }, + { + "path": "../node_modules/ramda/src/internal/_objectIs.js", + "kind": "require-call", + "original": "./_objectIs.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "../keys.js" + }, + { + "path": "../node_modules/ramda/src/type.js", + "kind": "require-call", + "original": "../type.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/equals.js": { + "bytes": 832, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_equals.js", + "kind": "require-call", + "original": "./internal/_equals.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_indexOf.js": { + "bytes": 1452, + "imports": [ + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "../equals.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_includes.js": { + "bytes": 152, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_indexOf.js", + "kind": "require-call", + "original": "./_indexOf.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_map.js": { + "bytes": 219, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_quote.js": { + "bytes": 352, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_toISOString.js": { + "bytes": 630, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_complement.js": { + "bytes": 124, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_arrayReduce.js": { + "bytes": 222, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_filter.js": { + "bytes": 248, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isObject.js": { + "bytes": 120, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xfilter.js": { + "bytes": 576, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/filter.js": { + "bytes": 1724, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arrayReduce.js", + "kind": "require-call", + "original": "./internal/_arrayReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_filter.js", + "kind": "require-call", + "original": "./internal/_filter.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isObject.js", + "kind": "require-call", + "original": "./internal/_isObject.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfilter.js", + "kind": "require-call", + "original": "./internal/_xfilter.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "./keys.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/reject.js": { + "bytes": 973, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_complement.js", + "kind": "require-call", + "original": "./internal/_complement.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/filter.js", + "kind": "require-call", + "original": "./filter.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_toString.js": { + "bytes": 2089, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_includes.js", + "kind": "require-call", + "original": "./_includes.js" + }, + { + "path": "../node_modules/ramda/src/internal/_map.js", + "kind": "require-call", + "original": "./_map.js" + }, + { + "path": "../node_modules/ramda/src/internal/_quote.js", + "kind": "require-call", + "original": "./_quote.js" + }, + { + "path": "../node_modules/ramda/src/internal/_toISOString.js", + "kind": "require-call", + "original": "./_toISOString.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "../keys.js" + }, + { + "path": "../node_modules/ramda/src/reject.js", + "kind": "require-call", + "original": "../reject.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/toString.js": { + "bytes": 1478, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_toString.js", + "kind": "require-call", + "original": "./internal/_toString.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/max.js": { + "bytes": 1069, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/toString.js", + "kind": "require-call", + "original": "./toString.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xmap.js": { + "bytes": 545, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/map.js": { + "bytes": 2219, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arrayReduce.js", + "kind": "require-call", + "original": "./internal/_arrayReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_map.js", + "kind": "require-call", + "original": "./internal/_map.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xmap.js", + "kind": "require-call", + "original": "./internal/_xmap.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "./keys.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isInteger.js": { + "bytes": 216, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isString.js": { + "bytes": 120, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/nth.js": { + "bytes": 1006, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isString.js", + "kind": "require-call", + "original": "./internal/_isString.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/prop.js": { + "bytes": 992, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isInteger.js", + "kind": "require-call", + "original": "./internal/_isInteger.js" + }, + { + "path": "../node_modules/ramda/src/nth.js", + "kind": "require-call", + "original": "./nth.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/pluck.js": { + "bytes": 1283, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/map.js", + "kind": "require-call", + "original": "./map.js" + }, + { + "path": "../node_modules/ramda/src/prop.js", + "kind": "require-call", + "original": "./prop.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isArrayLike.js": { + "bytes": 1191, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./_isArray.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isString.js", + "kind": "require-call", + "original": "./_isString.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_createReduce.js": { + "bytes": 925, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_isArrayLike.js", + "kind": "require-call", + "original": "./_isArrayLike.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xArrayReduce.js": { + "bytes": 354, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/bind.js": { + "bytes": 1116, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arity.js", + "kind": "require-call", + "original": "./internal/_arity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xReduce.js": { + "bytes": 773, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_createReduce.js", + "kind": "require-call", + "original": "./_createReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xArrayReduce.js", + "kind": "require-call", + "original": "./_xArrayReduce.js" + }, + { + "path": "../node_modules/ramda/src/bind.js", + "kind": "require-call", + "original": "../bind.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xwrap.js": { + "bytes": 471, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/reduce.js": { + "bytes": 2562, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xReduce.js", + "kind": "require-call", + "original": "./internal/_xReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xwrap.js", + "kind": "require-call", + "original": "./internal/_xwrap.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/allPass.js": { + "bytes": 1473, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + }, + { + "path": "../node_modules/ramda/src/max.js", + "kind": "require-call", + "original": "./max.js" + }, + { + "path": "../node_modules/ramda/src/pluck.js", + "kind": "require-call", + "original": "./pluck.js" + }, + { + "path": "../node_modules/ramda/src/reduce.js", + "kind": "require-call", + "original": "./reduce.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/always.js": { + "bytes": 725, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/and.js": { + "bytes": 646, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xany.js": { + "bytes": 838, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_reduced.js", + "kind": "require-call", + "original": "./_reduced.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/any.js": { + "bytes": 1251, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xany.js", + "kind": "require-call", + "original": "./internal/_xany.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/anyPass.js": { + "bytes": 1514, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + }, + { + "path": "../node_modules/ramda/src/max.js", + "kind": "require-call", + "original": "./max.js" + }, + { + "path": "../node_modules/ramda/src/pluck.js", + "kind": "require-call", + "original": "./pluck.js" + }, + { + "path": "../node_modules/ramda/src/reduce.js", + "kind": "require-call", + "original": "./reduce.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_reduce.js": { + "bytes": 523, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arrayReduce.js", + "kind": "require-call", + "original": "./_arrayReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_createReduce.js", + "kind": "require-call", + "original": "./_createReduce.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/ap.js": { + "bytes": 1497, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_reduce.js", + "kind": "require-call", + "original": "./internal/_reduce.js" + }, + { + "path": "../node_modules/ramda/src/map.js", + "kind": "require-call", + "original": "./map.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_aperture.js": { + "bytes": 280, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xaperture.js": { + "bytes": 1180, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/aperture.js": { + "bytes": 1133, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_aperture.js", + "kind": "require-call", + "original": "./internal/_aperture.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xaperture.js", + "kind": "require-call", + "original": "./internal/_xaperture.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/append.js": { + "bytes": 915, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/apply.js": { + "bytes": 846, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/values.js": { + "bytes": 877, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "./keys.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/applySpec.js": { + "bytes": 2176, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./internal/_isArray.js" + }, + { + "path": "../node_modules/ramda/src/apply.js", + "kind": "require-call", + "original": "./apply.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + }, + { + "path": "../node_modules/ramda/src/max.js", + "kind": "require-call", + "original": "./max.js" + }, + { + "path": "../node_modules/ramda/src/pluck.js", + "kind": "require-call", + "original": "./pluck.js" + }, + { + "path": "../node_modules/ramda/src/reduce.js", + "kind": "require-call", + "original": "./reduce.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "./keys.js" + }, + { + "path": "../node_modules/ramda/src/values.js", + "kind": "require-call", + "original": "./values.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/applyTo.js": { + "bytes": 615, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/ascend.js": { + "bytes": 1133, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_assoc.js": { + "bytes": 917, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./_isArray.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isInteger.js", + "kind": "require-call", + "original": "./_isInteger.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/isNil.js": { + "bytes": 576, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/assocPath.js": { + "bytes": 1668, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isInteger.js", + "kind": "require-call", + "original": "./internal/_isInteger.js" + }, + { + "path": "../node_modules/ramda/src/internal/_assoc.js", + "kind": "require-call", + "original": "./internal/_assoc.js" + }, + { + "path": "../node_modules/ramda/src/isNil.js", + "kind": "require-call", + "original": "./isNil.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/assoc.js": { + "bytes": 977, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/assocPath.js", + "kind": "require-call", + "original": "./assocPath.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/nAry.js": { + "bytes": 2560, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/binary.js": { + "bytes": 1148, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/nAry.js", + "kind": "require-call", + "original": "./nAry.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isFunction.js": { + "bytes": 269, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/liftN.js": { + "bytes": 1158, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_arrayReduce.js", + "kind": "require-call", + "original": "./internal/_arrayReduce.js" + }, + { + "path": "../node_modules/ramda/src/ap.js", + "kind": "require-call", + "original": "./ap.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + }, + { + "path": "../node_modules/ramda/src/map.js", + "kind": "require-call", + "original": "./map.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/lift.js": { + "bytes": 1017, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/liftN.js", + "kind": "require-call", + "original": "./liftN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/both.js": { + "bytes": 1572, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isFunction.js", + "kind": "require-call", + "original": "./internal/_isFunction.js" + }, + { + "path": "../node_modules/ramda/src/and.js", + "kind": "require-call", + "original": "./and.js" + }, + { + "path": "../node_modules/ramda/src/lift.js", + "kind": "require-call", + "original": "./lift.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/call.js": { + "bytes": 1255, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_makeFlat.js": { + "bytes": 772, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_isArrayLike.js", + "kind": "require-call", + "original": "./_isArrayLike.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_forceReduced.js": { + "bytes": 140, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_flatCat.js": { + "bytes": 1355, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_forceReduced.js", + "kind": "require-call", + "original": "./_forceReduced.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArrayLike.js", + "kind": "require-call", + "original": "./_isArrayLike.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xArrayReduce.js", + "kind": "require-call", + "original": "./_xArrayReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xReduce.js", + "kind": "require-call", + "original": "./_xReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xchain.js": { + "bytes": 221, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_flatCat.js", + "kind": "require-call", + "original": "./_flatCat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xmap.js", + "kind": "require-call", + "original": "./_xmap.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/chain.js": { + "bytes": 1536, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_makeFlat.js", + "kind": "require-call", + "original": "./internal/_makeFlat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xchain.js", + "kind": "require-call", + "original": "./internal/_xchain.js" + }, + { + "path": "../node_modules/ramda/src/map.js", + "kind": "require-call", + "original": "./map.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/clamp.js": { + "bytes": 962, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_cloneRegExp.js": { + "bytes": 322, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_clone.js": { + "bytes": 3268, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_cloneRegExp.js", + "kind": "require-call", + "original": "./_cloneRegExp.js" + }, + { + "path": "../node_modules/ramda/src/type.js", + "kind": "require-call", + "original": "../type.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/clone.js": { + "bytes": 1255, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_clone.js", + "kind": "require-call", + "original": "./internal/_clone.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/collectBy.js": { + "bytes": 1619, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_reduce.js", + "kind": "require-call", + "original": "./internal/_reduce.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/comparator.js": { + "bytes": 1132, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/not.js": { + "bytes": 632, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/complement.js": { + "bytes": 791, + "imports": [ + { + "path": "../node_modules/ramda/src/lift.js", + "kind": "require-call", + "original": "./lift.js" + }, + { + "path": "../node_modules/ramda/src/not.js", + "kind": "require-call", + "original": "./not.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_pipe.js": { + "bytes": 128, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_checkForMethod.js": { + "bytes": 848, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./_isArray.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/slice.js": { + "bytes": 1230, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_checkForMethod.js", + "kind": "require-call", + "original": "./internal/_checkForMethod.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/tail.js": { + "bytes": 977, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_checkForMethod.js", + "kind": "require-call", + "original": "./internal/_checkForMethod.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "./slice.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/pipe.js": { + "bytes": 1134, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arity.js", + "kind": "require-call", + "original": "./internal/_arity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_pipe.js", + "kind": "require-call", + "original": "./internal/_pipe.js" + }, + { + "path": "../node_modules/ramda/src/reduce.js", + "kind": "require-call", + "original": "./reduce.js" + }, + { + "path": "../node_modules/ramda/src/tail.js", + "kind": "require-call", + "original": "./tail.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/reverse.js": { + "bytes": 935, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isString.js", + "kind": "require-call", + "original": "./internal/_isString.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/compose.js": { + "bytes": 1203, + "imports": [ + { + "path": "../node_modules/ramda/src/pipe.js", + "kind": "require-call", + "original": "./pipe.js" + }, + { + "path": "../node_modules/ramda/src/reverse.js", + "kind": "require-call", + "original": "./reverse.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/head.js": { + "bytes": 573, + "imports": [ + { + "path": "../node_modules/ramda/src/nth.js", + "kind": "require-call", + "original": "./nth.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_identity.js": { + "bytes": 66, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/identity.js": { + "bytes": 631, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_identity.js", + "kind": "require-call", + "original": "./internal/_identity.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/pipeWith.js": { + "bytes": 1624, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arity.js", + "kind": "require-call", + "original": "./internal/_arity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/head.js", + "kind": "require-call", + "original": "./head.js" + }, + { + "path": "../node_modules/ramda/src/internal/_reduce.js", + "kind": "require-call", + "original": "./internal/_reduce.js" + }, + { + "path": "../node_modules/ramda/src/tail.js", + "kind": "require-call", + "original": "./tail.js" + }, + { + "path": "../node_modules/ramda/src/identity.js", + "kind": "require-call", + "original": "./identity.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/composeWith.js": { + "bytes": 1336, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/pipeWith.js", + "kind": "require-call", + "original": "./pipeWith.js" + }, + { + "path": "../node_modules/ramda/src/reverse.js", + "kind": "require-call", + "original": "./reverse.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/concat.js": { + "bytes": 1961, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./internal/_isArray.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isFunction.js", + "kind": "require-call", + "original": "./internal/_isFunction.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isString.js", + "kind": "require-call", + "original": "./internal/_isString.js" + }, + { + "path": "../node_modules/ramda/src/toString.js", + "kind": "require-call", + "original": "./toString.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/cond.js": { + "bytes": 1935, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arity.js", + "kind": "require-call", + "original": "./internal/_arity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/map.js", + "kind": "require-call", + "original": "./map.js" + }, + { + "path": "../node_modules/ramda/src/max.js", + "kind": "require-call", + "original": "./max.js" + }, + { + "path": "../node_modules/ramda/src/reduce.js", + "kind": "require-call", + "original": "./reduce.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/curry.js": { + "bytes": 1929, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/constructN.js": { + "bytes": 2400, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/curry.js", + "kind": "require-call", + "original": "./curry.js" + }, + { + "path": "../node_modules/ramda/src/nAry.js", + "kind": "require-call", + "original": "./nAry.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/construct.js": { + "bytes": 1347, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/constructN.js", + "kind": "require-call", + "original": "./constructN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/converge.js": { + "bytes": 1825, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_map.js", + "kind": "require-call", + "original": "./internal/_map.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + }, + { + "path": "../node_modules/ramda/src/max.js", + "kind": "require-call", + "original": "./max.js" + }, + { + "path": "../node_modules/ramda/src/pluck.js", + "kind": "require-call", + "original": "./pluck.js" + }, + { + "path": "../node_modules/ramda/src/reduce.js", + "kind": "require-call", + "original": "./reduce.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/count.js": { + "bytes": 747, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_reduce.js", + "kind": "require-call", + "original": "./internal/_reduce.js" + }, + { + "path": "../node_modules/ramda/src/curry.js", + "kind": "require-call", + "original": "./curry.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xreduceBy.js": { + "bytes": 1347, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_clone.js", + "kind": "require-call", + "original": "./_clone.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./_has.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/reduceBy.js": { + "bytes": 2780, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_clone.js", + "kind": "require-call", + "original": "./internal/_clone.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curryN.js", + "kind": "require-call", + "original": "./internal/_curryN.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + }, + { + "path": "../node_modules/ramda/src/internal/_reduced.js", + "kind": "require-call", + "original": "./internal/_reduced.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xReduce.js", + "kind": "require-call", + "original": "./internal/_xReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xreduceBy.js", + "kind": "require-call", + "original": "./internal/_xreduceBy.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xwrap.js", + "kind": "require-call", + "original": "./internal/_xwrap.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/countBy.js": { + "bytes": 1126, + "imports": [ + { + "path": "../node_modules/ramda/src/reduceBy.js", + "kind": "require-call", + "original": "./reduceBy.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/dec.js": { + "bytes": 327, + "imports": [ + { + "path": "../node_modules/ramda/src/add.js", + "kind": "require-call", + "original": "./add.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/defaultTo.js": { + "bytes": 985, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/descend.js": { + "bytes": 1135, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_Set.js": { + "bytes": 4688, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_includes.js", + "kind": "require-call", + "original": "./_includes.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/difference.js": { + "bytes": 1313, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_Set.js", + "kind": "require-call", + "original": "./internal/_Set.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/differenceWith.js": { + "bytes": 1513, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_includesWith.js", + "kind": "require-call", + "original": "./internal/_includesWith.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/remove.js": { + "bytes": 978, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_dissoc.js": { + "bytes": 765, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_isInteger.js", + "kind": "require-call", + "original": "./_isInteger.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./_isArray.js" + }, + { + "path": "../node_modules/ramda/src/remove.js", + "kind": "require-call", + "original": "../remove.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/dissocPath.js": { + "bytes": 2051, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dissoc.js", + "kind": "require-call", + "original": "./internal/_dissoc.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isInteger.js", + "kind": "require-call", + "original": "./internal/_isInteger.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./internal/_isArray.js" + }, + { + "path": "../node_modules/ramda/src/assoc.js", + "kind": "require-call", + "original": "./assoc.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/dissoc.js": { + "bytes": 725, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/dissocPath.js", + "kind": "require-call", + "original": "./dissocPath.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/divide.js": { + "bytes": 658, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xdrop.js": { + "bytes": 602, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/drop.js": { + "bytes": 1205, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xdrop.js", + "kind": "require-call", + "original": "./internal/_xdrop.js" + }, + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "./slice.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xtake.js": { + "bytes": 715, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_reduced.js", + "kind": "require-call", + "original": "./_reduced.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/take.js": { + "bytes": 1696, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xtake.js", + "kind": "require-call", + "original": "./internal/_xtake.js" + }, + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "./slice.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_dropLast.js": { + "bytes": 159, + "imports": [ + { + "path": "../node_modules/ramda/src/take.js", + "kind": "require-call", + "original": "../take.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xdropLast.js": { + "bytes": 1031, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/dropLast.js": { + "bytes": 1249, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dropLast.js", + "kind": "require-call", + "original": "./internal/_dropLast.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xdropLast.js", + "kind": "require-call", + "original": "./internal/_xdropLast.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_dropLastWhile.js": { + "bytes": 237, + "imports": [ + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "../slice.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xdropLastWhile.js": { + "bytes": 1134, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xReduce.js", + "kind": "require-call", + "original": "./_xReduce.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/dropLastWhile.js": { + "bytes": 1488, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dropLastWhile.js", + "kind": "require-call", + "original": "./internal/_dropLastWhile.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xdropLastWhile.js", + "kind": "require-call", + "original": "./internal/_xdropLastWhile.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xdropRepeatsWith.js": { + "bytes": 940, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/last.js": { + "bytes": 510, + "imports": [ + { + "path": "../node_modules/ramda/src/nth.js", + "kind": "require-call", + "original": "./nth.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/dropRepeatsWith.js": { + "bytes": 1476, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xdropRepeatsWith.js", + "kind": "require-call", + "original": "./internal/_xdropRepeatsWith.js" + }, + { + "path": "../node_modules/ramda/src/last.js", + "kind": "require-call", + "original": "./last.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/dropRepeats.js": { + "bytes": 1033, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xdropRepeatsWith.js", + "kind": "require-call", + "original": "./internal/_xdropRepeatsWith.js" + }, + { + "path": "../node_modules/ramda/src/dropRepeatsWith.js", + "kind": "require-call", + "original": "./dropRepeatsWith.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/eqBy.js": { + "bytes": 620, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/dropRepeatsBy.js": { + "bytes": 1255, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xdropRepeatsWith.js", + "kind": "require-call", + "original": "./internal/_xdropRepeatsWith.js" + }, + { + "path": "../node_modules/ramda/src/dropRepeatsWith.js", + "kind": "require-call", + "original": "./dropRepeatsWith.js" + }, + { + "path": "../node_modules/ramda/src/eqBy.js", + "kind": "require-call", + "original": "./eqBy.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xdropWhile.js": { + "bytes": 683, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/dropWhile.js": { + "bytes": 1534, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xdropWhile.js", + "kind": "require-call", + "original": "./internal/_xdropWhile.js" + }, + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "./slice.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/or.js": { + "bytes": 640, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/either.js": { + "bytes": 1552, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isFunction.js", + "kind": "require-call", + "original": "./internal/_isFunction.js" + }, + { + "path": "../node_modules/ramda/src/lift.js", + "kind": "require-call", + "original": "./lift.js" + }, + { + "path": "../node_modules/ramda/src/or.js", + "kind": "require-call", + "original": "./or.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isTypedArray.js": { + "bytes": 940, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/empty.js": { + "bytes": 1938, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArguments.js", + "kind": "require-call", + "original": "./internal/_isArguments.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./internal/_isArray.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isObject.js", + "kind": "require-call", + "original": "./internal/_isObject.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isString.js", + "kind": "require-call", + "original": "./internal/_isString.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isTypedArray.js", + "kind": "require-call", + "original": "./internal/_isTypedArray.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/takeLast.js": { + "bytes": 1015, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/drop.js", + "kind": "require-call", + "original": "./drop.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/endsWith.js": { + "bytes": 904, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + }, + { + "path": "../node_modules/ramda/src/takeLast.js", + "kind": "require-call", + "original": "./takeLast.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/eqProps.js": { + "bytes": 848, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/evolve.js": { + "bytes": 1786, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./internal/_isArray.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isObject.js", + "kind": "require-call", + "original": "./internal/_isObject.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xfind.js": { + "bytes": 855, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_reduced.js", + "kind": "require-call", + "original": "./_reduced.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/find.js": { + "bytes": 1238, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfind.js", + "kind": "require-call", + "original": "./internal/_xfind.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xfindIndex.js": { + "bytes": 938, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_reduced.js", + "kind": "require-call", + "original": "./_reduced.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/findIndex.js": { + "bytes": 1203, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfindIndex.js", + "kind": "require-call", + "original": "./internal/_xfindIndex.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xfindLast.js": { + "bytes": 691, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/findLast.js": { + "bytes": 1179, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfindLast.js", + "kind": "require-call", + "original": "./internal/_xfindLast.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xfindLastIndex.js": { + "bytes": 807, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/findLastIndex.js": { + "bytes": 1229, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfindLastIndex.js", + "kind": "require-call", + "original": "./internal/_xfindLastIndex.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/flatten.js": { + "bytes": 683, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_makeFlat.js", + "kind": "require-call", + "original": "./internal/_makeFlat.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/flip.js": { + "bytes": 1012, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/forEach.js": { + "bytes": 1583, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_checkForMethod.js", + "kind": "require-call", + "original": "./internal/_checkForMethod.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/forEachObjIndexed.js": { + "bytes": 1173, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "./keys.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/fromPairs.js": { + "bytes": 840, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/groupBy.js": { + "bytes": 1844, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_checkForMethod.js", + "kind": "require-call", + "original": "./internal/_checkForMethod.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/reduceBy.js", + "kind": "require-call", + "original": "./reduceBy.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/groupWith.js": { + "bytes": 1631, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/gt.js": { + "bytes": 597, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/gte.js": { + "bytes": 628, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/hasPath.js": { + "bytes": 1223, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + }, + { + "path": "../node_modules/ramda/src/isNil.js", + "kind": "require-call", + "original": "./isNil.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/has.js": { + "bytes": 953, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/hasPath.js", + "kind": "require-call", + "original": "./hasPath.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/hasIn.js": { + "bytes": 999, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/isNil.js", + "kind": "require-call", + "original": "./isNil.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/identical.js": { + "bytes": 1588, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_objectIs.js", + "kind": "require-call", + "original": "./internal/_objectIs.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/ifElse.js": { + "bytes": 1545, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/inc.js": { + "bytes": 326, + "imports": [ + { + "path": "../node_modules/ramda/src/add.js", + "kind": "require-call", + "original": "./add.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/includes.js": { + "bytes": 938, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_includes.js", + "kind": "require-call", + "original": "./internal/_includes.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/indexBy.js": { + "bytes": 1058, + "imports": [ + { + "path": "../node_modules/ramda/src/reduceBy.js", + "kind": "require-call", + "original": "./reduceBy.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/indexOf.js": { + "bytes": 969, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_indexOf.js", + "kind": "require-call", + "original": "./internal/_indexOf.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./internal/_isArray.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/init.js": { + "bytes": 654, + "imports": [ + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "./slice.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/innerJoin.js": { + "bytes": 1633, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_includesWith.js", + "kind": "require-call", + "original": "./internal/_includesWith.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_filter.js", + "kind": "require-call", + "original": "./internal/_filter.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/insert.js": { + "bytes": 963, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/insertAll.js": { + "bytes": 1025, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xuniqBy.js": { + "bytes": 665, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_Set.js", + "kind": "require-call", + "original": "./_Set.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/uniqBy.js": { + "bytes": 1405, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_Set.js", + "kind": "require-call", + "original": "./internal/_Set.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xuniqBy.js", + "kind": "require-call", + "original": "./internal/_xuniqBy.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/uniq.js": { + "bytes": 638, + "imports": [ + { + "path": "../node_modules/ramda/src/identity.js", + "kind": "require-call", + "original": "./identity.js" + }, + { + "path": "../node_modules/ramda/src/uniqBy.js", + "kind": "require-call", + "original": "./uniqBy.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/intersection.js": { + "bytes": 964, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_filter.js", + "kind": "require-call", + "original": "./internal/_filter.js" + }, + { + "path": "../node_modules/ramda/src/internal/_Set.js", + "kind": "require-call", + "original": "./internal/_Set.js" + }, + { + "path": "../node_modules/ramda/src/uniq.js", + "kind": "require-call", + "original": "./uniq.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/intersperse.js": { + "bytes": 1028, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_checkForMethod.js", + "kind": "require-call", + "original": "./internal/_checkForMethod.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_objectAssign.js": { + "bytes": 718, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./_has.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/objOf.js": { + "bytes": 703, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_stepCat.js": { + "bytes": 1221, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_objectAssign.js", + "kind": "require-call", + "original": "./_objectAssign.js" + }, + { + "path": "../node_modules/ramda/src/internal/_identity.js", + "kind": "require-call", + "original": "./_identity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArrayLike.js", + "kind": "require-call", + "original": "./_isArrayLike.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isTransformer.js", + "kind": "require-call", + "original": "./_isTransformer.js" + }, + { + "path": "../node_modules/ramda/src/objOf.js", + "kind": "require-call", + "original": "../objOf.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/into.js": { + "bytes": 2096, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isTransformer.js", + "kind": "require-call", + "original": "./internal/_isTransformer.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xReduce.js", + "kind": "require-call", + "original": "./internal/_xReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_stepCat.js", + "kind": "require-call", + "original": "./internal/_stepCat.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/invert.js": { + "bytes": 1157, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "./keys.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/invertObj.js": { + "bytes": 1167, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "./keys.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/invoker.js": { + "bytes": 2474, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isFunction.js", + "kind": "require-call", + "original": "./internal/_isFunction.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + }, + { + "path": "../node_modules/ramda/src/toString.js", + "kind": "require-call", + "original": "./toString.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/is.js": { + "bytes": 1019, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/isEmpty.js": { + "bytes": 896, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/empty.js", + "kind": "require-call", + "original": "./empty.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/isNotNil.js": { + "bytes": 665, + "imports": [ + { + "path": "../node_modules/ramda/src/isNil.js", + "kind": "require-call", + "original": "./isNil.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/join.js": { + "bytes": 737, + "imports": [ + { + "path": "../node_modules/ramda/src/invoker.js", + "kind": "require-call", + "original": "./invoker.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/juxt.js": { + "bytes": 851, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/converge.js", + "kind": "require-call", + "original": "./converge.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/keysIn.js": { + "bytes": 889, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/lastIndexOf.js": { + "bytes": 1147, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./internal/_isArray.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isNumber.js": { + "bytes": 120, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/length.js": { + "bytes": 625, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isNumber.js", + "kind": "require-call", + "original": "./internal/_isNumber.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/lens.js": { + "bytes": 1162, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/map.js", + "kind": "require-call", + "original": "./map.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/update.js": { + "bytes": 1093, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/adjust.js", + "kind": "require-call", + "original": "./adjust.js" + }, + { + "path": "../node_modules/ramda/src/always.js", + "kind": "require-call", + "original": "./always.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/lensIndex.js": { + "bytes": 900, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/lens.js", + "kind": "require-call", + "original": "./lens.js" + }, + { + "path": "../node_modules/ramda/src/nth.js", + "kind": "require-call", + "original": "./nth.js" + }, + { + "path": "../node_modules/ramda/src/update.js", + "kind": "require-call", + "original": "./update.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/paths.js": { + "bytes": 1198, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isInteger.js", + "kind": "require-call", + "original": "./internal/_isInteger.js" + }, + { + "path": "../node_modules/ramda/src/nth.js", + "kind": "require-call", + "original": "./nth.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/path.js": { + "bytes": 1190, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/paths.js", + "kind": "require-call", + "original": "./paths.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/lensPath.js": { + "bytes": 1071, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/assocPath.js", + "kind": "require-call", + "original": "./assocPath.js" + }, + { + "path": "../node_modules/ramda/src/lens.js", + "kind": "require-call", + "original": "./lens.js" + }, + { + "path": "../node_modules/ramda/src/path.js", + "kind": "require-call", + "original": "./path.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/lensProp.js": { + "bytes": 866, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/assoc.js", + "kind": "require-call", + "original": "./assoc.js" + }, + { + "path": "../node_modules/ramda/src/lens.js", + "kind": "require-call", + "original": "./lens.js" + }, + { + "path": "../node_modules/ramda/src/prop.js", + "kind": "require-call", + "original": "./prop.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/lt.js": { + "bytes": 594, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/lte.js": { + "bytes": 625, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mapAccum.js": { + "bytes": 1537, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mapAccumRight.js": { + "bytes": 1651, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mapObjIndexed.js": { + "bytes": 1023, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arrayReduce.js", + "kind": "require-call", + "original": "./internal/_arrayReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "./keys.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/match.js": { + "bytes": 992, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mathMod.js": { + "bytes": 1353, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isInteger.js", + "kind": "require-call", + "original": "./internal/_isInteger.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/maxBy.js": { + "bytes": 858, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/max.js", + "kind": "require-call", + "original": "./max.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/sum.js": { + "bytes": 478, + "imports": [ + { + "path": "../node_modules/ramda/src/add.js", + "kind": "require-call", + "original": "./add.js" + }, + { + "path": "../node_modules/ramda/src/reduce.js", + "kind": "require-call", + "original": "./reduce.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mean.js": { + "bytes": 512, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/sum.js", + "kind": "require-call", + "original": "./sum.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/median.js": { + "bytes": 797, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/mean.js", + "kind": "require-call", + "original": "./mean.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/memoizeWith.js": { + "bytes": 2152, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arity.js", + "kind": "require-call", + "original": "./internal/_arity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mergeAll.js": { + "bytes": 890, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_objectAssign.js", + "kind": "require-call", + "original": "./internal/_objectAssign.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mergeWithKey.js": { + "bytes": 1504, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mergeDeepWithKey.js": { + "bytes": 1632, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isObject.js", + "kind": "require-call", + "original": "./internal/_isObject.js" + }, + { + "path": "../node_modules/ramda/src/mergeWithKey.js", + "kind": "require-call", + "original": "./mergeWithKey.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mergeDeepLeft.js": { + "bytes": 1128, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/mergeDeepWithKey.js", + "kind": "require-call", + "original": "./mergeDeepWithKey.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mergeDeepRight.js": { + "bytes": 1133, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/mergeDeepWithKey.js", + "kind": "require-call", + "original": "./mergeDeepWithKey.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mergeDeepWith.js": { + "bytes": 1301, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/mergeDeepWithKey.js", + "kind": "require-call", + "original": "./mergeDeepWithKey.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mergeLeft.js": { + "bytes": 990, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_objectAssign.js", + "kind": "require-call", + "original": "./internal/_objectAssign.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mergeRight.js": { + "bytes": 993, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_objectAssign.js", + "kind": "require-call", + "original": "./internal/_objectAssign.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/mergeWith.js": { + "bytes": 1062, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/mergeWithKey.js", + "kind": "require-call", + "original": "./mergeWithKey.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/min.js": { + "bytes": 1070, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/toString.js", + "kind": "require-call", + "original": "./toString.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/minBy.js": { + "bytes": 878, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/min.js", + "kind": "require-call", + "original": "./min.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_modify.js": { + "bytes": 974, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./_isArray.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isInteger.js", + "kind": "require-call", + "original": "./_isInteger.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/modifyPath.js": { + "bytes": 1976, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./internal/_isArray.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isObject.js", + "kind": "require-call", + "original": "./internal/_isObject.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + }, + { + "path": "../node_modules/ramda/src/internal/_assoc.js", + "kind": "require-call", + "original": "./internal/_assoc.js" + }, + { + "path": "../node_modules/ramda/src/internal/_modify.js", + "kind": "require-call", + "original": "./internal/_modify.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/modify.js": { + "bytes": 1209, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/modifyPath.js", + "kind": "require-call", + "original": "./modifyPath.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/modulo.js": { + "bytes": 859, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/move.js": { + "bytes": 1219, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/multiply.js": { + "bytes": 670, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/partialObject.js": { + "bytes": 1407, + "imports": [ + { + "path": "../node_modules/ramda/src/mergeDeepRight.js", + "kind": "require-call", + "original": "./mergeDeepRight.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/negate.js": { + "bytes": 369, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/none.js": { + "bytes": 1073, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_complement.js", + "kind": "require-call", + "original": "./internal/_complement.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/all.js", + "kind": "require-call", + "original": "./all.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/nthArg.js": { + "bytes": 761, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + }, + { + "path": "../node_modules/ramda/src/nth.js", + "kind": "require-call", + "original": "./nth.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/o.js": { + "bytes": 1176, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/of.js": { + "bytes": 1096, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/omit.js": { + "bytes": 919, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/on.js": { + "bytes": 926, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curryN.js", + "kind": "require-call", + "original": "./internal/_curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/once.js": { + "bytes": 1037, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arity.js", + "kind": "require-call", + "original": "./internal/_arity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_assertPromise.js": { + "bytes": 329, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_isFunction.js", + "kind": "require-call", + "original": "./_isFunction.js" + }, + { + "path": "../node_modules/ramda/src/internal/_toString.js", + "kind": "require-call", + "original": "./_toString.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/otherwise.js": { + "bytes": 1324, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_assertPromise.js", + "kind": "require-call", + "original": "./internal/_assertPromise.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/over.js": { + "bytes": 1296, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/pair.js": { + "bytes": 475, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_createPartialApplicator.js": { + "bytes": 372, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arity.js", + "kind": "require-call", + "original": "./_arity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/partial.js": { + "bytes": 1237, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_createPartialApplicator.js", + "kind": "require-call", + "original": "./internal/_createPartialApplicator.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/partialRight.js": { + "bytes": 1153, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_createPartialApplicator.js", + "kind": "require-call", + "original": "./internal/_createPartialApplicator.js" + }, + { + "path": "../node_modules/ramda/src/flip.js", + "kind": "require-call", + "original": "./flip.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/partition.js": { + "bytes": 1287, + "imports": [ + { + "path": "../node_modules/ramda/src/filter.js", + "kind": "require-call", + "original": "./filter.js" + }, + { + "path": "../node_modules/ramda/src/juxt.js", + "kind": "require-call", + "original": "./juxt.js" + }, + { + "path": "../node_modules/ramda/src/reject.js", + "kind": "require-call", + "original": "./reject.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/pathEq.js": { + "bytes": 1276, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + }, + { + "path": "../node_modules/ramda/src/path.js", + "kind": "require-call", + "original": "./path.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/pathOr.js": { + "bytes": 946, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/defaultTo.js", + "kind": "require-call", + "original": "./defaultTo.js" + }, + { + "path": "../node_modules/ramda/src/path.js", + "kind": "require-call", + "original": "./path.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/pathSatisfies.js": { + "bytes": 830, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/path.js", + "kind": "require-call", + "original": "./path.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/pick.js": { + "bytes": 955, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/pickAll.js": { + "bytes": 964, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/pickBy.js": { + "bytes": 971, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/prepend.js": { + "bytes": 726, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/product.js": { + "bytes": 517, + "imports": [ + { + "path": "../node_modules/ramda/src/multiply.js", + "kind": "require-call", + "original": "./multiply.js" + }, + { + "path": "../node_modules/ramda/src/reduce.js", + "kind": "require-call", + "original": "./reduce.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/useWith.js": { + "bytes": 1841, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/project.js": { + "bytes": 1029, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_map.js", + "kind": "require-call", + "original": "./internal/_map.js" + }, + { + "path": "../node_modules/ramda/src/identity.js", + "kind": "require-call", + "original": "./identity.js" + }, + { + "path": "../node_modules/ramda/src/pickAll.js", + "kind": "require-call", + "original": "./pickAll.js" + }, + { + "path": "../node_modules/ramda/src/useWith.js", + "kind": "require-call", + "original": "./useWith.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_promap.js": { + "bytes": 126, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xpromap.js": { + "bytes": 655, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + }, + { + "path": "../node_modules/ramda/src/internal/_promap.js", + "kind": "require-call", + "original": "./_promap.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/promap.js": { + "bytes": 1620, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_promap.js", + "kind": "require-call", + "original": "./internal/_promap.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xpromap.js", + "kind": "require-call", + "original": "./internal/_xpromap.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/propEq.js": { + "bytes": 1444, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/prop.js", + "kind": "require-call", + "original": "./prop.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/propIs.js": { + "bytes": 805, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/prop.js", + "kind": "require-call", + "original": "./prop.js" + }, + { + "path": "../node_modules/ramda/src/is.js", + "kind": "require-call", + "original": "./is.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/propOr.js": { + "bytes": 1143, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/defaultTo.js", + "kind": "require-call", + "original": "./defaultTo.js" + }, + { + "path": "../node_modules/ramda/src/prop.js", + "kind": "require-call", + "original": "./prop.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/propSatisfies.js": { + "bytes": 767, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/prop.js", + "kind": "require-call", + "original": "./prop.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/props.js": { + "bytes": 966, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/path.js", + "kind": "require-call", + "original": "./path.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/range.js": { + "bytes": 910, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isNumber.js", + "kind": "require-call", + "original": "./internal/_isNumber.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/reduceRight.js": { + "bytes": 2505, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/reduceWhile.js": { + "bytes": 1696, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curryN.js", + "kind": "require-call", + "original": "./internal/_curryN.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xReduce.js", + "kind": "require-call", + "original": "./internal/_xReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xwrap.js", + "kind": "require-call", + "original": "./internal/_xwrap.js" + }, + { + "path": "../node_modules/ramda/src/internal/_reduced.js", + "kind": "require-call", + "original": "./internal/_reduced.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/reduced.js": { + "bytes": 1030, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_reduced.js", + "kind": "require-call", + "original": "./internal/_reduced.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/times.js": { + "bytes": 1182, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/repeat.js": { + "bytes": 956, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/always.js", + "kind": "require-call", + "original": "./always.js" + }, + { + "path": "../node_modules/ramda/src/times.js", + "kind": "require-call", + "original": "./times.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/replace.js": { + "bytes": 1109, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xscan.js": { + "bytes": 854, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/scan.js": { + "bytes": 1315, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xscan.js", + "kind": "require-call", + "original": "./internal/_xscan.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/sequence.js": { + "bytes": 1980, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/ap.js", + "kind": "require-call", + "original": "./ap.js" + }, + { + "path": "../node_modules/ramda/src/map.js", + "kind": "require-call", + "original": "./map.js" + }, + { + "path": "../node_modules/ramda/src/prepend.js", + "kind": "require-call", + "original": "./prepend.js" + }, + { + "path": "../node_modules/ramda/src/reduceRight.js", + "kind": "require-call", + "original": "./reduceRight.js" + }, + { + "path": "../node_modules/ramda/src/internal/_identity.js", + "kind": "require-call", + "original": "./internal/_identity.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/set.js": { + "bytes": 883, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/always.js", + "kind": "require-call", + "original": "./always.js" + }, + { + "path": "../node_modules/ramda/src/over.js", + "kind": "require-call", + "original": "./over.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/sort.js": { + "bytes": 1006, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/sortBy.js": { + "bytes": 1240, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/sortWith.js": { + "bytes": 1226, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/split.js": { + "bytes": 737, + "imports": [ + { + "path": "../node_modules/ramda/src/invoker.js", + "kind": "require-call", + "original": "./invoker.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/splitAt.js": { + "bytes": 892, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/length.js", + "kind": "require-call", + "original": "./length.js" + }, + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "./slice.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/splitEvery.js": { + "bytes": 873, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "./slice.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/splitWhen.js": { + "bytes": 1087, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/splitWhenever.js": { + "bytes": 923, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curryN.js", + "kind": "require-call", + "original": "./internal/_curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/startsWith.js": { + "bytes": 906, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + }, + { + "path": "../node_modules/ramda/src/take.js", + "kind": "require-call", + "original": "./take.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/subtract.js": { + "bytes": 745, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/swap.js": { + "bytes": 2640, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./internal/_isArray.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isString.js", + "kind": "require-call", + "original": "./internal/_isString.js" + }, + { + "path": "../node_modules/ramda/src/clone.js", + "kind": "require-call", + "original": "./clone.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/symmetricDifference.js": { + "bytes": 966, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/concat.js", + "kind": "require-call", + "original": "./concat.js" + }, + { + "path": "../node_modules/ramda/src/difference.js", + "kind": "require-call", + "original": "./difference.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/symmetricDifferenceWith.js": { + "bytes": 1318, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/concat.js", + "kind": "require-call", + "original": "./concat.js" + }, + { + "path": "../node_modules/ramda/src/differenceWith.js", + "kind": "require-call", + "original": "./differenceWith.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/takeLastWhile.js": { + "bytes": 1188, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "./slice.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xtakeWhile.js": { + "bytes": 669, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_reduced.js", + "kind": "require-call", + "original": "./_reduced.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/takeWhile.js": { + "bytes": 1542, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xtakeWhile.js", + "kind": "require-call", + "original": "./internal/_xtakeWhile.js" + }, + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "./slice.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xtap.js": { + "bytes": 543, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/tap.js": { + "bytes": 892, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xtap.js", + "kind": "require-call", + "original": "./internal/_xtap.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_isRegExp.js": { + "bytes": 120, + "imports": [], + "format": "cjs" + }, + "../node_modules/ramda/src/test.js": { + "bytes": 913, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_cloneRegExp.js", + "kind": "require-call", + "original": "./internal/_cloneRegExp.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isRegExp.js", + "kind": "require-call", + "original": "./internal/_isRegExp.js" + }, + { + "path": "../node_modules/ramda/src/toString.js", + "kind": "require-call", + "original": "./toString.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/andThen.js": { + "bytes": 1336, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_assertPromise.js", + "kind": "require-call", + "original": "./internal/_assertPromise.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/toLower.js": { + "bytes": 443, + "imports": [ + { + "path": "../node_modules/ramda/src/invoker.js", + "kind": "require-call", + "original": "./invoker.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/toPairs.js": { + "bytes": 942, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/toPairsIn.js": { + "bytes": 944, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/toUpper.js": { + "bytes": 443, + "imports": [ + { + "path": "../node_modules/ramda/src/invoker.js", + "kind": "require-call", + "original": "./invoker.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/transduce.js": { + "bytes": 2685, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_xReduce.js", + "kind": "require-call", + "original": "./internal/_xReduce.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xwrap.js", + "kind": "require-call", + "original": "./internal/_xwrap.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/transpose.js": { + "bytes": 1329, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/traverse.js": { + "bytes": 2102, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/map.js", + "kind": "require-call", + "original": "./map.js" + }, + { + "path": "../node_modules/ramda/src/sequence.js", + "kind": "require-call", + "original": "./sequence.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/trim.js": { + "bytes": 1079, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/tryCatch.js": { + "bytes": 1664, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_arity.js", + "kind": "require-call", + "original": "./internal/_arity.js" + }, + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/unapply.js": { + "bytes": 909, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/unary.js": { + "bytes": 1104, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + }, + { + "path": "../node_modules/ramda/src/nAry.js", + "kind": "require-call", + "original": "./nAry.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/uncurryN.js": { + "bytes": 1362, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/unfold.js": { + "bytes": 1342, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/union.js": { + "bytes": 766, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/compose.js", + "kind": "require-call", + "original": "./compose.js" + }, + { + "path": "../node_modules/ramda/src/uniq.js", + "kind": "require-call", + "original": "./uniq.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/internal/_xuniqWith.js": { + "bytes": 798, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_includesWith.js", + "kind": "require-call", + "original": "./_includesWith.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xfBase.js", + "kind": "require-call", + "original": "./_xfBase.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/uniqWith.js": { + "bytes": 1539, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_dispatchable.js", + "kind": "require-call", + "original": "./internal/_dispatchable.js" + }, + { + "path": "../node_modules/ramda/src/internal/_includesWith.js", + "kind": "require-call", + "original": "./internal/_includesWith.js" + }, + { + "path": "../node_modules/ramda/src/internal/_xuniqWith.js", + "kind": "require-call", + "original": "./internal/_xuniqWith.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/unionWith.js": { + "bytes": 1212, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_concat.js", + "kind": "require-call", + "original": "./internal/_concat.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + }, + { + "path": "../node_modules/ramda/src/uniqWith.js", + "kind": "require-call", + "original": "./uniqWith.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/unless.js": { + "bytes": 1172, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/unnest.js": { + "bytes": 634, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_identity.js", + "kind": "require-call", + "original": "./internal/_identity.js" + }, + { + "path": "../node_modules/ramda/src/chain.js", + "kind": "require-call", + "original": "./chain.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/until.js": { + "bytes": 875, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/unwind.js": { + "bytes": 1559, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_isArray.js", + "kind": "require-call", + "original": "./internal/_isArray.js" + }, + { + "path": "../node_modules/ramda/src/internal/_map.js", + "kind": "require-call", + "original": "./internal/_map.js" + }, + { + "path": "../node_modules/ramda/src/internal/_assoc.js", + "kind": "require-call", + "original": "./internal/_assoc.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/valuesIn.js": { + "bytes": 892, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/view.js": { + "bytes": 1109, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/when.js": { + "bytes": 1355, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/where.js": { + "bytes": 1583, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/whereAny.js": { + "bytes": 1559, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_has.js", + "kind": "require-call", + "original": "./internal/_has.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/whereEq.js": { + "bytes": 1234, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + }, + { + "path": "../node_modules/ramda/src/map.js", + "kind": "require-call", + "original": "./map.js" + }, + { + "path": "../node_modules/ramda/src/where.js", + "kind": "require-call", + "original": "./where.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/without.js": { + "bytes": 1002, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + }, + { + "path": "../node_modules/ramda/src/internal/_Set.js", + "kind": "require-call", + "original": "./internal/_Set.js" + }, + { + "path": "../node_modules/ramda/src/reject.js", + "kind": "require-call", + "original": "./reject.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/xor.js": { + "bytes": 730, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/xprod.js": { + "bytes": 1015, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/zip.js": { + "bytes": 1029, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/zipObj.js": { + "bytes": 974, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry2.js", + "kind": "require-call", + "original": "./internal/_curry2.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/zipWith.js": { + "bytes": 1199, + "imports": [ + { + "path": "../node_modules/ramda/src/internal/_curry3.js", + "kind": "require-call", + "original": "./internal/_curry3.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/thunkify.js": { + "bytes": 984, + "imports": [ + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + }, + { + "path": "../node_modules/ramda/src/internal/_curry1.js", + "kind": "require-call", + "original": "./internal/_curry1.js" + } + ], + "format": "cjs" + }, + "../node_modules/ramda/src/index.js": { + "bytes": 16864, + "imports": [ + { + "path": "../node_modules/ramda/src/F.js", + "kind": "require-call", + "original": "./F.js" + }, + { + "path": "../node_modules/ramda/src/T.js", + "kind": "require-call", + "original": "./T.js" + }, + { + "path": "../node_modules/ramda/src/__.js", + "kind": "require-call", + "original": "./__.js" + }, + { + "path": "../node_modules/ramda/src/add.js", + "kind": "require-call", + "original": "./add.js" + }, + { + "path": "../node_modules/ramda/src/addIndex.js", + "kind": "require-call", + "original": "./addIndex.js" + }, + { + "path": "../node_modules/ramda/src/addIndexRight.js", + "kind": "require-call", + "original": "./addIndexRight.js" + }, + { + "path": "../node_modules/ramda/src/adjust.js", + "kind": "require-call", + "original": "./adjust.js" + }, + { + "path": "../node_modules/ramda/src/all.js", + "kind": "require-call", + "original": "./all.js" + }, + { + "path": "../node_modules/ramda/src/allPass.js", + "kind": "require-call", + "original": "./allPass.js" + }, + { + "path": "../node_modules/ramda/src/always.js", + "kind": "require-call", + "original": "./always.js" + }, + { + "path": "../node_modules/ramda/src/and.js", + "kind": "require-call", + "original": "./and.js" + }, + { + "path": "../node_modules/ramda/src/any.js", + "kind": "require-call", + "original": "./any.js" + }, + { + "path": "../node_modules/ramda/src/anyPass.js", + "kind": "require-call", + "original": "./anyPass.js" + }, + { + "path": "../node_modules/ramda/src/ap.js", + "kind": "require-call", + "original": "./ap.js" + }, + { + "path": "../node_modules/ramda/src/aperture.js", + "kind": "require-call", + "original": "./aperture.js" + }, + { + "path": "../node_modules/ramda/src/append.js", + "kind": "require-call", + "original": "./append.js" + }, + { + "path": "../node_modules/ramda/src/apply.js", + "kind": "require-call", + "original": "./apply.js" + }, + { + "path": "../node_modules/ramda/src/applySpec.js", + "kind": "require-call", + "original": "./applySpec.js" + }, + { + "path": "../node_modules/ramda/src/applyTo.js", + "kind": "require-call", + "original": "./applyTo.js" + }, + { + "path": "../node_modules/ramda/src/ascend.js", + "kind": "require-call", + "original": "./ascend.js" + }, + { + "path": "../node_modules/ramda/src/assoc.js", + "kind": "require-call", + "original": "./assoc.js" + }, + { + "path": "../node_modules/ramda/src/assocPath.js", + "kind": "require-call", + "original": "./assocPath.js" + }, + { + "path": "../node_modules/ramda/src/binary.js", + "kind": "require-call", + "original": "./binary.js" + }, + { + "path": "../node_modules/ramda/src/bind.js", + "kind": "require-call", + "original": "./bind.js" + }, + { + "path": "../node_modules/ramda/src/both.js", + "kind": "require-call", + "original": "./both.js" + }, + { + "path": "../node_modules/ramda/src/call.js", + "kind": "require-call", + "original": "./call.js" + }, + { + "path": "../node_modules/ramda/src/chain.js", + "kind": "require-call", + "original": "./chain.js" + }, + { + "path": "../node_modules/ramda/src/clamp.js", + "kind": "require-call", + "original": "./clamp.js" + }, + { + "path": "../node_modules/ramda/src/clone.js", + "kind": "require-call", + "original": "./clone.js" + }, + { + "path": "../node_modules/ramda/src/collectBy.js", + "kind": "require-call", + "original": "./collectBy.js" + }, + { + "path": "../node_modules/ramda/src/comparator.js", + "kind": "require-call", + "original": "./comparator.js" + }, + { + "path": "../node_modules/ramda/src/complement.js", + "kind": "require-call", + "original": "./complement.js" + }, + { + "path": "../node_modules/ramda/src/compose.js", + "kind": "require-call", + "original": "./compose.js" + }, + { + "path": "../node_modules/ramda/src/composeWith.js", + "kind": "require-call", + "original": "./composeWith.js" + }, + { + "path": "../node_modules/ramda/src/concat.js", + "kind": "require-call", + "original": "./concat.js" + }, + { + "path": "../node_modules/ramda/src/cond.js", + "kind": "require-call", + "original": "./cond.js" + }, + { + "path": "../node_modules/ramda/src/construct.js", + "kind": "require-call", + "original": "./construct.js" + }, + { + "path": "../node_modules/ramda/src/constructN.js", + "kind": "require-call", + "original": "./constructN.js" + }, + { + "path": "../node_modules/ramda/src/converge.js", + "kind": "require-call", + "original": "./converge.js" + }, + { + "path": "../node_modules/ramda/src/count.js", + "kind": "require-call", + "original": "./count.js" + }, + { + "path": "../node_modules/ramda/src/countBy.js", + "kind": "require-call", + "original": "./countBy.js" + }, + { + "path": "../node_modules/ramda/src/curry.js", + "kind": "require-call", + "original": "./curry.js" + }, + { + "path": "../node_modules/ramda/src/curryN.js", + "kind": "require-call", + "original": "./curryN.js" + }, + { + "path": "../node_modules/ramda/src/dec.js", + "kind": "require-call", + "original": "./dec.js" + }, + { + "path": "../node_modules/ramda/src/defaultTo.js", + "kind": "require-call", + "original": "./defaultTo.js" + }, + { + "path": "../node_modules/ramda/src/descend.js", + "kind": "require-call", + "original": "./descend.js" + }, + { + "path": "../node_modules/ramda/src/difference.js", + "kind": "require-call", + "original": "./difference.js" + }, + { + "path": "../node_modules/ramda/src/differenceWith.js", + "kind": "require-call", + "original": "./differenceWith.js" + }, + { + "path": "../node_modules/ramda/src/dissoc.js", + "kind": "require-call", + "original": "./dissoc.js" + }, + { + "path": "../node_modules/ramda/src/dissocPath.js", + "kind": "require-call", + "original": "./dissocPath.js" + }, + { + "path": "../node_modules/ramda/src/divide.js", + "kind": "require-call", + "original": "./divide.js" + }, + { + "path": "../node_modules/ramda/src/drop.js", + "kind": "require-call", + "original": "./drop.js" + }, + { + "path": "../node_modules/ramda/src/dropLast.js", + "kind": "require-call", + "original": "./dropLast.js" + }, + { + "path": "../node_modules/ramda/src/dropLastWhile.js", + "kind": "require-call", + "original": "./dropLastWhile.js" + }, + { + "path": "../node_modules/ramda/src/dropRepeats.js", + "kind": "require-call", + "original": "./dropRepeats.js" + }, + { + "path": "../node_modules/ramda/src/dropRepeatsBy.js", + "kind": "require-call", + "original": "./dropRepeatsBy.js" + }, + { + "path": "../node_modules/ramda/src/dropRepeatsWith.js", + "kind": "require-call", + "original": "./dropRepeatsWith.js" + }, + { + "path": "../node_modules/ramda/src/dropWhile.js", + "kind": "require-call", + "original": "./dropWhile.js" + }, + { + "path": "../node_modules/ramda/src/either.js", + "kind": "require-call", + "original": "./either.js" + }, + { + "path": "../node_modules/ramda/src/empty.js", + "kind": "require-call", + "original": "./empty.js" + }, + { + "path": "../node_modules/ramda/src/endsWith.js", + "kind": "require-call", + "original": "./endsWith.js" + }, + { + "path": "../node_modules/ramda/src/eqBy.js", + "kind": "require-call", + "original": "./eqBy.js" + }, + { + "path": "../node_modules/ramda/src/eqProps.js", + "kind": "require-call", + "original": "./eqProps.js" + }, + { + "path": "../node_modules/ramda/src/equals.js", + "kind": "require-call", + "original": "./equals.js" + }, + { + "path": "../node_modules/ramda/src/evolve.js", + "kind": "require-call", + "original": "./evolve.js" + }, + { + "path": "../node_modules/ramda/src/filter.js", + "kind": "require-call", + "original": "./filter.js" + }, + { + "path": "../node_modules/ramda/src/find.js", + "kind": "require-call", + "original": "./find.js" + }, + { + "path": "../node_modules/ramda/src/findIndex.js", + "kind": "require-call", + "original": "./findIndex.js" + }, + { + "path": "../node_modules/ramda/src/findLast.js", + "kind": "require-call", + "original": "./findLast.js" + }, + { + "path": "../node_modules/ramda/src/findLastIndex.js", + "kind": "require-call", + "original": "./findLastIndex.js" + }, + { + "path": "../node_modules/ramda/src/flatten.js", + "kind": "require-call", + "original": "./flatten.js" + }, + { + "path": "../node_modules/ramda/src/flip.js", + "kind": "require-call", + "original": "./flip.js" + }, + { + "path": "../node_modules/ramda/src/forEach.js", + "kind": "require-call", + "original": "./forEach.js" + }, + { + "path": "../node_modules/ramda/src/forEachObjIndexed.js", + "kind": "require-call", + "original": "./forEachObjIndexed.js" + }, + { + "path": "../node_modules/ramda/src/fromPairs.js", + "kind": "require-call", + "original": "./fromPairs.js" + }, + { + "path": "../node_modules/ramda/src/groupBy.js", + "kind": "require-call", + "original": "./groupBy.js" + }, + { + "path": "../node_modules/ramda/src/groupWith.js", + "kind": "require-call", + "original": "./groupWith.js" + }, + { + "path": "../node_modules/ramda/src/gt.js", + "kind": "require-call", + "original": "./gt.js" + }, + { + "path": "../node_modules/ramda/src/gte.js", + "kind": "require-call", + "original": "./gte.js" + }, + { + "path": "../node_modules/ramda/src/has.js", + "kind": "require-call", + "original": "./has.js" + }, + { + "path": "../node_modules/ramda/src/hasIn.js", + "kind": "require-call", + "original": "./hasIn.js" + }, + { + "path": "../node_modules/ramda/src/hasPath.js", + "kind": "require-call", + "original": "./hasPath.js" + }, + { + "path": "../node_modules/ramda/src/head.js", + "kind": "require-call", + "original": "./head.js" + }, + { + "path": "../node_modules/ramda/src/identical.js", + "kind": "require-call", + "original": "./identical.js" + }, + { + "path": "../node_modules/ramda/src/identity.js", + "kind": "require-call", + "original": "./identity.js" + }, + { + "path": "../node_modules/ramda/src/ifElse.js", + "kind": "require-call", + "original": "./ifElse.js" + }, + { + "path": "../node_modules/ramda/src/inc.js", + "kind": "require-call", + "original": "./inc.js" + }, + { + "path": "../node_modules/ramda/src/includes.js", + "kind": "require-call", + "original": "./includes.js" + }, + { + "path": "../node_modules/ramda/src/indexBy.js", + "kind": "require-call", + "original": "./indexBy.js" + }, + { + "path": "../node_modules/ramda/src/indexOf.js", + "kind": "require-call", + "original": "./indexOf.js" + }, + { + "path": "../node_modules/ramda/src/init.js", + "kind": "require-call", + "original": "./init.js" + }, + { + "path": "../node_modules/ramda/src/innerJoin.js", + "kind": "require-call", + "original": "./innerJoin.js" + }, + { + "path": "../node_modules/ramda/src/insert.js", + "kind": "require-call", + "original": "./insert.js" + }, + { + "path": "../node_modules/ramda/src/insertAll.js", + "kind": "require-call", + "original": "./insertAll.js" + }, + { + "path": "../node_modules/ramda/src/intersection.js", + "kind": "require-call", + "original": "./intersection.js" + }, + { + "path": "../node_modules/ramda/src/intersperse.js", + "kind": "require-call", + "original": "./intersperse.js" + }, + { + "path": "../node_modules/ramda/src/into.js", + "kind": "require-call", + "original": "./into.js" + }, + { + "path": "../node_modules/ramda/src/invert.js", + "kind": "require-call", + "original": "./invert.js" + }, + { + "path": "../node_modules/ramda/src/invertObj.js", + "kind": "require-call", + "original": "./invertObj.js" + }, + { + "path": "../node_modules/ramda/src/invoker.js", + "kind": "require-call", + "original": "./invoker.js" + }, + { + "path": "../node_modules/ramda/src/is.js", + "kind": "require-call", + "original": "./is.js" + }, + { + "path": "../node_modules/ramda/src/isEmpty.js", + "kind": "require-call", + "original": "./isEmpty.js" + }, + { + "path": "../node_modules/ramda/src/isNil.js", + "kind": "require-call", + "original": "./isNil.js" + }, + { + "path": "../node_modules/ramda/src/isNotNil.js", + "kind": "require-call", + "original": "./isNotNil.js" + }, + { + "path": "../node_modules/ramda/src/join.js", + "kind": "require-call", + "original": "./join.js" + }, + { + "path": "../node_modules/ramda/src/juxt.js", + "kind": "require-call", + "original": "./juxt.js" + }, + { + "path": "../node_modules/ramda/src/keys.js", + "kind": "require-call", + "original": "./keys.js" + }, + { + "path": "../node_modules/ramda/src/keysIn.js", + "kind": "require-call", + "original": "./keysIn.js" + }, + { + "path": "../node_modules/ramda/src/last.js", + "kind": "require-call", + "original": "./last.js" + }, + { + "path": "../node_modules/ramda/src/lastIndexOf.js", + "kind": "require-call", + "original": "./lastIndexOf.js" + }, + { + "path": "../node_modules/ramda/src/length.js", + "kind": "require-call", + "original": "./length.js" + }, + { + "path": "../node_modules/ramda/src/lens.js", + "kind": "require-call", + "original": "./lens.js" + }, + { + "path": "../node_modules/ramda/src/lensIndex.js", + "kind": "require-call", + "original": "./lensIndex.js" + }, + { + "path": "../node_modules/ramda/src/lensPath.js", + "kind": "require-call", + "original": "./lensPath.js" + }, + { + "path": "../node_modules/ramda/src/lensProp.js", + "kind": "require-call", + "original": "./lensProp.js" + }, + { + "path": "../node_modules/ramda/src/lift.js", + "kind": "require-call", + "original": "./lift.js" + }, + { + "path": "../node_modules/ramda/src/liftN.js", + "kind": "require-call", + "original": "./liftN.js" + }, + { + "path": "../node_modules/ramda/src/lt.js", + "kind": "require-call", + "original": "./lt.js" + }, + { + "path": "../node_modules/ramda/src/lte.js", + "kind": "require-call", + "original": "./lte.js" + }, + { + "path": "../node_modules/ramda/src/map.js", + "kind": "require-call", + "original": "./map.js" + }, + { + "path": "../node_modules/ramda/src/mapAccum.js", + "kind": "require-call", + "original": "./mapAccum.js" + }, + { + "path": "../node_modules/ramda/src/mapAccumRight.js", + "kind": "require-call", + "original": "./mapAccumRight.js" + }, + { + "path": "../node_modules/ramda/src/mapObjIndexed.js", + "kind": "require-call", + "original": "./mapObjIndexed.js" + }, + { + "path": "../node_modules/ramda/src/match.js", + "kind": "require-call", + "original": "./match.js" + }, + { + "path": "../node_modules/ramda/src/mathMod.js", + "kind": "require-call", + "original": "./mathMod.js" + }, + { + "path": "../node_modules/ramda/src/max.js", + "kind": "require-call", + "original": "./max.js" + }, + { + "path": "../node_modules/ramda/src/maxBy.js", + "kind": "require-call", + "original": "./maxBy.js" + }, + { + "path": "../node_modules/ramda/src/mean.js", + "kind": "require-call", + "original": "./mean.js" + }, + { + "path": "../node_modules/ramda/src/median.js", + "kind": "require-call", + "original": "./median.js" + }, + { + "path": "../node_modules/ramda/src/memoizeWith.js", + "kind": "require-call", + "original": "./memoizeWith.js" + }, + { + "path": "../node_modules/ramda/src/mergeAll.js", + "kind": "require-call", + "original": "./mergeAll.js" + }, + { + "path": "../node_modules/ramda/src/mergeDeepLeft.js", + "kind": "require-call", + "original": "./mergeDeepLeft.js" + }, + { + "path": "../node_modules/ramda/src/mergeDeepRight.js", + "kind": "require-call", + "original": "./mergeDeepRight.js" + }, + { + "path": "../node_modules/ramda/src/mergeDeepWith.js", + "kind": "require-call", + "original": "./mergeDeepWith.js" + }, + { + "path": "../node_modules/ramda/src/mergeDeepWithKey.js", + "kind": "require-call", + "original": "./mergeDeepWithKey.js" + }, + { + "path": "../node_modules/ramda/src/mergeLeft.js", + "kind": "require-call", + "original": "./mergeLeft.js" + }, + { + "path": "../node_modules/ramda/src/mergeRight.js", + "kind": "require-call", + "original": "./mergeRight.js" + }, + { + "path": "../node_modules/ramda/src/mergeWith.js", + "kind": "require-call", + "original": "./mergeWith.js" + }, + { + "path": "../node_modules/ramda/src/mergeWithKey.js", + "kind": "require-call", + "original": "./mergeWithKey.js" + }, + { + "path": "../node_modules/ramda/src/min.js", + "kind": "require-call", + "original": "./min.js" + }, + { + "path": "../node_modules/ramda/src/minBy.js", + "kind": "require-call", + "original": "./minBy.js" + }, + { + "path": "../node_modules/ramda/src/modify.js", + "kind": "require-call", + "original": "./modify.js" + }, + { + "path": "../node_modules/ramda/src/modifyPath.js", + "kind": "require-call", + "original": "./modifyPath.js" + }, + { + "path": "../node_modules/ramda/src/modulo.js", + "kind": "require-call", + "original": "./modulo.js" + }, + { + "path": "../node_modules/ramda/src/move.js", + "kind": "require-call", + "original": "./move.js" + }, + { + "path": "../node_modules/ramda/src/multiply.js", + "kind": "require-call", + "original": "./multiply.js" + }, + { + "path": "../node_modules/ramda/src/nAry.js", + "kind": "require-call", + "original": "./nAry.js" + }, + { + "path": "../node_modules/ramda/src/partialObject.js", + "kind": "require-call", + "original": "./partialObject.js" + }, + { + "path": "../node_modules/ramda/src/negate.js", + "kind": "require-call", + "original": "./negate.js" + }, + { + "path": "../node_modules/ramda/src/none.js", + "kind": "require-call", + "original": "./none.js" + }, + { + "path": "../node_modules/ramda/src/not.js", + "kind": "require-call", + "original": "./not.js" + }, + { + "path": "../node_modules/ramda/src/nth.js", + "kind": "require-call", + "original": "./nth.js" + }, + { + "path": "../node_modules/ramda/src/nthArg.js", + "kind": "require-call", + "original": "./nthArg.js" + }, + { + "path": "../node_modules/ramda/src/o.js", + "kind": "require-call", + "original": "./o.js" + }, + { + "path": "../node_modules/ramda/src/objOf.js", + "kind": "require-call", + "original": "./objOf.js" + }, + { + "path": "../node_modules/ramda/src/of.js", + "kind": "require-call", + "original": "./of.js" + }, + { + "path": "../node_modules/ramda/src/omit.js", + "kind": "require-call", + "original": "./omit.js" + }, + { + "path": "../node_modules/ramda/src/on.js", + "kind": "require-call", + "original": "./on.js" + }, + { + "path": "../node_modules/ramda/src/once.js", + "kind": "require-call", + "original": "./once.js" + }, + { + "path": "../node_modules/ramda/src/or.js", + "kind": "require-call", + "original": "./or.js" + }, + { + "path": "../node_modules/ramda/src/otherwise.js", + "kind": "require-call", + "original": "./otherwise.js" + }, + { + "path": "../node_modules/ramda/src/over.js", + "kind": "require-call", + "original": "./over.js" + }, + { + "path": "../node_modules/ramda/src/pair.js", + "kind": "require-call", + "original": "./pair.js" + }, + { + "path": "../node_modules/ramda/src/partial.js", + "kind": "require-call", + "original": "./partial.js" + }, + { + "path": "../node_modules/ramda/src/partialRight.js", + "kind": "require-call", + "original": "./partialRight.js" + }, + { + "path": "../node_modules/ramda/src/partition.js", + "kind": "require-call", + "original": "./partition.js" + }, + { + "path": "../node_modules/ramda/src/path.js", + "kind": "require-call", + "original": "./path.js" + }, + { + "path": "../node_modules/ramda/src/paths.js", + "kind": "require-call", + "original": "./paths.js" + }, + { + "path": "../node_modules/ramda/src/pathEq.js", + "kind": "require-call", + "original": "./pathEq.js" + }, + { + "path": "../node_modules/ramda/src/pathOr.js", + "kind": "require-call", + "original": "./pathOr.js" + }, + { + "path": "../node_modules/ramda/src/pathSatisfies.js", + "kind": "require-call", + "original": "./pathSatisfies.js" + }, + { + "path": "../node_modules/ramda/src/pick.js", + "kind": "require-call", + "original": "./pick.js" + }, + { + "path": "../node_modules/ramda/src/pickAll.js", + "kind": "require-call", + "original": "./pickAll.js" + }, + { + "path": "../node_modules/ramda/src/pickBy.js", + "kind": "require-call", + "original": "./pickBy.js" + }, + { + "path": "../node_modules/ramda/src/pipe.js", + "kind": "require-call", + "original": "./pipe.js" + }, + { + "path": "../node_modules/ramda/src/pipeWith.js", + "kind": "require-call", + "original": "./pipeWith.js" + }, + { + "path": "../node_modules/ramda/src/pluck.js", + "kind": "require-call", + "original": "./pluck.js" + }, + { + "path": "../node_modules/ramda/src/prepend.js", + "kind": "require-call", + "original": "./prepend.js" + }, + { + "path": "../node_modules/ramda/src/product.js", + "kind": "require-call", + "original": "./product.js" + }, + { + "path": "../node_modules/ramda/src/project.js", + "kind": "require-call", + "original": "./project.js" + }, + { + "path": "../node_modules/ramda/src/promap.js", + "kind": "require-call", + "original": "./promap.js" + }, + { + "path": "../node_modules/ramda/src/prop.js", + "kind": "require-call", + "original": "./prop.js" + }, + { + "path": "../node_modules/ramda/src/propEq.js", + "kind": "require-call", + "original": "./propEq.js" + }, + { + "path": "../node_modules/ramda/src/propIs.js", + "kind": "require-call", + "original": "./propIs.js" + }, + { + "path": "../node_modules/ramda/src/propOr.js", + "kind": "require-call", + "original": "./propOr.js" + }, + { + "path": "../node_modules/ramda/src/propSatisfies.js", + "kind": "require-call", + "original": "./propSatisfies.js" + }, + { + "path": "../node_modules/ramda/src/props.js", + "kind": "require-call", + "original": "./props.js" + }, + { + "path": "../node_modules/ramda/src/range.js", + "kind": "require-call", + "original": "./range.js" + }, + { + "path": "../node_modules/ramda/src/reduce.js", + "kind": "require-call", + "original": "./reduce.js" + }, + { + "path": "../node_modules/ramda/src/reduceBy.js", + "kind": "require-call", + "original": "./reduceBy.js" + }, + { + "path": "../node_modules/ramda/src/reduceRight.js", + "kind": "require-call", + "original": "./reduceRight.js" + }, + { + "path": "../node_modules/ramda/src/reduceWhile.js", + "kind": "require-call", + "original": "./reduceWhile.js" + }, + { + "path": "../node_modules/ramda/src/reduced.js", + "kind": "require-call", + "original": "./reduced.js" + }, + { + "path": "../node_modules/ramda/src/reject.js", + "kind": "require-call", + "original": "./reject.js" + }, + { + "path": "../node_modules/ramda/src/remove.js", + "kind": "require-call", + "original": "./remove.js" + }, + { + "path": "../node_modules/ramda/src/repeat.js", + "kind": "require-call", + "original": "./repeat.js" + }, + { + "path": "../node_modules/ramda/src/replace.js", + "kind": "require-call", + "original": "./replace.js" + }, + { + "path": "../node_modules/ramda/src/reverse.js", + "kind": "require-call", + "original": "./reverse.js" + }, + { + "path": "../node_modules/ramda/src/scan.js", + "kind": "require-call", + "original": "./scan.js" + }, + { + "path": "../node_modules/ramda/src/sequence.js", + "kind": "require-call", + "original": "./sequence.js" + }, + { + "path": "../node_modules/ramda/src/set.js", + "kind": "require-call", + "original": "./set.js" + }, + { + "path": "../node_modules/ramda/src/slice.js", + "kind": "require-call", + "original": "./slice.js" + }, + { + "path": "../node_modules/ramda/src/sort.js", + "kind": "require-call", + "original": "./sort.js" + }, + { + "path": "../node_modules/ramda/src/sortBy.js", + "kind": "require-call", + "original": "./sortBy.js" + }, + { + "path": "../node_modules/ramda/src/sortWith.js", + "kind": "require-call", + "original": "./sortWith.js" + }, + { + "path": "../node_modules/ramda/src/split.js", + "kind": "require-call", + "original": "./split.js" + }, + { + "path": "../node_modules/ramda/src/splitAt.js", + "kind": "require-call", + "original": "./splitAt.js" + }, + { + "path": "../node_modules/ramda/src/splitEvery.js", + "kind": "require-call", + "original": "./splitEvery.js" + }, + { + "path": "../node_modules/ramda/src/splitWhen.js", + "kind": "require-call", + "original": "./splitWhen.js" + }, + { + "path": "../node_modules/ramda/src/splitWhenever.js", + "kind": "require-call", + "original": "./splitWhenever.js" + }, + { + "path": "../node_modules/ramda/src/startsWith.js", + "kind": "require-call", + "original": "./startsWith.js" + }, + { + "path": "../node_modules/ramda/src/subtract.js", + "kind": "require-call", + "original": "./subtract.js" + }, + { + "path": "../node_modules/ramda/src/sum.js", + "kind": "require-call", + "original": "./sum.js" + }, + { + "path": "../node_modules/ramda/src/swap.js", + "kind": "require-call", + "original": "./swap.js" + }, + { + "path": "../node_modules/ramda/src/symmetricDifference.js", + "kind": "require-call", + "original": "./symmetricDifference.js" + }, + { + "path": "../node_modules/ramda/src/symmetricDifferenceWith.js", + "kind": "require-call", + "original": "./symmetricDifferenceWith.js" + }, + { + "path": "../node_modules/ramda/src/tail.js", + "kind": "require-call", + "original": "./tail.js" + }, + { + "path": "../node_modules/ramda/src/take.js", + "kind": "require-call", + "original": "./take.js" + }, + { + "path": "../node_modules/ramda/src/takeLast.js", + "kind": "require-call", + "original": "./takeLast.js" + }, + { + "path": "../node_modules/ramda/src/takeLastWhile.js", + "kind": "require-call", + "original": "./takeLastWhile.js" + }, + { + "path": "../node_modules/ramda/src/takeWhile.js", + "kind": "require-call", + "original": "./takeWhile.js" + }, + { + "path": "../node_modules/ramda/src/tap.js", + "kind": "require-call", + "original": "./tap.js" + }, + { + "path": "../node_modules/ramda/src/test.js", + "kind": "require-call", + "original": "./test.js" + }, + { + "path": "../node_modules/ramda/src/andThen.js", + "kind": "require-call", + "original": "./andThen.js" + }, + { + "path": "../node_modules/ramda/src/times.js", + "kind": "require-call", + "original": "./times.js" + }, + { + "path": "../node_modules/ramda/src/toLower.js", + "kind": "require-call", + "original": "./toLower.js" + }, + { + "path": "../node_modules/ramda/src/toPairs.js", + "kind": "require-call", + "original": "./toPairs.js" + }, + { + "path": "../node_modules/ramda/src/toPairsIn.js", + "kind": "require-call", + "original": "./toPairsIn.js" + }, + { + "path": "../node_modules/ramda/src/toString.js", + "kind": "require-call", + "original": "./toString.js" + }, + { + "path": "../node_modules/ramda/src/toUpper.js", + "kind": "require-call", + "original": "./toUpper.js" + }, + { + "path": "../node_modules/ramda/src/transduce.js", + "kind": "require-call", + "original": "./transduce.js" + }, + { + "path": "../node_modules/ramda/src/transpose.js", + "kind": "require-call", + "original": "./transpose.js" + }, + { + "path": "../node_modules/ramda/src/traverse.js", + "kind": "require-call", + "original": "./traverse.js" + }, + { + "path": "../node_modules/ramda/src/trim.js", + "kind": "require-call", + "original": "./trim.js" + }, + { + "path": "../node_modules/ramda/src/tryCatch.js", + "kind": "require-call", + "original": "./tryCatch.js" + }, + { + "path": "../node_modules/ramda/src/type.js", + "kind": "require-call", + "original": "./type.js" + }, + { + "path": "../node_modules/ramda/src/unapply.js", + "kind": "require-call", + "original": "./unapply.js" + }, + { + "path": "../node_modules/ramda/src/unary.js", + "kind": "require-call", + "original": "./unary.js" + }, + { + "path": "../node_modules/ramda/src/uncurryN.js", + "kind": "require-call", + "original": "./uncurryN.js" + }, + { + "path": "../node_modules/ramda/src/unfold.js", + "kind": "require-call", + "original": "./unfold.js" + }, + { + "path": "../node_modules/ramda/src/union.js", + "kind": "require-call", + "original": "./union.js" + }, + { + "path": "../node_modules/ramda/src/unionWith.js", + "kind": "require-call", + "original": "./unionWith.js" + }, + { + "path": "../node_modules/ramda/src/uniq.js", + "kind": "require-call", + "original": "./uniq.js" + }, + { + "path": "../node_modules/ramda/src/uniqBy.js", + "kind": "require-call", + "original": "./uniqBy.js" + }, + { + "path": "../node_modules/ramda/src/uniqWith.js", + "kind": "require-call", + "original": "./uniqWith.js" + }, + { + "path": "../node_modules/ramda/src/unless.js", + "kind": "require-call", + "original": "./unless.js" + }, + { + "path": "../node_modules/ramda/src/unnest.js", + "kind": "require-call", + "original": "./unnest.js" + }, + { + "path": "../node_modules/ramda/src/until.js", + "kind": "require-call", + "original": "./until.js" + }, + { + "path": "../node_modules/ramda/src/unwind.js", + "kind": "require-call", + "original": "./unwind.js" + }, + { + "path": "../node_modules/ramda/src/update.js", + "kind": "require-call", + "original": "./update.js" + }, + { + "path": "../node_modules/ramda/src/useWith.js", + "kind": "require-call", + "original": "./useWith.js" + }, + { + "path": "../node_modules/ramda/src/values.js", + "kind": "require-call", + "original": "./values.js" + }, + { + "path": "../node_modules/ramda/src/valuesIn.js", + "kind": "require-call", + "original": "./valuesIn.js" + }, + { + "path": "../node_modules/ramda/src/view.js", + "kind": "require-call", + "original": "./view.js" + }, + { + "path": "../node_modules/ramda/src/when.js", + "kind": "require-call", + "original": "./when.js" + }, + { + "path": "../node_modules/ramda/src/where.js", + "kind": "require-call", + "original": "./where.js" + }, + { + "path": "../node_modules/ramda/src/whereAny.js", + "kind": "require-call", + "original": "./whereAny.js" + }, + { + "path": "../node_modules/ramda/src/whereEq.js", + "kind": "require-call", + "original": "./whereEq.js" + }, + { + "path": "../node_modules/ramda/src/without.js", + "kind": "require-call", + "original": "./without.js" + }, + { + "path": "../node_modules/ramda/src/xor.js", + "kind": "require-call", + "original": "./xor.js" + }, + { + "path": "../node_modules/ramda/src/xprod.js", + "kind": "require-call", + "original": "./xprod.js" + }, + { + "path": "../node_modules/ramda/src/zip.js", + "kind": "require-call", + "original": "./zip.js" + }, + { + "path": "../node_modules/ramda/src/zipObj.js", + "kind": "require-call", + "original": "./zipObj.js" + }, + { + "path": "../node_modules/ramda/src/zipWith.js", + "kind": "require-call", + "original": "./zipWith.js" + }, + { + "path": "../node_modules/ramda/src/thunkify.js", + "kind": "require-call", + "original": "./thunkify.js" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/lib/common/libs.js": { + "bytes": 1624, + "imports": [ + { + "path": "crypto", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/file-system-cache/node_modules/fs-extra/lib/index.js", + "kind": "require-call", + "original": "fs-extra" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/ramda/src/index.js", + "kind": "require-call", + "original": "ramda" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/lib/common/util.js": { + "bytes": 4374, + "imports": [ + { + "path": "../node_modules/file-system-cache/lib/common/libs.js", + "kind": "require-call", + "original": "./libs" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/lib/common/const.hashes.js": { + "bytes": 1243, + "imports": [], + "format": "cjs" + }, + "../node_modules/file-system-cache/lib/common/index.js": { + "bytes": 1489, + "imports": [ + { + "path": "../node_modules/file-system-cache/lib/common/util.js", + "kind": "require-call", + "original": "./util" + }, + { + "path": "../node_modules/file-system-cache/lib/common/const.hashes.js", + "kind": "require-call", + "original": "./const.hashes" + }, + { + "path": "../node_modules/file-system-cache/lib/common/libs.js", + "kind": "require-call", + "original": "./libs" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/lib/FileSystemCache.js": { + "bytes": 5144, + "imports": [ + { + "path": "../node_modules/file-system-cache/lib/common/index.js", + "kind": "require-call", + "original": "./common" + } + ], + "format": "cjs" + }, + "../node_modules/file-system-cache/lib/index.js": { + "bytes": 526, + "imports": [ + { + "path": "../node_modules/file-system-cache/lib/FileSystemCache.js", + "kind": "require-call", + "original": "./FileSystemCache" + } + ], + "format": "cjs" + }, + "src/common/utils/file-cache.ts": { + "bytes": 379, + "imports": [ + { + "path": "../node_modules/file-system-cache/lib/index.js", + "kind": "import-statement", + "original": "file-system-cache" + } + ], + "format": "esm" + }, + "../node_modules/common-path-prefix/index.js": { + "bytes": 843, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/yocto-queue/index.js": { + "bytes": 1277, + "imports": [], + "format": "esm" + }, + "../node_modules/locate-path/node_modules/p-limit/index.js": { + "bytes": 1502, + "imports": [ + { + "path": "../node_modules/yocto-queue/index.js", + "kind": "import-statement", + "original": "yocto-queue" + } + ], + "format": "esm" + }, + "../node_modules/locate-path/node_modules/p-locate/index.js": { + "bytes": 1121, + "imports": [ + { + "path": "../node_modules/locate-path/node_modules/p-limit/index.js", + "kind": "import-statement", + "original": "p-limit" + } + ], + "format": "esm" + }, + "../node_modules/locate-path/index.js": { + "bytes": 1518, + "imports": [ + { + "path": "node:process", + "kind": "import-statement", + "external": true + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "node:fs", + "kind": "import-statement", + "external": true + }, + { + "path": "node:url", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/locate-path/node_modules/p-locate/index.js", + "kind": "import-statement", + "original": "p-locate" + } + ], + "format": "esm" + }, + "../node_modules/find-cache-dir/node_modules/path-exists/index.js": { + "bytes": 298, + "imports": [ + { + "path": "node:fs", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "../node_modules/find-cache-dir/node_modules/find-up/index.js": { + "bytes": 2679, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "node:url", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/locate-path/index.js", + "kind": "import-statement", + "original": "locate-path" + }, + { + "path": "../node_modules/find-cache-dir/node_modules/path-exists/index.js", + "kind": "import-statement", + "original": "path-exists" + } + ], + "format": "esm" + }, + "../node_modules/find-cache-dir/node_modules/pkg-dir/index.js": { + "bytes": 380, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/find-cache-dir/node_modules/find-up/index.js", + "kind": "import-statement", + "original": "find-up" + } + ], + "format": "esm" + }, + "../node_modules/find-cache-dir/index.js": { + "bytes": 1503, + "imports": [ + { + "path": "node:process", + "kind": "import-statement", + "external": true + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "node:fs", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/common-path-prefix/index.js", + "kind": "import-statement", + "original": "common-path-prefix" + }, + { + "path": "../node_modules/find-cache-dir/node_modules/pkg-dir/index.js", + "kind": "import-statement", + "original": "pkg-dir" + } + ], + "format": "esm" + }, + "src/common/utils/resolve-path-in-sb-cache.ts": { + "bytes": 756, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/find-cache-dir/index.js", + "kind": "import-statement", + "original": "find-cache-dir" + } + ], + "format": "esm" + }, + "src/common/utils/cache.ts": { + "bytes": 297, + "imports": [ + { + "path": "src/common/utils/file-cache.ts", + "kind": "import-statement", + "original": "./file-cache" + }, + { + "path": "src/common/utils/resolve-path-in-sb-cache.ts", + "kind": "import-statement", + "original": "./resolve-path-in-sb-cache" + } + ], + "format": "esm" + }, + "../node_modules/crypto-random-string/index.js": { + "bytes": 253, + "imports": [ + { + "path": "crypto", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/unique-string/index.js": { + "bytes": 122, + "imports": [ + { + "path": "../node_modules/crypto-random-string/index.js", + "kind": "require-call", + "original": "crypto-random-string" + } + ], + "format": "cjs" + }, + "../node_modules/temp-dir/index.js": { + "bytes": 321, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/is-stream/index.js": { + "bytes": 677, + "imports": [], + "format": "cjs" + }, + "../node_modules/array-union/index.js": { + "bytes": 104, + "imports": [], + "format": "cjs" + }, + "../node_modules/merge2/index.js": { + "bytes": 3241, + "imports": [ + { + "path": "stream", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/utils/array.js": { + "bytes": 608, + "imports": [], + "format": "cjs" + }, + "../node_modules/fast-glob/out/utils/errno.js": { + "bytes": 234, + "imports": [], + "format": "cjs" + }, + "../node_modules/fast-glob/out/utils/fs.js": { + "bytes": 756, + "imports": [], + "format": "cjs" + }, + "../node_modules/fast-glob/out/utils/path.js": { + "bytes": 3010, + "imports": [ + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/is-extglob/index.js": { + "bytes": 441, + "imports": [], + "format": "cjs" + }, + "../node_modules/is-glob/index.js": { + "bytes": 3628, + "imports": [ + { + "path": "../node_modules/is-extglob/index.js", + "kind": "require-call", + "original": "is-extglob" + } + ], + "format": "cjs" + }, + "../node_modules/glob-parent/index.js": { + "bytes": 1120, + "imports": [ + { + "path": "../node_modules/is-glob/index.js", + "kind": "require-call", + "original": "is-glob" + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/braces/lib/utils.js": { + "bytes": 2451, + "imports": [], + "format": "cjs" + }, + "../node_modules/braces/lib/stringify.js": { + "bytes": 700, + "imports": [ + { + "path": "../node_modules/braces/lib/utils.js", + "kind": "require-call", + "original": "./utils" + } + ], + "format": "cjs" + }, + "../node_modules/to-regex-range/node_modules/is-number/index.js": { + "bytes": 411, + "imports": [], + "format": "cjs" + }, + "../node_modules/to-regex-range/index.js": { + "bytes": 6481, + "imports": [ + { + "path": "../node_modules/to-regex-range/node_modules/is-number/index.js", + "kind": "require-call", + "original": "is-number" + } + ], + "format": "cjs" + }, + "../node_modules/fill-range/index.js": { + "bytes": 6315, + "imports": [ + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/to-regex-range/index.js", + "kind": "require-call", + "original": "to-regex-range" + } + ], + "format": "cjs" + }, + "../node_modules/braces/lib/compile.js": { + "bytes": 1415, + "imports": [ + { + "path": "../node_modules/fill-range/index.js", + "kind": "require-call", + "original": "fill-range" + }, + { + "path": "../node_modules/braces/lib/utils.js", + "kind": "require-call", + "original": "./utils" + } + ], + "format": "cjs" + }, + "../node_modules/braces/lib/expand.js": { + "bytes": 2780, + "imports": [ + { + "path": "../node_modules/fill-range/index.js", + "kind": "require-call", + "original": "fill-range" + }, + { + "path": "../node_modules/braces/lib/stringify.js", + "kind": "require-call", + "original": "./stringify" + }, + { + "path": "../node_modules/braces/lib/utils.js", + "kind": "require-call", + "original": "./utils" + } + ], + "format": "cjs" + }, + "../node_modules/braces/lib/constants.js": { + "bytes": 1593, + "imports": [], + "format": "cjs" + }, + "../node_modules/braces/lib/parse.js": { + "bytes": 6913, + "imports": [ + { + "path": "../node_modules/braces/lib/stringify.js", + "kind": "require-call", + "original": "./stringify" + }, + { + "path": "../node_modules/braces/lib/constants.js", + "kind": "require-call", + "original": "./constants" + } + ], + "format": "cjs" + }, + "../node_modules/braces/index.js": { + "bytes": 4375, + "imports": [ + { + "path": "../node_modules/braces/lib/stringify.js", + "kind": "require-call", + "original": "./lib/stringify" + }, + { + "path": "../node_modules/braces/lib/compile.js", + "kind": "require-call", + "original": "./lib/compile" + }, + { + "path": "../node_modules/braces/lib/expand.js", + "kind": "require-call", + "original": "./lib/expand" + }, + { + "path": "../node_modules/braces/lib/parse.js", + "kind": "require-call", + "original": "./lib/parse" + } + ], + "format": "cjs" + }, + "../node_modules/picomatch/lib/constants.js": { + "bytes": 4448, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/picomatch/lib/utils.js": { + "bytes": 1885, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/picomatch/lib/constants.js", + "kind": "require-call", + "original": "./constants" + } + ], + "format": "cjs" + }, + "../node_modules/picomatch/lib/scan.js": { + "bytes": 9189, + "imports": [ + { + "path": "../node_modules/picomatch/lib/utils.js", + "kind": "require-call", + "original": "./utils" + }, + { + "path": "../node_modules/picomatch/lib/constants.js", + "kind": "require-call", + "original": "./constants" + } + ], + "format": "cjs" + }, + "../node_modules/picomatch/lib/parse.js": { + "bytes": 27763, + "imports": [ + { + "path": "../node_modules/picomatch/lib/constants.js", + "kind": "require-call", + "original": "./constants" + }, + { + "path": "../node_modules/picomatch/lib/utils.js", + "kind": "require-call", + "original": "./utils" + } + ], + "format": "cjs" + }, + "../node_modules/picomatch/lib/picomatch.js": { + "bytes": 9956, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/picomatch/lib/scan.js", + "kind": "require-call", + "original": "./scan" + }, + { + "path": "../node_modules/picomatch/lib/parse.js", + "kind": "require-call", + "original": "./parse" + }, + { + "path": "../node_modules/picomatch/lib/utils.js", + "kind": "require-call", + "original": "./utils" + }, + { + "path": "../node_modules/picomatch/lib/constants.js", + "kind": "require-call", + "original": "./constants" + } + ], + "format": "cjs" + }, + "../node_modules/picomatch/index.js": { + "bytes": 60, + "imports": [ + { + "path": "../node_modules/picomatch/lib/picomatch.js", + "kind": "require-call", + "original": "./lib/picomatch" + } + ], + "format": "cjs" + }, + "../node_modules/micromatch/index.js": { + "bytes": 13741, + "imports": [ + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/braces/index.js", + "kind": "require-call", + "original": "braces" + }, + { + "path": "../node_modules/picomatch/index.js", + "kind": "require-call", + "original": "picomatch" + }, + { + "path": "../node_modules/picomatch/lib/utils.js", + "kind": "require-call", + "original": "picomatch/lib/utils" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/utils/pattern.js": { + "bytes": 7967, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/glob-parent/index.js", + "kind": "require-call", + "original": "glob-parent" + }, + { + "path": "../node_modules/micromatch/index.js", + "kind": "require-call", + "original": "micromatch" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/utils/stream.js": { + "bytes": 629, + "imports": [ + { + "path": "../node_modules/merge2/index.js", + "kind": "require-call", + "original": "merge2" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/utils/string.js": { + "bytes": 298, + "imports": [], + "format": "cjs" + }, + "../node_modules/fast-glob/out/utils/index.js": { + "bytes": 596, + "imports": [ + { + "path": "../node_modules/fast-glob/out/utils/array.js", + "kind": "require-call", + "original": "./array" + }, + { + "path": "../node_modules/fast-glob/out/utils/errno.js", + "kind": "require-call", + "original": "./errno" + }, + { + "path": "../node_modules/fast-glob/out/utils/fs.js", + "kind": "require-call", + "original": "./fs" + }, + { + "path": "../node_modules/fast-glob/out/utils/path.js", + "kind": "require-call", + "original": "./path" + }, + { + "path": "../node_modules/fast-glob/out/utils/pattern.js", + "kind": "require-call", + "original": "./pattern" + }, + { + "path": "../node_modules/fast-glob/out/utils/stream.js", + "kind": "require-call", + "original": "./stream" + }, + { + "path": "../node_modules/fast-glob/out/utils/string.js", + "kind": "require-call", + "original": "./string" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/managers/tasks.js": { + "bytes": 5531, + "imports": [ + { + "path": "../node_modules/fast-glob/out/utils/index.js", + "kind": "require-call", + "original": "../utils" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.stat/out/providers/async.js": { + "bytes": 1172, + "imports": [], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.stat/out/providers/sync.js": { + "bytes": 619, + "imports": [], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.stat/out/adapters/fs.js": { + "bytes": 582, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.stat/out/settings.js": { + "bytes": 696, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.stat/out/adapters/fs.js", + "kind": "require-call", + "original": "./adapters/fs" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.stat/out/index.js": { + "bytes": 985, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.stat/out/providers/async.js", + "kind": "require-call", + "original": "./providers/async" + }, + { + "path": "../node_modules/@nodelib/fs.stat/out/providers/sync.js", + "kind": "require-call", + "original": "./providers/sync" + }, + { + "path": "../node_modules/@nodelib/fs.stat/out/settings.js", + "kind": "require-call", + "original": "./settings" + } + ], + "format": "cjs" + }, + "../node_modules/queue-microtask/index.js": { + "bytes": 402, + "imports": [], + "format": "cjs" + }, + "../node_modules/run-parallel/index.js": { + "bytes": 1034, + "imports": [ + { + "path": "../node_modules/queue-microtask/index.js", + "kind": "require-call", + "original": "queue-microtask" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.scandir/out/constants.js": { + "bytes": 990, + "imports": [], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.scandir/out/utils/fs.js": { + "bytes": 756, + "imports": [], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.scandir/out/utils/index.js": { + "bytes": 143, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.scandir/out/utils/fs.js", + "kind": "require-call", + "original": "./fs" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.scandir/out/providers/common.js": { + "bytes": 419, + "imports": [], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.scandir/out/providers/async.js": { + "bytes": 3686, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.stat/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.stat" + }, + { + "path": "../node_modules/run-parallel/index.js", + "kind": "require-call", + "original": "run-parallel" + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/constants.js", + "kind": "require-call", + "original": "../constants" + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/utils/index.js", + "kind": "require-call", + "original": "../utils" + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/providers/common.js", + "kind": "require-call", + "original": "./common" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.scandir/out/providers/sync.js": { + "bytes": 1990, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.stat/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.stat" + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/constants.js", + "kind": "require-call", + "original": "../constants" + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/utils/index.js", + "kind": "require-call", + "original": "../utils" + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/providers/common.js", + "kind": "require-call", + "original": "./common" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.scandir/out/adapters/fs.js": { + "bytes": 640, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.scandir/out/settings.js": { + "bytes": 1076, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@nodelib/fs.stat/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.stat" + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/adapters/fs.js", + "kind": "require-call", + "original": "./adapters/fs" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.scandir/out/index.js": { + "bytes": 1009, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.scandir/out/providers/async.js", + "kind": "require-call", + "original": "./providers/async" + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/providers/sync.js", + "kind": "require-call", + "original": "./providers/sync" + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/settings.js", + "kind": "require-call", + "original": "./settings" + } + ], + "format": "cjs" + }, + "../node_modules/reusify/reusify.js": { + "bytes": 454, + "imports": [], + "format": "cjs" + }, + "../node_modules/fastq/queue.js": { + "bytes": 5617, + "imports": [ + { + "path": "../node_modules/reusify/reusify.js", + "kind": "require-call", + "original": "reusify" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.walk/out/readers/common.js": { + "bytes": 1052, + "imports": [], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.walk/out/readers/reader.js": { + "bytes": 358, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.walk/out/readers/common.js", + "kind": "require-call", + "original": "./common" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.walk/out/readers/async.js": { + "bytes": 3157, + "imports": [ + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.scandir" + }, + { + "path": "../node_modules/fastq/queue.js", + "kind": "require-call", + "original": "fastq" + }, + { + "path": "../node_modules/@nodelib/fs.walk/out/readers/common.js", + "kind": "require-call", + "original": "./common" + }, + { + "path": "../node_modules/@nodelib/fs.walk/out/readers/reader.js", + "kind": "require-call", + "original": "./reader" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.walk/out/providers/async.js": { + "bytes": 895, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.walk/out/readers/async.js", + "kind": "require-call", + "original": "../readers/async" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.walk/out/providers/stream.js": { + "bytes": 1021, + "imports": [ + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@nodelib/fs.walk/out/readers/async.js", + "kind": "require-call", + "original": "../readers/async" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.walk/out/readers/sync.js": { + "bytes": 1911, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.scandir/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.scandir" + }, + { + "path": "../node_modules/@nodelib/fs.walk/out/readers/common.js", + "kind": "require-call", + "original": "./common" + }, + { + "path": "../node_modules/@nodelib/fs.walk/out/readers/reader.js", + "kind": "require-call", + "original": "./reader" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.walk/out/providers/sync.js": { + "bytes": 407, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.walk/out/readers/sync.js", + "kind": "require-call", + "original": "../readers/sync" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.walk/out/settings.js": { + "bytes": 1250, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@nodelib/fs.scandir/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.scandir" + } + ], + "format": "cjs" + }, + "../node_modules/@nodelib/fs.walk/out/index.js": { + "bytes": 1390, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.walk/out/providers/async.js", + "kind": "require-call", + "original": "./providers/async" + }, + { + "path": "../node_modules/@nodelib/fs.walk/out/providers/stream.js", + "kind": "require-call", + "original": "./providers/stream" + }, + { + "path": "../node_modules/@nodelib/fs.walk/out/providers/sync.js", + "kind": "require-call", + "original": "./providers/sync" + }, + { + "path": "../node_modules/@nodelib/fs.walk/out/settings.js", + "kind": "require-call", + "original": "./settings" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/readers/reader.js": { + "bytes": 1063, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@nodelib/fs.stat/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.stat" + }, + { + "path": "../node_modules/fast-glob/out/utils/index.js", + "kind": "require-call", + "original": "../utils" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/readers/stream.js": { + "bytes": 1870, + "imports": [ + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@nodelib/fs.stat/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.stat" + }, + { + "path": "../node_modules/@nodelib/fs.walk/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.walk" + }, + { + "path": "../node_modules/fast-glob/out/readers/reader.js", + "kind": "require-call", + "original": "./reader" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/readers/async.js": { + "bytes": 1213, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.walk/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.walk" + }, + { + "path": "../node_modules/fast-glob/out/readers/reader.js", + "kind": "require-call", + "original": "./reader" + }, + { + "path": "../node_modules/fast-glob/out/readers/stream.js", + "kind": "require-call", + "original": "./stream" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/providers/matchers/matcher.js": { + "bytes": 1568, + "imports": [ + { + "path": "../node_modules/fast-glob/out/utils/index.js", + "kind": "require-call", + "original": "../../utils" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/providers/matchers/partial.js": { + "bytes": 1421, + "imports": [ + { + "path": "../node_modules/fast-glob/out/providers/matchers/matcher.js", + "kind": "require-call", + "original": "./matcher" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/providers/filters/deep.js": { + "bytes": 2466, + "imports": [ + { + "path": "../node_modules/fast-glob/out/utils/index.js", + "kind": "require-call", + "original": "../../utils" + }, + { + "path": "../node_modules/fast-glob/out/providers/matchers/partial.js", + "kind": "require-call", + "original": "../matchers/partial" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/providers/filters/entry.js": { + "bytes": 2686, + "imports": [ + { + "path": "../node_modules/fast-glob/out/utils/index.js", + "kind": "require-call", + "original": "../../utils" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/providers/filters/error.js": { + "bytes": 441, + "imports": [ + { + "path": "../node_modules/fast-glob/out/utils/index.js", + "kind": "require-call", + "original": "../../utils" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/providers/transformers/entry.js": { + "bytes": 845, + "imports": [ + { + "path": "../node_modules/fast-glob/out/utils/index.js", + "kind": "require-call", + "original": "../../utils" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/providers/provider.js": { + "bytes": 2000, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fast-glob/out/providers/filters/deep.js", + "kind": "require-call", + "original": "./filters/deep" + }, + { + "path": "../node_modules/fast-glob/out/providers/filters/entry.js", + "kind": "require-call", + "original": "./filters/entry" + }, + { + "path": "../node_modules/fast-glob/out/providers/filters/error.js", + "kind": "require-call", + "original": "./filters/error" + }, + { + "path": "../node_modules/fast-glob/out/providers/transformers/entry.js", + "kind": "require-call", + "original": "./transformers/entry" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/providers/async.js": { + "bytes": 814, + "imports": [ + { + "path": "../node_modules/fast-glob/out/readers/async.js", + "kind": "require-call", + "original": "../readers/async" + }, + { + "path": "../node_modules/fast-glob/out/providers/provider.js", + "kind": "require-call", + "original": "./provider" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/providers/stream.js": { + "bytes": 1198, + "imports": [ + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fast-glob/out/readers/stream.js", + "kind": "require-call", + "original": "../readers/stream" + }, + { + "path": "../node_modules/fast-glob/out/providers/provider.js", + "kind": "require-call", + "original": "./provider" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/readers/sync.js": { + "bytes": 1330, + "imports": [ + { + "path": "../node_modules/@nodelib/fs.stat/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.stat" + }, + { + "path": "../node_modules/@nodelib/fs.walk/out/index.js", + "kind": "require-call", + "original": "@nodelib/fs.walk" + }, + { + "path": "../node_modules/fast-glob/out/readers/reader.js", + "kind": "require-call", + "original": "./reader" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/providers/sync.js": { + "bytes": 779, + "imports": [ + { + "path": "../node_modules/fast-glob/out/readers/sync.js", + "kind": "require-call", + "original": "../readers/sync" + }, + { + "path": "../node_modules/fast-glob/out/providers/provider.js", + "kind": "require-call", + "original": "./provider" + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/settings.js": { + "bytes": 2849, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/fast-glob/out/index.js": { + "bytes": 4091, + "imports": [ + { + "path": "../node_modules/fast-glob/out/managers/tasks.js", + "kind": "require-call", + "original": "./managers/tasks" + }, + { + "path": "../node_modules/fast-glob/out/providers/async.js", + "kind": "require-call", + "original": "./providers/async" + }, + { + "path": "../node_modules/fast-glob/out/providers/stream.js", + "kind": "require-call", + "original": "./providers/stream" + }, + { + "path": "../node_modules/fast-glob/out/providers/sync.js", + "kind": "require-call", + "original": "./providers/sync" + }, + { + "path": "../node_modules/fast-glob/out/settings.js", + "kind": "require-call", + "original": "./settings" + }, + { + "path": "../node_modules/fast-glob/out/utils/index.js", + "kind": "require-call", + "original": "./utils" + } + ], + "format": "cjs" + }, + "../node_modules/path-type/index.js": { + "bytes": 1176, + "imports": [ + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/dir-glob/index.js": { + "bytes": 2304, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/path-type/index.js", + "kind": "require-call", + "original": "path-type" + } + ], + "format": "cjs" + }, + "../node_modules/ignore/index.js": { + "bytes": 16189, + "imports": [], + "format": "cjs" + }, + "../node_modules/del/node_modules/slash/index.js": { + "bytes": 289, + "imports": [], + "format": "cjs" + }, + "../node_modules/del/node_modules/globby/gitignore.js": { + "bytes": 2608, + "imports": [ + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fast-glob/out/index.js", + "kind": "require-call", + "original": "fast-glob" + }, + { + "path": "../node_modules/ignore/index.js", + "kind": "require-call", + "original": "ignore" + }, + { + "path": "../node_modules/del/node_modules/slash/index.js", + "kind": "require-call", + "original": "slash" + } + ], + "format": "cjs" + }, + "../node_modules/del/node_modules/globby/stream-utils.js": { + "bytes": 677, + "imports": [ + { + "path": "stream", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/del/node_modules/globby/index.js": { + "bytes": 4473, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/array-union/index.js", + "kind": "require-call", + "original": "array-union" + }, + { + "path": "../node_modules/merge2/index.js", + "kind": "require-call", + "original": "merge2" + }, + { + "path": "../node_modules/fast-glob/out/index.js", + "kind": "require-call", + "original": "fast-glob" + }, + { + "path": "../node_modules/dir-glob/index.js", + "kind": "require-call", + "original": "dir-glob" + }, + { + "path": "../node_modules/del/node_modules/globby/gitignore.js", + "kind": "require-call", + "original": "./gitignore" + }, + { + "path": "../node_modules/del/node_modules/globby/stream-utils.js", + "kind": "require-call", + "original": "./stream-utils" + } + ], + "format": "cjs" + }, + "../node_modules/is-path-cwd/index.js": { + "bytes": 256, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/is-path-inside/index.js": { + "bytes": 290, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/fs.realpath/old.js": { + "bytes": 8542, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/fs.realpath/index.js": { + "bytes": 1308, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/fs.realpath/old.js", + "kind": "require-call", + "original": "./old.js" + } + ], + "format": "cjs" + }, + "../node_modules/concat-map/index.js": { + "bytes": 345, + "imports": [], + "format": "cjs" + }, + "../node_modules/minimatch/node_modules/brace-expansion/index.js": { + "bytes": 4792, + "imports": [ + { + "path": "../node_modules/concat-map/index.js", + "kind": "require-call", + "original": "concat-map" + }, + { + "path": "../node_modules/balanced-match/index.js", + "kind": "require-call", + "original": "balanced-match" + } + ], + "format": "cjs" + }, + "../node_modules/minimatch/minimatch.js": { + "bytes": 26266, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/minimatch/node_modules/brace-expansion/index.js", + "kind": "require-call", + "original": "brace-expansion" + } + ], + "format": "cjs" + }, + "../node_modules/inherits/inherits_browser.js": { + "bytes": 753, + "imports": [], + "format": "cjs" + }, + "../node_modules/path-is-absolute/index.js": { + "bytes": 611, + "imports": [], + "format": "cjs" + }, + "../node_modules/rimraf/node_modules/glob/common.js": { + "bytes": 6149, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/minimatch/minimatch.js", + "kind": "require-call", + "original": "minimatch" + }, + { + "path": "../node_modules/path-is-absolute/index.js", + "kind": "require-call", + "original": "path-is-absolute" + } + ], + "format": "cjs" + }, + "../node_modules/rimraf/node_modules/glob/sync.js": { + "bytes": 12020, + "imports": [ + { + "path": "../node_modules/fs.realpath/index.js", + "kind": "require-call", + "original": "fs.realpath" + }, + { + "path": "../node_modules/minimatch/minimatch.js", + "kind": "require-call", + "original": "minimatch" + }, + { + "path": "../node_modules/rimraf/node_modules/glob/glob.js", + "kind": "require-call", + "original": "./glob.js" + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/path-is-absolute/index.js", + "kind": "require-call", + "original": "path-is-absolute" + }, + { + "path": "../node_modules/rimraf/node_modules/glob/common.js", + "kind": "require-call", + "original": "./common.js" + } + ], + "format": "cjs" + }, + "../node_modules/wrappy/wrappy.js": { + "bytes": 905, + "imports": [], + "format": "cjs" + }, + "../node_modules/once/once.js": { + "bytes": 935, + "imports": [ + { + "path": "../node_modules/wrappy/wrappy.js", + "kind": "require-call", + "original": "wrappy" + } + ], + "format": "cjs" + }, + "../node_modules/inflight/inflight.js": { + "bytes": 1365, + "imports": [ + { + "path": "../node_modules/wrappy/wrappy.js", + "kind": "require-call", + "original": "wrappy" + }, + { + "path": "../node_modules/once/once.js", + "kind": "require-call", + "original": "once" + } + ], + "format": "cjs" + }, + "../node_modules/rimraf/node_modules/glob/glob.js": { + "bytes": 19445, + "imports": [ + { + "path": "../node_modules/fs.realpath/index.js", + "kind": "require-call", + "original": "fs.realpath" + }, + { + "path": "../node_modules/minimatch/minimatch.js", + "kind": "require-call", + "original": "minimatch" + }, + { + "path": "../node_modules/inherits/inherits_browser.js", + "kind": "require-call", + "original": "inherits" + }, + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/path-is-absolute/index.js", + "kind": "require-call", + "original": "path-is-absolute" + }, + { + "path": "../node_modules/rimraf/node_modules/glob/sync.js", + "kind": "require-call", + "original": "./sync.js" + }, + { + "path": "../node_modules/rimraf/node_modules/glob/common.js", + "kind": "require-call", + "original": "./common.js" + }, + { + "path": "../node_modules/inflight/inflight.js", + "kind": "require-call", + "original": "inflight" + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/once/once.js", + "kind": "require-call", + "original": "once" + } + ], + "format": "cjs" + }, + "../node_modules/rimraf/rimraf.js": { + "bytes": 8866, + "imports": [ + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/rimraf/node_modules/glob/glob.js", + "kind": "require-call", + "original": "glob" + } + ], + "format": "cjs" + }, + "../node_modules/indent-string/index.js": { + "bytes": 743, + "imports": [], + "format": "cjs" + }, + "../node_modules/clean-stack/index.js": { + "bytes": 1055, + "imports": [ + { + "path": "os", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/aggregate-error/index.js": { + "bytes": 1252, + "imports": [ + { + "path": "../node_modules/indent-string/index.js", + "kind": "require-call", + "original": "indent-string" + }, + { + "path": "../node_modules/clean-stack/index.js", + "kind": "require-call", + "original": "clean-stack" + } + ], + "format": "cjs" + }, + "../node_modules/p-map/index.js": { + "bytes": 1640, + "imports": [ + { + "path": "../node_modules/aggregate-error/index.js", + "kind": "require-call", + "original": "aggregate-error" + } + ], + "format": "cjs" + }, + "../node_modules/del/index.js": { + "bytes": 3021, + "imports": [ + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/del/node_modules/globby/index.js", + "kind": "require-call", + "original": "globby" + }, + { + "path": "../node_modules/is-glob/index.js", + "kind": "require-call", + "original": "is-glob" + }, + { + "path": "../node_modules/del/node_modules/slash/index.js", + "kind": "require-call", + "original": "slash" + }, + { + "path": "../node_modules/graceful-fs/graceful-fs.js", + "kind": "require-call", + "original": "graceful-fs" + }, + { + "path": "../node_modules/is-path-cwd/index.js", + "kind": "require-call", + "original": "is-path-cwd" + }, + { + "path": "../node_modules/is-path-inside/index.js", + "kind": "require-call", + "original": "is-path-inside" + }, + { + "path": "../node_modules/rimraf/rimraf.js", + "kind": "require-call", + "original": "rimraf" + }, + { + "path": "../node_modules/p-map/index.js", + "kind": "require-call", + "original": "p-map" + } + ], + "format": "cjs" + }, + "../node_modules/tempy/index.js": { + "bytes": 2129, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/unique-string/index.js", + "kind": "require-call", + "original": "unique-string" + }, + { + "path": "../node_modules/temp-dir/index.js", + "kind": "require-call", + "original": "temp-dir" + }, + { + "path": "../node_modules/is-stream/index.js", + "kind": "require-call", + "original": "is-stream" + }, + { + "path": "../node_modules/del/index.js", + "kind": "require-call", + "original": "del" + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "src/common/utils/get-storybook-configuration.ts": { + "bytes": 574, + "imports": [], + "format": "esm" + }, + "src/common/utils/get-storybook-info.ts": { + "bytes": 4224, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/fs-extra/lib/index.js", + "kind": "import-statement", + "original": "fs-extra" + }, + { + "path": "src/common/utils/get-storybook-configuration.ts", + "kind": "import-statement", + "original": "./get-storybook-configuration" + } + ], + "format": "esm" + }, + "src/common/versions.ts": { + "bytes": 3719, + "imports": [], + "format": "esm" + }, + "src/common/utils/cli.ts": { + "bytes": 3746, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/index.js", + "kind": "import-statement", + "original": "fs-extra" + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/tempy/index.js", + "kind": "import-statement", + "original": "tempy" + }, + { + "path": "src/common/utils/get-storybook-info.ts", + "kind": "import-statement", + "original": "./get-storybook-info" + }, + { + "path": "src/common/versions.ts", + "kind": "import-statement", + "original": "../versions" + } + ], + "format": "esm" + }, + "src/common/utils/check-addon-order.ts": { + "bytes": 1926, + "imports": [ + { + "path": "@storybook/core/dist/node-logger", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "../node_modules/app-root-dir/lib/index.js": { + "bytes": 941, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/dotenv/package.json": { + "bytes": 1642, + "imports": [] + }, + "../node_modules/dotenv/lib/main.js": { + "bytes": 8522, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "crypto", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/dotenv/package.json", + "kind": "require-call", + "original": "../package.json" + } + ], + "format": "cjs" + }, + "../node_modules/dotenv-expand/lib/main.js": { + "bytes": 2299, + "imports": [], + "format": "cjs" + }, + "../node_modules/lazy-universal-dotenv/lib/index.mjs": { + "bytes": 1433, + "imports": [ + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/app-root-dir/lib/index.js", + "kind": "import-statement", + "original": "app-root-dir" + }, + { + "path": "../node_modules/dotenv/lib/main.js", + "kind": "import-statement", + "original": "dotenv" + }, + { + "path": "../node_modules/dotenv-expand/lib/main.js", + "kind": "import-statement", + "original": "dotenv-expand" + } + ], + "format": "esm" + }, + "../node_modules/unicorn-magic/default.js": { + "bytes": 388, + "imports": [], + "format": "esm" + }, + "../node_modules/unicorn-magic/node.js": { + "bytes": 183, + "imports": [ + { + "path": "node:url", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/unicorn-magic/default.js", + "kind": "import-statement", + "original": "./default.js" + } + ], + "format": "esm" + }, + "node_modules/path-exists/index.js": { + "bytes": 298, + "imports": [ + { + "path": "node:fs", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "node_modules/find-up/index.js": { + "bytes": 2624, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/locate-path/index.js", + "kind": "import-statement", + "original": "locate-path" + }, + { + "path": "../node_modules/unicorn-magic/node.js", + "kind": "import-statement", + "original": "unicorn-magic" + }, + { + "path": "node_modules/path-exists/index.js", + "kind": "import-statement", + "original": "path-exists" + } + ], + "format": "esm" + }, + "src/common/utils/paths.ts": { + "bytes": 1620, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "node_modules/find-up/index.js", + "kind": "import-statement", + "original": "find-up" + } + ], + "format": "esm" + }, + "src/common/utils/envs.ts": { + "bytes": 2514, + "imports": [ + { + "path": "../node_modules/lazy-universal-dotenv/lib/index.mjs", + "kind": "import-statement", + "original": "lazy-universal-dotenv" + }, + { + "path": "src/common/utils/paths.ts", + "kind": "import-statement", + "original": "./paths" + } + ], + "format": "esm" + }, + "src/common/utils/common-glob-options.ts": { + "bytes": 222, + "imports": [], + "format": "esm" + }, + "src/common/utils/framework-to-renderer.ts": { + "bytes": 921, + "imports": [], + "format": "esm" + }, + "src/common/utils/get-builder-options.ts": { + "bytes": 747, + "imports": [], + "format": "esm" + }, + "src/common/utils/normalize-path.ts": { + "bytes": 445, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/common/utils/get-framework-name.ts": { + "bytes": 1350, + "imports": [ + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "src/common/utils/get-storybook-info.ts", + "kind": "import-statement", + "original": "./get-storybook-info" + }, + { + "path": "src/common/utils/normalize-path.ts", + "kind": "import-statement", + "original": "./normalize-path" + } + ], + "format": "esm" + }, + "src/common/utils/get-renderer-name.ts": { + "bytes": 1559, + "imports": [ + { + "path": "src/common/utils/get-framework-name.ts", + "kind": "import-statement", + "original": "./get-framework-name" + }, + { + "path": "src/common/utils/get-storybook-info.ts", + "kind": "import-statement", + "original": "./get-storybook-info" + }, + { + "path": "src/common/utils/framework-to-renderer.ts", + "kind": "import-statement", + "original": "./framework-to-renderer" + } + ], + "format": "esm" + }, + "../node_modules/data-uri-to-buffer/dist/index.js": { + "bytes": 1852, + "imports": [], + "format": "esm" + }, + "../node_modules/web-streams-polyfill/dist/ponyfill.es2018.js": { + "bytes": 189685, + "imports": [], + "format": "cjs" + }, + "../node_modules/fetch-blob/streams.cjs": { + "bytes": 1604, + "imports": [ + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:stream/web", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/web-streams-polyfill/dist/ponyfill.es2018.js", + "kind": "require-call", + "original": "web-streams-polyfill/dist/ponyfill.es2018.js" + }, + { + "path": "buffer", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/fetch-blob/index.js": { + "bytes": 7432, + "imports": [ + { + "path": "../node_modules/fetch-blob/streams.cjs", + "kind": "import-statement", + "original": "./streams.cjs" + } + ], + "format": "esm" + }, + "../node_modules/fetch-blob/file.js": { + "bytes": 1228, + "imports": [ + { + "path": "../node_modules/fetch-blob/index.js", + "kind": "import-statement", + "original": "./index.js" + } + ], + "format": "esm" + }, + "../node_modules/formdata-polyfill/esm.min.js": { + "bytes": 2378, + "imports": [ + { + "path": "../node_modules/fetch-blob/index.js", + "kind": "import-statement", + "original": "fetch-blob" + }, + { + "path": "../node_modules/fetch-blob/file.js", + "kind": "import-statement", + "original": "fetch-blob/file.js" + } + ], + "format": "esm" + }, + "../node_modules/node-fetch/src/errors/base.js": { + "bytes": 346, + "imports": [], + "format": "esm" + }, + "../node_modules/node-fetch/src/errors/fetch-error.js": { + "bytes": 871, + "imports": [ + { + "path": "../node_modules/node-fetch/src/errors/base.js", + "kind": "import-statement", + "original": "./base.js" + } + ], + "format": "esm" + }, + "../node_modules/node-fetch/src/utils/is.js": { + "bytes": 2246, + "imports": [], + "format": "esm" + }, + "../node_modules/node-domexception/index.js": { + "bytes": 461, + "imports": [ + { + "path": "worker_threads", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/fetch-blob/from.js": { + "bytes": 2648, + "imports": [ + { + "path": "node:fs", + "kind": "import-statement", + "external": true + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/node-domexception/index.js", + "kind": "import-statement", + "original": "node-domexception" + }, + { + "path": "../node_modules/fetch-blob/file.js", + "kind": "import-statement", + "original": "./file.js" + }, + { + "path": "../node_modules/fetch-blob/index.js", + "kind": "import-statement", + "original": "./index.js" + } + ], + "format": "esm" + }, + "../node_modules/node-fetch/src/utils/multipart-parser.js": { + "bytes": 9643, + "imports": [ + { + "path": "../node_modules/fetch-blob/from.js", + "kind": "import-statement", + "original": "fetch-blob/from.js" + }, + { + "path": "../node_modules/formdata-polyfill/esm.min.js", + "kind": "import-statement", + "original": "formdata-polyfill/esm.min.js" + } + ], + "format": "esm" + }, + "../node_modules/node-fetch/src/body.js": { + "bytes": 9850, + "imports": [ + { + "path": "node:stream", + "kind": "import-statement", + "external": true + }, + { + "path": "node:util", + "kind": "import-statement", + "external": true + }, + { + "path": "node:buffer", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/fetch-blob/index.js", + "kind": "import-statement", + "original": "fetch-blob" + }, + { + "path": "../node_modules/formdata-polyfill/esm.min.js", + "kind": "import-statement", + "original": "formdata-polyfill/esm.min.js" + }, + { + "path": "../node_modules/node-fetch/src/errors/fetch-error.js", + "kind": "import-statement", + "original": "./errors/fetch-error.js" + }, + { + "path": "../node_modules/node-fetch/src/errors/base.js", + "kind": "import-statement", + "original": "./errors/base.js" + }, + { + "path": "../node_modules/node-fetch/src/utils/is.js", + "kind": "import-statement", + "original": "./utils/is.js" + }, + { + "path": "../node_modules/node-fetch/src/utils/multipart-parser.js", + "kind": "dynamic-import", + "original": "./utils/multipart-parser.js" + } + ], + "format": "esm" + }, + "../node_modules/node-fetch/src/headers.js": { + "bytes": 6932, + "imports": [ + { + "path": "node:util", + "kind": "import-statement", + "external": true + }, + { + "path": "node:http", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "../node_modules/node-fetch/src/utils/is-redirect.js": { + "bytes": 229, + "imports": [], + "format": "esm" + }, + "../node_modules/node-fetch/src/response.js": { + "bytes": 3433, + "imports": [ + { + "path": "../node_modules/node-fetch/src/headers.js", + "kind": "import-statement", + "original": "./headers.js" + }, + { + "path": "../node_modules/node-fetch/src/body.js", + "kind": "import-statement", + "original": "./body.js" + }, + { + "path": "../node_modules/node-fetch/src/utils/is-redirect.js", + "kind": "import-statement", + "original": "./utils/is-redirect.js" + } + ], + "format": "esm" + }, + "../node_modules/node-fetch/src/utils/get-search.js": { + "bytes": 296, + "imports": [], + "format": "esm" + }, + "../node_modules/node-fetch/src/utils/referrer.js": { + "bytes": 11845, + "imports": [ + { + "path": "node:net", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "../node_modules/node-fetch/src/request.js": { + "bytes": 8619, + "imports": [ + { + "path": "node:url", + "kind": "import-statement", + "external": true + }, + { + "path": "node:util", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/node-fetch/src/headers.js", + "kind": "import-statement", + "original": "./headers.js" + }, + { + "path": "../node_modules/node-fetch/src/body.js", + "kind": "import-statement", + "original": "./body.js" + }, + { + "path": "../node_modules/node-fetch/src/utils/is.js", + "kind": "import-statement", + "original": "./utils/is.js" + }, + { + "path": "../node_modules/node-fetch/src/utils/get-search.js", + "kind": "import-statement", + "original": "./utils/get-search.js" + }, + { + "path": "../node_modules/node-fetch/src/utils/referrer.js", + "kind": "import-statement", + "original": "./utils/referrer.js" + } + ], + "format": "esm" + }, + "../node_modules/node-fetch/src/errors/abort-error.js": { + "bytes": 218, + "imports": [ + { + "path": "../node_modules/node-fetch/src/errors/base.js", + "kind": "import-statement", + "original": "./base.js" + } + ], + "format": "esm" + }, + "../node_modules/node-fetch/src/index.js": { + "bytes": 12908, + "imports": [ + { + "path": "node:http", + "kind": "import-statement", + "external": true + }, + { + "path": "node:https", + "kind": "import-statement", + "external": true + }, + { + "path": "node:zlib", + "kind": "import-statement", + "external": true + }, + { + "path": "node:stream", + "kind": "import-statement", + "external": true + }, + { + "path": "node:buffer", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/data-uri-to-buffer/dist/index.js", + "kind": "import-statement", + "original": "data-uri-to-buffer" + }, + { + "path": "../node_modules/node-fetch/src/body.js", + "kind": "import-statement", + "original": "./body.js" + }, + { + "path": "../node_modules/node-fetch/src/response.js", + "kind": "import-statement", + "original": "./response.js" + }, + { + "path": "../node_modules/node-fetch/src/headers.js", + "kind": "import-statement", + "original": "./headers.js" + }, + { + "path": "../node_modules/node-fetch/src/request.js", + "kind": "import-statement", + "original": "./request.js" + }, + { + "path": "../node_modules/node-fetch/src/errors/fetch-error.js", + "kind": "import-statement", + "original": "./errors/fetch-error.js" + }, + { + "path": "../node_modules/node-fetch/src/errors/abort-error.js", + "kind": "import-statement", + "original": "./errors/abort-error.js" + }, + { + "path": "../node_modules/node-fetch/src/utils/is-redirect.js", + "kind": "import-statement", + "original": "./utils/is-redirect.js" + }, + { + "path": "../node_modules/formdata-polyfill/esm.min.js", + "kind": "import-statement", + "original": "formdata-polyfill/esm.min.js" + }, + { + "path": "../node_modules/node-fetch/src/utils/is.js", + "kind": "import-statement", + "original": "./utils/is.js" + }, + { + "path": "../node_modules/node-fetch/src/utils/referrer.js", + "kind": "import-statement", + "original": "./utils/referrer.js" + }, + { + "path": "../node_modules/fetch-blob/from.js", + "kind": "import-statement", + "original": "fetch-blob/from.js" + } + ], + "format": "esm" + }, + "src/common/utils/get-storybook-refs.ts": { + "bytes": 3693, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/index.js", + "kind": "import-statement", + "original": "fs-extra" + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "node_modules/find-up/index.js", + "kind": "import-statement", + "original": "find-up" + }, + { + "path": "../node_modules/node-fetch/src/index.js", + "kind": "import-statement", + "original": "node-fetch" + }, + { + "path": "../node_modules/resolve-from/index.js", + "kind": "import-statement", + "original": "resolve-from" + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/common/utils/glob-to-regexp.ts": { + "bytes": 874, + "imports": [ + { + "path": "../node_modules/picomatch/index.js", + "kind": "import-statement", + "original": "picomatch" + } + ], + "format": "esm" + }, + "src/common/utils/HandledError.ts": { + "bytes": 188, + "imports": [], + "format": "esm" + }, + "../node_modules/handlebars/dist/cjs/handlebars/utils.js": { + "bytes": 10309, + "imports": [], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/exception.js": { + "bytes": 5950, + "imports": [], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js": { + "bytes": 3831, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "../utils" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/each.js": { + "bytes": 9875, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "../utils" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "../exception" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js": { + "bytes": 2013, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "../exception" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/if.js": { + "bytes": 4458, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "../utils" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "../exception" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/log.js": { + "bytes": 2507, + "imports": [], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js": { + "bytes": 1244, + "imports": [], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/with.js": { + "bytes": 3759, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "../utils" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "../exception" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers.js": { + "bytes": 3909, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js", + "kind": "require-call", + "original": "./helpers/block-helper-missing" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/helpers/each.js", + "kind": "require-call", + "original": "./helpers/each" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js", + "kind": "require-call", + "original": "./helpers/helper-missing" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/helpers/if.js", + "kind": "require-call", + "original": "./helpers/if" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/helpers/log.js", + "kind": "require-call", + "original": "./helpers/log" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js", + "kind": "require-call", + "original": "./helpers/lookup" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/helpers/with.js", + "kind": "require-call", + "original": "./helpers/with" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js": { + "bytes": 2696, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "../utils" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/decorators.js": { + "bytes": 1000, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js", + "kind": "require-call", + "original": "./decorators/inline" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/logger.js": { + "bytes": 3883, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "./utils" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js": { + "bytes": 1783, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "../utils" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js": { + "bytes": 8493, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js", + "kind": "require-call", + "original": "./create-new-lookup-object" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/logger.js", + "kind": "require-call", + "original": "../logger" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/base.js": { + "bytes": 9636, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "./utils" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "./exception" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/helpers.js", + "kind": "require-call", + "original": "./helpers" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/decorators.js", + "kind": "require-call", + "original": "./decorators" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/logger.js", + "kind": "require-call", + "original": "./logger" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js", + "kind": "require-call", + "original": "./internal/proto-access" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/safe-string.js": { + "bytes": 1164, + "imports": [], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js": { + "bytes": 2192, + "imports": [], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/runtime.js": { + "bytes": 44768, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "./utils" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "./exception" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/base.js", + "kind": "require-call", + "original": "./base" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/helpers.js", + "kind": "require-call", + "original": "./helpers" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js", + "kind": "require-call", + "original": "./internal/wrapHelper" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js", + "kind": "require-call", + "original": "./internal/proto-access" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/no-conflict.js": { + "bytes": 2507, + "imports": [], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars.runtime.js": { + "bytes": 4606, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/base.js", + "kind": "require-call", + "original": "./handlebars/base" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/safe-string.js", + "kind": "require-call", + "original": "./handlebars/safe-string" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "./handlebars/exception" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "./handlebars/utils" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/runtime.js", + "kind": "require-call", + "original": "./handlebars/runtime" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/no-conflict.js", + "kind": "require-call", + "original": "./handlebars/no-conflict" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js": { + "bytes": 3425, + "imports": [], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js": { + "bytes": 205665, + "imports": [], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js": { + "bytes": 12631, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "../exception" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js": { + "bytes": 23162, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js", + "kind": "require-call", + "original": "./visitor" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js": { + "bytes": 19212, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "../exception" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/base.js": { + "bytes": 3926, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js", + "kind": "require-call", + "original": "./parser" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js", + "kind": "require-call", + "original": "./whitespace-control" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js", + "kind": "require-call", + "original": "./helpers" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "../utils" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js": { + "bytes": 58116, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "../exception" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "../utils" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js", + "kind": "require-call", + "original": "./ast" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js": { + "bytes": 15878, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "../utils" + }, + { + "path": "../node_modules/source-map/source-map.js", + "kind": "require-call", + "original": "source-map" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js": { + "bytes": 121371, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/base.js", + "kind": "require-call", + "original": "../base" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/exception.js", + "kind": "require-call", + "original": "../exception" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/utils.js", + "kind": "require-call", + "original": "../utils" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js", + "kind": "require-call", + "original": "./code-gen" + } + ], + "format": "cjs" + }, + "../node_modules/handlebars/dist/cjs/handlebars.js": { + "bytes": 4900, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars.runtime.js", + "kind": "require-call", + "original": "./handlebars.runtime" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js", + "kind": "require-call", + "original": "./handlebars/compiler/ast" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/base.js", + "kind": "require-call", + "original": "./handlebars/compiler/base" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js", + "kind": "require-call", + "original": "./handlebars/compiler/compiler" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js", + "kind": "require-call", + "original": "./handlebars/compiler/javascript-compiler" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js", + "kind": "require-call", + "original": "./handlebars/compiler/visitor" + }, + { + "path": "../node_modules/handlebars/dist/cjs/handlebars/no-conflict.js", + "kind": "require-call", + "original": "./handlebars/no-conflict" + } + ], + "format": "cjs" + }, + "src/common/utils/handlebars.ts": { + "bytes": 169, + "imports": [ + { + "path": "../node_modules/handlebars/dist/cjs/handlebars.js", + "kind": "import-statement", + "original": "handlebars" + } + ], + "format": "esm" + }, + "src/common/utils/interpolate.ts": { + "bytes": 717, + "imports": [], + "format": "esm" + }, + "src/common/utils/load-main-config.ts": { + "bytes": 1695, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "src/common/utils/interpret-require.ts", + "kind": "import-statement", + "original": "./interpret-require" + }, + { + "path": "src/common/utils/validate-configuration-files.ts", + "kind": "import-statement", + "original": "./validate-configuration-files" + }, + { + "path": "fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/server-errors", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/common/utils/load-manager-or-addons-file.ts": { + "bytes": 905, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "src/common/utils/interpret-files.ts", + "kind": "import-statement", + "original": "./interpret-files" + } + ], + "format": "esm" + }, + "src/common/utils/load-preview-or-config-file.ts": { + "bytes": 687, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "src/common/utils/interpret-files.ts", + "kind": "import-statement", + "original": "./interpret-files" + } + ], + "format": "esm" + }, + "src/common/utils/log.ts": { + "bytes": 1623, + "imports": [ + { + "path": "node_modules/chalk/source/index.js", + "kind": "import-statement", + "original": "chalk" + } + ], + "format": "esm" + }, + "src/common/utils/log-config.ts": { + "bytes": 169, + "imports": [ + { + "path": "node_modules/chalk/source/index.js", + "kind": "import-statement", + "original": "chalk" + } + ], + "format": "esm" + }, + "src/common/utils/normalize-stories.ts": { + "bytes": 3410, + "imports": [ + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/picomatch/index.js", + "kind": "import-statement", + "original": "picomatch" + }, + { + "path": "../node_modules/slash/index.js", + "kind": "import-statement", + "original": "slash" + }, + { + "path": "@storybook/core/dist/server-errors", + "kind": "import-statement", + "external": true + }, + { + "path": "src/common/utils/paths.ts", + "kind": "import-statement", + "original": "./paths" + }, + { + "path": "src/common/utils/glob-to-regexp.ts", + "kind": "import-statement", + "original": "./glob-to-regexp" + } + ], + "format": "esm" + }, + "src/common/utils/readTemplate.ts": { + "bytes": 148, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/index.js", + "kind": "import-statement", + "original": "fs-extra" + } + ], + "format": "esm" + }, + "../node_modules/isexe/windows.js": { + "bytes": 890, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/isexe/mode.js": { + "bytes": 909, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/isexe/index.js": { + "bytes": 1192, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/isexe/windows.js", + "kind": "require-call", + "original": "./windows.js" + }, + { + "path": "../node_modules/isexe/mode.js", + "kind": "require-call", + "original": "./mode.js" + } + ], + "format": "cjs" + }, + "../node_modules/cross-spawn/node_modules/which/which.js": { + "bytes": 3163, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/isexe/index.js", + "kind": "require-call", + "original": "isexe" + } + ], + "format": "cjs" + }, + "../node_modules/path-key/index.js": { + "bytes": 415, + "imports": [], + "format": "cjs" + }, + "../node_modules/cross-spawn/lib/util/resolveCommand.js": { + "bytes": 1557, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/cross-spawn/node_modules/which/which.js", + "kind": "require-call", + "original": "which" + }, + { + "path": "../node_modules/path-key/index.js", + "kind": "require-call", + "original": "path-key" + } + ], + "format": "cjs" + }, + "../node_modules/cross-spawn/lib/util/escape.js": { + "bytes": 1172, + "imports": [], + "format": "cjs" + }, + "../node_modules/shebang-regex/index.js": { + "bytes": 42, + "imports": [], + "format": "cjs" + }, + "../node_modules/shebang-command/index.js": { + "bytes": 387, + "imports": [ + { + "path": "../node_modules/shebang-regex/index.js", + "kind": "require-call", + "original": "shebang-regex" + } + ], + "format": "cjs" + }, + "../node_modules/cross-spawn/lib/util/readShebang.js": { + "bytes": 549, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/shebang-command/index.js", + "kind": "require-call", + "original": "shebang-command" + } + ], + "format": "cjs" + }, + "../node_modules/cross-spawn/lib/parse.js": { + "bytes": 3065, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/cross-spawn/lib/util/resolveCommand.js", + "kind": "require-call", + "original": "./util/resolveCommand" + }, + { + "path": "../node_modules/cross-spawn/lib/util/escape.js", + "kind": "require-call", + "original": "./util/escape" + }, + { + "path": "../node_modules/cross-spawn/lib/util/readShebang.js", + "kind": "require-call", + "original": "./util/readShebang" + } + ], + "format": "cjs" + }, + "../node_modules/cross-spawn/lib/enoent.js": { + "bytes": 1480, + "imports": [], + "format": "cjs" + }, + "../node_modules/cross-spawn/index.js": { + "bytes": 1192, + "imports": [ + { + "path": "child_process", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/cross-spawn/lib/parse.js", + "kind": "require-call", + "original": "./lib/parse" + }, + { + "path": "../node_modules/cross-spawn/lib/enoent.js", + "kind": "require-call", + "original": "./lib/enoent" + } + ], + "format": "cjs" + }, + "../node_modules/semver/internal/debug.js": { + "bytes": 226, + "imports": [], + "format": "cjs" + }, + "../node_modules/semver/internal/constants.js": { + "bytes": 859, + "imports": [], + "format": "cjs" + }, + "../node_modules/semver/internal/re.js": { + "bytes": 7937, + "imports": [ + { + "path": "../node_modules/semver/internal/constants.js", + "kind": "require-call", + "original": "./constants" + }, + { + "path": "../node_modules/semver/internal/debug.js", + "kind": "require-call", + "original": "./debug" + } + ], + "format": "cjs" + }, + "../node_modules/semver/internal/parse-options.js": { + "bytes": 324, + "imports": [], + "format": "cjs" + }, + "../node_modules/semver/internal/identifiers.js": { + "bytes": 410, + "imports": [], + "format": "cjs" + }, + "../node_modules/semver/classes/semver.js": { + "bytes": 8756, + "imports": [ + { + "path": "../node_modules/semver/internal/debug.js", + "kind": "require-call", + "original": "../internal/debug" + }, + { + "path": "../node_modules/semver/internal/constants.js", + "kind": "require-call", + "original": "../internal/constants" + }, + { + "path": "../node_modules/semver/internal/re.js", + "kind": "require-call", + "original": "../internal/re" + }, + { + "path": "../node_modules/semver/internal/parse-options.js", + "kind": "require-call", + "original": "../internal/parse-options" + }, + { + "path": "../node_modules/semver/internal/identifiers.js", + "kind": "require-call", + "original": "../internal/identifiers" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/compare-build.js": { + "bytes": 267, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/sort.js": { + "bytes": 147, + "imports": [ + { + "path": "../node_modules/semver/functions/compare-build.js", + "kind": "require-call", + "original": "./compare-build" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/parse.js": { + "bytes": 317, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/valid.js": { + "bytes": 162, + "imports": [ + { + "path": "../node_modules/semver/functions/parse.js", + "kind": "require-call", + "original": "./parse" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/clean.js": { + "bytes": 191, + "imports": [ + { + "path": "../node_modules/semver/functions/parse.js", + "kind": "require-call", + "original": "./parse" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/inc.js": { + "bytes": 464, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/diff.js": { + "bytes": 1612, + "imports": [ + { + "path": "../node_modules/semver/functions/parse.js", + "kind": "require-call", + "original": "./parse.js" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/major.js": { + "bytes": 122, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/minor.js": { + "bytes": 122, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/patch.js": { + "bytes": 122, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/prerelease.js": { + "bytes": 220, + "imports": [ + { + "path": "../node_modules/semver/functions/parse.js", + "kind": "require-call", + "original": "./parse" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/compare.js": { + "bytes": 156, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/rcompare.js": { + "bytes": 118, + "imports": [ + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "./compare" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/compare-loose.js": { + "bytes": 118, + "imports": [ + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "./compare" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/rsort.js": { + "bytes": 149, + "imports": [ + { + "path": "../node_modules/semver/functions/compare-build.js", + "kind": "require-call", + "original": "./compare-build" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/gt.js": { + "bytes": 110, + "imports": [ + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "./compare" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/lt.js": { + "bytes": 110, + "imports": [ + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "./compare" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/eq.js": { + "bytes": 112, + "imports": [ + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "./compare" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/neq.js": { + "bytes": 114, + "imports": [ + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "./compare" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/gte.js": { + "bytes": 113, + "imports": [ + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "./compare" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/lte.js": { + "bytes": 113, + "imports": [ + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "./compare" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/cmp.js": { + "bytes": 947, + "imports": [ + { + "path": "../node_modules/semver/functions/eq.js", + "kind": "require-call", + "original": "./eq" + }, + { + "path": "../node_modules/semver/functions/neq.js", + "kind": "require-call", + "original": "./neq" + }, + { + "path": "../node_modules/semver/functions/gt.js", + "kind": "require-call", + "original": "./gt" + }, + { + "path": "../node_modules/semver/functions/gte.js", + "kind": "require-call", + "original": "./gte" + }, + { + "path": "../node_modules/semver/functions/lt.js", + "kind": "require-call", + "original": "./lt" + }, + { + "path": "../node_modules/semver/functions/lte.js", + "kind": "require-call", + "original": "./lte" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/coerce.js": { + "bytes": 1990, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + }, + { + "path": "../node_modules/semver/functions/parse.js", + "kind": "require-call", + "original": "./parse" + }, + { + "path": "../node_modules/semver/internal/re.js", + "kind": "require-call", + "original": "../internal/re" + } + ], + "format": "cjs" + }, + "../node_modules/yallist/iterator.js": { + "bytes": 207, + "imports": [], + "format": "cjs" + }, + "../node_modules/yallist/yallist.js": { + "bytes": 8411, + "imports": [ + { + "path": "../node_modules/yallist/iterator.js", + "kind": "require-call", + "original": "./iterator.js" + } + ], + "format": "cjs" + }, + "../node_modules/semver/node_modules/lru-cache/index.js": { + "bytes": 8186, + "imports": [ + { + "path": "../node_modules/yallist/yallist.js", + "kind": "require-call", + "original": "yallist" + } + ], + "format": "cjs" + }, + "../node_modules/semver/classes/range.js": { + "bytes": 14514, + "imports": [ + { + "path": "../node_modules/semver/node_modules/lru-cache/index.js", + "kind": "require-call", + "original": "lru-cache" + }, + { + "path": "../node_modules/semver/internal/parse-options.js", + "kind": "require-call", + "original": "../internal/parse-options" + }, + { + "path": "../node_modules/semver/classes/comparator.js", + "kind": "require-call", + "original": "./comparator" + }, + { + "path": "../node_modules/semver/internal/debug.js", + "kind": "require-call", + "original": "../internal/debug" + }, + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "./semver" + }, + { + "path": "../node_modules/semver/internal/re.js", + "kind": "require-call", + "original": "../internal/re" + }, + { + "path": "../node_modules/semver/internal/constants.js", + "kind": "require-call", + "original": "../internal/constants" + } + ], + "format": "cjs" + }, + "../node_modules/semver/classes/comparator.js": { + "bytes": 3617, + "imports": [ + { + "path": "../node_modules/semver/internal/parse-options.js", + "kind": "require-call", + "original": "../internal/parse-options" + }, + { + "path": "../node_modules/semver/internal/re.js", + "kind": "require-call", + "original": "../internal/re" + }, + { + "path": "../node_modules/semver/functions/cmp.js", + "kind": "require-call", + "original": "../functions/cmp" + }, + { + "path": "../node_modules/semver/internal/debug.js", + "kind": "require-call", + "original": "../internal/debug" + }, + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "./semver" + }, + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "./range" + } + ], + "format": "cjs" + }, + "../node_modules/semver/functions/satisfies.js": { + "bytes": 233, + "imports": [ + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "../classes/range" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/to-comparators.js": { + "bytes": 268, + "imports": [ + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "../classes/range" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/max-satisfying.js": { + "bytes": 579, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + }, + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "../classes/range" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/min-satisfying.js": { + "bytes": 577, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + }, + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "../classes/range" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/min-version.js": { + "bytes": 1500, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + }, + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "../classes/range" + }, + { + "path": "../node_modules/semver/functions/gt.js", + "kind": "require-call", + "original": "../functions/gt" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/valid.js": { + "bytes": 312, + "imports": [ + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "../classes/range" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/outside.js": { + "bytes": 2190, + "imports": [ + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "../classes/semver" + }, + { + "path": "../node_modules/semver/classes/comparator.js", + "kind": "require-call", + "original": "../classes/comparator" + }, + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "../classes/range" + }, + { + "path": "../node_modules/semver/functions/satisfies.js", + "kind": "require-call", + "original": "../functions/satisfies" + }, + { + "path": "../node_modules/semver/functions/gt.js", + "kind": "require-call", + "original": "../functions/gt" + }, + { + "path": "../node_modules/semver/functions/lt.js", + "kind": "require-call", + "original": "../functions/lt" + }, + { + "path": "../node_modules/semver/functions/lte.js", + "kind": "require-call", + "original": "../functions/lte" + }, + { + "path": "../node_modules/semver/functions/gte.js", + "kind": "require-call", + "original": "../functions/gte" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/gtr.js": { + "bytes": 217, + "imports": [ + { + "path": "../node_modules/semver/ranges/outside.js", + "kind": "require-call", + "original": "./outside" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/ltr.js": { + "bytes": 213, + "imports": [ + { + "path": "../node_modules/semver/ranges/outside.js", + "kind": "require-call", + "original": "./outside" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/intersects.js": { + "bytes": 210, + "imports": [ + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "../classes/range" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/simplify.js": { + "bytes": 1341, + "imports": [ + { + "path": "../node_modules/semver/functions/satisfies.js", + "kind": "require-call", + "original": "../functions/satisfies.js" + }, + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "../functions/compare.js" + } + ], + "format": "cjs" + }, + "../node_modules/semver/ranges/subset.js": { + "bytes": 7510, + "imports": [ + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "../classes/range.js" + }, + { + "path": "../node_modules/semver/classes/comparator.js", + "kind": "require-call", + "original": "../classes/comparator.js" + }, + { + "path": "../node_modules/semver/functions/satisfies.js", + "kind": "require-call", + "original": "../functions/satisfies.js" + }, + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "../functions/compare.js" + } + ], + "format": "cjs" + }, + "../node_modules/semver/index.js": { + "bytes": 2616, + "imports": [ + { + "path": "../node_modules/semver/internal/re.js", + "kind": "require-call", + "original": "./internal/re" + }, + { + "path": "../node_modules/semver/internal/constants.js", + "kind": "require-call", + "original": "./internal/constants" + }, + { + "path": "../node_modules/semver/classes/semver.js", + "kind": "require-call", + "original": "./classes/semver" + }, + { + "path": "../node_modules/semver/internal/identifiers.js", + "kind": "require-call", + "original": "./internal/identifiers" + }, + { + "path": "../node_modules/semver/functions/parse.js", + "kind": "require-call", + "original": "./functions/parse" + }, + { + "path": "../node_modules/semver/functions/valid.js", + "kind": "require-call", + "original": "./functions/valid" + }, + { + "path": "../node_modules/semver/functions/clean.js", + "kind": "require-call", + "original": "./functions/clean" + }, + { + "path": "../node_modules/semver/functions/inc.js", + "kind": "require-call", + "original": "./functions/inc" + }, + { + "path": "../node_modules/semver/functions/diff.js", + "kind": "require-call", + "original": "./functions/diff" + }, + { + "path": "../node_modules/semver/functions/major.js", + "kind": "require-call", + "original": "./functions/major" + }, + { + "path": "../node_modules/semver/functions/minor.js", + "kind": "require-call", + "original": "./functions/minor" + }, + { + "path": "../node_modules/semver/functions/patch.js", + "kind": "require-call", + "original": "./functions/patch" + }, + { + "path": "../node_modules/semver/functions/prerelease.js", + "kind": "require-call", + "original": "./functions/prerelease" + }, + { + "path": "../node_modules/semver/functions/compare.js", + "kind": "require-call", + "original": "./functions/compare" + }, + { + "path": "../node_modules/semver/functions/rcompare.js", + "kind": "require-call", + "original": "./functions/rcompare" + }, + { + "path": "../node_modules/semver/functions/compare-loose.js", + "kind": "require-call", + "original": "./functions/compare-loose" + }, + { + "path": "../node_modules/semver/functions/compare-build.js", + "kind": "require-call", + "original": "./functions/compare-build" + }, + { + "path": "../node_modules/semver/functions/sort.js", + "kind": "require-call", + "original": "./functions/sort" + }, + { + "path": "../node_modules/semver/functions/rsort.js", + "kind": "require-call", + "original": "./functions/rsort" + }, + { + "path": "../node_modules/semver/functions/gt.js", + "kind": "require-call", + "original": "./functions/gt" + }, + { + "path": "../node_modules/semver/functions/lt.js", + "kind": "require-call", + "original": "./functions/lt" + }, + { + "path": "../node_modules/semver/functions/eq.js", + "kind": "require-call", + "original": "./functions/eq" + }, + { + "path": "../node_modules/semver/functions/neq.js", + "kind": "require-call", + "original": "./functions/neq" + }, + { + "path": "../node_modules/semver/functions/gte.js", + "kind": "require-call", + "original": "./functions/gte" + }, + { + "path": "../node_modules/semver/functions/lte.js", + "kind": "require-call", + "original": "./functions/lte" + }, + { + "path": "../node_modules/semver/functions/cmp.js", + "kind": "require-call", + "original": "./functions/cmp" + }, + { + "path": "../node_modules/semver/functions/coerce.js", + "kind": "require-call", + "original": "./functions/coerce" + }, + { + "path": "../node_modules/semver/classes/comparator.js", + "kind": "require-call", + "original": "./classes/comparator" + }, + { + "path": "../node_modules/semver/classes/range.js", + "kind": "require-call", + "original": "./classes/range" + }, + { + "path": "../node_modules/semver/functions/satisfies.js", + "kind": "require-call", + "original": "./functions/satisfies" + }, + { + "path": "../node_modules/semver/ranges/to-comparators.js", + "kind": "require-call", + "original": "./ranges/to-comparators" + }, + { + "path": "../node_modules/semver/ranges/max-satisfying.js", + "kind": "require-call", + "original": "./ranges/max-satisfying" + }, + { + "path": "../node_modules/semver/ranges/min-satisfying.js", + "kind": "require-call", + "original": "./ranges/min-satisfying" + }, + { + "path": "../node_modules/semver/ranges/min-version.js", + "kind": "require-call", + "original": "./ranges/min-version" + }, + { + "path": "../node_modules/semver/ranges/valid.js", + "kind": "require-call", + "original": "./ranges/valid" + }, + { + "path": "../node_modules/semver/ranges/outside.js", + "kind": "require-call", + "original": "./ranges/outside" + }, + { + "path": "../node_modules/semver/ranges/gtr.js", + "kind": "require-call", + "original": "./ranges/gtr" + }, + { + "path": "../node_modules/semver/ranges/ltr.js", + "kind": "require-call", + "original": "./ranges/ltr" + }, + { + "path": "../node_modules/semver/ranges/intersects.js", + "kind": "require-call", + "original": "./ranges/intersects" + }, + { + "path": "../node_modules/semver/ranges/simplify.js", + "kind": "require-call", + "original": "./ranges/simplify" + }, + { + "path": "../node_modules/semver/ranges/subset.js", + "kind": "require-call", + "original": "./ranges/subset" + } + ], + "format": "cjs" + }, + "../node_modules/execa/node_modules/strip-final-newline/index.js": { + "bytes": 368, + "imports": [], + "format": "cjs" + }, + "../node_modules/npm-run-path/index.js": { + "bytes": 1013, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/path-key/index.js", + "kind": "require-call", + "original": "path-key" + } + ], + "format": "cjs" + }, + "../node_modules/mimic-fn/index.js": { + "bytes": 300, + "imports": [], + "format": "cjs" + }, + "../node_modules/onetime/index.js": { + "bytes": 1120, + "imports": [ + { + "path": "../node_modules/mimic-fn/index.js", + "kind": "require-call", + "original": "mimic-fn" + } + ], + "format": "cjs" + }, + "../node_modules/execa/node_modules/human-signals/build/src/core.js": { + "bytes": 4268, + "imports": [], + "format": "cjs" + }, + "../node_modules/execa/node_modules/human-signals/build/src/realtime.js": { + "bytes": 590, + "imports": [], + "format": "cjs" + }, + "../node_modules/execa/node_modules/human-signals/build/src/signals.js": { + "bytes": 778, + "imports": [ + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/execa/node_modules/human-signals/build/src/core.js", + "kind": "require-call", + "original": "./core.js" + }, + { + "path": "../node_modules/execa/node_modules/human-signals/build/src/realtime.js", + "kind": "require-call", + "original": "./realtime.js" + } + ], + "format": "cjs" + }, + "../node_modules/execa/node_modules/human-signals/build/src/main.js": { + "bytes": 1528, + "imports": [ + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/execa/node_modules/human-signals/build/src/signals.js", + "kind": "require-call", + "original": "./signals.js" + }, + { + "path": "../node_modules/execa/node_modules/human-signals/build/src/realtime.js", + "kind": "require-call", + "original": "./realtime.js" + } + ], + "format": "cjs" + }, + "../node_modules/execa/lib/error.js": { + "bytes": 2169, + "imports": [ + { + "path": "../node_modules/execa/node_modules/human-signals/build/src/main.js", + "kind": "require-call", + "original": "human-signals" + } + ], + "format": "cjs" + }, + "../node_modules/execa/lib/stdio.js": { + "bytes": 1186, + "imports": [], + "format": "cjs" + }, + "../node_modules/signal-exit/signals.js": { + "bytes": 1295, + "imports": [], + "format": "cjs" + }, + "../node_modules/signal-exit/index.js": { + "bytes": 5708, + "imports": [ + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/signal-exit/signals.js", + "kind": "require-call", + "original": "./signals.js" + }, + { + "path": "events", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/execa/lib/kill.js": { + "bytes": 3095, + "imports": [ + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/signal-exit/index.js", + "kind": "require-call", + "original": "signal-exit" + } + ], + "format": "cjs" + }, + "../node_modules/execa/node_modules/get-stream/buffer-stream.js": { + "bytes": 894, + "imports": [ + { + "path": "stream", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/execa/node_modules/get-stream/index.js": { + "bytes": 1489, + "imports": [ + { + "path": "buffer", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/execa/node_modules/get-stream/buffer-stream.js", + "kind": "require-call", + "original": "./buffer-stream" + } + ], + "format": "cjs" + }, + "../node_modules/merge-stream/index.js": { + "bytes": 885, + "imports": [ + { + "path": "stream", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/execa/lib/stream.js": { + "bytes": 2400, + "imports": [ + { + "path": "../node_modules/is-stream/index.js", + "kind": "require-call", + "original": "is-stream" + }, + { + "path": "../node_modules/execa/node_modules/get-stream/index.js", + "kind": "require-call", + "original": "get-stream" + }, + { + "path": "../node_modules/merge-stream/index.js", + "kind": "require-call", + "original": "merge-stream" + } + ], + "format": "cjs" + }, + "../node_modules/execa/lib/promise.js": { + "bytes": 1150, + "imports": [], + "format": "cjs" + }, + "../node_modules/execa/lib/command.js": { + "bytes": 1189, + "imports": [], + "format": "cjs" + }, + "../node_modules/execa/index.js": { + "bytes": 6516, + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "child_process", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/cross-spawn/index.js", + "kind": "require-call", + "original": "cross-spawn" + }, + { + "path": "../node_modules/execa/node_modules/strip-final-newline/index.js", + "kind": "require-call", + "original": "strip-final-newline" + }, + { + "path": "../node_modules/npm-run-path/index.js", + "kind": "require-call", + "original": "npm-run-path" + }, + { + "path": "../node_modules/onetime/index.js", + "kind": "require-call", + "original": "onetime" + }, + { + "path": "../node_modules/execa/lib/error.js", + "kind": "require-call", + "original": "./lib/error" + }, + { + "path": "../node_modules/execa/lib/stdio.js", + "kind": "require-call", + "original": "./lib/stdio" + }, + { + "path": "../node_modules/execa/lib/kill.js", + "kind": "require-call", + "original": "./lib/kill" + }, + { + "path": "../node_modules/execa/lib/stream.js", + "kind": "require-call", + "original": "./lib/stream" + }, + { + "path": "../node_modules/execa/lib/promise.js", + "kind": "require-call", + "original": "./lib/promise" + }, + { + "path": "../node_modules/execa/lib/command.js", + "kind": "require-call", + "original": "./lib/command" + } + ], + "format": "cjs" + }, + "src/common/js-package-manager/JsPackageManager.ts": { + "bytes": 17918, + "imports": [ + { + "path": "node_modules/chalk/source/index.js", + "kind": "import-statement", + "original": "chalk" + }, + { + "path": "../node_modules/semver/index.js", + "kind": "import-statement", + "original": "semver" + }, + { + "path": "../node_modules/execa/index.js", + "kind": "import-statement", + "original": "execa" + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "../node_modules/fs-extra/lib/index.js", + "kind": "import-statement", + "original": "fs-extra" + }, + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "import-statement", + "original": "tiny-invariant" + }, + { + "path": "src/common/versions.ts", + "kind": "import-statement", + "original": "../versions" + }, + { + "path": "src/common/utils/HandledError.ts", + "kind": "import-statement", + "original": "../utils/HandledError" + } + ], + "format": "esm" + }, + "src/common/js-package-manager/NPMProxy.ts": { + "bytes": 9139, + "imports": [ + { + "path": "../node_modules/semver/functions/sort.js", + "kind": "import-statement", + "original": "semver/functions/sort" + }, + { + "path": "os", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "node_modules/find-up/index.js", + "kind": "import-statement", + "original": "find-up" + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "src/common/js-package-manager/JsPackageManager.ts", + "kind": "import-statement", + "original": "./JsPackageManager" + }, + { + "path": "src/common/utils/cli.ts", + "kind": "import-statement", + "original": "../utils/cli" + } + ], + "format": "esm" + }, + "src/common/js-package-manager/PNPMProxy.ts": { + "bytes": 8158, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/index.js", + "kind": "import-statement", + "original": "fs-extra" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "node_modules/find-up/index.js", + "kind": "import-statement", + "original": "find-up" + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "src/common/js-package-manager/JsPackageManager.ts", + "kind": "import-statement", + "original": "./JsPackageManager" + }, + { + "path": "src/common/utils/cli.ts", + "kind": "import-statement", + "original": "../utils/cli" + } + ], + "format": "esm" + }, + "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js": { + "bytes": 10274, + "imports": [], + "format": "esm" + }, + "../node_modules/@yarnpkg/fslib/lib/constants.js": { + "bytes": 626, + "imports": [], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/statUtils.js": { + "bytes": 7171, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/constants.js", + "kind": "require-call", + "original": "./constants" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/path.js": { + "bytes": 3674, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "path", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js": { + "bytes": 8831, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/constants.js", + "kind": "require-call", + "original": "../constants" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "../path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/errors.js": { + "bytes": 2244, + "imports": [], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js": { + "bytes": 1868, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/errors.js", + "kind": "require-call", + "original": "../errors" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/FakeFS.js": { + "bytes": 15538, + "imports": [ + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js", + "kind": "require-call", + "original": "./algorithms/copyPromise" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/NodeFS.js": { + "bytes": 17379, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/FakeFS.js", + "kind": "require-call", + "original": "./FakeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/errors.js", + "kind": "require-call", + "original": "./errors" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.js": { + "bytes": 4970, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/statUtils.js", + "kind": "require-call", + "original": "../../statUtils" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js": { + "bytes": 2254, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.js", + "kind": "require-call", + "original": "./watchFile/CustomStatWatcher" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/ZipFS.js": { + "bytes": 48139, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "zlib", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/FakeFS.js", + "kind": "require-call", + "original": "./FakeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/NodeFS.js", + "kind": "require-call", + "original": "./NodeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js", + "kind": "require-call", + "original": "./algorithms/opendir" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js", + "kind": "require-call", + "original": "./algorithms/watchFile" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/constants.js", + "kind": "require-call", + "original": "./constants" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/errors.js", + "kind": "require-call", + "original": "./errors" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/statUtils.js", + "kind": "require-call", + "original": "./statUtils" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js": { + "bytes": 9579, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/lib/FakeFS.js", + "kind": "require-call", + "original": "./FakeFS" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/AliasFS.js": { + "bytes": 557, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js", + "kind": "require-call", + "original": "./ProxiedFS" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/CwdFS.js": { + "bytes": 1047, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/lib/NodeFS.js", + "kind": "require-call", + "original": "./NodeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js", + "kind": "require-call", + "original": "./ProxiedFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/JailFS.js": { + "bytes": 1320, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/lib/NodeFS.js", + "kind": "require-call", + "original": "./NodeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js", + "kind": "require-call", + "original": "./ProxiedFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/LazyFS.js": { + "bytes": 626, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js", + "kind": "require-call", + "original": "./ProxiedFS" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/NoFS.js": { + "bytes": 4278, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/lib/FakeFS.js", + "kind": "require-call", + "original": "./FakeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/PosixFS.js": { + "bytes": 507, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js", + "kind": "require-call", + "original": "./ProxiedFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/VirtualFS.js": { + "bytes": 3618, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/lib/NodeFS.js", + "kind": "require-call", + "original": "./NodeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js", + "kind": "require-call", + "original": "./ProxiedFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/ZipOpenFS.js": { + "bytes": 36407, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/FakeFS.js", + "kind": "require-call", + "original": "./FakeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/NodeFS.js", + "kind": "require-call", + "original": "./NodeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/ZipFS.js", + "kind": "require-call", + "original": "./ZipFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js", + "kind": "require-call", + "original": "./algorithms/watchFile" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/errors.js", + "kind": "require-call", + "original": "./errors" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/NodePathFS.js": { + "bytes": 1359, + "imports": [ + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js", + "kind": "require-call", + "original": "./ProxiedFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/patchFs/FileHandle.js": { + "bytes": 8541, + "imports": [ + { + "path": "readline", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/patchFs/patchFs.js": { + "bytes": 10069, + "imports": [ + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/NodePathFS.js", + "kind": "require-call", + "original": "../NodePathFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/patchFs/FileHandle.js", + "kind": "require-call", + "original": "./FileHandle" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/xfs.js": { + "bytes": 3619, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/NodeFS.js", + "kind": "require-call", + "original": "./NodeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/fslib/lib/index.js": { + "bytes": 4468, + "imports": [ + { + "path": "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/constants.js", + "kind": "require-call", + "original": "./constants" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/statUtils.js", + "kind": "require-call", + "original": "./statUtils" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js", + "kind": "require-call", + "original": "./algorithms/copyPromise" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js", + "kind": "require-call", + "original": "./algorithms/opendir" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/FakeFS.js", + "kind": "require-call", + "original": "./FakeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/ZipFS.js", + "kind": "require-call", + "original": "./ZipFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/path.js", + "kind": "require-call", + "original": "./path" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/AliasFS.js", + "kind": "require-call", + "original": "./AliasFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/FakeFS.js", + "kind": "require-call", + "original": "./FakeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/CwdFS.js", + "kind": "require-call", + "original": "./CwdFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/JailFS.js", + "kind": "require-call", + "original": "./JailFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/LazyFS.js", + "kind": "require-call", + "original": "./LazyFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/NoFS.js", + "kind": "require-call", + "original": "./NoFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/NodeFS.js", + "kind": "require-call", + "original": "./NodeFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/PosixFS.js", + "kind": "require-call", + "original": "./PosixFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js", + "kind": "require-call", + "original": "./ProxiedFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/VirtualFS.js", + "kind": "require-call", + "original": "./VirtualFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/ZipFS.js", + "kind": "require-call", + "original": "./ZipFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/ZipOpenFS.js", + "kind": "require-call", + "original": "./ZipOpenFS" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/patchFs/patchFs.js", + "kind": "require-call", + "original": "./patchFs/patchFs" + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/xfs.js", + "kind": "require-call", + "original": "./xfs" + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/libzip/node_modules/tslib/tslib.es6.js": { + "bytes": 10274, + "imports": [], + "format": "esm" + }, + "../node_modules/@yarnpkg/libzip/lib/libzipAsync.js": { + "bytes": 372811, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "crypto", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/@yarnpkg/libzip/lib/makeInterface.js": { + "bytes": 7719, + "imports": [], + "format": "cjs" + }, + "../node_modules/@yarnpkg/libzip/lib/async.js": { + "bytes": 711, + "imports": [ + { + "path": "../node_modules/@yarnpkg/libzip/node_modules/tslib/tslib.es6.js", + "kind": "require-call", + "original": "tslib" + }, + { + "path": "../node_modules/@yarnpkg/libzip/lib/libzipAsync.js", + "kind": "require-call", + "original": "./libzipAsync" + }, + { + "path": "../node_modules/@yarnpkg/libzip/lib/makeInterface.js", + "kind": "require-call", + "original": "./makeInterface" + } + ], + "format": "cjs" + }, + "src/common/js-package-manager/util.ts": { + "bytes": 482, + "imports": [], + "format": "esm" + }, + "src/common/js-package-manager/Yarn2Proxy.ts": { + "bytes": 9750, + "imports": [ + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "node_modules/find-up/index.js", + "kind": "import-statement", + "original": "find-up" + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/@yarnpkg/fslib/lib/index.js", + "kind": "import-statement", + "original": "@yarnpkg/fslib" + }, + { + "path": "../node_modules/@yarnpkg/libzip/lib/async.js", + "kind": "import-statement", + "original": "@yarnpkg/libzip" + }, + { + "path": "src/common/utils/cli.ts", + "kind": "import-statement", + "original": "../utils/cli" + }, + { + "path": "src/common/js-package-manager/JsPackageManager.ts", + "kind": "import-statement", + "original": "./JsPackageManager" + }, + { + "path": "src/common/js-package-manager/util.ts", + "kind": "import-statement", + "original": "./util" + } + ], + "format": "esm" + }, + "src/common/js-package-manager/Yarn1Proxy.ts": { + "bytes": 6522, + "imports": [ + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "node_modules/find-up/index.js", + "kind": "import-statement", + "original": "find-up" + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "src/common/utils/cli.ts", + "kind": "import-statement", + "original": "../utils/cli" + }, + { + "path": "src/common/js-package-manager/JsPackageManager.ts", + "kind": "import-statement", + "original": "./JsPackageManager" + }, + { + "path": "src/common/js-package-manager/util.ts", + "kind": "import-statement", + "original": "./util" + } + ], + "format": "esm" + }, + "src/common/js-package-manager/JsPackageManagerFactory.ts": { + "bytes": 4159, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/cross-spawn/index.js", + "kind": "import-statement", + "original": "cross-spawn" + }, + { + "path": "node_modules/find-up/index.js", + "kind": "import-statement", + "original": "find-up" + }, + { + "path": "src/common/js-package-manager/NPMProxy.ts", + "kind": "import-statement", + "original": "./NPMProxy" + }, + { + "path": "src/common/js-package-manager/PNPMProxy.ts", + "kind": "import-statement", + "original": "./PNPMProxy" + }, + { + "path": "src/common/js-package-manager/Yarn2Proxy.ts", + "kind": "import-statement", + "original": "./Yarn2Proxy" + }, + { + "path": "src/common/js-package-manager/Yarn1Proxy.ts", + "kind": "import-statement", + "original": "./Yarn1Proxy" + } + ], + "format": "esm" + }, + "src/common/js-package-manager/PackageJson.ts": { + "bytes": 353, + "imports": [], + "format": "esm" + }, + "src/common/js-package-manager/types.ts": { + "bytes": 281, + "imports": [], + "format": "esm" + }, + "src/common/js-package-manager/index.ts": { + "bytes": 135, + "imports": [ + { + "path": "src/common/js-package-manager/JsPackageManagerFactory.ts", + "kind": "import-statement", + "original": "./JsPackageManagerFactory" + }, + { + "path": "src/common/js-package-manager/JsPackageManager.ts", + "kind": "import-statement", + "original": "./JsPackageManager" + }, + { + "path": "src/common/js-package-manager/PackageJson.ts", + "kind": "import-statement", + "original": "./PackageJson" + }, + { + "path": "src/common/js-package-manager/types.ts", + "kind": "import-statement", + "original": "./types" + } + ], + "format": "esm" + }, + "src/common/utils/remove.ts": { + "bytes": 1503, + "imports": [ + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "@storybook/core/dist/csf-tools", + "kind": "import-statement", + "external": true + }, + { + "path": "src/common/js-package-manager/index.ts", + "kind": "import-statement", + "original": "../js-package-manager" + }, + { + "path": "src/common/utils/get-storybook-info.ts", + "kind": "import-statement", + "original": "./get-storybook-info" + } + ], + "format": "esm" + }, + "src/common/utils/symlinks.ts": { + "bytes": 191, + "imports": [], + "format": "esm" + }, + "../node_modules/find-up-simple/index.js": { + "bytes": 1578, + "imports": [ + { + "path": "node:process", + "kind": "import-statement", + "external": true + }, + { + "path": "node:fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "node:url", + "kind": "import-statement", + "external": true + }, + { + "path": "node:fs", + "kind": "import-statement", + "external": true + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "../node_modules/pkg-dir/index.js": { + "bytes": 387, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/find-up-simple/index.js", + "kind": "import-statement", + "original": "find-up-simple" + } + ], + "format": "esm" + }, + "src/common/utils/template.ts": { + "bytes": 1261, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/pkg-dir/index.js", + "kind": "import-statement", + "original": "pkg-dir" + }, + { + "path": "node:fs", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/common/utils/validate-config.ts": { + "bytes": 1366, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/server-errors", + "kind": "import-statement", + "external": true + }, + { + "path": "src/common/utils/get-storybook-info.ts", + "kind": "import-statement", + "original": "./get-storybook-info" + } + ], + "format": "esm" + }, + "src/common/utils/satisfies.ts": { + "bytes": 144, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/doc.mjs": { + "bytes": 49496, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/acorn.mjs": { + "bytes": 148543, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/angular.mjs": { + "bytes": 41411, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/babel.mjs": { + "bytes": 312847, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/estree.mjs": { + "bytes": 194545, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/flow.mjs": { + "bytes": 682330, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/glimmer.mjs": { + "bytes": 136347, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/graphql.mjs": { + "bytes": 43019, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/html.mjs": { + "bytes": 144505, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/markdown.mjs": { + "bytes": 149562, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/meriyah.mjs": { + "bytes": 119703, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/postcss.mjs": { + "bytes": 152651, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/typescript.mjs": { + "bytes": 1148040, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/plugins/yaml.mjs": { + "bytes": 121477, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier/index.mjs": { + "bytes": 822367, + "imports": [ + { + "path": "module", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "process", + "kind": "import-statement", + "external": true + }, + { + "path": "os", + "kind": "import-statement", + "external": true + }, + { + "path": "tty", + "kind": "import-statement", + "external": true + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "assert", + "kind": "import-statement", + "external": true + }, + { + "path": "assert", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "module", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "assert", + "kind": "import-statement", + "external": true + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "process", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "module", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "v8", + "kind": "import-statement", + "external": true + }, + { + "path": "assert", + "kind": "import-statement", + "external": true + }, + { + "path": "util", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/prettier/doc.mjs", + "kind": "import-statement", + "original": "./doc.mjs" + }, + { + "path": "../node_modules/prettier/plugins/acorn.mjs", + "kind": "dynamic-import", + "original": "./plugins/acorn.mjs" + }, + { + "path": "../node_modules/prettier/plugins/angular.mjs", + "kind": "dynamic-import", + "original": "./plugins/angular.mjs" + }, + { + "path": "../node_modules/prettier/plugins/babel.mjs", + "kind": "dynamic-import", + "original": "./plugins/babel.mjs" + }, + { + "path": "../node_modules/prettier/plugins/estree.mjs", + "kind": "dynamic-import", + "original": "./plugins/estree.mjs" + }, + { + "path": "../node_modules/prettier/plugins/flow.mjs", + "kind": "dynamic-import", + "original": "./plugins/flow.mjs" + }, + { + "path": "../node_modules/prettier/plugins/glimmer.mjs", + "kind": "dynamic-import", + "original": "./plugins/glimmer.mjs" + }, + { + "path": "../node_modules/prettier/plugins/graphql.mjs", + "kind": "dynamic-import", + "original": "./plugins/graphql.mjs" + }, + { + "path": "../node_modules/prettier/plugins/html.mjs", + "kind": "dynamic-import", + "original": "./plugins/html.mjs" + }, + { + "path": "../node_modules/prettier/plugins/markdown.mjs", + "kind": "dynamic-import", + "original": "./plugins/markdown.mjs" + }, + { + "path": "../node_modules/prettier/plugins/meriyah.mjs", + "kind": "dynamic-import", + "original": "./plugins/meriyah.mjs" + }, + { + "path": "../node_modules/prettier/plugins/postcss.mjs", + "kind": "dynamic-import", + "original": "./plugins/postcss.mjs" + }, + { + "path": "../node_modules/prettier/plugins/typescript.mjs", + "kind": "dynamic-import", + "original": "./plugins/typescript.mjs" + }, + { + "path": "../node_modules/prettier/plugins/yaml.mjs", + "kind": "dynamic-import", + "original": "./plugins/yaml.mjs" + } + ], + "format": "esm" + }, + "../node_modules/prettier/doc.js": { + "bytes": 53208, + "imports": [], + "format": "cjs" + }, + "../node_modules/prettier/index.cjs": { + "bytes": 35746, + "imports": [ + { + "path": "../node_modules/prettier/index.mjs", + "kind": "dynamic-import", + "original": "./index.mjs" + }, + { + "path": "../node_modules/prettier/doc.js", + "kind": "require-call", + "original": "./doc.js" + } + ], + "format": "cjs" + }, + "../node_modules/prettier-fallback/doc.mjs": { + "bytes": 49496, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/acorn.mjs": { + "bytes": 148696, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/angular.mjs": { + "bytes": 41427, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/babel.mjs": { + "bytes": 312702, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/estree.mjs": { + "bytes": 194879, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/flow.mjs": { + "bytes": 682387, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/glimmer.mjs": { + "bytes": 137678, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/graphql.mjs": { + "bytes": 43002, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/html.mjs": { + "bytes": 145640, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/markdown.mjs": { + "bytes": 149553, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/meriyah.mjs": { + "bytes": 119759, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/postcss.mjs": { + "bytes": 151269, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/typescript.mjs": { + "bytes": 1145528, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/plugins/yaml.mjs": { + "bytes": 121477, + "imports": [], + "format": "esm" + }, + "../node_modules/prettier-fallback/index.mjs": { + "bytes": 801500, + "imports": [ + { + "path": "module", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "process", + "kind": "import-statement", + "external": true + }, + { + "path": "os", + "kind": "import-statement", + "external": true + }, + { + "path": "tty", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "assert", + "kind": "import-statement", + "external": true + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "process", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "module", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "v8", + "kind": "import-statement", + "external": true + }, + { + "path": "assert", + "kind": "import-statement", + "external": true + }, + { + "path": "util", + "kind": "import-statement", + "external": true + }, + { + "path": "module", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "fs", + "kind": "import-statement", + "external": true + }, + { + "path": "assert", + "kind": "import-statement", + "external": true + }, + { + "path": "assert", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "url", + "kind": "import-statement", + "external": true + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/prettier-fallback/doc.mjs", + "kind": "import-statement", + "original": "./doc.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/acorn.mjs", + "kind": "dynamic-import", + "original": "./plugins/acorn.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/angular.mjs", + "kind": "dynamic-import", + "original": "./plugins/angular.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/babel.mjs", + "kind": "dynamic-import", + "original": "./plugins/babel.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/estree.mjs", + "kind": "dynamic-import", + "original": "./plugins/estree.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/flow.mjs", + "kind": "dynamic-import", + "original": "./plugins/flow.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/glimmer.mjs", + "kind": "dynamic-import", + "original": "./plugins/glimmer.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/graphql.mjs", + "kind": "dynamic-import", + "original": "./plugins/graphql.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/html.mjs", + "kind": "dynamic-import", + "original": "./plugins/html.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/markdown.mjs", + "kind": "dynamic-import", + "original": "./plugins/markdown.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/meriyah.mjs", + "kind": "dynamic-import", + "original": "./plugins/meriyah.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/postcss.mjs", + "kind": "dynamic-import", + "original": "./plugins/postcss.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/typescript.mjs", + "kind": "dynamic-import", + "original": "./plugins/typescript.mjs" + }, + { + "path": "../node_modules/prettier-fallback/plugins/yaml.mjs", + "kind": "dynamic-import", + "original": "./plugins/yaml.mjs" + } + ], + "format": "esm" + }, + "../node_modules/prettier-fallback/doc.js": { + "bytes": 53208, + "imports": [], + "format": "cjs" + }, + "../node_modules/prettier-fallback/index.cjs": { + "bytes": 35746, + "imports": [ + { + "path": "../node_modules/prettier-fallback/index.mjs", + "kind": "dynamic-import", + "original": "./index.mjs" + }, + { + "path": "../node_modules/prettier-fallback/doc.js", + "kind": "require-call", + "original": "./doc.js" + } + ], + "format": "cjs" + }, + "src/common/utils/formatter.ts": { + "bytes": 2811, + "imports": [ + { + "path": "../node_modules/semver/index.js", + "kind": "import-statement", + "original": "semver" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "../node_modules/prettier/index.cjs", + "kind": "dynamic-import", + "original": "prettier" + }, + { + "path": "../node_modules/prettier-fallback/index.cjs", + "kind": "dynamic-import", + "original": "prettier-fallback" + } + ], + "format": "esm" + }, + "src/common/index.ts": { + "bytes": 1701, + "imports": [ + { + "path": "src/common/presets.ts", + "kind": "import-statement", + "original": "./presets" + }, + { + "path": "src/common/utils/cache.ts", + "kind": "import-statement", + "original": "./utils/cache" + }, + { + "path": "src/common/utils/cli.ts", + "kind": "import-statement", + "original": "./utils/cli" + }, + { + "path": "src/common/utils/check-addon-order.ts", + "kind": "import-statement", + "original": "./utils/check-addon-order" + }, + { + "path": "src/common/utils/envs.ts", + "kind": "import-statement", + "original": "./utils/envs" + }, + { + "path": "src/common/utils/common-glob-options.ts", + "kind": "import-statement", + "original": "./utils/common-glob-options" + }, + { + "path": "src/common/utils/framework-to-renderer.ts", + "kind": "import-statement", + "original": "./utils/framework-to-renderer" + }, + { + "path": "src/common/utils/get-builder-options.ts", + "kind": "import-statement", + "original": "./utils/get-builder-options" + }, + { + "path": "src/common/utils/get-framework-name.ts", + "kind": "import-statement", + "original": "./utils/get-framework-name" + }, + { + "path": "src/common/utils/get-renderer-name.ts", + "kind": "import-statement", + "original": "./utils/get-renderer-name" + }, + { + "path": "src/common/utils/get-storybook-configuration.ts", + "kind": "import-statement", + "original": "./utils/get-storybook-configuration" + }, + { + "path": "src/common/utils/get-storybook-info.ts", + "kind": "import-statement", + "original": "./utils/get-storybook-info" + }, + { + "path": "src/common/utils/get-storybook-refs.ts", + "kind": "import-statement", + "original": "./utils/get-storybook-refs" + }, + { + "path": "src/common/utils/glob-to-regexp.ts", + "kind": "import-statement", + "original": "./utils/glob-to-regexp" + }, + { + "path": "src/common/utils/HandledError.ts", + "kind": "import-statement", + "original": "./utils/HandledError" + }, + { + "path": "src/common/utils/handlebars.ts", + "kind": "import-statement", + "original": "./utils/handlebars" + }, + { + "path": "src/common/utils/interpolate.ts", + "kind": "import-statement", + "original": "./utils/interpolate" + }, + { + "path": "src/common/utils/interpret-files.ts", + "kind": "import-statement", + "original": "./utils/interpret-files" + }, + { + "path": "src/common/utils/interpret-require.ts", + "kind": "import-statement", + "original": "./utils/interpret-require" + }, + { + "path": "src/common/utils/load-custom-presets.ts", + "kind": "import-statement", + "original": "./utils/load-custom-presets" + }, + { + "path": "src/common/utils/load-main-config.ts", + "kind": "import-statement", + "original": "./utils/load-main-config" + }, + { + "path": "src/common/utils/load-manager-or-addons-file.ts", + "kind": "import-statement", + "original": "./utils/load-manager-or-addons-file" + }, + { + "path": "src/common/utils/load-preview-or-config-file.ts", + "kind": "import-statement", + "original": "./utils/load-preview-or-config-file" + }, + { + "path": "src/common/utils/log.ts", + "kind": "import-statement", + "original": "./utils/log" + }, + { + "path": "src/common/utils/log-config.ts", + "kind": "import-statement", + "original": "./utils/log-config" + }, + { + "path": "src/common/utils/normalize-stories.ts", + "kind": "import-statement", + "original": "./utils/normalize-stories" + }, + { + "path": "src/common/utils/paths.ts", + "kind": "import-statement", + "original": "./utils/paths" + }, + { + "path": "src/common/utils/readTemplate.ts", + "kind": "import-statement", + "original": "./utils/readTemplate" + }, + { + "path": "src/common/utils/remove.ts", + "kind": "import-statement", + "original": "./utils/remove" + }, + { + "path": "src/common/utils/resolve-path-in-sb-cache.ts", + "kind": "import-statement", + "original": "./utils/resolve-path-in-sb-cache" + }, + { + "path": "src/common/utils/symlinks.ts", + "kind": "import-statement", + "original": "./utils/symlinks" + }, + { + "path": "src/common/utils/template.ts", + "kind": "import-statement", + "original": "./utils/template" + }, + { + "path": "src/common/utils/validate-config.ts", + "kind": "import-statement", + "original": "./utils/validate-config" + }, + { + "path": "src/common/utils/validate-configuration-files.ts", + "kind": "import-statement", + "original": "./utils/validate-configuration-files" + }, + { + "path": "src/common/utils/satisfies.ts", + "kind": "import-statement", + "original": "./utils/satisfies" + }, + { + "path": "src/common/utils/strip-abs-node-modules-path.ts", + "kind": "import-statement", + "original": "./utils/strip-abs-node-modules-path" + }, + { + "path": "src/common/utils/formatter.ts", + "kind": "import-statement", + "original": "./utils/formatter" + }, + { + "path": "src/common/js-package-manager/index.ts", + "kind": "import-statement", + "original": "./js-package-manager" + }, + { + "path": "src/common/versions.ts", + "kind": "import-statement", + "original": "./versions" + }, + { + "path": "src/common/utils/file-cache.ts", + "kind": "import-statement", + "original": "./utils/file-cache" + } + ], + "format": "esm" + }, + "../node_modules/index-to-position/index.js": { + "bytes": 843, + "imports": [], + "format": "esm" + }, + "node_modules/parse-json/index.js": { + "bytes": 2501, + "imports": [ + { + "path": "../node_modules/@babel/code-frame/lib/index.js", + "kind": "import-statement", + "original": "@babel/code-frame" + }, + { + "path": "../node_modules/index-to-position/index.js", + "kind": "import-statement", + "original": "index-to-position" + } + ], + "format": "esm" + }, + "../node_modules/spdx-license-ids/index.json": { + "bytes": 8303, + "imports": [] + }, + "../node_modules/spdx-license-ids/deprecated.json": { + "bytes": 499, + "imports": [] + }, + "../node_modules/spdx-exceptions/index.json": { + "bytes": 1009, + "imports": [] + }, + "../node_modules/spdx-expression-parse/scan.js": { + "bytes": 2754, + "imports": [ + { + "path": "../node_modules/spdx-license-ids/index.json", + "kind": "require-call", + "original": "spdx-license-ids" + }, + { + "path": "../node_modules/spdx-license-ids/deprecated.json", + "kind": "require-call", + "original": "spdx-license-ids/deprecated" + }, + { + "path": "../node_modules/spdx-exceptions/index.json", + "kind": "require-call", + "original": "spdx-exceptions" + } + ], + "format": "cjs" + }, + "../node_modules/spdx-expression-parse/parse.js": { + "bytes": 2901, + "imports": [], + "format": "cjs" + }, + "../node_modules/spdx-expression-parse/index.js": { + "bytes": 143, + "imports": [ + { + "path": "../node_modules/spdx-expression-parse/scan.js", + "kind": "require-call", + "original": "./scan" + }, + { + "path": "../node_modules/spdx-expression-parse/parse.js", + "kind": "require-call", + "original": "./parse" + } + ], + "format": "cjs" + }, + "../node_modules/spdx-correct/index.js": { + "bytes": 10753, + "imports": [ + { + "path": "../node_modules/spdx-expression-parse/index.js", + "kind": "require-call", + "original": "spdx-expression-parse" + }, + { + "path": "../node_modules/spdx-license-ids/index.json", + "kind": "require-call", + "original": "spdx-license-ids" + } + ], + "format": "cjs" + }, + "../node_modules/validate-npm-package-license/index.js": { + "bytes": 1925, + "imports": [ + { + "path": "../node_modules/spdx-expression-parse/index.js", + "kind": "require-call", + "original": "spdx-expression-parse" + }, + { + "path": "../node_modules/spdx-correct/index.js", + "kind": "require-call", + "original": "spdx-correct" + } + ], + "format": "cjs" + }, + "../node_modules/hosted-git-info/lib/hosts.js": { + "bytes": 8997, + "imports": [], + "format": "cjs" + }, + "../node_modules/hosted-git-info/lib/parse-url.js": { + "bytes": 2517, + "imports": [ + { + "path": "url", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/hosted-git-info/lib/from-url.js": { + "bytes": 4219, + "imports": [ + { + "path": "../node_modules/hosted-git-info/lib/parse-url.js", + "kind": "require-call", + "original": "./parse-url" + } + ], + "format": "cjs" + }, + "../node_modules/hosted-git-info/lib/index.js": { + "bytes": 4416, + "imports": [ + { + "path": "../node_modules/lru-cache/dist/esm/index.js", + "kind": "require-call", + "original": "lru-cache" + }, + { + "path": "../node_modules/hosted-git-info/lib/hosts.js", + "kind": "require-call", + "original": "./hosts.js" + }, + { + "path": "../node_modules/hosted-git-info/lib/from-url.js", + "kind": "require-call", + "original": "./from-url.js" + }, + { + "path": "../node_modules/hosted-git-info/lib/parse-url.js", + "kind": "require-call", + "original": "./parse-url.js" + } + ], + "format": "cjs" + }, + "../node_modules/function-bind/implementation.js": { + "bytes": 2043, + "imports": [], + "format": "cjs" + }, + "../node_modules/function-bind/index.js": { + "bytes": 126, + "imports": [ + { + "path": "../node_modules/function-bind/implementation.js", + "kind": "require-call", + "original": "./implementation" + } + ], + "format": "cjs" + }, + "../node_modules/hasown/index.js": { + "bytes": 206, + "imports": [ + { + "path": "../node_modules/function-bind/index.js", + "kind": "require-call", + "original": "function-bind" + } + ], + "format": "cjs" + }, + "../node_modules/is-core-module/core.json": { + "bytes": 5769, + "imports": [] + }, + "../node_modules/is-core-module/index.js": { + "bytes": 1766, + "imports": [ + { + "path": "../node_modules/hasown/index.js", + "kind": "require-call", + "original": "hasown" + }, + { + "path": "../node_modules/is-core-module/core.json", + "kind": "require-call", + "original": "./core.json" + } + ], + "format": "cjs" + }, + "node_modules/normalize-package-data/lib/extract_description.js": { + "bytes": 549, + "imports": [], + "format": "cjs" + }, + "node_modules/normalize-package-data/lib/typos.json": { + "bytes": 747, + "imports": [] + }, + "node_modules/normalize-package-data/lib/fixer.js": { + "bytes": 12706, + "imports": [ + { + "path": "../node_modules/semver/functions/valid.js", + "kind": "require-call", + "original": "semver/functions/valid" + }, + { + "path": "../node_modules/semver/functions/clean.js", + "kind": "require-call", + "original": "semver/functions/clean" + }, + { + "path": "../node_modules/validate-npm-package-license/index.js", + "kind": "require-call", + "original": "validate-npm-package-license" + }, + { + "path": "../node_modules/hosted-git-info/lib/index.js", + "kind": "require-call", + "original": "hosted-git-info" + }, + { + "path": "../node_modules/is-core-module/index.js", + "kind": "require-call", + "original": "is-core-module" + }, + { + "path": "node_modules/normalize-package-data/lib/extract_description.js", + "kind": "require-call", + "original": "./extract_description" + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "node_modules/normalize-package-data/lib/typos.json", + "kind": "require-call", + "original": "./typos.json" + } + ], + "format": "cjs" + }, + "node_modules/normalize-package-data/lib/warning_messages.json": { + "bytes": 1798, + "imports": [] + }, + "node_modules/normalize-package-data/lib/make_warning.js": { + "bytes": 711, + "imports": [ + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "node_modules/normalize-package-data/lib/warning_messages.json", + "kind": "require-call", + "original": "./warning_messages.json" + } + ], + "format": "cjs" + }, + "node_modules/normalize-package-data/lib/normalize.js": { + "bytes": 1383, + "imports": [ + { + "path": "node_modules/normalize-package-data/lib/fixer.js", + "kind": "require-call", + "original": "./fixer" + }, + { + "path": "node_modules/normalize-package-data/lib/make_warning.js", + "kind": "require-call", + "original": "./make_warning" + } + ], + "format": "cjs" + }, + "node_modules/read-pkg/index.js": { + "bytes": 1353, + "imports": [ + { + "path": "node:fs", + "kind": "import-statement", + "external": true + }, + { + "path": "node:fs/promises", + "kind": "import-statement", + "external": true + }, + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "node_modules/parse-json/index.js", + "kind": "import-statement", + "original": "parse-json" + }, + { + "path": "node_modules/normalize-package-data/lib/normalize.js", + "kind": "import-statement", + "original": "normalize-package-data" + }, + { + "path": "../node_modules/unicorn-magic/node.js", + "kind": "import-statement", + "original": "unicorn-magic" + } + ], + "format": "esm" + }, + "node_modules/read-pkg-up/index.js": { + "bytes": 626, + "imports": [ + { + "path": "node:path", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/find-up-simple/index.js", + "kind": "import-statement", + "original": "find-up-simple" + }, + { + "path": "node_modules/read-pkg/index.js", + "kind": "import-statement", + "original": "read-pkg" + } + ], + "format": "esm" + }, + "../node_modules/detect-package-manager/dist/index.js": { + "bytes": 3482, + "imports": [ + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "../node_modules/execa/index.js", + "kind": "require-call", + "original": "execa" + } + ], + "format": "cjs" + }, + "src/telemetry/package-json.ts": { + "bytes": 895, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/index.js", + "kind": "import-statement", + "original": "fs-extra" + }, + { + "path": "path", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/telemetry/get-monorepo-type.ts": { + "bytes": 1180, + "imports": [ + { + "path": "../node_modules/fs-extra/lib/index.js", + "kind": "import-statement", + "original": "fs-extra" + }, + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/common", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/telemetry/sanitize.ts": { + "bytes": 1540, + "imports": [ + { + "path": "path", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/telemetry/get-framework-info.ts": { + "bytes": 2249, + "imports": [ + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/common", + "kind": "import-statement", + "external": true + }, + { + "path": "src/telemetry/sanitize.ts", + "kind": "import-statement", + "original": "./sanitize" + }, + { + "path": "src/telemetry/package-json.ts", + "kind": "import-statement", + "original": "./package-json" + } + ], + "format": "esm" + }, + "src/telemetry/get-chromatic-version.ts": { + "bytes": 553, + "imports": [], + "format": "esm" + }, + "src/telemetry/storybook-metadata.ts": { + "bytes": 6727, + "imports": [ + { + "path": "node_modules/read-pkg-up/index.js", + "kind": "import-statement", + "original": "read-pkg-up" + }, + { + "path": "../node_modules/detect-package-manager/dist/index.js", + "kind": "import-statement", + "original": "detect-package-manager" + }, + { + "path": "@storybook/core/dist/common", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/csf-tools", + "kind": "import-statement", + "external": true + }, + { + "path": "src/telemetry/package-json.ts", + "kind": "import-statement", + "original": "./package-json" + }, + { + "path": "src/telemetry/get-monorepo-type.ts", + "kind": "import-statement", + "original": "./get-monorepo-type" + }, + { + "path": "src/telemetry/sanitize.ts", + "kind": "import-statement", + "original": "./sanitize" + }, + { + "path": "src/telemetry/get-framework-info.ts", + "kind": "import-statement", + "original": "./get-framework-info" + }, + { + "path": "src/telemetry/get-chromatic-version.ts", + "kind": "import-statement", + "original": "./get-chromatic-version" + } + ], + "format": "esm" + }, + "../node_modules/fetch-retry/dist/fetch-retry.umd.js": { + "bytes": 5272, + "imports": [], + "format": "cjs" + }, + "../node_modules/nanoid/url-alphabet/index.js": { + "bytes": 96, + "imports": [], + "format": "esm" + }, + "../node_modules/nanoid/index.browser.js": { + "bytes": 1019, + "imports": [ + { + "path": "../node_modules/nanoid/url-alphabet/index.js", + "kind": "import-statement", + "original": "./url-alphabet/index.js" + } + ], + "format": "esm" + }, + "src/telemetry/one-way-hash.ts": { + "bytes": 482, + "imports": [ + { + "path": "crypto", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/telemetry/anonymous-id.ts": { + "bytes": 1371, + "imports": [ + { + "path": "path", + "kind": "import-statement", + "external": true + }, + { + "path": "child_process", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/common", + "kind": "import-statement", + "external": true + }, + { + "path": "src/telemetry/one-way-hash.ts", + "kind": "import-statement", + "original": "./one-way-hash" + } + ], + "format": "esm" + }, + "src/telemetry/event-cache.ts": { + "bytes": 1899, + "imports": [ + { + "path": "@storybook/core/dist/common", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/telemetry/session-id.ts": { + "bytes": 730, + "imports": [ + { + "path": "../node_modules/nanoid/index.browser.js", + "kind": "import-statement", + "original": "nanoid" + }, + { + "path": "@storybook/core/dist/common", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/telemetry/telemetry.ts": { + "bytes": 3109, + "imports": [ + { + "path": "os", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/node-fetch/src/index.js", + "kind": "import-statement", + "original": "node-fetch" + }, + { + "path": "../node_modules/fetch-retry/dist/fetch-retry.umd.js", + "kind": "import-statement", + "original": "fetch-retry" + }, + { + "path": "../node_modules/nanoid/index.browser.js", + "kind": "import-statement", + "original": "nanoid" + }, + { + "path": "src/telemetry/anonymous-id.ts", + "kind": "import-statement", + "original": "./anonymous-id" + }, + { + "path": "src/telemetry/event-cache.ts", + "kind": "import-statement", + "original": "./event-cache" + }, + { + "path": "src/telemetry/session-id.ts", + "kind": "import-statement", + "original": "./session-id" + } + ], + "format": "esm" + }, + "src/telemetry/notify.ts": { + "bytes": 1112, + "imports": [ + { + "path": "node_modules/chalk/source/index.js", + "kind": "import-statement", + "original": "chalk" + }, + { + "path": "@storybook/core/dist/common", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/telemetry/types.ts": { + "bytes": 1793, + "imports": [], + "format": "esm" + }, + "src/telemetry/index.ts": { + "bytes": 1740, + "imports": [ + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "src/telemetry/storybook-metadata.ts", + "kind": "import-statement", + "original": "./storybook-metadata" + }, + { + "path": "src/telemetry/telemetry.ts", + "kind": "import-statement", + "original": "./telemetry" + }, + { + "path": "src/telemetry/notify.ts", + "kind": "import-statement", + "original": "./notify" + }, + { + "path": "src/telemetry/sanitize.ts", + "kind": "import-statement", + "original": "./sanitize" + }, + { + "path": "src/telemetry/one-way-hash.ts", + "kind": "import-statement", + "original": "./one-way-hash" + }, + { + "path": "src/telemetry/storybook-metadata.ts", + "kind": "import-statement", + "original": "./storybook-metadata" + }, + { + "path": "src/telemetry/types.ts", + "kind": "import-statement", + "original": "./types" + }, + { + "path": "src/telemetry/event-cache.ts", + "kind": "import-statement", + "original": "./event-cache" + }, + { + "path": "src/telemetry/telemetry.ts", + "kind": "import-statement", + "original": "./telemetry" + } + ], + "format": "esm" + }, + "src/preview-api/modules/addons/storybook-channel-mock.ts": { + "bytes": 203, + "imports": [ + { + "path": "@storybook/core/dist/channels", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/preview-api/modules/addons/main.ts": { + "bytes": 1193, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "src/preview-api/modules/addons/storybook-channel-mock.ts", + "kind": "import-statement", + "original": "./storybook-channel-mock" + } + ], + "format": "esm" + }, + "src/preview-api/modules/addons/hooks.ts": { + "bytes": 19733, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/addons/main.ts", + "kind": "import-statement", + "original": "./main" + } + ], + "format": "esm" + }, + "src/preview-api/modules/addons/make-decorator.ts": { + "bytes": 2740, + "imports": [], + "format": "esm" + }, + "src/preview-api/modules/addons/index.ts": { + "bytes": 125, + "imports": [ + { + "path": "src/preview-api/modules/addons/main.ts", + "kind": "import-statement", + "original": "./main" + }, + { + "path": "src/preview-api/modules/addons/hooks.ts", + "kind": "import-statement", + "original": "./hooks" + }, + { + "path": "src/preview-api/modules/addons/make-decorator.ts", + "kind": "import-statement", + "original": "./make-decorator" + }, + { + "path": "src/preview-api/modules/addons/storybook-channel-mock.ts", + "kind": "import-statement", + "original": "./storybook-channel-mock" + } + ], + "format": "esm" + }, + "src/preview-api/addons.ts": { + "bytes": 76, + "imports": [ + { + "path": "src/preview-api/modules/addons/index.ts", + "kind": "import-statement", + "original": "./modules/addons" + } + ], + "format": "esm" + }, + "../node_modules/lodash/_freeGlobal.js": { + "bytes": 173, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_root.js": { + "bytes": 300, + "imports": [ + { + "path": "../node_modules/lodash/_freeGlobal.js", + "kind": "require-call", + "original": "./_freeGlobal" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_Symbol.js": { + "bytes": 118, + "imports": [ + { + "path": "../node_modules/lodash/_root.js", + "kind": "require-call", + "original": "./_root" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_getRawTag.js": { + "bytes": 1139, + "imports": [ + { + "path": "../node_modules/lodash/_Symbol.js", + "kind": "require-call", + "original": "./_Symbol" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_objectToString.js": { + "bytes": 565, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseGetTag.js": { + "bytes": 792, + "imports": [ + { + "path": "../node_modules/lodash/_Symbol.js", + "kind": "require-call", + "original": "./_Symbol" + }, + { + "path": "../node_modules/lodash/_getRawTag.js", + "kind": "require-call", + "original": "./_getRawTag" + }, + { + "path": "../node_modules/lodash/_objectToString.js", + "kind": "require-call", + "original": "./_objectToString" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/isObject.js": { + "bytes": 733, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/isFunction.js": { + "bytes": 993, + "imports": [ + { + "path": "../node_modules/lodash/_baseGetTag.js", + "kind": "require-call", + "original": "./_baseGetTag" + }, + { + "path": "../node_modules/lodash/isObject.js", + "kind": "require-call", + "original": "./isObject" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_coreJsData.js": { + "bytes": 157, + "imports": [ + { + "path": "../node_modules/lodash/_root.js", + "kind": "require-call", + "original": "./_root" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_isMasked.js": { + "bytes": 564, + "imports": [ + { + "path": "../node_modules/lodash/_coreJsData.js", + "kind": "require-call", + "original": "./_coreJsData" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_toSource.js": { + "bytes": 556, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseIsNative.js": { + "bytes": 1417, + "imports": [ + { + "path": "../node_modules/lodash/isFunction.js", + "kind": "require-call", + "original": "./isFunction" + }, + { + "path": "../node_modules/lodash/_isMasked.js", + "kind": "require-call", + "original": "./_isMasked" + }, + { + "path": "../node_modules/lodash/isObject.js", + "kind": "require-call", + "original": "./isObject" + }, + { + "path": "../node_modules/lodash/_toSource.js", + "kind": "require-call", + "original": "./_toSource" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_getValue.js": { + "bytes": 325, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_getNative.js": { + "bytes": 483, + "imports": [ + { + "path": "../node_modules/lodash/_baseIsNative.js", + "kind": "require-call", + "original": "./_baseIsNative" + }, + { + "path": "../node_modules/lodash/_getValue.js", + "kind": "require-call", + "original": "./_getValue" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_defineProperty.js": { + "bytes": 233, + "imports": [ + { + "path": "../node_modules/lodash/_getNative.js", + "kind": "require-call", + "original": "./_getNative" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseAssignValue.js": { + "bytes": 625, + "imports": [ + { + "path": "../node_modules/lodash/_defineProperty.js", + "kind": "require-call", + "original": "./_defineProperty" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_createBaseFor.js": { + "bytes": 648, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseFor.js": { + "bytes": 593, + "imports": [ + { + "path": "../node_modules/lodash/_createBaseFor.js", + "kind": "require-call", + "original": "./_createBaseFor" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseTimes.js": { + "bytes": 504, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/isObjectLike.js": { + "bytes": 614, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseIsArguments.js": { + "bytes": 488, + "imports": [ + { + "path": "../node_modules/lodash/_baseGetTag.js", + "kind": "require-call", + "original": "./_baseGetTag" + }, + { + "path": "../node_modules/lodash/isObjectLike.js", + "kind": "require-call", + "original": "./isObjectLike" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/isArguments.js": { + "bytes": 1026, + "imports": [ + { + "path": "../node_modules/lodash/_baseIsArguments.js", + "kind": "require-call", + "original": "./_baseIsArguments" + }, + { + "path": "../node_modules/lodash/isObjectLike.js", + "kind": "require-call", + "original": "./isObjectLike" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/isArray.js": { + "bytes": 488, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/stubFalse.js": { + "bytes": 280, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/isBuffer.js": { + "bytes": 1114, + "imports": [ + { + "path": "../node_modules/lodash/_root.js", + "kind": "require-call", + "original": "./_root" + }, + { + "path": "../node_modules/lodash/stubFalse.js", + "kind": "require-call", + "original": "./stubFalse" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_isIndex.js": { + "bytes": 759, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/isLength.js": { + "bytes": 802, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseIsTypedArray.js": { + "bytes": 2222, + "imports": [ + { + "path": "../node_modules/lodash/_baseGetTag.js", + "kind": "require-call", + "original": "./_baseGetTag" + }, + { + "path": "../node_modules/lodash/isLength.js", + "kind": "require-call", + "original": "./isLength" + }, + { + "path": "../node_modules/lodash/isObjectLike.js", + "kind": "require-call", + "original": "./isObjectLike" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseUnary.js": { + "bytes": 332, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_nodeUtil.js": { + "bytes": 995, + "imports": [ + { + "path": "../node_modules/lodash/_freeGlobal.js", + "kind": "require-call", + "original": "./_freeGlobal" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/isTypedArray.js": { + "bytes": 695, + "imports": [ + { + "path": "../node_modules/lodash/_baseIsTypedArray.js", + "kind": "require-call", + "original": "./_baseIsTypedArray" + }, + { + "path": "../node_modules/lodash/_baseUnary.js", + "kind": "require-call", + "original": "./_baseUnary" + }, + { + "path": "../node_modules/lodash/_nodeUtil.js", + "kind": "require-call", + "original": "./_nodeUtil" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_arrayLikeKeys.js": { + "bytes": 1778, + "imports": [ + { + "path": "../node_modules/lodash/_baseTimes.js", + "kind": "require-call", + "original": "./_baseTimes" + }, + { + "path": "../node_modules/lodash/isArguments.js", + "kind": "require-call", + "original": "./isArguments" + }, + { + "path": "../node_modules/lodash/isArray.js", + "kind": "require-call", + "original": "./isArray" + }, + { + "path": "../node_modules/lodash/isBuffer.js", + "kind": "require-call", + "original": "./isBuffer" + }, + { + "path": "../node_modules/lodash/_isIndex.js", + "kind": "require-call", + "original": "./_isIndex" + }, + { + "path": "../node_modules/lodash/isTypedArray.js", + "kind": "require-call", + "original": "./isTypedArray" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_isPrototype.js": { + "bytes": 480, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_overArg.js": { + "bytes": 382, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_nativeKeys.js": { + "bytes": 204, + "imports": [ + { + "path": "../node_modules/lodash/_overArg.js", + "kind": "require-call", + "original": "./_overArg" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseKeys.js": { + "bytes": 776, + "imports": [ + { + "path": "../node_modules/lodash/_isPrototype.js", + "kind": "require-call", + "original": "./_isPrototype" + }, + { + "path": "../node_modules/lodash/_nativeKeys.js", + "kind": "require-call", + "original": "./_nativeKeys" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/isArrayLike.js": { + "bytes": 830, + "imports": [ + { + "path": "../node_modules/lodash/isFunction.js", + "kind": "require-call", + "original": "./isFunction" + }, + { + "path": "../node_modules/lodash/isLength.js", + "kind": "require-call", + "original": "./isLength" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/keys.js": { + "bytes": 884, + "imports": [ + { + "path": "../node_modules/lodash/_arrayLikeKeys.js", + "kind": "require-call", + "original": "./_arrayLikeKeys" + }, + { + "path": "../node_modules/lodash/_baseKeys.js", + "kind": "require-call", + "original": "./_baseKeys" + }, + { + "path": "../node_modules/lodash/isArrayLike.js", + "kind": "require-call", + "original": "./isArrayLike" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseForOwn.js": { + "bytes": 456, + "imports": [ + { + "path": "../node_modules/lodash/_baseFor.js", + "kind": "require-call", + "original": "./_baseFor" + }, + { + "path": "../node_modules/lodash/keys.js", + "kind": "require-call", + "original": "./keys" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_listCacheClear.js": { + "bytes": 218, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/eq.js": { + "bytes": 799, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_assocIndexOf.js": { + "bytes": 487, + "imports": [ + { + "path": "../node_modules/lodash/eq.js", + "kind": "require-call", + "original": "./eq" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_listCacheDelete.js": { + "bytes": 775, + "imports": [ + { + "path": "../node_modules/lodash/_assocIndexOf.js", + "kind": "require-call", + "original": "./_assocIndexOf" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_listCacheGet.js": { + "bytes": 420, + "imports": [ + { + "path": "../node_modules/lodash/_assocIndexOf.js", + "kind": "require-call", + "original": "./_assocIndexOf" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_listCacheHas.js": { + "bytes": 403, + "imports": [ + { + "path": "../node_modules/lodash/_assocIndexOf.js", + "kind": "require-call", + "original": "./_assocIndexOf" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_listCacheSet.js": { + "bytes": 553, + "imports": [ + { + "path": "../node_modules/lodash/_assocIndexOf.js", + "kind": "require-call", + "original": "./_assocIndexOf" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_ListCache.js": { + "bytes": 869, + "imports": [ + { + "path": "../node_modules/lodash/_listCacheClear.js", + "kind": "require-call", + "original": "./_listCacheClear" + }, + { + "path": "../node_modules/lodash/_listCacheDelete.js", + "kind": "require-call", + "original": "./_listCacheDelete" + }, + { + "path": "../node_modules/lodash/_listCacheGet.js", + "kind": "require-call", + "original": "./_listCacheGet" + }, + { + "path": "../node_modules/lodash/_listCacheHas.js", + "kind": "require-call", + "original": "./_listCacheHas" + }, + { + "path": "../node_modules/lodash/_listCacheSet.js", + "kind": "require-call", + "original": "./_listCacheSet" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_stackClear.js": { + "bytes": 254, + "imports": [ + { + "path": "../node_modules/lodash/_ListCache.js", + "kind": "require-call", + "original": "./_ListCache" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_stackDelete.js": { + "bytes": 405, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_stackGet.js": { + "bytes": 271, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_stackHas.js": { + "bytes": 323, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_Map.js": { + "bytes": 195, + "imports": [ + { + "path": "../node_modules/lodash/_getNative.js", + "kind": "require-call", + "original": "./_getNative" + }, + { + "path": "../node_modules/lodash/_root.js", + "kind": "require-call", + "original": "./_root" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_nativeCreate.js": { + "bytes": 187, + "imports": [ + { + "path": "../node_modules/lodash/_getNative.js", + "kind": "require-call", + "original": "./_getNative" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_hashClear.js": { + "bytes": 281, + "imports": [ + { + "path": "../node_modules/lodash/_nativeCreate.js", + "kind": "require-call", + "original": "./_nativeCreate" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_hashDelete.js": { + "bytes": 445, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_hashGet.js": { + "bytes": 772, + "imports": [ + { + "path": "../node_modules/lodash/_nativeCreate.js", + "kind": "require-call", + "original": "./_nativeCreate" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_hashHas.js": { + "bytes": 626, + "imports": [ + { + "path": "../node_modules/lodash/_nativeCreate.js", + "kind": "require-call", + "original": "./_nativeCreate" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_hashSet.js": { + "bytes": 598, + "imports": [ + { + "path": "../node_modules/lodash/_nativeCreate.js", + "kind": "require-call", + "original": "./_nativeCreate" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_Hash.js": { + "bytes": 747, + "imports": [ + { + "path": "../node_modules/lodash/_hashClear.js", + "kind": "require-call", + "original": "./_hashClear" + }, + { + "path": "../node_modules/lodash/_hashDelete.js", + "kind": "require-call", + "original": "./_hashDelete" + }, + { + "path": "../node_modules/lodash/_hashGet.js", + "kind": "require-call", + "original": "./_hashGet" + }, + { + "path": "../node_modules/lodash/_hashHas.js", + "kind": "require-call", + "original": "./_hashHas" + }, + { + "path": "../node_modules/lodash/_hashSet.js", + "kind": "require-call", + "original": "./_hashSet" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_mapCacheClear.js": { + "bytes": 393, + "imports": [ + { + "path": "../node_modules/lodash/_Hash.js", + "kind": "require-call", + "original": "./_Hash" + }, + { + "path": "../node_modules/lodash/_ListCache.js", + "kind": "require-call", + "original": "./_ListCache" + }, + { + "path": "../node_modules/lodash/_Map.js", + "kind": "require-call", + "original": "./_Map" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_isKeyable.js": { + "bytes": 430, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_getMapData.js": { + "bytes": 400, + "imports": [ + { + "path": "../node_modules/lodash/_isKeyable.js", + "kind": "require-call", + "original": "./_isKeyable" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_mapCacheDelete.js": { + "bytes": 450, + "imports": [ + { + "path": "../node_modules/lodash/_getMapData.js", + "kind": "require-call", + "original": "./_getMapData" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_mapCacheGet.js": { + "bytes": 330, + "imports": [ + { + "path": "../node_modules/lodash/_getMapData.js", + "kind": "require-call", + "original": "./_getMapData" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_mapCacheHas.js": { + "bytes": 382, + "imports": [ + { + "path": "../node_modules/lodash/_getMapData.js", + "kind": "require-call", + "original": "./_getMapData" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_mapCacheSet.js": { + "bytes": 489, + "imports": [ + { + "path": "../node_modules/lodash/_getMapData.js", + "kind": "require-call", + "original": "./_getMapData" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_MapCache.js": { + "bytes": 869, + "imports": [ + { + "path": "../node_modules/lodash/_mapCacheClear.js", + "kind": "require-call", + "original": "./_mapCacheClear" + }, + { + "path": "../node_modules/lodash/_mapCacheDelete.js", + "kind": "require-call", + "original": "./_mapCacheDelete" + }, + { + "path": "../node_modules/lodash/_mapCacheGet.js", + "kind": "require-call", + "original": "./_mapCacheGet" + }, + { + "path": "../node_modules/lodash/_mapCacheHas.js", + "kind": "require-call", + "original": "./_mapCacheHas" + }, + { + "path": "../node_modules/lodash/_mapCacheSet.js", + "kind": "require-call", + "original": "./_mapCacheSet" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_stackSet.js": { + "bytes": 853, + "imports": [ + { + "path": "../node_modules/lodash/_ListCache.js", + "kind": "require-call", + "original": "./_ListCache" + }, + { + "path": "../node_modules/lodash/_Map.js", + "kind": "require-call", + "original": "./_Map" + }, + { + "path": "../node_modules/lodash/_MapCache.js", + "kind": "require-call", + "original": "./_MapCache" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_Stack.js": { + "bytes": 734, + "imports": [ + { + "path": "../node_modules/lodash/_ListCache.js", + "kind": "require-call", + "original": "./_ListCache" + }, + { + "path": "../node_modules/lodash/_stackClear.js", + "kind": "require-call", + "original": "./_stackClear" + }, + { + "path": "../node_modules/lodash/_stackDelete.js", + "kind": "require-call", + "original": "./_stackDelete" + }, + { + "path": "../node_modules/lodash/_stackGet.js", + "kind": "require-call", + "original": "./_stackGet" + }, + { + "path": "../node_modules/lodash/_stackHas.js", + "kind": "require-call", + "original": "./_stackHas" + }, + { + "path": "../node_modules/lodash/_stackSet.js", + "kind": "require-call", + "original": "./_stackSet" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_setCacheAdd.js": { + "bytes": 424, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_setCacheHas.js": { + "bytes": 316, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_SetCache.js": { + "bytes": 632, + "imports": [ + { + "path": "../node_modules/lodash/_MapCache.js", + "kind": "require-call", + "original": "./_MapCache" + }, + { + "path": "../node_modules/lodash/_setCacheAdd.js", + "kind": "require-call", + "original": "./_setCacheAdd" + }, + { + "path": "../node_modules/lodash/_setCacheHas.js", + "kind": "require-call", + "original": "./_setCacheHas" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_arraySome.js": { + "bytes": 594, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_cacheHas.js": { + "bytes": 337, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_equalArrays.js": { + "bytes": 2662, + "imports": [ + { + "path": "../node_modules/lodash/_SetCache.js", + "kind": "require-call", + "original": "./_SetCache" + }, + { + "path": "../node_modules/lodash/_arraySome.js", + "kind": "require-call", + "original": "./_arraySome" + }, + { + "path": "../node_modules/lodash/_cacheHas.js", + "kind": "require-call", + "original": "./_cacheHas" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_Uint8Array.js": { + "bytes": 130, + "imports": [ + { + "path": "../node_modules/lodash/_root.js", + "kind": "require-call", + "original": "./_root" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_mapToArray.js": { + "bytes": 363, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_setToArray.js": { + "bytes": 345, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_equalByTag.js": { + "bytes": 3746, + "imports": [ + { + "path": "../node_modules/lodash/_Symbol.js", + "kind": "require-call", + "original": "./_Symbol" + }, + { + "path": "../node_modules/lodash/_Uint8Array.js", + "kind": "require-call", + "original": "./_Uint8Array" + }, + { + "path": "../node_modules/lodash/eq.js", + "kind": "require-call", + "original": "./eq" + }, + { + "path": "../node_modules/lodash/_equalArrays.js", + "kind": "require-call", + "original": "./_equalArrays" + }, + { + "path": "../node_modules/lodash/_mapToArray.js", + "kind": "require-call", + "original": "./_mapToArray" + }, + { + "path": "../node_modules/lodash/_setToArray.js", + "kind": "require-call", + "original": "./_setToArray" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_arrayPush.js": { + "bytes": 437, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseGetAllKeys.js": { + "bytes": 739, + "imports": [ + { + "path": "../node_modules/lodash/_arrayPush.js", + "kind": "require-call", + "original": "./_arrayPush" + }, + { + "path": "../node_modules/lodash/isArray.js", + "kind": "require-call", + "original": "./isArray" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_arrayFilter.js": { + "bytes": 632, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/stubArray.js": { + "bytes": 390, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_getSymbols.js": { + "bytes": 886, + "imports": [ + { + "path": "../node_modules/lodash/_arrayFilter.js", + "kind": "require-call", + "original": "./_arrayFilter" + }, + { + "path": "../node_modules/lodash/stubArray.js", + "kind": "require-call", + "original": "./stubArray" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_getAllKeys.js": { + "bytes": 455, + "imports": [ + { + "path": "../node_modules/lodash/_baseGetAllKeys.js", + "kind": "require-call", + "original": "./_baseGetAllKeys" + }, + { + "path": "../node_modules/lodash/_getSymbols.js", + "kind": "require-call", + "original": "./_getSymbols" + }, + { + "path": "../node_modules/lodash/keys.js", + "kind": "require-call", + "original": "./keys" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_equalObjects.js": { + "bytes": 2971, + "imports": [ + { + "path": "../node_modules/lodash/_getAllKeys.js", + "kind": "require-call", + "original": "./_getAllKeys" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_DataView.js": { + "bytes": 210, + "imports": [ + { + "path": "../node_modules/lodash/_getNative.js", + "kind": "require-call", + "original": "./_getNative" + }, + { + "path": "../node_modules/lodash/_root.js", + "kind": "require-call", + "original": "./_root" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_Promise.js": { + "bytes": 207, + "imports": [ + { + "path": "../node_modules/lodash/_getNative.js", + "kind": "require-call", + "original": "./_getNative" + }, + { + "path": "../node_modules/lodash/_root.js", + "kind": "require-call", + "original": "./_root" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_Set.js": { + "bytes": 195, + "imports": [ + { + "path": "../node_modules/lodash/_getNative.js", + "kind": "require-call", + "original": "./_getNative" + }, + { + "path": "../node_modules/lodash/_root.js", + "kind": "require-call", + "original": "./_root" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_WeakMap.js": { + "bytes": 207, + "imports": [ + { + "path": "../node_modules/lodash/_getNative.js", + "kind": "require-call", + "original": "./_getNative" + }, + { + "path": "../node_modules/lodash/_root.js", + "kind": "require-call", + "original": "./_root" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_getTag.js": { + "bytes": 1838, + "imports": [ + { + "path": "../node_modules/lodash/_DataView.js", + "kind": "require-call", + "original": "./_DataView" + }, + { + "path": "../node_modules/lodash/_Map.js", + "kind": "require-call", + "original": "./_Map" + }, + { + "path": "../node_modules/lodash/_Promise.js", + "kind": "require-call", + "original": "./_Promise" + }, + { + "path": "../node_modules/lodash/_Set.js", + "kind": "require-call", + "original": "./_Set" + }, + { + "path": "../node_modules/lodash/_WeakMap.js", + "kind": "require-call", + "original": "./_WeakMap" + }, + { + "path": "../node_modules/lodash/_baseGetTag.js", + "kind": "require-call", + "original": "./_baseGetTag" + }, + { + "path": "../node_modules/lodash/_toSource.js", + "kind": "require-call", + "original": "./_toSource" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseIsEqualDeep.js": { + "bytes": 3010, + "imports": [ + { + "path": "../node_modules/lodash/_Stack.js", + "kind": "require-call", + "original": "./_Stack" + }, + { + "path": "../node_modules/lodash/_equalArrays.js", + "kind": "require-call", + "original": "./_equalArrays" + }, + { + "path": "../node_modules/lodash/_equalByTag.js", + "kind": "require-call", + "original": "./_equalByTag" + }, + { + "path": "../node_modules/lodash/_equalObjects.js", + "kind": "require-call", + "original": "./_equalObjects" + }, + { + "path": "../node_modules/lodash/_getTag.js", + "kind": "require-call", + "original": "./_getTag" + }, + { + "path": "../node_modules/lodash/isArray.js", + "kind": "require-call", + "original": "./isArray" + }, + { + "path": "../node_modules/lodash/isBuffer.js", + "kind": "require-call", + "original": "./isBuffer" + }, + { + "path": "../node_modules/lodash/isTypedArray.js", + "kind": "require-call", + "original": "./isTypedArray" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseIsEqual.js": { + "bytes": 1019, + "imports": [ + { + "path": "../node_modules/lodash/_baseIsEqualDeep.js", + "kind": "require-call", + "original": "./_baseIsEqualDeep" + }, + { + "path": "../node_modules/lodash/isObjectLike.js", + "kind": "require-call", + "original": "./isObjectLike" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseIsMatch.js": { + "bytes": 1765, + "imports": [ + { + "path": "../node_modules/lodash/_Stack.js", + "kind": "require-call", + "original": "./_Stack" + }, + { + "path": "../node_modules/lodash/_baseIsEqual.js", + "kind": "require-call", + "original": "./_baseIsEqual" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_isStrictComparable.js": { + "bytes": 414, + "imports": [ + { + "path": "../node_modules/lodash/isObject.js", + "kind": "require-call", + "original": "./isObject" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_getMatchData.js": { + "bytes": 573, + "imports": [ + { + "path": "../node_modules/lodash/_isStrictComparable.js", + "kind": "require-call", + "original": "./_isStrictComparable" + }, + { + "path": "../node_modules/lodash/keys.js", + "kind": "require-call", + "original": "./keys" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_matchesStrictComparable.js": { + "bytes": 574, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseMatches.js": { + "bytes": 710, + "imports": [ + { + "path": "../node_modules/lodash/_baseIsMatch.js", + "kind": "require-call", + "original": "./_baseIsMatch" + }, + { + "path": "../node_modules/lodash/_getMatchData.js", + "kind": "require-call", + "original": "./_getMatchData" + }, + { + "path": "../node_modules/lodash/_matchesStrictComparable.js", + "kind": "require-call", + "original": "./_matchesStrictComparable" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/isSymbol.js": { + "bytes": 682, + "imports": [ + { + "path": "../node_modules/lodash/_baseGetTag.js", + "kind": "require-call", + "original": "./_baseGetTag" + }, + { + "path": "../node_modules/lodash/isObjectLike.js", + "kind": "require-call", + "original": "./isObjectLike" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_isKey.js": { + "bytes": 880, + "imports": [ + { + "path": "../node_modules/lodash/isArray.js", + "kind": "require-call", + "original": "./isArray" + }, + { + "path": "../node_modules/lodash/isSymbol.js", + "kind": "require-call", + "original": "./isSymbol" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/memoize.js": { + "bytes": 2224, + "imports": [ + { + "path": "../node_modules/lodash/_MapCache.js", + "kind": "require-call", + "original": "./_MapCache" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_memoizeCapped.js": { + "bytes": 633, + "imports": [ + { + "path": "../node_modules/lodash/memoize.js", + "kind": "require-call", + "original": "./memoize" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_stringToPath.js": { + "bytes": 840, + "imports": [ + { + "path": "../node_modules/lodash/_memoizeCapped.js", + "kind": "require-call", + "original": "./_memoizeCapped" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_arrayMap.js": { + "bytes": 556, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseToString.js": { + "bytes": 1154, + "imports": [ + { + "path": "../node_modules/lodash/_Symbol.js", + "kind": "require-call", + "original": "./_Symbol" + }, + { + "path": "../node_modules/lodash/_arrayMap.js", + "kind": "require-call", + "original": "./_arrayMap" + }, + { + "path": "../node_modules/lodash/isArray.js", + "kind": "require-call", + "original": "./isArray" + }, + { + "path": "../node_modules/lodash/isSymbol.js", + "kind": "require-call", + "original": "./isSymbol" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/toString.js": { + "bytes": 580, + "imports": [ + { + "path": "../node_modules/lodash/_baseToString.js", + "kind": "require-call", + "original": "./_baseToString" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_castPath.js": { + "bytes": 569, + "imports": [ + { + "path": "../node_modules/lodash/isArray.js", + "kind": "require-call", + "original": "./isArray" + }, + { + "path": "../node_modules/lodash/_isKey.js", + "kind": "require-call", + "original": "./_isKey" + }, + { + "path": "../node_modules/lodash/_stringToPath.js", + "kind": "require-call", + "original": "./_stringToPath" + }, + { + "path": "../node_modules/lodash/toString.js", + "kind": "require-call", + "original": "./toString" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_toKey.js": { + "bytes": 523, + "imports": [ + { + "path": "../node_modules/lodash/isSymbol.js", + "kind": "require-call", + "original": "./isSymbol" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseGet.js": { + "bytes": 616, + "imports": [ + { + "path": "../node_modules/lodash/_castPath.js", + "kind": "require-call", + "original": "./_castPath" + }, + { + "path": "../node_modules/lodash/_toKey.js", + "kind": "require-call", + "original": "./_toKey" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/get.js": { + "bytes": 884, + "imports": [ + { + "path": "../node_modules/lodash/_baseGet.js", + "kind": "require-call", + "original": "./_baseGet" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseHasIn.js": { + "bytes": 374, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_hasPath.js": { + "bytes": 1085, + "imports": [ + { + "path": "../node_modules/lodash/_castPath.js", + "kind": "require-call", + "original": "./_castPath" + }, + { + "path": "../node_modules/lodash/isArguments.js", + "kind": "require-call", + "original": "./isArguments" + }, + { + "path": "../node_modules/lodash/isArray.js", + "kind": "require-call", + "original": "./isArray" + }, + { + "path": "../node_modules/lodash/_isIndex.js", + "kind": "require-call", + "original": "./_isIndex" + }, + { + "path": "../node_modules/lodash/isLength.js", + "kind": "require-call", + "original": "./isLength" + }, + { + "path": "../node_modules/lodash/_toKey.js", + "kind": "require-call", + "original": "./_toKey" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/hasIn.js": { + "bytes": 753, + "imports": [ + { + "path": "../node_modules/lodash/_baseHasIn.js", + "kind": "require-call", + "original": "./_baseHasIn" + }, + { + "path": "../node_modules/lodash/_hasPath.js", + "kind": "require-call", + "original": "./_hasPath" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseMatchesProperty.js": { + "bytes": 1129, + "imports": [ + { + "path": "../node_modules/lodash/_baseIsEqual.js", + "kind": "require-call", + "original": "./_baseIsEqual" + }, + { + "path": "../node_modules/lodash/get.js", + "kind": "require-call", + "original": "./get" + }, + { + "path": "../node_modules/lodash/hasIn.js", + "kind": "require-call", + "original": "./hasIn" + }, + { + "path": "../node_modules/lodash/_isKey.js", + "kind": "require-call", + "original": "./_isKey" + }, + { + "path": "../node_modules/lodash/_isStrictComparable.js", + "kind": "require-call", + "original": "./_isStrictComparable" + }, + { + "path": "../node_modules/lodash/_matchesStrictComparable.js", + "kind": "require-call", + "original": "./_matchesStrictComparable" + }, + { + "path": "../node_modules/lodash/_toKey.js", + "kind": "require-call", + "original": "./_toKey" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/identity.js": { + "bytes": 370, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseProperty.js": { + "bytes": 360, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_basePropertyDeep.js": { + "bytes": 391, + "imports": [ + { + "path": "../node_modules/lodash/_baseGet.js", + "kind": "require-call", + "original": "./_baseGet" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/property.js": { + "bytes": 793, + "imports": [ + { + "path": "../node_modules/lodash/_baseProperty.js", + "kind": "require-call", + "original": "./_baseProperty" + }, + { + "path": "../node_modules/lodash/_basePropertyDeep.js", + "kind": "require-call", + "original": "./_basePropertyDeep" + }, + { + "path": "../node_modules/lodash/_isKey.js", + "kind": "require-call", + "original": "./_isKey" + }, + { + "path": "../node_modules/lodash/_toKey.js", + "kind": "require-call", + "original": "./_toKey" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseIteratee.js": { + "bytes": 895, + "imports": [ + { + "path": "../node_modules/lodash/_baseMatches.js", + "kind": "require-call", + "original": "./_baseMatches" + }, + { + "path": "../node_modules/lodash/_baseMatchesProperty.js", + "kind": "require-call", + "original": "./_baseMatchesProperty" + }, + { + "path": "../node_modules/lodash/identity.js", + "kind": "require-call", + "original": "./identity" + }, + { + "path": "../node_modules/lodash/isArray.js", + "kind": "require-call", + "original": "./isArray" + }, + { + "path": "../node_modules/lodash/property.js", + "kind": "require-call", + "original": "./property" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/mapValues.js": { + "bytes": 1338, + "imports": [ + { + "path": "../node_modules/lodash/_baseAssignValue.js", + "kind": "require-call", + "original": "./_baseAssignValue" + }, + { + "path": "../node_modules/lodash/_baseForOwn.js", + "kind": "require-call", + "original": "./_baseForOwn" + }, + { + "path": "../node_modules/lodash/_baseIteratee.js", + "kind": "require-call", + "original": "./_baseIteratee" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_assignValue.js": { + "bytes": 899, + "imports": [ + { + "path": "../node_modules/lodash/_baseAssignValue.js", + "kind": "require-call", + "original": "./_baseAssignValue" + }, + { + "path": "../node_modules/lodash/eq.js", + "kind": "require-call", + "original": "./eq" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseSet.js": { + "bytes": 1385, + "imports": [ + { + "path": "../node_modules/lodash/_assignValue.js", + "kind": "require-call", + "original": "./_assignValue" + }, + { + "path": "../node_modules/lodash/_castPath.js", + "kind": "require-call", + "original": "./_castPath" + }, + { + "path": "../node_modules/lodash/_isIndex.js", + "kind": "require-call", + "original": "./_isIndex" + }, + { + "path": "../node_modules/lodash/isObject.js", + "kind": "require-call", + "original": "./isObject" + }, + { + "path": "../node_modules/lodash/_toKey.js", + "kind": "require-call", + "original": "./_toKey" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_basePickBy.js": { + "bytes": 791, + "imports": [ + { + "path": "../node_modules/lodash/_baseGet.js", + "kind": "require-call", + "original": "./_baseGet" + }, + { + "path": "../node_modules/lodash/_baseSet.js", + "kind": "require-call", + "original": "./_baseSet" + }, + { + "path": "../node_modules/lodash/_castPath.js", + "kind": "require-call", + "original": "./_castPath" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_basePick.js": { + "bytes": 501, + "imports": [ + { + "path": "../node_modules/lodash/_basePickBy.js", + "kind": "require-call", + "original": "./_basePickBy" + }, + { + "path": "../node_modules/lodash/hasIn.js", + "kind": "require-call", + "original": "./hasIn" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_isFlattenable.js": { + "bytes": 608, + "imports": [ + { + "path": "../node_modules/lodash/_Symbol.js", + "kind": "require-call", + "original": "./_Symbol" + }, + { + "path": "../node_modules/lodash/isArguments.js", + "kind": "require-call", + "original": "./isArguments" + }, + { + "path": "../node_modules/lodash/isArray.js", + "kind": "require-call", + "original": "./isArray" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_baseFlatten.js": { + "bytes": 1201, + "imports": [ + { + "path": "../node_modules/lodash/_arrayPush.js", + "kind": "require-call", + "original": "./_arrayPush" + }, + { + "path": "../node_modules/lodash/_isFlattenable.js", + "kind": "require-call", + "original": "./_isFlattenable" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/flatten.js": { + "bytes": 489, + "imports": [ + { + "path": "../node_modules/lodash/_baseFlatten.js", + "kind": "require-call", + "original": "./_baseFlatten" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_apply.js": { + "bytes": 714, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_overRest.js": { + "bytes": 1096, + "imports": [ + { + "path": "../node_modules/lodash/_apply.js", + "kind": "require-call", + "original": "./_apply" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/constant.js": { + "bytes": 528, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseSetToString.js": { + "bytes": 641, + "imports": [ + { + "path": "../node_modules/lodash/constant.js", + "kind": "require-call", + "original": "./constant" + }, + { + "path": "../node_modules/lodash/_defineProperty.js", + "kind": "require-call", + "original": "./_defineProperty" + }, + { + "path": "../node_modules/lodash/identity.js", + "kind": "require-call", + "original": "./identity" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_shortOut.js": { + "bytes": 941, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_setToString.js": { + "bytes": 392, + "imports": [ + { + "path": "../node_modules/lodash/_baseSetToString.js", + "kind": "require-call", + "original": "./_baseSetToString" + }, + { + "path": "../node_modules/lodash/_shortOut.js", + "kind": "require-call", + "original": "./_shortOut" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_flatRest.js": { + "bytes": 457, + "imports": [ + { + "path": "../node_modules/lodash/flatten.js", + "kind": "require-call", + "original": "./flatten" + }, + { + "path": "../node_modules/lodash/_overRest.js", + "kind": "require-call", + "original": "./_overRest" + }, + { + "path": "../node_modules/lodash/_setToString.js", + "kind": "require-call", + "original": "./_setToString" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/pick.js": { + "bytes": 629, + "imports": [ + { + "path": "../node_modules/lodash/_basePick.js", + "kind": "require-call", + "original": "./_basePick" + }, + { + "path": "../node_modules/lodash/_flatRest.js", + "kind": "require-call", + "original": "./_flatRest" + } + ], + "format": "cjs" + }, + "src/preview-api/modules/store/StoryIndexStore.ts": { + "bytes": 1896, + "imports": [ + { + "path": "../node_modules/memoizerific/memoizerific.js", + "kind": "import-statement", + "original": "memoizerific" + }, + { + "path": "@storybook/core/dist/preview-errors", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "../node_modules/dequal/dist/index.mjs": { + "bytes": 1910, + "imports": [], + "format": "esm" + }, + "../node_modules/lodash/_getPrototype.js": { + "bytes": 163, + "imports": [ + { + "path": "../node_modules/lodash/_overArg.js", + "kind": "require-call", + "original": "./_overArg" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/isPlainObject.js": { + "bytes": 1650, + "imports": [ + { + "path": "../node_modules/lodash/_baseGetTag.js", + "kind": "require-call", + "original": "./_baseGetTag" + }, + { + "path": "../node_modules/lodash/_getPrototype.js", + "kind": "require-call", + "original": "./_getPrototype" + }, + { + "path": "../node_modules/lodash/isObjectLike.js", + "kind": "require-call", + "original": "./isObjectLike" + } + ], + "format": "cjs" + }, + "src/preview-api/modules/store/args.ts": { + "bytes": 5998, + "imports": [ + { + "path": "../node_modules/dequal/dist/index.mjs", + "kind": "import-statement", + "original": "dequal" + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/lodash/isPlainObject.js", + "kind": "import-statement", + "original": "lodash/isPlainObject.js" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/ArgsStore.ts": { + "bytes": 2743, + "imports": [ + { + "path": "src/preview-api/modules/store/args.ts", + "kind": "import-statement", + "original": "./args" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/csf/getValuesFromArgTypes.ts": { + "bytes": 319, + "imports": [], + "format": "esm" + }, + "src/preview-api/modules/store/GlobalsStore.ts": { + "bytes": 2056, + "imports": [ + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/store/args.ts", + "kind": "import-statement", + "original": "./args" + }, + { + "path": "src/preview-api/modules/store/csf/getValuesFromArgTypes.ts", + "kind": "import-statement", + "original": "./csf/getValuesFromArgTypes" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/csf/normalizeInputTypes.ts": { + "bytes": 1084, + "imports": [ + { + "path": "../node_modules/lodash/mapValues.js", + "kind": "import-statement", + "original": "lodash/mapValues.js" + } + ], + "format": "esm" + }, + "../node_modules/util-deprecate/browser.js": { + "bytes": 1614, + "imports": [], + "format": "cjs" + }, + "src/preview-api/modules/store/csf/normalizeArrays.ts": { + "bytes": 149, + "imports": [], + "format": "esm" + }, + "src/preview-api/modules/store/csf/normalizeStory.ts": { + "bytes": 2728, + "imports": [ + { + "path": "../node_modules/@storybook/csf/dist/index.mjs", + "kind": "import-statement", + "original": "@storybook/csf" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/util-deprecate/browser.js", + "kind": "import-statement", + "original": "util-deprecate" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeInputTypes.ts", + "kind": "import-statement", + "original": "./normalizeInputTypes" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeArrays.ts", + "kind": "import-statement", + "original": "./normalizeArrays" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/csf/normalizeComponentAnnotations.ts": { + "bytes": 724, + "imports": [ + { + "path": "../node_modules/@storybook/csf/dist/index.mjs", + "kind": "import-statement", + "original": "@storybook/csf" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeInputTypes.ts", + "kind": "import-statement", + "original": "./normalizeInputTypes" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/csf/processCSFFile.ts": { + "bytes": 1988, + "imports": [ + { + "path": "../node_modules/@storybook/csf/dist/index.mjs", + "kind": "import-statement", + "original": "@storybook/csf" + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/store/csf/normalizeStory.ts", + "kind": "import-statement", + "original": "./normalizeStory" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeComponentAnnotations.ts", + "kind": "import-statement", + "original": "./normalizeComponentAnnotations" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/parameters.ts": { + "bytes": 1570, + "imports": [ + { + "path": "../node_modules/lodash/isPlainObject.js", + "kind": "import-statement", + "original": "lodash/isPlainObject.js" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/decorators.ts": { + "bytes": 3207, + "imports": [], + "format": "esm" + }, + "src/preview-api/modules/store/csf/prepareStory.ts": { + "bytes": 10608, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "../node_modules/@storybook/csf/dist/index.mjs", + "kind": "import-statement", + "original": "@storybook/csf" + }, + { + "path": "src/preview-api/modules/addons/index.ts", + "kind": "import-statement", + "original": "../../addons" + }, + { + "path": "src/preview-api/modules/store/parameters.ts", + "kind": "import-statement", + "original": "../parameters" + }, + { + "path": "src/preview-api/modules/store/decorators.ts", + "kind": "import-statement", + "original": "../decorators" + }, + { + "path": "src/preview-api/modules/store/args.ts", + "kind": "import-statement", + "original": "../args" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeArrays.ts", + "kind": "import-statement", + "original": "./normalizeArrays" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/inferArgTypes.ts": { + "bytes": 2003, + "imports": [ + { + "path": "../node_modules/lodash/mapValues.js", + "kind": "import-statement", + "original": "lodash/mapValues.js" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/store/parameters.ts", + "kind": "import-statement", + "original": "./parameters" + } + ], + "format": "esm" + }, + "../node_modules/lodash/_getSymbolsIn.js": { + "bytes": 754, + "imports": [ + { + "path": "../node_modules/lodash/_arrayPush.js", + "kind": "require-call", + "original": "./_arrayPush" + }, + { + "path": "../node_modules/lodash/_getPrototype.js", + "kind": "require-call", + "original": "./_getPrototype" + }, + { + "path": "../node_modules/lodash/_getSymbols.js", + "kind": "require-call", + "original": "./_getSymbols" + }, + { + "path": "../node_modules/lodash/stubArray.js", + "kind": "require-call", + "original": "./stubArray" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_nativeKeysIn.js": { + "bytes": 490, + "imports": [], + "format": "cjs" + }, + "../node_modules/lodash/_baseKeysIn.js": { + "bytes": 870, + "imports": [ + { + "path": "../node_modules/lodash/isObject.js", + "kind": "require-call", + "original": "./isObject" + }, + { + "path": "../node_modules/lodash/_isPrototype.js", + "kind": "require-call", + "original": "./_isPrototype" + }, + { + "path": "../node_modules/lodash/_nativeKeysIn.js", + "kind": "require-call", + "original": "./_nativeKeysIn" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/keysIn.js": { + "bytes": 778, + "imports": [ + { + "path": "../node_modules/lodash/_arrayLikeKeys.js", + "kind": "require-call", + "original": "./_arrayLikeKeys" + }, + { + "path": "../node_modules/lodash/_baseKeysIn.js", + "kind": "require-call", + "original": "./_baseKeysIn" + }, + { + "path": "../node_modules/lodash/isArrayLike.js", + "kind": "require-call", + "original": "./isArrayLike" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/_getAllKeysIn.js": { + "bytes": 488, + "imports": [ + { + "path": "../node_modules/lodash/_baseGetAllKeys.js", + "kind": "require-call", + "original": "./_baseGetAllKeys" + }, + { + "path": "../node_modules/lodash/_getSymbolsIn.js", + "kind": "require-call", + "original": "./_getSymbolsIn" + }, + { + "path": "../node_modules/lodash/keysIn.js", + "kind": "require-call", + "original": "./keysIn" + } + ], + "format": "cjs" + }, + "../node_modules/lodash/pickBy.js": { + "bytes": 1032, + "imports": [ + { + "path": "../node_modules/lodash/_arrayMap.js", + "kind": "require-call", + "original": "./_arrayMap" + }, + { + "path": "../node_modules/lodash/_baseIteratee.js", + "kind": "require-call", + "original": "./_baseIteratee" + }, + { + "path": "../node_modules/lodash/_basePickBy.js", + "kind": "require-call", + "original": "./_basePickBy" + }, + { + "path": "../node_modules/lodash/_getAllKeysIn.js", + "kind": "require-call", + "original": "./_getAllKeysIn" + } + ], + "format": "cjs" + }, + "src/preview-api/modules/store/filterArgTypes.ts": { + "bytes": 692, + "imports": [ + { + "path": "../node_modules/lodash/pickBy.js", + "kind": "import-statement", + "original": "lodash/pickBy.js" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/inferControls.ts": { + "bytes": 2408, + "imports": [ + { + "path": "../node_modules/lodash/mapValues.js", + "kind": "import-statement", + "original": "lodash/mapValues.js" + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/store/filterArgTypes.ts", + "kind": "import-statement", + "original": "./filterArgTypes" + }, + { + "path": "src/preview-api/modules/store/parameters.ts", + "kind": "import-statement", + "original": "./parameters" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/csf/normalizeProjectAnnotations.ts": { + "bytes": 1399, + "imports": [ + { + "path": "src/preview-api/modules/store/inferArgTypes.ts", + "kind": "import-statement", + "original": "../inferArgTypes" + }, + { + "path": "src/preview-api/modules/store/inferControls.ts", + "kind": "import-statement", + "original": "../inferControls" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeInputTypes.ts", + "kind": "import-statement", + "original": "./normalizeInputTypes" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeArrays.ts", + "kind": "import-statement", + "original": "./normalizeArrays" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/csf/stepRunners.ts": { + "bytes": 1429, + "imports": [], + "format": "esm" + }, + "src/preview-api/modules/store/csf/composeConfigs.ts": { + "bytes": 2741, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "src/preview-api/modules/store/parameters.ts", + "kind": "import-statement", + "original": "../parameters" + }, + { + "path": "src/preview-api/modules/store/csf/stepRunners.ts", + "kind": "import-statement", + "original": "./stepRunners" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeArrays.ts", + "kind": "import-statement", + "original": "./normalizeArrays" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/csf/portable-stories.ts": { + "bytes": 8077, + "imports": [ + { + "path": "../node_modules/@storybook/csf/dist/index.mjs", + "kind": "import-statement", + "original": "@storybook/csf" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "src/preview-api/addons.ts", + "kind": "import-statement", + "original": "../../../addons" + }, + { + "path": "src/preview-api/modules/store/csf/composeConfigs.ts", + "kind": "import-statement", + "original": "./composeConfigs" + }, + { + "path": "src/preview-api/modules/store/csf/prepareStory.ts", + "kind": "import-statement", + "original": "./prepareStory" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeStory.ts", + "kind": "import-statement", + "original": "./normalizeStory" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeComponentAnnotations.ts", + "kind": "import-statement", + "original": "./normalizeComponentAnnotations" + }, + { + "path": "src/preview-api/modules/store/csf/getValuesFromArgTypes.ts", + "kind": "import-statement", + "original": "./getValuesFromArgTypes" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeProjectAnnotations.ts", + "kind": "import-statement", + "original": "./normalizeProjectAnnotations" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/csf/index.ts": { + "bytes": 377, + "imports": [ + { + "path": "src/preview-api/modules/store/csf/normalizeInputTypes.ts", + "kind": "import-statement", + "original": "./normalizeInputTypes" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeStory.ts", + "kind": "import-statement", + "original": "./normalizeStory" + }, + { + "path": "src/preview-api/modules/store/csf/processCSFFile.ts", + "kind": "import-statement", + "original": "./processCSFFile" + }, + { + "path": "src/preview-api/modules/store/csf/prepareStory.ts", + "kind": "import-statement", + "original": "./prepareStory" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeComponentAnnotations.ts", + "kind": "import-statement", + "original": "./normalizeComponentAnnotations" + }, + { + "path": "src/preview-api/modules/store/csf/normalizeProjectAnnotations.ts", + "kind": "import-statement", + "original": "./normalizeProjectAnnotations" + }, + { + "path": "src/preview-api/modules/store/csf/getValuesFromArgTypes.ts", + "kind": "import-statement", + "original": "./getValuesFromArgTypes" + }, + { + "path": "src/preview-api/modules/store/csf/composeConfigs.ts", + "kind": "import-statement", + "original": "./composeConfigs" + }, + { + "path": "src/preview-api/modules/store/csf/stepRunners.ts", + "kind": "import-statement", + "original": "./stepRunners" + }, + { + "path": "src/preview-api/modules/store/csf/portable-stories.ts", + "kind": "import-statement", + "original": "./portable-stories" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/StoryStore.ts": { + "bytes": 12521, + "imports": [ + { + "path": "../node_modules/memoizerific/memoizerific.js", + "kind": "import-statement", + "original": "memoizerific" + }, + { + "path": "../node_modules/lodash/mapValues.js", + "kind": "import-statement", + "original": "lodash/mapValues.js" + }, + { + "path": "../node_modules/lodash/pick.js", + "kind": "import-statement", + "original": "lodash/pick.js" + }, + { + "path": "@storybook/core/dist/preview-errors", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/addons/index.ts", + "kind": "import-statement", + "original": "../addons" + }, + { + "path": "src/preview-api/modules/store/StoryIndexStore.ts", + "kind": "import-statement", + "original": "./StoryIndexStore" + }, + { + "path": "src/preview-api/modules/store/ArgsStore.ts", + "kind": "import-statement", + "original": "./ArgsStore" + }, + { + "path": "src/preview-api/modules/store/GlobalsStore.ts", + "kind": "import-statement", + "original": "./GlobalsStore" + }, + { + "path": "src/preview-api/modules/store/csf/index.ts", + "kind": "import-statement", + "original": "./csf" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/hooks.ts": { + "bytes": 400, + "imports": [ + { + "path": "src/preview-api/modules/addons/index.ts", + "kind": "import-statement", + "original": "../addons" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/autoTitle.ts": { + "bytes": 2872, + "imports": [ + { + "path": "../node_modules/slash/index.js", + "kind": "import-statement", + "original": "slash" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/storySort.ts": { + "bytes": 3163, + "imports": [], + "format": "esm" + }, + "src/preview-api/modules/store/sortStories.ts": { + "bytes": 2231, + "imports": [ + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "src/preview-api/modules/store/storySort.ts", + "kind": "import-statement", + "original": "./storySort" + } + ], + "format": "esm" + }, + "src/preview-api/modules/store/index.ts": { + "bytes": 412, + "imports": [ + { + "path": "src/preview-api/modules/store/StoryStore.ts", + "kind": "import-statement", + "original": "./StoryStore" + }, + { + "path": "src/preview-api/modules/store/parameters.ts", + "kind": "import-statement", + "original": "./parameters" + }, + { + "path": "src/preview-api/modules/store/filterArgTypes.ts", + "kind": "import-statement", + "original": "./filterArgTypes" + }, + { + "path": "src/preview-api/modules/store/inferControls.ts", + "kind": "import-statement", + "original": "./inferControls" + }, + { + "path": "src/preview-api/modules/store/csf/index.ts", + "kind": "import-statement", + "original": "./csf" + }, + { + "path": "src/preview-api/modules/store/hooks.ts", + "kind": "import-statement", + "original": "./hooks" + }, + { + "path": "src/preview-api/modules/store/decorators.ts", + "kind": "import-statement", + "original": "./decorators" + }, + { + "path": "src/preview-api/modules/store/args.ts", + "kind": "import-statement", + "original": "./args" + }, + { + "path": "src/preview-api/modules/store/autoTitle.ts", + "kind": "import-statement", + "original": "./autoTitle" + }, + { + "path": "src/preview-api/modules/store/sortStories.ts", + "kind": "import-statement", + "original": "./sortStories" + } + ], + "format": "esm" + }, + "src/preview-api/store.ts": { + "bytes": 75, + "imports": [ + { + "path": "src/preview-api/modules/store/index.ts", + "kind": "import-statement", + "original": "./modules/store" + } + ], + "format": "esm" + }, + "src/preview-api/modules/preview-web/render/Render.ts": { + "bytes": 999, + "imports": [], + "format": "esm" + }, + "src/preview-api/modules/preview-web/render/StoryRender.ts": { + "bytes": 11835, + "imports": [ + { + "path": "@storybook/core/dist/core-events", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/preview-web/render/Render.ts", + "kind": "import-statement", + "original": "./Render" + } + ], + "format": "esm" + }, + "src/preview-api/modules/preview-web/Preview.tsx": { + "bytes": 14569, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/preview-errors", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/addons/index.ts", + "kind": "import-statement", + "original": "../addons" + }, + { + "path": "src/preview-api/store.ts", + "kind": "import-statement", + "original": "../../store" + }, + { + "path": "src/preview-api/modules/preview-web/render/StoryRender.ts", + "kind": "import-statement", + "original": "./render/StoryRender" + } + ], + "format": "esm" + }, + "src/preview-api/modules/preview-web/docs-context/DocsContext.ts": { + "bytes": 8472, + "imports": [ + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + } + ], + "format": "esm" + }, + "src/preview-api/modules/preview-web/render/CsfDocsRender.ts": { + "bytes": 5315, + "imports": [ + { + "path": "@storybook/core/dist/core-events", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/preview-web/render/Render.ts", + "kind": "import-statement", + "original": "./Render" + }, + { + "path": "src/preview-api/modules/preview-web/docs-context/DocsContext.ts", + "kind": "import-statement", + "original": "../docs-context/DocsContext" + } + ], + "format": "esm" + }, + "src/preview-api/modules/preview-web/render/MdxDocsRender.ts": { + "bytes": 4236, + "imports": [ + { + "path": "@storybook/core/dist/core-events", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/preview-web/render/Render.ts", + "kind": "import-statement", + "original": "./Render" + }, + { + "path": "src/preview-api/modules/preview-web/docs-context/DocsContext.ts", + "kind": "import-statement", + "original": "../docs-context/DocsContext" + } + ], + "format": "esm" + }, + "src/preview-api/modules/preview-web/PreviewWithSelection.tsx": { + "bytes": 17039, + "imports": [ + { + "path": "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js", + "kind": "import-statement", + "original": "tiny-invariant" + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/preview-errors", + "kind": "import-statement", + "external": true + }, + { + "path": "src/preview-api/modules/preview-web/Preview.tsx", + "kind": "import-statement", + "original": "./Preview" + }, + { + "path": "src/preview-api/modules/preview-web/render/Render.ts", + "kind": "import-statement", + "original": "./render/Render" + }, + { + "path": "src/preview-api/modules/preview-web/render/StoryRender.ts", + "kind": "import-statement", + "original": "./render/StoryRender" + }, + { + "path": "src/preview-api/modules/preview-web/render/CsfDocsRender.ts", + "kind": "import-statement", + "original": "./render/CsfDocsRender" + }, + { + "path": "src/preview-api/modules/preview-web/render/MdxDocsRender.ts", + "kind": "import-statement", + "original": "./render/MdxDocsRender" + } + ], + "format": "esm" + }, + "../node_modules/es-errors/index.js": { + "bytes": 66, + "imports": [], + "format": "cjs" + }, + "../node_modules/es-errors/eval.js": { + "bytes": 75, + "imports": [], + "format": "cjs" + }, + "../node_modules/es-errors/range.js": { + "bytes": 77, + "imports": [], + "format": "cjs" + }, + "../node_modules/es-errors/ref.js": { + "bytes": 79, + "imports": [], + "format": "cjs" + }, + "../node_modules/es-errors/syntax.js": { + "bytes": 79, + "imports": [], + "format": "cjs" + }, + "../node_modules/es-errors/type.js": { + "bytes": 75, + "imports": [], + "format": "cjs" + }, + "../node_modules/es-errors/uri.js": { + "bytes": 73, + "imports": [], + "format": "cjs" + }, + "../node_modules/has-symbols/shams.js": { + "bytes": 1761, + "imports": [], + "format": "cjs" + }, + "../node_modules/has-symbols/index.js": { + "bytes": 420, + "imports": [ + { + "path": "../node_modules/has-symbols/shams.js", + "kind": "require-call", + "original": "./shams" + } + ], + "format": "cjs" + }, + "../node_modules/has-proto/index.js": { + "bytes": 302, + "imports": [], + "format": "cjs" + }, + "../node_modules/get-intrinsic/index.js": { + "bytes": 13615, + "imports": [ + { + "path": "../node_modules/es-errors/index.js", + "kind": "require-call", + "original": "es-errors" + }, + { + "path": "../node_modules/es-errors/eval.js", + "kind": "require-call", + "original": "es-errors/eval" + }, + { + "path": "../node_modules/es-errors/range.js", + "kind": "require-call", + "original": "es-errors/range" + }, + { + "path": "../node_modules/es-errors/ref.js", + "kind": "require-call", + "original": "es-errors/ref" + }, + { + "path": "../node_modules/es-errors/syntax.js", + "kind": "require-call", + "original": "es-errors/syntax" + }, + { + "path": "../node_modules/es-errors/type.js", + "kind": "require-call", + "original": "es-errors/type" + }, + { + "path": "../node_modules/es-errors/uri.js", + "kind": "require-call", + "original": "es-errors/uri" + }, + { + "path": "../node_modules/has-symbols/index.js", + "kind": "require-call", + "original": "has-symbols" + }, + { + "path": "../node_modules/has-proto/index.js", + "kind": "require-call", + "original": "has-proto" + }, + { + "path": "../node_modules/function-bind/index.js", + "kind": "require-call", + "original": "function-bind" + }, + { + "path": "../node_modules/hasown/index.js", + "kind": "require-call", + "original": "hasown" + } + ], + "format": "cjs" + }, + "../node_modules/es-define-property/index.js": { + "bytes": 358, + "imports": [ + { + "path": "../node_modules/get-intrinsic/index.js", + "kind": "require-call", + "original": "get-intrinsic" + } + ], + "format": "cjs" + }, + "../node_modules/gopd/index.js": { + "bytes": 263, + "imports": [ + { + "path": "../node_modules/get-intrinsic/index.js", + "kind": "require-call", + "original": "get-intrinsic" + } + ], + "format": "cjs" + }, + "../node_modules/define-data-property/index.js": { + "bytes": 2336, + "imports": [ + { + "path": "../node_modules/es-define-property/index.js", + "kind": "require-call", + "original": "es-define-property" + }, + { + "path": "../node_modules/es-errors/syntax.js", + "kind": "require-call", + "original": "es-errors/syntax" + }, + { + "path": "../node_modules/es-errors/type.js", + "kind": "require-call", + "original": "es-errors/type" + }, + { + "path": "../node_modules/gopd/index.js", + "kind": "require-call", + "original": "gopd" + } + ], + "format": "cjs" + }, + "../node_modules/has-property-descriptors/index.js": { + "bytes": 588, + "imports": [ + { + "path": "../node_modules/es-define-property/index.js", + "kind": "require-call", + "original": "es-define-property" + } + ], + "format": "cjs" + }, + "../node_modules/set-function-length/index.js": { + "bytes": 1386, + "imports": [ + { + "path": "../node_modules/get-intrinsic/index.js", + "kind": "require-call", + "original": "get-intrinsic" + }, + { + "path": "../node_modules/define-data-property/index.js", + "kind": "require-call", + "original": "define-data-property" + }, + { + "path": "../node_modules/has-property-descriptors/index.js", + "kind": "require-call", + "original": "has-property-descriptors" + }, + { + "path": "../node_modules/gopd/index.js", + "kind": "require-call", + "original": "gopd" + }, + { + "path": "../node_modules/es-errors/type.js", + "kind": "require-call", + "original": "es-errors/type" + } + ], + "format": "cjs" + }, + "../node_modules/call-bind/index.js": { + "bytes": 1037, + "imports": [ + { + "path": "../node_modules/function-bind/index.js", + "kind": "require-call", + "original": "function-bind" + }, + { + "path": "../node_modules/get-intrinsic/index.js", + "kind": "require-call", + "original": "get-intrinsic" + }, + { + "path": "../node_modules/set-function-length/index.js", + "kind": "require-call", + "original": "set-function-length" + }, + { + "path": "../node_modules/es-errors/type.js", + "kind": "require-call", + "original": "es-errors/type" + }, + { + "path": "../node_modules/es-define-property/index.js", + "kind": "require-call", + "original": "es-define-property" + } + ], + "format": "cjs" + }, + "../node_modules/call-bind/callBound.js": { + "bytes": 413, + "imports": [ + { + "path": "../node_modules/get-intrinsic/index.js", + "kind": "require-call", + "original": "get-intrinsic" + }, + { + "path": "../node_modules/call-bind/index.js", + "kind": "require-call", + "original": "./" + } + ], + "format": "cjs" + }, + "(disabled):../node_modules/object-inspect/util.inspect": { + "bytes": 0, + "imports": [] + }, + "../node_modules/object-inspect/index.js": { + "bytes": 18882, + "imports": [ + { + "path": "(disabled):../node_modules/object-inspect/util.inspect", + "kind": "require-call", + "original": "./util.inspect" + } + ], + "format": "cjs" + }, + "../node_modules/side-channel/index.js": { + "bytes": 3391, + "imports": [ + { + "path": "../node_modules/get-intrinsic/index.js", + "kind": "require-call", + "original": "get-intrinsic" + }, + { + "path": "../node_modules/call-bind/callBound.js", + "kind": "require-call", + "original": "call-bind/callBound" + }, + { + "path": "../node_modules/object-inspect/index.js", + "kind": "require-call", + "original": "object-inspect" + } + ], + "format": "cjs" + }, + "../node_modules/qs/lib/formats.js": { + "bytes": 476, + "imports": [], + "format": "cjs" + }, + "../node_modules/qs/lib/utils.js": { + "bytes": 6823, + "imports": [ + { + "path": "../node_modules/qs/lib/formats.js", + "kind": "require-call", + "original": "./formats" + } + ], + "format": "cjs" + }, + "../node_modules/qs/lib/stringify.js": { + "bytes": 9950, + "imports": [ + { + "path": "../node_modules/side-channel/index.js", + "kind": "require-call", + "original": "side-channel" + }, + { + "path": "../node_modules/qs/lib/utils.js", + "kind": "require-call", + "original": "./utils" + }, + { + "path": "../node_modules/qs/lib/formats.js", + "kind": "require-call", + "original": "./formats" + } + ], + "format": "cjs" + }, + "../node_modules/qs/lib/parse.js": { + "bytes": 9398, + "imports": [ + { + "path": "../node_modules/qs/lib/utils.js", + "kind": "require-call", + "original": "./utils" + } + ], + "format": "cjs" + }, + "../node_modules/qs/lib/index.js": { + "bytes": 211, + "imports": [ + { + "path": "../node_modules/qs/lib/stringify.js", + "kind": "require-call", + "original": "./stringify" + }, + { + "path": "../node_modules/qs/lib/parse.js", + "kind": "require-call", + "original": "./parse" + }, + { + "path": "../node_modules/qs/lib/formats.js", + "kind": "require-call", + "original": "./formats" + } + ], + "format": "cjs" + }, + "src/preview-api/modules/preview-web/parseArgsParam.ts": { + "bytes": 3343, + "imports": [ + { + "path": "../node_modules/qs/lib/index.js", + "kind": "import-statement", + "original": "qs" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/lodash/isPlainObject.js", + "kind": "import-statement", + "original": "lodash/isPlainObject.js" + } + ], + "format": "esm" + }, + "src/preview-api/modules/preview-web/UrlStore.ts": { + "bytes": 3193, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "../node_modules/qs/lib/index.js", + "kind": "import-statement", + "original": "qs" + }, + { + "path": "src/preview-api/modules/preview-web/parseArgsParam.ts", + "kind": "import-statement", + "original": "./parseArgsParam" + } + ], + "format": "esm" + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json": { + "bytes": 32977, + "imports": [] + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json": { + "bytes": 1356, + "imports": [] + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json": { + "bytes": 53, + "imports": [] + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json": { + "bytes": 299, + "imports": [] + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js": { + "bytes": 1159, + "imports": [ + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json", + "kind": "require-call", + "original": "./maps/decode.json" + } + ], + "format": "cjs" + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/decode.js": { + "bytes": 2256, + "imports": [ + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json", + "kind": "require-call", + "original": "./maps/entities.json" + }, + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json", + "kind": "require-call", + "original": "./maps/legacy.json" + }, + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json", + "kind": "require-call", + "original": "./maps/xml.json" + }, + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js", + "kind": "require-call", + "original": "./decode_codepoint" + } + ], + "format": "cjs" + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/encode.js": { + "bytes": 5017, + "imports": [ + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json", + "kind": "require-call", + "original": "./maps/xml.json" + }, + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json", + "kind": "require-call", + "original": "./maps/entities.json" + } + ], + "format": "cjs" + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/index.js": { + "bytes": 3691, + "imports": [ + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/decode.js", + "kind": "require-call", + "original": "./decode" + }, + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/encode.js", + "kind": "require-call", + "original": "./encode" + }, + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/encode.js", + "kind": "require-call", + "original": "./encode" + }, + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/decode.js", + "kind": "require-call", + "original": "./decode" + } + ], + "format": "cjs" + }, + "../node_modules/ansi-to-html/lib/ansi_to_html.js": { + "bytes": 15936, + "imports": [ + { + "path": "../node_modules/ansi-to-html/node_modules/entities/lib/index.js", + "kind": "require-call", + "original": "entities" + } + ], + "format": "cjs" + }, + "src/preview-api/modules/preview-web/WebView.ts": { + "bytes": 5748, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/ansi-to-html/lib/ansi_to_html.js", + "kind": "import-statement", + "original": "ansi-to-html" + }, + { + "path": "../node_modules/ts-dedent/esm/index.js", + "kind": "import-statement", + "original": "ts-dedent" + }, + { + "path": "../node_modules/qs/lib/index.js", + "kind": "import-statement", + "original": "qs" + } + ], + "format": "esm" + }, + "src/preview-api/modules/preview-web/PreviewWeb.tsx": { + "bytes": 730, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "src/preview-api/modules/preview-web/PreviewWithSelection.tsx", + "kind": "import-statement", + "original": "./PreviewWithSelection" + }, + { + "path": "src/preview-api/modules/preview-web/UrlStore.ts", + "kind": "import-statement", + "original": "./UrlStore" + }, + { + "path": "src/preview-api/modules/preview-web/WebView.ts", + "kind": "import-statement", + "original": "./WebView" + } + ], + "format": "esm" + }, + "src/preview-api/modules/preview-web/simulate-pageload.ts": { + "bytes": 3035, + "imports": [ + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + } + ], + "format": "esm" + }, + "src/preview-api/modules/preview-web/index.ts": { + "bytes": 796, + "imports": [ + { + "path": "src/preview-api/store.ts", + "kind": "import-statement", + "original": "../../store" + }, + { + "path": "src/preview-api/modules/preview-web/Preview.tsx", + "kind": "import-statement", + "original": "./Preview" + }, + { + "path": "src/preview-api/modules/preview-web/PreviewWeb.tsx", + "kind": "import-statement", + "original": "./PreviewWeb" + }, + { + "path": "src/preview-api/modules/preview-web/PreviewWithSelection.tsx", + "kind": "import-statement", + "original": "./PreviewWithSelection" + }, + { + "path": "src/preview-api/modules/preview-web/UrlStore.ts", + "kind": "import-statement", + "original": "./UrlStore" + }, + { + "path": "src/preview-api/modules/preview-web/WebView.ts", + "kind": "import-statement", + "original": "./WebView" + }, + { + "path": "src/preview-api/modules/preview-web/simulate-pageload.ts", + "kind": "import-statement", + "original": "./simulate-pageload" + }, + { + "path": "src/preview-api/modules/preview-web/docs-context/DocsContext.ts", + "kind": "import-statement", + "original": "./docs-context/DocsContext" + } + ], + "format": "esm" + }, + "src/preview-api/preview-web.ts": { + "bytes": 81, + "imports": [ + { + "path": "src/preview-api/modules/preview-web/index.ts", + "kind": "import-statement", + "original": "./modules/preview-web" + } + ], + "format": "esm" + }, + "src/preview-api/index.ts": { + "bytes": 1320, + "imports": [ + { + "path": "src/preview-api/addons.ts", + "kind": "import-statement", + "original": "./addons" + }, + { + "path": "src/preview-api/addons.ts", + "kind": "import-statement", + "original": "./addons" + }, + { + "path": "src/preview-api/addons.ts", + "kind": "import-statement", + "original": "./addons" + }, + { + "path": "src/preview-api/preview-web.ts", + "kind": "import-statement", + "original": "./preview-web" + }, + { + "path": "src/preview-api/preview-web.ts", + "kind": "import-statement", + "original": "./preview-web" + }, + { + "path": "src/preview-api/store.ts", + "kind": "import-statement", + "original": "./store" + }, + { + "path": "src/preview-api/modules/store/csf/portable-stories.ts", + "kind": "import-statement", + "original": "./modules/store/csf/portable-stories" + }, + { + "path": "src/preview-api/store.ts", + "kind": "import-statement", + "original": "./store" + }, + { + "path": "src/preview-api/preview-web.ts", + "kind": "import-statement", + "original": "./preview-web" + } + ], + "format": "esm" + }, + "../node_modules/pretty-format/node_modules/ansi-styles/index.js": { + "bytes": 3899, + "imports": [], + "format": "cjs" + }, + "../node_modules/pretty-format/build/collections.js": { + "bytes": 4919, + "imports": [], + "format": "cjs" + }, + "../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js": { + "bytes": 2292, + "imports": [ + { + "path": "../node_modules/pretty-format/build/collections.js", + "kind": "require-call", + "original": "../collections" + } + ], + "format": "cjs" + }, + "../node_modules/pretty-format/build/plugins/DOMCollection.js": { + "bytes": 1842, + "imports": [ + { + "path": "../node_modules/pretty-format/build/collections.js", + "kind": "require-call", + "original": "../collections" + } + ], + "format": "cjs" + }, + "../node_modules/pretty-format/build/plugins/lib/escapeHTML.js": { + "bytes": 389, + "imports": [], + "format": "cjs" + }, + "../node_modules/pretty-format/build/plugins/lib/markup.js": { + "bytes": 3397, + "imports": [ + { + "path": "../node_modules/pretty-format/build/plugins/lib/escapeHTML.js", + "kind": "require-call", + "original": "./escapeHTML" + } + ], + "format": "cjs" + }, + "../node_modules/pretty-format/build/plugins/DOMElement.js": { + "bytes": 2798, + "imports": [ + { + "path": "../node_modules/pretty-format/build/plugins/lib/markup.js", + "kind": "require-call", + "original": "./lib/markup" + } + ], + "format": "cjs" + }, + "../node_modules/pretty-format/build/plugins/Immutable.js": { + "bytes": 5442, + "imports": [ + { + "path": "../node_modules/pretty-format/build/collections.js", + "kind": "require-call", + "original": "../collections" + } + ], + "format": "cjs" + }, + "../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js": { + "bytes": 7359, + "imports": [], + "format": "cjs" + }, + "../node_modules/pretty-format/node_modules/react-is/index.js": { + "bytes": 196, + "imports": [ + { + "path": "../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js", + "kind": "require-call", + "original": "./cjs/react-is.development.js" + } + ], + "format": "cjs" + }, + "../node_modules/pretty-format/build/plugins/ReactElement.js": { + "bytes": 4167, + "imports": [ + { + "path": "../node_modules/pretty-format/node_modules/react-is/index.js", + "kind": "require-call", + "original": "react-is" + }, + { + "path": "../node_modules/pretty-format/build/plugins/lib/markup.js", + "kind": "require-call", + "original": "./lib/markup" + } + ], + "format": "cjs" + }, + "../node_modules/pretty-format/build/plugins/ReactTestComponent.js": { + "bytes": 1799, + "imports": [ + { + "path": "../node_modules/pretty-format/build/plugins/lib/markup.js", + "kind": "require-call", + "original": "./lib/markup" + } + ], + "format": "cjs" + }, + "../node_modules/pretty-format/build/index.js": { + "bytes": 13743, + "imports": [ + { + "path": "../node_modules/pretty-format/node_modules/ansi-styles/index.js", + "kind": "require-call", + "original": "ansi-styles" + }, + { + "path": "../node_modules/pretty-format/build/collections.js", + "kind": "require-call", + "original": "./collections" + }, + { + "path": "../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js", + "kind": "require-call", + "original": "./plugins/AsymmetricMatcher" + }, + { + "path": "../node_modules/pretty-format/build/plugins/DOMCollection.js", + "kind": "require-call", + "original": "./plugins/DOMCollection" + }, + { + "path": "../node_modules/pretty-format/build/plugins/DOMElement.js", + "kind": "require-call", + "original": "./plugins/DOMElement" + }, + { + "path": "../node_modules/pretty-format/build/plugins/Immutable.js", + "kind": "require-call", + "original": "./plugins/Immutable" + }, + { + "path": "../node_modules/pretty-format/build/plugins/ReactElement.js", + "kind": "require-call", + "original": "./plugins/ReactElement" + }, + { + "path": "../node_modules/pretty-format/build/plugins/ReactTestComponent.js", + "kind": "require-call", + "original": "./plugins/ReactTestComponent" + } + ], + "format": "cjs" + }, + "../node_modules/diff-sequences/build/index.js": { + "bytes": 27416, + "imports": [], + "format": "cjs" + }, + "../node_modules/@vitest/utils/dist/chunk-colors.js": { + "bytes": 2979, + "imports": [], + "format": "esm" + }, + "../node_modules/@vitest/utils/dist/diff.js": { + "bytes": 34049, + "imports": [ + { + "path": "../node_modules/pretty-format/build/index.js", + "kind": "import-statement", + "original": "pretty-format" + }, + { + "path": "../node_modules/diff-sequences/build/index.js", + "kind": "import-statement", + "original": "diff-sequences" + }, + { + "path": "../node_modules/@vitest/utils/dist/chunk-colors.js", + "kind": "import-statement", + "original": "./chunk-colors.js" + } + ], + "format": "esm" + }, + "../node_modules/loupe/loupe.js": { + "bytes": 28534, + "imports": [ + { + "path": "util", + "kind": "require-call", + "external": true + } + ], + "format": "cjs" + }, + "../node_modules/@vitest/utils/dist/chunk-display.js": { + "bytes": 4052, + "imports": [ + { + "path": "../node_modules/pretty-format/build/index.js", + "kind": "import-statement", + "original": "pretty-format" + }, + { + "path": "../node_modules/loupe/loupe.js", + "kind": "import-statement", + "original": "loupe" + } + ], + "format": "esm" + }, + "../node_modules/@vitest/utils/dist/helpers.js": { + "bytes": 4317, + "imports": [], + "format": "esm" + }, + "../node_modules/@vitest/utils/dist/error.js": { + "bytes": 5393, + "imports": [ + { + "path": "../node_modules/@vitest/utils/dist/diff.js", + "kind": "import-statement", + "original": "./diff.js" + }, + { + "path": "../node_modules/@vitest/utils/dist/chunk-display.js", + "kind": "import-statement", + "original": "./chunk-display.js" + }, + { + "path": "../node_modules/@vitest/utils/dist/helpers.js", + "kind": "import-statement", + "original": "./helpers.js" + }, + { + "path": "../node_modules/pretty-format/build/index.js", + "kind": "import-statement", + "original": "pretty-format" + }, + { + "path": "../node_modules/diff-sequences/build/index.js", + "kind": "import-statement", + "original": "diff-sequences" + }, + { + "path": "../node_modules/@vitest/utils/dist/chunk-colors.js", + "kind": "import-statement", + "original": "./chunk-colors.js" + }, + { + "path": "../node_modules/loupe/loupe.js", + "kind": "import-statement", + "original": "loupe" + } + ], + "format": "esm" + }, + "src/instrumenter/types.ts": { + "bytes": 2134, + "imports": [], + "format": "esm" + }, + "src/instrumenter/instrumenter.ts": { + "bytes": 25127, + "imports": [ + { + "path": "@storybook/core/dist/preview-api", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "import-statement", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "import-statement", + "external": true + }, + { + "path": "../node_modules/@storybook/global/dist/index.js", + "kind": "import-statement", + "original": "@storybook/global" + }, + { + "path": "../node_modules/@vitest/utils/dist/error.js", + "kind": "import-statement", + "original": "@vitest/utils/error" + }, + { + "path": "src/instrumenter/types.ts", + "kind": "import-statement", + "original": "./types" + } + ], + "format": "esm" + }, + "src/instrumenter/index.ts": { + "bytes": 79, + "imports": [ + { + "path": "src/instrumenter/instrumenter.ts", + "kind": "import-statement", + "original": "./instrumenter" + }, + { + "path": "src/instrumenter/types.ts", + "kind": "import-statement", + "original": "./types" + } + ], + "format": "esm" + } + }, + "outputs": { + "dist/index.cjs": { + "imports": [], + "exports": [], + "entryPoint": "src/index.ts", + "inputs": { + "src/index.ts": { + "bytesInOutput": 121 + } + }, + "bytes": 590 + }, + "dist/test.cjs": { + "imports": [], + "exports": [], + "entryPoint": "src/test.ts", + "inputs": { + "src/test.ts": { + "bytesInOutput": 74 + } + }, + "bytes": 624 + }, + "dist/node-logger/index.cjs": { + "imports": [ + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:os", + "kind": "require-call", + "external": true + }, + { + "path": "node:tty", + "kind": "require-call", + "external": true + } + ], + "exports": [], + "entryPoint": "src/node-logger/index.ts", + "inputs": { + "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-base.js": { + "bytesInOutput": 204 + }, + "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker.js": { + "bytesInOutput": 682 + }, + "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-stream.js": { + "bytesInOutput": 738 + }, + "../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-group.js": { + "bytesInOutput": 2244 + }, + "../node_modules/npmlog/node_modules/are-we-there-yet/lib/index.js": { + "bytesInOutput": 110 + }, + "../node_modules/console-control-strings/index.js": { + "bytesInOutput": 2147 + }, + "../node_modules/ansi-regex/index.js": { + "bytesInOutput": 373 + }, + "../node_modules/string-width/node_modules/strip-ansi/index.js": { + "bytesInOutput": 132 + }, + "../node_modules/is-fullwidth-code-point/index.js": { + "bytesInOutput": 1156 + }, + "../node_modules/string-width/node_modules/emoji-regex/index.js": { + "bytesInOutput": 10290 + }, + "../node_modules/string-width/index.js": { + "bytesInOutput": 487 + }, + "../node_modules/wide-align/align.js": { + "bytesInOutput": 871 + }, + "../node_modules/aproba/index.js": { + "bytesInOutput": 2894 + }, + "../node_modules/npmlog/node_modules/strip-ansi/index.js": { + "bytesInOutput": 132 + }, + "../node_modules/npmlog/node_modules/gauge/lib/wide-truncate.js": { + "bytesInOutput": 348 + }, + "../node_modules/npmlog/node_modules/gauge/lib/error.js": { + "bytesInOutput": 527 + }, + "../node_modules/npmlog/node_modules/gauge/lib/template-item.js": { + "bytesInOutput": 1616 + }, + "../node_modules/npmlog/node_modules/gauge/lib/render-template.js": { + "bytesInOutput": 3636 + }, + "../node_modules/npmlog/node_modules/gauge/lib/plumbing.js": { + "bytesInOutput": 876 + }, + "../node_modules/has-unicode/index.js": { + "bytesInOutput": 273 + }, + "../node_modules/color-support/browser.js": { + "bytesInOutput": 222 + }, + "../node_modules/npmlog/node_modules/gauge/lib/has-color.js": { + "bytesInOutput": 92 + }, + "../node_modules/npmlog/node_modules/signal-exit/dist/mjs/signals.js": { + "bytesInOutput": 453 + }, + "../node_modules/npmlog/node_modules/signal-exit/dist/mjs/index.js": { + "bytesInOutput": 5108 + }, + "../node_modules/npmlog/node_modules/gauge/lib/spin.js": { + "bytesInOutput": 110 + }, + "../node_modules/npmlog/node_modules/gauge/lib/progress-bar.js": { + "bytesInOutput": 596 + }, + "../node_modules/npmlog/node_modules/gauge/lib/base-theme.js": { + "bytesInOutput": 313 + }, + "../node_modules/npmlog/node_modules/gauge/lib/theme-set.js": { + "bytesInOutput": 2612 + }, + "../node_modules/npmlog/node_modules/gauge/lib/themes.js": { + "bytesInOutput": 1637 + }, + "../node_modules/npmlog/node_modules/gauge/lib/set-interval.js": { + "bytesInOutput": 73 + }, + "../node_modules/npmlog/node_modules/gauge/lib/process.js": { + "bytesInOutput": 69 + }, + "../node_modules/npmlog/node_modules/gauge/lib/set-immediate.js": { + "bytesInOutput": 147 + }, + "../node_modules/npmlog/node_modules/gauge/lib/index.js": { + "bytesInOutput": 5705 + }, + "../node_modules/set-blocking/index.js": { + "bytesInOutput": 232 + }, + "../node_modules/npmlog/lib/log.js": { + "bytesInOutput": 6907 + }, + "../node_modules/pretty-hrtime/index.js": { + "bytesInOutput": 1054 + }, + "src/node-logger/index.ts": { + "bytesInOutput": 1341 + }, + "node_modules/chalk/source/vendor/ansi-styles/index.js": { + "bytesInOutput": 4033 + }, + "node_modules/chalk/source/vendor/supports-color/index.js": { + "bytesInOutput": 2515 + }, + "node_modules/chalk/source/utilities.js": { + "bytesInOutput": 468 + }, + "node_modules/chalk/source/index.js": { + "bytesInOutput": 2764 + } + }, + "bytes": 69731 + }, + "dist/client-logger/index.cjs": { + "imports": [], + "exports": [], + "entryPoint": "src/client-logger/index.ts", + "inputs": { + "../node_modules/@storybook/global/dist/index.js": { + "bytesInOutput": 831 + }, + "src/client-logger/index.ts": { + "bytesInOutput": 1424 + } + }, + "bytes": 3422 + }, + "dist/core-events/index.cjs": { + "imports": [], + "exports": [], + "entryPoint": "src/core-events/index.ts", + "inputs": { + "src/core-events/index.ts": { + "bytesInOutput": 5569 + } + }, + "bytes": 6132 + }, + "dist/preview-errors.cjs": { + "imports": [], + "exports": [], + "entryPoint": "src/preview-errors.ts", + "inputs": { + "src/preview-errors.ts": { + "bytesInOutput": 7747 + }, + "../node_modules/ts-dedent/esm/index.js": { + "bytesInOutput": 1011 + }, + "src/storybook-error.ts": { + "bytesInOutput": 1412 + } + }, + "bytes": 10826 + }, + "dist/server-errors.cjs": { + "imports": [ + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:os", + "kind": "require-call", + "external": true + }, + { + "path": "node:tty", + "kind": "require-call", + "external": true + } + ], + "exports": [], + "entryPoint": "src/server-errors.ts", + "inputs": { + "src/server-errors.ts": { + "bytesInOutput": 15563 + }, + "node_modules/chalk/source/vendor/ansi-styles/index.js": { + "bytesInOutput": 4033 + }, + "node_modules/chalk/source/vendor/supports-color/index.js": { + "bytesInOutput": 2503 + }, + "node_modules/chalk/source/utilities.js": { + "bytesInOutput": 468 + }, + "node_modules/chalk/source/index.js": { + "bytesInOutput": 2747 + }, + "../node_modules/ts-dedent/esm/index.js": { + "bytesInOutput": 1015 + }, + "src/storybook-error.ts": { + "bytesInOutput": 1412 + } + }, + "bytes": 29086 + }, + "dist/channels/index.cjs": { + "imports": [ + { + "path": "@storybook/core/dist/core-events", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "require-call", + "external": true + } + ], + "exports": [], + "entryPoint": "src/channels/index.ts", + "inputs": { + "../node_modules/@storybook/global/dist/index.js": { + "bytesInOutput": 859 + }, + "../node_modules/memoizerific/memoizerific.js": { + "bytesInOutput": 5056 + }, + "src/channels/index.ts": { + "bytesInOutput": 640 + }, + "src/channels/main.ts": { + "bytesInOutput": 1882 + }, + "src/channels/postmessage/index.ts": { + "bytesInOutput": 4490 + }, + "../node_modules/telejson/dist/chunk-465TF3XA.mjs": { + "bytesInOutput": 1124 + }, + "../node_modules/telejson/dist/index.mjs": { + "bytesInOutput": 31584 + }, + "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js": { + "bytesInOutput": 228 + }, + "src/channels/postmessage/getEventSourceUrl.ts": { + "bytesInOutput": 928 + }, + "src/channels/websocket/index.ts": { + "bytesInOutput": 1183 + } + }, + "bytes": 50216 + }, + "dist/types/index.cjs": { + "imports": [], + "exports": [], + "entryPoint": "src/types/index.ts", + "inputs": { + "src/types/index.ts": { + "bytesInOutput": 73 + }, + "src/types/modules/addons.ts": { + "bytesInOutput": 272 + } + }, + "bytes": 934 + }, + "dist/csf-tools/index.cjs": { + "imports": [ + { + "path": "constants", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + } + ], + "exports": [], + "entryPoint": "src/csf-tools/index.ts", + "inputs": { + "../node_modules/universalify/index.js": { + "bytesInOutput": 699 + }, + "../node_modules/graceful-fs/polyfills.js": { + "bytesInOutput": 6199 + }, + "../node_modules/graceful-fs/legacy-streams.js": { + "bytesInOutput": 2202 + }, + "../node_modules/graceful-fs/clone.js": { + "bytesInOutput": 500 + }, + "../node_modules/graceful-fs/graceful-fs.js": { + "bytesInOutput": 7596 + }, + "../node_modules/fs-extra/lib/fs/index.js": { + "bytesInOutput": 2165 + }, + "../node_modules/fs-extra/lib/mkdirs/utils.js": { + "bytesInOutput": 318 + }, + "../node_modules/fs-extra/lib/mkdirs/make-dir.js": { + "bytesInOutput": 402 + }, + "../node_modules/fs-extra/lib/mkdirs/index.js": { + "bytesInOutput": 277 + }, + "../node_modules/fs-extra/lib/path-exists/index.js": { + "bytesInOutput": 245 + }, + "../node_modules/fs-extra/lib/util/utimes.js": { + "bytesInOutput": 529 + }, + "../node_modules/fs-extra/lib/util/stat.js": { + "bytesInOutput": 3724 + }, + "../node_modules/fs-extra/lib/copy/copy.js": { + "bytesInOutput": 3073 + }, + "../node_modules/fs-extra/lib/copy/copy-sync.js": { + "bytesInOutput": 3262 + }, + "../node_modules/fs-extra/lib/copy/index.js": { + "bytesInOutput": 136 + }, + "../node_modules/fs-extra/lib/remove/index.js": { + "bytesInOutput": 292 + }, + "../node_modules/fs-extra/lib/empty/index.js": { + "bytesInOutput": 626 + }, + "../node_modules/fs-extra/lib/ensure/file.js": { + "bytesInOutput": 995 + }, + "../node_modules/fs-extra/lib/ensure/link.js": { + "bytesInOutput": 977 + }, + "../node_modules/fs-extra/lib/ensure/symlink-paths.js": { + "bytesInOutput": 1289 + }, + "../node_modules/fs-extra/lib/ensure/symlink-type.js": { + "bytesInOutput": 549 + }, + "../node_modules/fs-extra/lib/ensure/symlink.js": { + "bytesInOutput": 1181 + }, + "../node_modules/fs-extra/lib/ensure/index.js": { + "bytesInOutput": 535 + }, + "../node_modules/jsonfile/utils.js": { + "bytesInOutput": 363 + }, + "../node_modules/jsonfile/index.js": { + "bytesInOutput": 1316 + }, + "../node_modules/fs-extra/lib/json/jsonfile.js": { + "bytesInOutput": 236 + }, + "../node_modules/fs-extra/lib/output-file/index.js": { + "bytesInOutput": 476 + }, + "../node_modules/fs-extra/lib/json/output-json.js": { + "bytesInOutput": 209 + }, + "../node_modules/fs-extra/lib/json/output-json-sync.js": { + "bytesInOutput": 196 + }, + "../node_modules/fs-extra/lib/json/index.js": { + "bytesInOutput": 371 + }, + "../node_modules/fs-extra/lib/move/move.js": { + "bytesInOutput": 968 + }, + "../node_modules/fs-extra/lib/move/move-sync.js": { + "bytesInOutput": 1040 + }, + "../node_modules/fs-extra/lib/move/index.js": { + "bytesInOutput": 136 + }, + "../node_modules/fs-extra/lib/index.js": { + "bytesInOutput": 266 + }, + "../node_modules/@babel/types/lib/utils/shallowEqual.js": { + "bytesInOutput": 258 + }, + "../node_modules/@babel/types/lib/utils/deprecationWarning.js": { + "bytesInOutput": 925 + }, + "../node_modules/@babel/types/lib/validators/generated/index.js": { + "bytesInOutput": 69702 + }, + "../node_modules/@babel/types/lib/validators/matchesPattern.js": { + "bytesInOutput": 822 + }, + "../node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js": { + "bytesInOutput": 237 + }, + "../node_modules/@babel/types/lib/validators/react/isReactComponent.js": { + "bytesInOutput": 209 + }, + "../node_modules/@babel/types/lib/validators/react/isCompatTag.js": { + "bytesInOutput": 183 + }, + "../node_modules/to-fast-properties/index.js": { + "bytesInOutput": 340 + }, + "../node_modules/@babel/types/lib/validators/isType.js": { + "bytesInOutput": 435 + }, + "../node_modules/@babel/types/lib/validators/isPlaceholderType.js": { + "bytesInOutput": 338 + }, + "../node_modules/@babel/types/lib/validators/is.js": { + "bytesInOutput": 406 + }, + "../node_modules/@babel/helper-validator-identifier/lib/identifier.js": { + "bytesInOutput": 11402 + }, + "../node_modules/@babel/helper-validator-identifier/lib/keyword.js": { + "bytesInOutput": 1125 + }, + "../node_modules/@babel/helper-validator-identifier/lib/index.js": { + "bytesInOutput": 1269 + }, + "../node_modules/@babel/types/lib/validators/isValidIdentifier.js": { + "bytesInOutput": 310 + }, + "../node_modules/@babel/helper-string-parser/lib/index.js": { + "bytesInOutput": 5449 + }, + "../node_modules/@babel/types/lib/constants/index.js": { + "bytesInOutput": 2000 + }, + "../node_modules/@babel/types/lib/definitions/utils.js": { + "bytesInOutput": 6601 + }, + "../node_modules/@babel/types/lib/definitions/core.js": { + "bytesInOutput": 52266 + }, + "../node_modules/@babel/types/lib/definitions/flow.js": { + "bytesInOutput": 15613 + }, + "../node_modules/@babel/types/lib/definitions/jsx.js": { + "bytesInOutput": 4391 + }, + "../node_modules/@babel/types/lib/definitions/placeholders.js": { + "bytesInOutput": 739 + }, + "../node_modules/@babel/types/lib/definitions/misc.js": { + "bytesInOutput": 578 + }, + "../node_modules/@babel/types/lib/definitions/experimental.js": { + "bytesInOutput": 3331 + }, + "../node_modules/@babel/types/lib/definitions/typescript.js": { + "bytesInOutput": 14748 + }, + "../node_modules/@babel/types/lib/definitions/deprecated-aliases.js": { + "bytesInOutput": 233 + }, + "../node_modules/@babel/types/lib/definitions/index.js": { + "bytesInOutput": 2229 + }, + "../node_modules/@babel/types/lib/validators/validate.js": { + "bytesInOutput": 603 + }, + "../node_modules/@babel/types/lib/builders/validateNode.js": { + "bytesInOutput": 282 + }, + "../node_modules/@babel/types/lib/builders/generated/index.js": { + "bytesInOutput": 41549 + }, + "../node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js": { + "bytesInOutput": 636 + }, + "../node_modules/@babel/types/lib/builders/react/buildChildren.js": { + "bytesInOutput": 493 + }, + "../node_modules/@babel/types/lib/validators/isNode.js": { + "bytesInOutput": 209 + }, + "../node_modules/@babel/types/lib/asserts/assertNode.js": { + "bytesInOutput": 337 + }, + "../node_modules/@babel/types/lib/asserts/generated/index.js": { + "bytesInOutput": 28337 + }, + "../node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js": { + "bytesInOutput": 900 + }, + "../node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js": { + "bytesInOutput": 1354 + }, + "../node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js": { + "bytesInOutput": 274 + }, + "../node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js": { + "bytesInOutput": 1347 + }, + "../node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js": { + "bytesInOutput": 349 + }, + "../node_modules/@babel/types/lib/builders/generated/uppercase.js": { + "bytesInOutput": 34971 + }, + "../node_modules/@babel/types/lib/builders/productions.js": { + "bytesInOutput": 249 + }, + "../node_modules/@babel/types/lib/clone/cloneNode.js": { + "bytesInOutput": 1908 + }, + "../node_modules/@babel/types/lib/clone/clone.js": { + "bytesInOutput": 199 + }, + "../node_modules/@babel/types/lib/clone/cloneDeep.js": { + "bytesInOutput": 195 + }, + "../node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js": { + "bytesInOutput": 203 + }, + "../node_modules/@babel/types/lib/clone/cloneWithoutLoc.js": { + "bytesInOutput": 203 + }, + "../node_modules/@babel/types/lib/comments/addComments.js": { + "bytesInOutput": 306 + }, + "../node_modules/@babel/types/lib/comments/addComment.js": { + "bytesInOutput": 281 + }, + "../node_modules/@babel/types/lib/utils/inherit.js": { + "bytesInOutput": 236 + }, + "../node_modules/@babel/types/lib/comments/inheritInnerComments.js": { + "bytesInOutput": 211 + }, + "../node_modules/@babel/types/lib/comments/inheritLeadingComments.js": { + "bytesInOutput": 213 + }, + "../node_modules/@babel/types/lib/comments/inheritTrailingComments.js": { + "bytesInOutput": 214 + }, + "../node_modules/@babel/types/lib/comments/inheritsComments.js": { + "bytesInOutput": 272 + }, + "../node_modules/@babel/types/lib/comments/removeComments.js": { + "bytesInOutput": 238 + }, + "../node_modules/@babel/types/lib/constants/generated/index.js": { + "bytesInOutput": 4298 + }, + "../node_modules/@babel/types/lib/converters/toBlock.js": { + "bytesInOutput": 461 + }, + "../node_modules/@babel/types/lib/converters/ensureBlock.js": { + "bytesInOutput": 238 + }, + "../node_modules/@babel/types/lib/converters/toIdentifier.js": { + "bytesInOutput": 475 + }, + "../node_modules/@babel/types/lib/converters/toBindingIdentifierName.js": { + "bytesInOutput": 256 + }, + "../node_modules/@babel/types/lib/converters/toComputedKey.js": { + "bytesInOutput": 293 + }, + "../node_modules/@babel/types/lib/converters/toExpression.js": { + "bytesInOutput": 517 + }, + "../node_modules/@babel/types/lib/traverse/traverseFast.js": { + "bytesInOutput": 453 + }, + "../node_modules/@babel/types/lib/modifications/removeProperties.js": { + "bytesInOutput": 553 + }, + "../node_modules/@babel/types/lib/modifications/removePropertiesDeep.js": { + "bytesInOutput": 227 + }, + "../node_modules/@babel/types/lib/converters/toKeyAlias.js": { + "bytesInOutput": 610 + }, + "../node_modules/@babel/types/lib/converters/toStatement.js": { + "bytesInOutput": 673 + }, + "../node_modules/@babel/types/lib/converters/valueToNode.js": { + "bytesInOutput": 1789 + }, + "../node_modules/@babel/types/lib/modifications/appendToMemberExpression.js": { + "bytesInOutput": 294 + }, + "../node_modules/@babel/types/lib/modifications/inherits.js": { + "bytesInOutput": 480 + }, + "../node_modules/@babel/types/lib/modifications/prependToMemberExpression.js": { + "bytesInOutput": 363 + }, + "../node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js": { + "bytesInOutput": 2430 + }, + "../node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js": { + "bytesInOutput": 232 + }, + "../node_modules/@babel/types/lib/traverse/traverse.js": { + "bytesInOutput": 873 + }, + "../node_modules/@babel/types/lib/validators/isBinding.js": { + "bytesInOutput": 572 + }, + "../node_modules/@babel/types/lib/validators/isLet.js": { + "bytesInOutput": 271 + }, + "../node_modules/@babel/types/lib/validators/isBlockScoped.js": { + "bytesInOutput": 275 + }, + "../node_modules/@babel/types/lib/validators/isImmutable.js": { + "bytesInOutput": 285 + }, + "../node_modules/@babel/types/lib/validators/isNodesEquivalent.js": { + "bytesInOutput": 1115 + }, + "../node_modules/@babel/types/lib/validators/isReferenced.js": { + "bytesInOutput": 2236 + }, + "../node_modules/@babel/types/lib/validators/isScope.js": { + "bytesInOutput": 379 + }, + "../node_modules/@babel/types/lib/validators/isSpecifierDefault.js": { + "bytesInOutput": 293 + }, + "../node_modules/@babel/types/lib/validators/isValidES3Identifier.js": { + "bytesInOutput": 495 + }, + "../node_modules/@babel/types/lib/validators/isVar.js": { + "bytesInOutput": 277 + }, + "../node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js": { + "bytesInOutput": 1494 + }, + "../node_modules/@babel/types/lib/converters/toSequenceExpression.js": { + "bytesInOutput": 338 + }, + "../node_modules/@babel/types/lib/index.js": { + "bytesInOutput": 12141 + }, + "../node_modules/@jridgewell/set-array/dist/set-array.umd.js": { + "bytesInOutput": 1233 + }, + "../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js": { + "bytesInOutput": 3121 + }, + "../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js": { + "bytesInOutput": 3968 + }, + "../node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js": { + "bytesInOutput": 11175 + }, + "../node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js": { + "bytesInOutput": 4813 + }, + "../node_modules/@babel/generator/lib/source-map.js": { + "bytesInOutput": 2217 + }, + "../node_modules/@babel/generator/lib/buffer.js": { + "bytesInOutput": 6801 + }, + "../node_modules/@babel/generator/lib/node/whitespace.js": { + "bytesInOutput": 3373 + }, + "../node_modules/@babel/generator/lib/node/parentheses.js": { + "bytesInOutput": 7421 + }, + "../node_modules/@babel/generator/lib/node/index.js": { + "bytesInOutput": 1394 + }, + "../node_modules/@babel/generator/lib/generators/template-literals.js": { + "bytesInOutput": 640 + }, + "../node_modules/@babel/generator/lib/generators/expressions.js": { + "bytesInOutput": 6047 + }, + "../node_modules/@babel/generator/lib/generators/statements.js": { + "bytesInOutput": 5104 + }, + "../node_modules/@babel/generator/lib/generators/classes.js": { + "bytesInOutput": 3364 + }, + "../node_modules/@babel/generator/lib/generators/methods.js": { + "bytesInOutput": 3610 + }, + "../node_modules/@babel/generator/lib/generators/modules.js": { + "bytesInOutput": 5589 + }, + "../node_modules/jsesc/jsesc.js": { + "bytesInOutput": 5047 + }, + "../node_modules/@babel/generator/lib/generators/types.js": { + "bytesInOutput": 4903 + }, + "../node_modules/@babel/generator/lib/generators/flow.js": { + "bytesInOutput": 12320 + }, + "../node_modules/@babel/generator/lib/generators/base.js": { + "bytesInOutput": 2052 + }, + "../node_modules/@babel/generator/lib/generators/jsx.js": { + "bytesInOutput": 2332 + }, + "../node_modules/@babel/generator/lib/generators/typescript.js": { + "bytesInOutput": 12589 + }, + "../node_modules/@babel/generator/lib/generators/index.js": { + "bytesInOutput": 2888 + }, + "../node_modules/@babel/generator/lib/printer.js": { + "bytesInOutput": 16530 + }, + "../node_modules/@babel/generator/lib/index.js": { + "bytesInOutput": 2293 + }, + "../node_modules/@babel/traverse/lib/path/lib/virtual-types.js": { + "bytesInOutput": 1273 + }, + "../node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js": { + "bytesInOutput": 3120 + }, + "../node_modules/@babel/traverse/lib/visitors.js": { + "bytesInOutput": 4331 + }, + "../node_modules/@babel/traverse/lib/cache.js": { + "bytesInOutput": 957 + }, + "../node_modules/debug/node_modules/ms/index.js": { + "bytesInOutput": 2293 + }, + "../node_modules/debug/src/common.js": { + "bytesInOutput": 3049 + }, + "../node_modules/debug/src/browser.js": { + "bytesInOutput": 3698 + }, + "../node_modules/@babel/helper-split-export-declaration/lib/index.js": { + "bytesInOutput": 1414 + }, + "../node_modules/@babel/helper-environment-visitor/lib/index.js": { + "bytesInOutput": 718 + }, + "../node_modules/@babel/traverse/lib/scope/lib/renamer.js": { + "bytesInOutput": 2431 + }, + "../node_modules/@babel/traverse/lib/scope/binding.js": { + "bytesInOutput": 1579 + }, + "../node_modules/@babel/traverse/node_modules/globals/globals.json": { + "bytesInOutput": 35382 + }, + "../node_modules/@babel/traverse/node_modules/globals/index.js": { + "bytesInOutput": 67 + }, + "../node_modules/@babel/traverse/lib/scope/index.js": { + "bytesInOutput": 22286 + }, + "../node_modules/@babel/traverse/lib/path/ancestry.js": { + "bytesInOutput": 2554 + }, + "../node_modules/@babel/traverse/lib/path/inference/util.js": { + "bytesInOutput": 453 + }, + "../node_modules/@babel/traverse/lib/path/inference/inferer-reference.js": { + "bytesInOutput": 2819 + }, + "../node_modules/@babel/traverse/lib/path/inference/inferers.js": { + "bytesInOutput": 4464 + }, + "../node_modules/@babel/traverse/lib/path/inference/index.js": { + "bytesInOutput": 2968 + }, + "../node_modules/js-tokens/index.js": { + "bytesInOutput": 1121 + }, + "../node_modules/picocolors/picocolors.browser.js": { + "bytesInOutput": 471 + }, + "../node_modules/escape-string-regexp/index.js": { + "bytesInOutput": 226 + }, + "../node_modules/@babel/highlight/node_modules/color-name/index.js": { + "bytesInOutput": 4645 + }, + "../node_modules/@babel/highlight/node_modules/color-convert/conversions.js": { + "bytesInOutput": 13290 + }, + "../node_modules/@babel/highlight/node_modules/color-convert/route.js": { + "bytesInOutput": 1159 + }, + "../node_modules/@babel/highlight/node_modules/color-convert/index.js": { + "bytesInOutput": 1049 + }, + "../node_modules/@babel/highlight/node_modules/ansi-styles/index.js": { + "bytesInOutput": 3178 + }, + "../node_modules/@babel/highlight/node_modules/supports-color/browser.js": { + "bytesInOutput": 99 + }, + "../node_modules/@babel/highlight/node_modules/chalk/templates.js": { + "bytesInOutput": 2417 + }, + "../node_modules/@babel/highlight/node_modules/chalk/index.js": { + "bytesInOutput": 3947 + }, + "../node_modules/@babel/highlight/lib/index.js": { + "bytesInOutput": 3360 + }, + "../node_modules/@babel/code-frame/lib/index.js": { + "bytesInOutput": 4072 + }, + "../node_modules/@babel/parser/lib/index.js": { + "bytesInOutput": 388580 + }, + "../node_modules/@babel/helper-hoist-variables/lib/index.js": { + "bytesInOutput": 924 + }, + "../node_modules/@babel/traverse/lib/path/replacement.js": { + "bytesInOutput": 6414 + }, + "../node_modules/@babel/traverse/lib/path/evaluation.js": { + "bytesInOutput": 8276 + }, + "../node_modules/@babel/template/lib/formatters.js": { + "bytesInOutput": 1237 + }, + "../node_modules/@babel/template/lib/options.js": { + "bytesInOutput": 2400 + }, + "../node_modules/@babel/template/lib/parse.js": { + "bytesInOutput": 3433 + }, + "../node_modules/@babel/template/lib/populate.js": { + "bytesInOutput": 2437 + }, + "../node_modules/@babel/template/lib/string.js": { + "bytesInOutput": 388 + }, + "../node_modules/@babel/template/lib/literal.js": { + "bytesInOutput": 1455 + }, + "../node_modules/@babel/template/lib/builder.js": { + "bytesInOutput": 1809 + }, + "../node_modules/@babel/template/lib/index.js": { + "bytesInOutput": 652 + }, + "../node_modules/@babel/helper-function-name/lib/index.js": { + "bytesInOutput": 3393 + }, + "../node_modules/@babel/traverse/lib/path/conversion.js": { + "bytesInOutput": 11482 + }, + "../node_modules/@babel/traverse/lib/path/introspection.js": { + "bytesInOutput": 9794 + }, + "../node_modules/@babel/traverse/lib/path/context.js": { + "bytesInOutput": 5008 + }, + "../node_modules/@babel/traverse/lib/path/lib/removal-hooks.js": { + "bytesInOutput": 1044 + }, + "../node_modules/@babel/traverse/lib/path/removal.js": { + "bytesInOutput": 1397 + }, + "../node_modules/@babel/traverse/lib/path/lib/hoister.js": { + "bytesInOutput": 4512 + }, + "../node_modules/@babel/traverse/lib/path/modification.js": { + "bytesInOutput": 5996 + }, + "../node_modules/@babel/traverse/lib/path/family.js": { + "bytesInOutput": 6407 + }, + "../node_modules/@babel/traverse/lib/path/comments.js": { + "bytesInOutput": 1060 + }, + "../node_modules/@babel/traverse/lib/path/index.js": { + "bytesInOutput": 3730 + }, + "../node_modules/@babel/traverse/lib/context.js": { + "bytesInOutput": 2250 + }, + "../node_modules/@babel/traverse/lib/traverse-node.js": { + "bytesInOutput": 514 + }, + "../node_modules/@babel/traverse/lib/hub.js": { + "bytesInOutput": 379 + }, + "../node_modules/@babel/traverse/lib/index.js": { + "bytesInOutput": 1981 + }, + "../node_modules/tslib/tslib.es6.mjs": { + "bytesInOutput": 14285 + }, + "../node_modules/recast/node_modules/ast-types/lib/shared.js": { + "bytesInOutput": 1591 + }, + "../node_modules/recast/node_modules/ast-types/lib/types.js": { + "bytesInOutput": 16476 + }, + "../node_modules/recast/node_modules/ast-types/lib/path.js": { + "bytesInOutput": 6050 + }, + "../node_modules/recast/node_modules/ast-types/lib/scope.js": { + "bytesInOutput": 7360 + }, + "../node_modules/recast/node_modules/ast-types/lib/node-path.js": { + "bytesInOutput": 9271 + }, + "../node_modules/recast/node_modules/ast-types/lib/path-visitor.js": { + "bytesInOutput": 6986 + }, + "../node_modules/recast/node_modules/ast-types/lib/equiv.js": { + "bytesInOutput": 2642 + }, + "../node_modules/recast/node_modules/ast-types/lib/fork.js": { + "bytesInOutput": 1337 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/operators/core.js": { + "bytesInOutput": 848 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2016.js": { + "bytesInOutput": 486 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2020.js": { + "bytesInOutput": 404 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/operators/es2021.js": { + "bytesInOutput": 482 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/core.js": { + "bytesInOutput": 7656 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es6.js": { + "bytesInOutput": 6723 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2016.js": { + "bytesInOutput": 361 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2017.js": { + "bytesInOutput": 585 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2018.js": { + "bytesInOutput": 1052 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2019.js": { + "bytesInOutput": 519 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2020.js": { + "bytesInOutput": 1353 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2021.js": { + "bytesInOutput": 361 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es2022.js": { + "bytesInOutput": 478 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/es-proposals.js": { + "bytesInOutput": 1781 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/jsx.js": { + "bytesInOutput": 3270 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/type-annotations.js": { + "bytesInOutput": 1260 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/flow.js": { + "bytesInOutput": 10735 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/esprima.js": { + "bytesInOutput": 1700 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/babel-core.js": { + "bytesInOutput": 7229 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/babel.js": { + "bytesInOutput": 576 + }, + "../node_modules/recast/node_modules/ast-types/lib/def/typescript.js": { + "bytesInOutput": 11941 + }, + "../node_modules/recast/node_modules/ast-types/lib/gen/namedTypes.js": { + "bytesInOutput": 183 + }, + "../node_modules/recast/node_modules/ast-types/lib/main.js": { + "bytesInOutput": 1863 + }, + "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js": { + "bytesInOutput": 310 + }, + "../node_modules/source-map/lib/base64.js": { + "bytesInOutput": 513 + }, + "../node_modules/source-map/lib/base64-vlq.js": { + "bytesInOutput": 828 + }, + "../node_modules/source-map/lib/util.js": { + "bytesInOutput": 4687 + }, + "../node_modules/source-map/lib/array-set.js": { + "bytesInOutput": 1425 + }, + "../node_modules/source-map/lib/mapping-list.js": { + "bytesInOutput": 793 + }, + "../node_modules/source-map/lib/source-map-generator.js": { + "bytesInOutput": 6180 + }, + "../node_modules/source-map/lib/binary-search.js": { + "bytesInOutput": 701 + }, + "../node_modules/source-map/lib/quick-sort.js": { + "bytesInOutput": 542 + }, + "../node_modules/source-map/lib/source-map-consumer.js": { + "bytesInOutput": 15757 + }, + "../node_modules/source-map/lib/source-node.js": { + "bytesInOutput": 5232 + }, + "../node_modules/source-map/source-map.js": { + "bytesInOutput": 160 + }, + "../node_modules/recast/lib/util.js": { + "bytesInOutput": 5822 + }, + "../node_modules/esprima/dist/esprima.js": { + "bytesInOutput": 215445 + }, + "../node_modules/recast/parsers/esprima.js": { + "bytesInOutput": 589 + }, + "../node_modules/recast/lib/options.js": { + "bytesInOutput": 1536 + }, + "../node_modules/recast/lib/mapping.js": { + "bytesInOutput": 4332 + }, + "../node_modules/recast/lib/lines.js": { + "bytesInOutput": 14568 + }, + "../node_modules/recast/lib/comments.js": { + "bytesInOutput": 5193 + }, + "../node_modules/recast/lib/parser.js": { + "bytesInOutput": 4247 + }, + "../node_modules/recast/lib/fast-path.js": { + "bytesInOutput": 9978 + }, + "../node_modules/recast/lib/patcher.js": { + "bytesInOutput": 7210 + }, + "../node_modules/recast/lib/printer.js": { + "bytesInOutput": 56696 + }, + "../node_modules/recast/main.js": { + "bytesInOutput": 1180 + }, + "src/csf-tools/index.ts": { + "bytesInOutput": 646 + }, + "src/csf-tools/CsfFile.ts": { + "bytesInOutput": 12904 + }, + "../node_modules/ts-dedent/esm/index.js": { + "bytesInOutput": 1014 + }, + "../node_modules/@storybook/csf/dist/index.mjs": { + "bytesInOutput": 3974 + }, + "src/csf-tools/babelParse.ts": { + "bytesInOutput": 655 + }, + "src/csf-tools/findVarInitialization.ts": { + "bytesInOutput": 385 + }, + "src/csf-tools/ConfigFile.ts": { + "bytesInOutput": 16236 + }, + "src/csf-tools/getStorySortParameter.ts": { + "bytesInOutput": 2809 + }, + "src/csf-tools/enrichCsf.ts": { + "bytesInOutput": 2705 + } + }, + "bytes": 1684645 + }, + "dist/common/index.cjs": { + "imports": [ + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "module", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "constants", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "crypto", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "crypto", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "crypto", + "kind": "require-call", + "external": true + }, + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:stream/web", + "kind": "require-call", + "external": true + }, + { + "path": "buffer", + "kind": "require-call", + "external": true + }, + { + "path": "worker_threads", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "child_process", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "buffer", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "child_process", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "zlib", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "readline", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "crypto", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "module", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "process", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "tty", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "module", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "process", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "module", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "v8", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "module", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "process", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "tty", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "process", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "module", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "v8", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "module", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/server-errors", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "module", + "kind": "require-call", + "external": true + }, + { + "path": "esbuild-register/dist/node", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "string_decoder", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/server-errors", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:url", + "kind": "require-call", + "external": true + }, + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:url", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:url", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:http", + "kind": "require-call", + "external": true + }, + { + "path": "node:https", + "kind": "require-call", + "external": true + }, + { + "path": "node:zlib", + "kind": "require-call", + "external": true + }, + { + "path": "node:stream", + "kind": "require-call", + "external": true + }, + { + "path": "node:buffer", + "kind": "require-call", + "external": true + }, + { + "path": "node:stream", + "kind": "require-call", + "external": true + }, + { + "path": "node:util", + "kind": "require-call", + "external": true + }, + { + "path": "node:buffer", + "kind": "require-call", + "external": true + }, + { + "path": "node:util", + "kind": "require-call", + "external": true + }, + { + "path": "node:http", + "kind": "require-call", + "external": true + }, + { + "path": "node:url", + "kind": "require-call", + "external": true + }, + { + "path": "node:util", + "kind": "require-call", + "external": true + }, + { + "path": "node:net", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/server-errors", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:os", + "kind": "require-call", + "external": true + }, + { + "path": "node:tty", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/server-errors", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/csf-tools", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/node-logger", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "node:url", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/server-errors", + "kind": "require-call", + "external": true + } + ], + "exports": [], + "entryPoint": "src/common/index.ts", + "inputs": { + "../node_modules/balanced-match/index.js": { + "bytesInOutput": 946 + }, + "../node_modules/brace-expansion/index.js": { + "bytesInOutput": 3160 + }, + "../node_modules/resolve-from/index.js": { + "bytesInOutput": 933 + }, + "../node_modules/universalify/index.js": { + "bytesInOutput": 703 + }, + "../node_modules/graceful-fs/polyfills.js": { + "bytesInOutput": 6227 + }, + "../node_modules/graceful-fs/legacy-streams.js": { + "bytesInOutput": 2211 + }, + "../node_modules/graceful-fs/clone.js": { + "bytesInOutput": 508 + }, + "../node_modules/graceful-fs/graceful-fs.js": { + "bytesInOutput": 7652 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/fs/index.js": { + "bytesInOutput": 2181 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/utils.js": { + "bytesInOutput": 324 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/make-dir.js": { + "bytesInOutput": 418 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js": { + "bytesInOutput": 293 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/path-exists/index.js": { + "bytesInOutput": 257 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/utimes.js": { + "bytesInOutput": 482 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/util/stat.js": { + "bytesInOutput": 3719 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/copy.js": { + "bytesInOutput": 4387 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/copy-sync.js": { + "bytesInOutput": 3321 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/index.js": { + "bytesInOutput": 145 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/remove/index.js": { + "bytesInOutput": 305 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/empty/index.js": { + "bytesInOutput": 652 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/file.js": { + "bytesInOutput": 1147 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/link.js": { + "bytesInOutput": 1277 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink-paths.js": { + "bytesInOutput": 1297 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink-type.js": { + "bytesInOutput": 613 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink.js": { + "bytesInOutput": 1660 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/index.js": { + "bytesInOutput": 560 + }, + "../node_modules/jsonfile/utils.js": { + "bytesInOutput": 371 + }, + "../node_modules/jsonfile/index.js": { + "bytesInOutput": 1353 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/jsonfile.js": { + "bytesInOutput": 246 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/output-file/index.js": { + "bytesInOutput": 745 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/output-json.js": { + "bytesInOutput": 221 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/output-json-sync.js": { + "bytesInOutput": 208 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/json/index.js": { + "bytesInOutput": 380 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/move/move.js": { + "bytesInOutput": 1312 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/move/move-sync.js": { + "bytesInOutput": 1076 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/move/index.js": { + "bytesInOutput": 145 + }, + "../node_modules/file-system-cache/node_modules/fs-extra/lib/index.js": { + "bytesInOutput": 279 + }, + "../node_modules/ramda/src/F.js": { + "bytesInOutput": 99 + }, + "../node_modules/ramda/src/T.js": { + "bytesInOutput": 99 + }, + "../node_modules/ramda/src/__.js": { + "bytesInOutput": 91 + }, + "../node_modules/ramda/src/internal/_isPlaceholder.js": { + "bytesInOutput": 164 + }, + "../node_modules/ramda/src/internal/_curry1.js": { + "bytesInOutput": 208 + }, + "../node_modules/ramda/src/internal/_curry2.js": { + "bytesInOutput": 535 + }, + "../node_modules/ramda/src/add.js": { + "bytesInOutput": 155 + }, + "../node_modules/ramda/src/internal/_concat.js": { + "bytesInOutput": 289 + }, + "../node_modules/ramda/src/internal/_arity.js": { + "bytesInOutput": 1424 + }, + "../node_modules/ramda/src/internal/_curryN.js": { + "bytesInOutput": 459 + }, + "../node_modules/ramda/src/curryN.js": { + "bytesInOutput": 210 + }, + "../node_modules/ramda/src/addIndex.js": { + "bytesInOutput": 447 + }, + "../node_modules/ramda/src/addIndexRight.js": { + "bytesInOutput": 458 + }, + "../node_modules/ramda/src/internal/_curry3.js": { + "bytesInOutput": 1159 + }, + "../node_modules/ramda/src/adjust.js": { + "bytesInOutput": 267 + }, + "../node_modules/ramda/src/internal/_isArray.js": { + "bytesInOutput": 181 + }, + "../node_modules/ramda/src/internal/_isTransformer.js": { + "bytesInOutput": 147 + }, + "../node_modules/ramda/src/internal/_dispatchable.js": { + "bytesInOutput": 645 + }, + "../node_modules/ramda/src/internal/_reduced.js": { + "bytesInOutput": 198 + }, + "../node_modules/ramda/src/internal/_xfBase.js": { + "bytesInOutput": 210 + }, + "../node_modules/ramda/src/internal/_xall.js": { + "bytesInOutput": 656 + }, + "../node_modules/ramda/src/all.js": { + "bytesInOutput": 315 + }, + "../node_modules/ramda/src/internal/_arrayFromIterator.js": { + "bytesInOutput": 163 + }, + "../node_modules/ramda/src/internal/_includesWith.js": { + "bytesInOutput": 205 + }, + "../node_modules/ramda/src/internal/_functionName.js": { + "bytesInOutput": 160 + }, + "../node_modules/ramda/src/internal/_has.js": { + "bytesInOutput": 135 + }, + "../node_modules/ramda/src/internal/_objectIs.js": { + "bytesInOutput": 196 + }, + "../node_modules/ramda/src/internal/_isArguments.js": { + "bytesInOutput": 330 + }, + "../node_modules/ramda/src/keys.js": { + "bytesInOutput": 1023 + }, + "../node_modules/ramda/src/type.js": { + "bytesInOutput": 228 + }, + "../node_modules/ramda/src/internal/_equals.js": { + "bytesInOutput": 2912 + }, + "../node_modules/ramda/src/equals.js": { + "bytesInOutput": 163 + }, + "../node_modules/ramda/src/internal/_indexOf.js": { + "bytesInOutput": 1005 + }, + "../node_modules/ramda/src/internal/_includes.js": { + "bytesInOutput": 130 + }, + "../node_modules/ramda/src/internal/_map.js": { + "bytesInOutput": 182 + }, + "../node_modules/ramda/src/internal/_quote.js": { + "bytesInOutput": 323 + }, + "../node_modules/ramda/src/internal/_toISOString.js": { + "bytesInOutput": 499 + }, + "../node_modules/ramda/src/internal/_complement.js": { + "bytesInOutput": 149 + }, + "../node_modules/ramda/src/internal/_arrayReduce.js": { + "bytesInOutput": 171 + }, + "../node_modules/ramda/src/internal/_filter.js": { + "bytesInOutput": 193 + }, + "../node_modules/ramda/src/internal/_isObject.js": { + "bytesInOutput": 146 + }, + "../node_modules/ramda/src/internal/_xfilter.js": { + "bytesInOutput": 490 + }, + "../node_modules/ramda/src/filter.js": { + "bytesInOutput": 423 + }, + "../node_modules/ramda/src/reject.js": { + "bytesInOutput": 174 + }, + "../node_modules/ramda/src/internal/_toString.js": { + "bytesInOutput": 1727 + }, + "../node_modules/ramda/src/toString.js": { + "bytesInOutput": 154 + }, + "../node_modules/ramda/src/max.js": { + "bytesInOutput": 487 + }, + "../node_modules/ramda/src/internal/_xmap.js": { + "bytesInOutput": 483 + }, + "../node_modules/ramda/src/map.js": { + "bytesInOutput": 649 + }, + "../node_modules/ramda/src/internal/_isInteger.js": { + "bytesInOutput": 113 + }, + "../node_modules/ramda/src/internal/_isString.js": { + "bytesInOutput": 146 + }, + "../node_modules/ramda/src/nth.js": { + "bytesInOutput": 212 + }, + "../node_modules/ramda/src/prop.js": { + "bytesInOutput": 206 + }, + "../node_modules/ramda/src/pluck.js": { + "bytesInOutput": 173 + }, + "../node_modules/ramda/src/internal/_isArrayLike.js": { + "bytesInOutput": 314 + }, + "../node_modules/ramda/src/internal/_createReduce.js": { + "bytesInOutput": 665 + }, + "../node_modules/ramda/src/internal/_xArrayReduce.js": { + "bytesInOutput": 330 + }, + "../node_modules/ramda/src/bind.js": { + "bytesInOutput": 215 + }, + "../node_modules/ramda/src/internal/_xReduce.js": { + "bytesInOutput": 538 + }, + "../node_modules/ramda/src/internal/_xwrap.js": { + "bytesInOutput": 478 + }, + "../node_modules/ramda/src/reduce.js": { + "bytesInOutput": 208 + }, + "../node_modules/ramda/src/allPass.js": { + "bytesInOutput": 386 + }, + "../node_modules/ramda/src/always.js": { + "bytesInOutput": 165 + }, + "../node_modules/ramda/src/and.js": { + "bytesInOutput": 140 + }, + "../node_modules/ramda/src/internal/_xany.js": { + "bytesInOutput": 656 + }, + "../node_modules/ramda/src/any.js": { + "bytesInOutput": 314 + }, + "../node_modules/ramda/src/anyPass.js": { + "bytesInOutput": 385 + }, + "../node_modules/ramda/src/internal/_reduce.js": { + "bytesInOutput": 311 + }, + "../node_modules/ramda/src/ap.js": { + "bytesInOutput": 421 + }, + "../node_modules/ramda/src/internal/_aperture.js": { + "bytesInOutput": 241 + }, + "../node_modules/ramda/src/internal/_xaperture.js": { + "bytesInOutput": 956 + }, + "../node_modules/ramda/src/aperture.js": { + "bytesInOutput": 180 + }, + "../node_modules/ramda/src/append.js": { + "bytesInOutput": 157 + }, + "../node_modules/ramda/src/apply.js": { + "bytesInOutput": 150 + }, + "../node_modules/ramda/src/values.js": { + "bytesInOutput": 237 + }, + "../node_modules/ramda/src/applySpec.js": { + "bytesInOutput": 607 + }, + "../node_modules/ramda/src/applyTo.js": { + "bytesInOutput": 138 + }, + "../node_modules/ramda/src/ascend.js": { + "bytesInOutput": 191 + }, + "../node_modules/ramda/src/internal/_assoc.js": { + "bytesInOutput": 283 + }, + "../node_modules/ramda/src/isNil.js": { + "bytesInOutput": 140 + }, + "../node_modules/ramda/src/assocPath.js": { + "bytesInOutput": 435 + }, + "../node_modules/ramda/src/assoc.js": { + "bytesInOutput": 164 + }, + "../node_modules/ramda/src/nAry.js": { + "bytesInOutput": 1496 + }, + "../node_modules/ramda/src/binary.js": { + "bytesInOutput": 153 + }, + "../node_modules/ramda/src/internal/_isFunction.js": { + "bytesInOutput": 280 + }, + "../node_modules/ramda/src/liftN.js": { + "bytesInOutput": 320 + }, + "../node_modules/ramda/src/lift.js": { + "bytesInOutput": 160 + }, + "../node_modules/ramda/src/both.js": { + "bytesInOutput": 284 + }, + "../node_modules/ramda/src/call.js": { + "bytesInOutput": 186 + }, + "../node_modules/ramda/src/internal/_makeFlat.js": { + "bytesInOutput": 410 + }, + "../node_modules/ramda/src/internal/_forceReduced.js": { + "bytesInOutput": 162 + }, + "../node_modules/ramda/src/internal/_flatCat.js": { + "bytesInOutput": 826 + }, + "../node_modules/ramda/src/internal/_xchain.js": { + "bytesInOutput": 171 + }, + "../node_modules/ramda/src/chain.js": { + "bytesInOutput": 349 + }, + "../node_modules/ramda/src/clamp.js": { + "bytesInOutput": 262 + }, + "../node_modules/ramda/src/internal/_cloneRegExp.js": { + "bytesInOutput": 286 + }, + "../node_modules/ramda/src/internal/_clone.js": { + "bytesInOutput": 2059 + }, + "../node_modules/ramda/src/clone.js": { + "bytesInOutput": 210 + }, + "../node_modules/ramda/src/collectBy.js": { + "bytesInOutput": 327 + }, + "../node_modules/ramda/src/comparator.js": { + "bytesInOutput": 198 + }, + "../node_modules/ramda/src/not.js": { + "bytesInOutput": 133 + }, + "../node_modules/ramda/src/complement.js": { + "bytesInOutput": 118 + }, + "../node_modules/ramda/src/internal/_pipe.js": { + "bytesInOutput": 165 + }, + "../node_modules/ramda/src/internal/_checkForMethod.js": { + "bytesInOutput": 375 + }, + "../node_modules/ramda/src/slice.js": { + "bytesInOutput": 226 + }, + "../node_modules/ramda/src/tail.js": { + "bytesInOutput": 210 + }, + "../node_modules/ramda/src/pipe.js": { + "bytesInOutput": 304 + }, + "../node_modules/ramda/src/reverse.js": { + "bytesInOutput": 228 + }, + "../node_modules/ramda/src/compose.js": { + "bytesInOutput": 250 + }, + "../node_modules/ramda/src/head.js": { + "bytesInOutput": 103 + }, + "../node_modules/ramda/src/internal/_identity.js": { + "bytesInOutput": 92 + }, + "../node_modules/ramda/src/identity.js": { + "bytesInOutput": 117 + }, + "../node_modules/ramda/src/pipeWith.js": { + "bytesInOutput": 412 + }, + "../node_modules/ramda/src/composeWith.js": { + "bytesInOutput": 188 + }, + "../node_modules/ramda/src/concat.js": { + "bytesInOutput": 675 + }, + "../node_modules/ramda/src/cond.js": { + "bytesInOutput": 443 + }, + "../node_modules/ramda/src/curry.js": { + "bytesInOutput": 159 + }, + "../node_modules/ramda/src/constructN.js": { + "bytesInOutput": 951 + }, + "../node_modules/ramda/src/construct.js": { + "bytesInOutput": 160 + }, + "../node_modules/ramda/src/converge.js": { + "bytesInOutput": 372 + }, + "../node_modules/ramda/src/count.js": { + "bytesInOutput": 212 + }, + "../node_modules/ramda/src/internal/_xreduceBy.js": { + "bytesInOutput": 996 + }, + "../node_modules/ramda/src/reduceBy.js": { + "bytesInOutput": 479 + }, + "../node_modules/ramda/src/countBy.js": { + "bytesInOutput": 143 + }, + "../node_modules/ramda/src/dec.js": { + "bytesInOutput": 104 + }, + "../node_modules/ramda/src/defaultTo.js": { + "bytesInOutput": 162 + }, + "../node_modules/ramda/src/descend.js": { + "bytesInOutput": 191 + }, + "../node_modules/ramda/src/internal/_Set.js": { + "bytesInOutput": 1805 + }, + "../node_modules/ramda/src/difference.js": { + "bytesInOutput": 331 + }, + "../node_modules/ramda/src/differenceWith.js": { + "bytesInOutput": 270 + }, + "../node_modules/ramda/src/remove.js": { + "bytesInOutput": 200 + }, + "../node_modules/ramda/src/internal/_dissoc.js": { + "bytesInOutput": 296 + }, + "../node_modules/ramda/src/dissocPath.js": { + "bytesInOutput": 610 + }, + "../node_modules/ramda/src/dissoc.js": { + "bytesInOutput": 158 + }, + "../node_modules/ramda/src/divide.js": { + "bytesInOutput": 139 + }, + "../node_modules/ramda/src/internal/_xdrop.js": { + "bytesInOutput": 506 + }, + "../node_modules/ramda/src/drop.js": { + "bytesInOutput": 248 + }, + "../node_modules/ramda/src/internal/_xtake.js": { + "bytesInOutput": 596 + }, + "../node_modules/ramda/src/take.js": { + "bytesInOutput": 247 + }, + "../node_modules/ramda/src/internal/_dropLast.js": { + "bytesInOutput": 152 + }, + "../node_modules/ramda/src/internal/_xdropLast.js": { + "bytesInOutput": 831 + }, + "../node_modules/ramda/src/dropLast.js": { + "bytesInOutput": 180 + }, + "../node_modules/ramda/src/internal/_dropLastWhile.js": { + "bytesInOutput": 194 + }, + "../node_modules/ramda/src/internal/_xdropLastWhile.js": { + "bytesInOutput": 833 + }, + "../node_modules/ramda/src/dropLastWhile.js": { + "bytesInOutput": 180 + }, + "../node_modules/ramda/src/internal/_xdropRepeatsWith.js": { + "bytesInOutput": 667 + }, + "../node_modules/ramda/src/last.js": { + "bytesInOutput": 104 + }, + "../node_modules/ramda/src/dropRepeatsWith.js": { + "bytesInOutput": 367 + }, + "../node_modules/ramda/src/dropRepeats.js": { + "bytesInOutput": 279 + }, + "../node_modules/ramda/src/eqBy.js": { + "bytesInOutput": 164 + }, + "../node_modules/ramda/src/dropRepeatsBy.js": { + "bytesInOutput": 254 + }, + "../node_modules/ramda/src/internal/_xdropWhile.js": { + "bytesInOutput": 568 + }, + "../node_modules/ramda/src/dropWhile.js": { + "bytesInOutput": 312 + }, + "../node_modules/ramda/src/or.js": { + "bytesInOutput": 140 + }, + "../node_modules/ramda/src/either.js": { + "bytesInOutput": 284 + }, + "../node_modules/ramda/src/internal/_isTypedArray.js": { + "bytesInOutput": 500 + }, + "../node_modules/ramda/src/empty.js": { + "bytesInOutput": 749 + }, + "../node_modules/ramda/src/takeLast.js": { + "bytesInOutput": 180 + }, + "../node_modules/ramda/src/endsWith.js": { + "bytesInOutput": 183 + }, + "../node_modules/ramda/src/eqProps.js": { + "bytesInOutput": 164 + }, + "../node_modules/ramda/src/evolve.js": { + "bytesInOutput": 381 + }, + "../node_modules/ramda/src/internal/_xfind.js": { + "bytesInOutput": 665 + }, + "../node_modules/ramda/src/find.js": { + "bytesInOutput": 307 + }, + "../node_modules/ramda/src/internal/_xfindIndex.js": { + "bytesInOutput": 698 + }, + "../node_modules/ramda/src/findIndex.js": { + "bytesInOutput": 315 + }, + "../node_modules/ramda/src/internal/_xfindLast.js": { + "bytesInOutput": 569 + }, + "../node_modules/ramda/src/findLast.js": { + "bytesInOutput": 299 + }, + "../node_modules/ramda/src/internal/_xfindLastIndex.js": { + "bytesInOutput": 631 + }, + "../node_modules/ramda/src/findLastIndex.js": { + "bytesInOutput": 313 + }, + "../node_modules/ramda/src/flatten.js": { + "bytesInOutput": 145 + }, + "../node_modules/ramda/src/flip.js": { + "bytesInOutput": 287 + }, + "../node_modules/ramda/src/forEach.js": { + "bytesInOutput": 262 + }, + "../node_modules/ramda/src/forEachObjIndexed.js": { + "bytesInOutput": 252 + }, + "../node_modules/ramda/src/fromPairs.js": { + "bytesInOutput": 212 + }, + "../node_modules/ramda/src/groupBy.js": { + "bytesInOutput": 263 + }, + "../node_modules/ramda/src/groupWith.js": { + "bytesInOutput": 302 + }, + "../node_modules/ramda/src/gt.js": { + "bytesInOutput": 139 + }, + "../node_modules/ramda/src/gte.js": { + "bytesInOutput": 140 + }, + "../node_modules/ramda/src/hasPath.js": { + "bytesInOutput": 349 + }, + "../node_modules/ramda/src/has.js": { + "bytesInOutput": 158 + }, + "../node_modules/ramda/src/hasIn.js": { + "bytesInOutput": 167 + }, + "../node_modules/ramda/src/identical.js": { + "bytesInOutput": 490 + }, + "../node_modules/ramda/src/ifElse.js": { + "bytesInOutput": 305 + }, + "../node_modules/ramda/src/inc.js": { + "bytesInOutput": 103 + }, + "../node_modules/ramda/src/includes.js": { + "bytesInOutput": 117 + }, + "../node_modules/ramda/src/indexBy.js": { + "bytesInOutput": 142 + }, + "../node_modules/ramda/src/indexOf.js": { + "bytesInOutput": 230 + }, + "../node_modules/ramda/src/init.js": { + "bytesInOutput": 106 + }, + "../node_modules/ramda/src/innerJoin.js": { + "bytesInOutput": 217 + }, + "../node_modules/ramda/src/insert.js": { + "bytesInOutput": 250 + }, + "../node_modules/ramda/src/insertAll.js": { + "bytesInOutput": 263 + }, + "../node_modules/ramda/src/internal/_xuniqBy.js": { + "bytesInOutput": 539 + }, + "../node_modules/ramda/src/uniqBy.js": { + "bytesInOutput": 341 + }, + "../node_modules/ramda/src/uniq.js": { + "bytesInOutput": 118 + }, + "../node_modules/ramda/src/intersection.js": { + "bytesInOutput": 275 + }, + "../node_modules/ramda/src/intersperse.js": { + "bytesInOutput": 311 + }, + "../node_modules/ramda/src/internal/_objectAssign.js": { + "bytesInOutput": 455 + }, + "../node_modules/ramda/src/objOf.js": { + "bytesInOutput": 161 + }, + "../node_modules/ramda/src/internal/_stepCat.js": { + "bytesInOutput": 845 + }, + "../node_modules/ramda/src/into.js": { + "bytesInOutput": 247 + }, + "../node_modules/ramda/src/invert.js": { + "bytesInOutput": 322 + }, + "../node_modules/ramda/src/invertObj.js": { + "bytesInOutput": 262 + }, + "../node_modules/ramda/src/invoker.js": { + "bytesInOutput": 420 + }, + "../node_modules/ramda/src/is.js": { + "bytesInOutput": 233 + }, + "../node_modules/ramda/src/isEmpty.js": { + "bytesInOutput": 183 + }, + "../node_modules/ramda/src/isNotNil.js": { + "bytesInOutput": 151 + }, + "../node_modules/ramda/src/join.js": { + "bytesInOutput": 111 + }, + "../node_modules/ramda/src/juxt.js": { + "bytesInOutput": 225 + }, + "../node_modules/ramda/src/keysIn.js": { + "bytesInOutput": 191 + }, + "../node_modules/ramda/src/lastIndexOf.js": { + "bytesInOutput": 351 + }, + "../node_modules/ramda/src/internal/_isNumber.js": { + "bytesInOutput": 146 + }, + "../node_modules/ramda/src/length.js": { + "bytesInOutput": 187 + }, + "../node_modules/ramda/src/lens.js": { + "bytesInOutput": 281 + }, + "../node_modules/ramda/src/update.js": { + "bytesInOutput": 180 + }, + "../node_modules/ramda/src/lensIndex.js": { + "bytesInOutput": 189 + }, + "../node_modules/ramda/src/paths.js": { + "bytesInOutput": 358 + }, + "../node_modules/ramda/src/path.js": { + "bytesInOutput": 161 + }, + "../node_modules/ramda/src/lensPath.js": { + "bytesInOutput": 189 + }, + "../node_modules/ramda/src/lensProp.js": { + "bytesInOutput": 189 + }, + "../node_modules/ramda/src/lt.js": { + "bytesInOutput": 139 + }, + "../node_modules/ramda/src/lte.js": { + "bytesInOutput": 140 + }, + "../node_modules/ramda/src/mapAccum.js": { + "bytesInOutput": 252 + }, + "../node_modules/ramda/src/mapAccumRight.js": { + "bytesInOutput": 250 + }, + "../node_modules/ramda/src/mapObjIndexed.js": { + "bytesInOutput": 236 + }, + "../node_modules/ramda/src/match.js": { + "bytesInOutput": 150 + }, + "../node_modules/ramda/src/mathMod.js": { + "bytesInOutput": 202 + }, + "../node_modules/ramda/src/maxBy.js": { + "bytesInOutput": 194 + }, + "../node_modules/ramda/src/sum.js": { + "bytesInOutput": 120 + }, + "../node_modules/ramda/src/mean.js": { + "bytesInOutput": 161 + }, + "../node_modules/ramda/src/median.js": { + "bytesInOutput": 364 + }, + "../node_modules/ramda/src/memoizeWith.js": { + "bytesInOutput": 314 + }, + "../node_modules/ramda/src/mergeAll.js": { + "bytesInOutput": 175 + }, + "../node_modules/ramda/src/mergeWithKey.js": { + "bytesInOutput": 346 + }, + "../node_modules/ramda/src/mergeDeepWithKey.js": { + "bytesInOutput": 258 + }, + "../node_modules/ramda/src/mergeDeepLeft.js": { + "bytesInOutput": 199 + }, + "../node_modules/ramda/src/mergeDeepRight.js": { + "bytesInOutput": 199 + }, + "../node_modules/ramda/src/mergeDeepWith.js": { + "bytesInOutput": 208 + }, + "../node_modules/ramda/src/mergeLeft.js": { + "bytesInOutput": 160 + }, + "../node_modules/ramda/src/mergeRight.js": { + "bytesInOutput": 160 + }, + "../node_modules/ramda/src/mergeWith.js": { + "bytesInOutput": 208 + }, + "../node_modules/ramda/src/min.js": { + "bytesInOutput": 490 + }, + "../node_modules/ramda/src/minBy.js": { + "bytesInOutput": 194 + }, + "../node_modules/ramda/src/internal/_modify.js": { + "bytesInOutput": 295 + }, + "../node_modules/ramda/src/modifyPath.js": { + "bytesInOutput": 456 + }, + "../node_modules/ramda/src/modify.js": { + "bytesInOutput": 164 + }, + "../node_modules/ramda/src/modulo.js": { + "bytesInOutput": 139 + }, + "../node_modules/ramda/src/move.js": { + "bytesInOutput": 358 + }, + "../node_modules/ramda/src/multiply.js": { + "bytesInOutput": 139 + }, + "../node_modules/ramda/src/partialObject.js": { + "bytesInOutput": 153 + }, + "../node_modules/ramda/src/negate.js": { + "bytesInOutput": 133 + }, + "../node_modules/ramda/src/none.js": { + "bytesInOutput": 174 + }, + "../node_modules/ramda/src/nthArg.js": { + "bytesInOutput": 245 + }, + "../node_modules/ramda/src/o.js": { + "bytesInOutput": 144 + }, + "../node_modules/ramda/src/of.js": { + "bytesInOutput": 245 + }, + "../node_modules/ramda/src/omit.js": { + "bytesInOutput": 286 + }, + "../node_modules/ramda/src/on.js": { + "bytesInOutput": 161 + }, + "../node_modules/ramda/src/once.js": { + "bytesInOutput": 256 + }, + "../node_modules/ramda/src/internal/_assertPromise.js": { + "bytesInOutput": 233 + }, + "../node_modules/ramda/src/otherwise.js": { + "bytesInOutput": 183 + }, + "../node_modules/ramda/src/over.js": { + "bytesInOutput": 312 + }, + "../node_modules/ramda/src/pair.js": { + "bytesInOutput": 140 + }, + "../node_modules/ramda/src/internal/_createPartialApplicator.js": { + "bytesInOutput": 269 + }, + "../node_modules/ramda/src/partial.js": { + "bytesInOutput": 117 + }, + "../node_modules/ramda/src/partialRight.js": { + "bytesInOutput": 159 + }, + "../node_modules/ramda/src/partition.js": { + "bytesInOutput": 138 + }, + "../node_modules/ramda/src/pathEq.js": { + "bytesInOutput": 179 + }, + "../node_modules/ramda/src/pathOr.js": { + "bytesInOutput": 180 + }, + "../node_modules/ramda/src/pathSatisfies.js": { + "bytesInOutput": 162 + }, + "../node_modules/ramda/src/pick.js": { + "bytesInOutput": 227 + }, + "../node_modules/ramda/src/pickAll.js": { + "bytesInOutput": 241 + }, + "../node_modules/ramda/src/pickBy.js": { + "bytesInOutput": 210 + }, + "../node_modules/ramda/src/prepend.js": { + "bytesInOutput": 157 + }, + "../node_modules/ramda/src/product.js": { + "bytesInOutput": 120 + }, + "../node_modules/ramda/src/useWith.js": { + "bytesInOutput": 367 + }, + "../node_modules/ramda/src/project.js": { + "bytesInOutput": 156 + }, + "../node_modules/ramda/src/internal/_promap.js": { + "bytesInOutput": 141 + }, + "../node_modules/ramda/src/internal/_xpromap.js": { + "bytesInOutput": 529 + }, + "../node_modules/ramda/src/promap.js": { + "bytesInOutput": 211 + }, + "../node_modules/ramda/src/propEq.js": { + "bytesInOutput": 179 + }, + "../node_modules/ramda/src/propIs.js": { + "bytesInOutput": 180 + }, + "../node_modules/ramda/src/propOr.js": { + "bytesInOutput": 180 + }, + "../node_modules/ramda/src/propSatisfies.js": { + "bytesInOutput": 162 + }, + "../node_modules/ramda/src/props.js": { + "bytesInOutput": 199 + }, + "../node_modules/ramda/src/range.js": { + "bytesInOutput": 309 + }, + "../node_modules/ramda/src/reduceRight.js": { + "bytesInOutput": 321 + }, + "../node_modules/ramda/src/reduceWhile.js": { + "bytesInOutput": 280 + }, + "../node_modules/ramda/src/reduced.js": { + "bytesInOutput": 116 + }, + "../node_modules/ramda/src/times.js": { + "bytesInOutput": 312 + }, + "../node_modules/ramda/src/repeat.js": { + "bytesInOutput": 174 + }, + "../node_modules/ramda/src/replace.js": { + "bytesInOutput": 152 + }, + "../node_modules/ramda/src/internal/_xscan.js": { + "bytesInOutput": 642 + }, + "../node_modules/ramda/src/scan.js": { + "bytesInOutput": 305 + }, + "../node_modules/ramda/src/sequence.js": { + "bytesInOutput": 573 + }, + "../node_modules/ramda/src/set.js": { + "bytesInOutput": 180 + }, + "../node_modules/ramda/src/sort.js": { + "bytesInOutput": 174 + }, + "../node_modules/ramda/src/sortBy.js": { + "bytesInOutput": 266 + }, + "../node_modules/ramda/src/sortWith.js": { + "bytesInOutput": 299 + }, + "../node_modules/ramda/src/split.js": { + "bytesInOutput": 112 + }, + "../node_modules/ramda/src/splitAt.js": { + "bytesInOutput": 192 + }, + "../node_modules/ramda/src/splitEvery.js": { + "bytesInOutput": 322 + }, + "../node_modules/ramda/src/splitWhen.js": { + "bytesInOutput": 262 + }, + "../node_modules/ramda/src/splitWhenever.js": { + "bytesInOutput": 331 + }, + "../node_modules/ramda/src/startsWith.js": { + "bytesInOutput": 183 + }, + "../node_modules/ramda/src/subtract.js": { + "bytesInOutput": 155 + }, + "../node_modules/ramda/src/swap.js": { + "bytesInOutput": 855 + }, + "../node_modules/ramda/src/symmetricDifference.js": { + "bytesInOutput": 185 + }, + "../node_modules/ramda/src/symmetricDifferenceWith.js": { + "bytesInOutput": 194 + }, + "../node_modules/ramda/src/takeLastWhile.js": { + "bytesInOutput": 232 + }, + "../node_modules/ramda/src/internal/_xtakeWhile.js": { + "bytesInOutput": 507 + }, + "../node_modules/ramda/src/takeWhile.js": { + "bytesInOutput": 308 + }, + "../node_modules/ramda/src/internal/_xtap.js": { + "bytesInOutput": 485 + }, + "../node_modules/ramda/src/tap.js": { + "bytesInOutput": 208 + }, + "../node_modules/ramda/src/internal/_isRegExp.js": { + "bytesInOutput": 146 + }, + "../node_modules/ramda/src/test.js": { + "bytesInOutput": 325 + }, + "../node_modules/ramda/src/andThen.js": { + "bytesInOutput": 175 + }, + "../node_modules/ramda/src/toLower.js": { + "bytesInOutput": 118 + }, + "../node_modules/ramda/src/toPairs.js": { + "bytesInOutput": 227 + }, + "../node_modules/ramda/src/toPairsIn.js": { + "bytesInOutput": 200 + }, + "../node_modules/ramda/src/toUpper.js": { + "bytesInOutput": 118 + }, + "../node_modules/ramda/src/transduce.js": { + "bytesInOutput": 218 + }, + "../node_modules/ramda/src/transpose.js": { + "bytesInOutput": 313 + }, + "../node_modules/ramda/src/traverse.js": { + "bytesInOutput": 479 + }, + "../node_modules/ramda/src/trim.js": { + "bytesInOutput": 575 + }, + "../node_modules/ramda/src/tryCatch.js": { + "bytesInOutput": 323 + }, + "../node_modules/ramda/src/unapply.js": { + "bytesInOutput": 207 + }, + "../node_modules/ramda/src/unary.js": { + "bytesInOutput": 153 + }, + "../node_modules/ramda/src/uncurryN.js": { + "bytesInOutput": 397 + }, + "../node_modules/ramda/src/unfold.js": { + "bytesInOutput": 222 + }, + "../node_modules/ramda/src/union.js": { + "bytesInOutput": 176 + }, + "../node_modules/ramda/src/internal/_xuniqWith.js": { + "bytesInOutput": 565 + }, + "../node_modules/ramda/src/uniqWith.js": { + "bytesInOutput": 332 + }, + "../node_modules/ramda/src/unionWith.js": { + "bytesInOutput": 179 + }, + "../node_modules/ramda/src/unless.js": { + "bytesInOutput": 152 + }, + "../node_modules/ramda/src/unnest.js": { + "bytesInOutput": 118 + }, + "../node_modules/ramda/src/until.js": { + "bytesInOutput": 183 + }, + "../node_modules/ramda/src/unwind.js": { + "bytesInOutput": 257 + }, + "../node_modules/ramda/src/valuesIn.js": { + "bytesInOutput": 194 + }, + "../node_modules/ramda/src/view.js": { + "bytesInOutput": 278 + }, + "../node_modules/ramda/src/when.js": { + "bytesInOutput": 152 + }, + "../node_modules/ramda/src/where.js": { + "bytesInOutput": 224 + }, + "../node_modules/ramda/src/whereAny.js": { + "bytesInOutput": 223 + }, + "../node_modules/ramda/src/whereEq.js": { + "bytesInOutput": 190 + }, + "../node_modules/ramda/src/without.js": { + "bytesInOutput": 257 + }, + "../node_modules/ramda/src/xor.js": { + "bytesInOutput": 145 + }, + "../node_modules/ramda/src/xprod.js": { + "bytesInOutput": 296 + }, + "../node_modules/ramda/src/zip.js": { + "bytesInOutput": 241 + }, + "../node_modules/ramda/src/zipObj.js": { + "bytesInOutput": 236 + }, + "../node_modules/ramda/src/zipWith.js": { + "bytesInOutput": 245 + }, + "../node_modules/ramda/src/thunkify.js": { + "bytesInOutput": 269 + }, + "../node_modules/ramda/src/index.js": { + "bytesInOutput": 7937 + }, + "../node_modules/file-system-cache/lib/common/libs.js": { + "bytesInOutput": 1322 + }, + "../node_modules/file-system-cache/lib/common/util.js": { + "bytesInOutput": 3119 + }, + "../node_modules/file-system-cache/lib/common/const.hashes.js": { + "bytesInOutput": 1267 + }, + "../node_modules/file-system-cache/lib/common/index.js": { + "bytesInOutput": 1225 + }, + "../node_modules/file-system-cache/lib/FileSystemCache.js": { + "bytesInOutput": 3904 + }, + "../node_modules/file-system-cache/lib/index.js": { + "bytesInOutput": 455 + }, + "../node_modules/common-path-prefix/index.js": { + "bytesInOutput": 628 + }, + "../node_modules/fs-extra/lib/fs/index.js": { + "bytesInOutput": 2180 + }, + "../node_modules/fs-extra/lib/mkdirs/utils.js": { + "bytesInOutput": 324 + }, + "../node_modules/fs-extra/lib/mkdirs/make-dir.js": { + "bytesInOutput": 417 + }, + "../node_modules/fs-extra/lib/mkdirs/index.js": { + "bytesInOutput": 293 + }, + "../node_modules/fs-extra/lib/path-exists/index.js": { + "bytesInOutput": 256 + }, + "../node_modules/fs-extra/lib/util/utimes.js": { + "bytesInOutput": 546 + }, + "../node_modules/fs-extra/lib/util/stat.js": { + "bytesInOutput": 3767 + }, + "../node_modules/fs-extra/lib/copy/copy.js": { + "bytesInOutput": 3119 + }, + "../node_modules/fs-extra/lib/copy/copy-sync.js": { + "bytesInOutput": 3321 + }, + "../node_modules/fs-extra/lib/copy/index.js": { + "bytesInOutput": 144 + }, + "../node_modules/fs-extra/lib/remove/index.js": { + "bytesInOutput": 305 + }, + "../node_modules/fs-extra/lib/empty/index.js": { + "bytesInOutput": 651 + }, + "../node_modules/fs-extra/lib/ensure/file.js": { + "bytesInOutput": 1021 + }, + "../node_modules/fs-extra/lib/ensure/link.js": { + "bytesInOutput": 1008 + }, + "../node_modules/fs-extra/lib/ensure/symlink-paths.js": { + "bytesInOutput": 1317 + }, + "../node_modules/fs-extra/lib/ensure/symlink-type.js": { + "bytesInOutput": 562 + }, + "../node_modules/fs-extra/lib/ensure/symlink.js": { + "bytesInOutput": 1215 + }, + "../node_modules/fs-extra/lib/ensure/index.js": { + "bytesInOutput": 560 + }, + "../node_modules/fs-extra/lib/json/jsonfile.js": { + "bytesInOutput": 246 + }, + "../node_modules/fs-extra/lib/output-file/index.js": { + "bytesInOutput": 499 + }, + "../node_modules/fs-extra/lib/json/output-json.js": { + "bytesInOutput": 221 + }, + "../node_modules/fs-extra/lib/json/output-json-sync.js": { + "bytesInOutput": 208 + }, + "../node_modules/fs-extra/lib/json/index.js": { + "bytesInOutput": 380 + }, + "../node_modules/fs-extra/lib/move/move.js": { + "bytesInOutput": 1001 + }, + "../node_modules/fs-extra/lib/move/move-sync.js": { + "bytesInOutput": 1076 + }, + "../node_modules/fs-extra/lib/move/index.js": { + "bytesInOutput": 144 + }, + "../node_modules/fs-extra/lib/index.js": { + "bytesInOutput": 278 + }, + "../node_modules/crypto-random-string/index.js": { + "bytesInOutput": 268 + }, + "../node_modules/unique-string/index.js": { + "bytesInOutput": 99 + }, + "../node_modules/temp-dir/index.js": { + "bytesInOutput": 277 + }, + "../node_modules/is-stream/index.js": { + "bytesInOutput": 529 + }, + "../node_modules/array-union/index.js": { + "bytesInOutput": 106 + }, + "../node_modules/merge2/index.js": { + "bytesInOutput": 1978 + }, + "../node_modules/fast-glob/out/utils/array.js": { + "bytesInOutput": 396 + }, + "../node_modules/fast-glob/out/utils/errno.js": { + "bytesInOutput": 224 + }, + "../node_modules/fast-glob/out/utils/fs.js": { + "bytesInOutput": 608 + }, + "../node_modules/fast-glob/out/utils/path.js": { + "bytesInOutput": 1390 + }, + "../node_modules/is-extglob/index.js": { + "bytesInOutput": 283 + }, + "../node_modules/is-glob/index.js": { + "bytesInOutput": 1942 + }, + "../node_modules/glob-parent/index.js": { + "bytesInOutput": 578 + }, + "../node_modules/braces/lib/utils.js": { + "bytesInOutput": 1366 + }, + "../node_modules/braces/lib/stringify.js": { + "bytesInOutput": 496 + }, + "../node_modules/to-regex-range/node_modules/is-number/index.js": { + "bytesInOutput": 237 + }, + "../node_modules/to-regex-range/index.js": { + "bytesInOutput": 4084 + }, + "../node_modules/fill-range/index.js": { + "bytesInOutput": 4041 + }, + "../node_modules/braces/lib/compile.js": { + "bytesInOutput": 1002 + }, + "../node_modules/braces/lib/expand.js": { + "bytesInOutput": 2162 + }, + "../node_modules/braces/lib/constants.js": { + "bytesInOutput": 1890 + }, + "../node_modules/braces/lib/parse.js": { + "bytesInOutput": 5208 + }, + "../node_modules/braces/index.js": { + "bytesInOutput": 981 + }, + "../node_modules/picomatch/lib/constants.js": { + "bytesInOutput": 4338 + }, + "../node_modules/picomatch/lib/utils.js": { + "bytesInOutput": 1387 + }, + "../node_modules/picomatch/lib/scan.js": { + "bytesInOutput": 5687 + }, + "../node_modules/picomatch/lib/parse.js": { + "bytesInOutput": 18832 + }, + "../node_modules/picomatch/lib/picomatch.js": { + "bytesInOutput": 3169 + }, + "../node_modules/picomatch/index.js": { + "bytesInOutput": 72 + }, + "../node_modules/micromatch/index.js": { + "bytesInOutput": 3572 + }, + "../node_modules/fast-glob/out/utils/pattern.js": { + "bytesInOutput": 3630 + }, + "../node_modules/fast-glob/out/utils/stream.js": { + "bytesInOutput": 421 + }, + "../node_modules/fast-glob/out/utils/string.js": { + "bytesInOutput": 287 + }, + "../node_modules/fast-glob/out/utils/index.js": { + "bytesInOutput": 447 + }, + "../node_modules/fast-glob/out/managers/tasks.js": { + "bytesInOutput": 2145 + }, + "../node_modules/@nodelib/fs.stat/out/providers/async.js": { + "bytesInOutput": 751 + }, + "../node_modules/@nodelib/fs.stat/out/providers/sync.js": { + "bytesInOutput": 483 + }, + "../node_modules/@nodelib/fs.stat/out/adapters/fs.js": { + "bytesInOutput": 505 + }, + "../node_modules/@nodelib/fs.stat/out/settings.js": { + "bytesInOutput": 599 + }, + "../node_modules/@nodelib/fs.stat/out/index.js": { + "bytesInOutput": 575 + }, + "../node_modules/queue-microtask/index.js": { + "bytesInOutput": 267 + }, + "../node_modules/run-parallel/index.js": { + "bytesInOutput": 613 + }, + "../node_modules/@nodelib/fs.scandir/out/constants.js": { + "bytesInOutput": 575 + }, + "../node_modules/@nodelib/fs.scandir/out/utils/fs.js": { + "bytesInOutput": 608 + }, + "../node_modules/@nodelib/fs.scandir/out/utils/index.js": { + "bytesInOutput": 157 + }, + "../node_modules/@nodelib/fs.scandir/out/providers/common.js": { + "bytesInOutput": 242 + }, + "../node_modules/@nodelib/fs.scandir/out/providers/async.js": { + "bytesInOutput": 2280 + }, + "../node_modules/@nodelib/fs.scandir/out/providers/sync.js": { + "bytesInOutput": 1270 + }, + "../node_modules/@nodelib/fs.scandir/out/adapters/fs.js": { + "bytesInOutput": 565 + }, + "../node_modules/@nodelib/fs.scandir/out/settings.js": { + "bytesInOutput": 913 + }, + "../node_modules/@nodelib/fs.scandir/out/index.js": { + "bytesInOutput": 587 + }, + "../node_modules/reusify/reusify.js": { + "bytesInOutput": 341 + }, + "../node_modules/fastq/queue.js": { + "bytesInOutput": 3535 + }, + "../node_modules/@nodelib/fs.walk/out/readers/common.js": { + "bytesInOutput": 627 + }, + "../node_modules/@nodelib/fs.walk/out/readers/reader.js": { + "bytesInOutput": 307 + }, + "../node_modules/@nodelib/fs.walk/out/readers/async.js": { + "bytesInOutput": 2335 + }, + "../node_modules/@nodelib/fs.walk/out/providers/async.js": { + "bytesInOutput": 639 + }, + "../node_modules/@nodelib/fs.walk/out/providers/stream.js": { + "bytesInOutput": 803 + }, + "../node_modules/@nodelib/fs.walk/out/readers/sync.js": { + "bytesInOutput": 1444 + }, + "../node_modules/@nodelib/fs.walk/out/providers/sync.js": { + "bytesInOutput": 347 + }, + "../node_modules/@nodelib/fs.walk/out/settings.js": { + "bytesInOutput": 1089 + }, + "../node_modules/@nodelib/fs.walk/out/index.js": { + "bytesInOutput": 745 + }, + "../node_modules/fast-glob/out/readers/reader.js": { + "bytesInOutput": 858 + }, + "../node_modules/fast-glob/out/readers/stream.js": { + "bytesInOutput": 1130 + }, + "../node_modules/fast-glob/out/readers/async.js": { + "bytesInOutput": 726 + }, + "../node_modules/fast-glob/out/providers/matchers/matcher.js": { + "bytesInOutput": 1083 + }, + "../node_modules/fast-glob/out/providers/matchers/partial.js": { + "bytesInOutput": 614 + }, + "../node_modules/fast-glob/out/providers/filters/deep.js": { + "bytesInOutput": 1582 + }, + "../node_modules/fast-glob/out/providers/filters/entry.js": { + "bytesInOutput": 1708 + }, + "../node_modules/fast-glob/out/providers/filters/error.js": { + "bytesInOutput": 395 + }, + "../node_modules/fast-glob/out/providers/transformers/entry.js": { + "bytesInOutput": 609 + }, + "../node_modules/fast-glob/out/providers/provider.js": { + "bytesInOutput": 1698 + }, + "../node_modules/fast-glob/out/providers/async.js": { + "bytesInOutput": 576 + }, + "../node_modules/fast-glob/out/providers/stream.js": { + "bytesInOutput": 802 + }, + "../node_modules/fast-glob/out/readers/sync.js": { + "bytesInOutput": 893 + }, + "../node_modules/fast-glob/out/providers/sync.js": { + "bytesInOutput": 552 + }, + "../node_modules/fast-glob/out/settings.js": { + "bytesInOutput": 2299 + }, + "../node_modules/fast-glob/out/index.js": { + "bytesInOutput": 2102 + }, + "../node_modules/path-type/index.js": { + "bytesInOutput": 996 + }, + "../node_modules/dir-glob/index.js": { + "bytesInOutput": 1684 + }, + "../node_modules/ignore/index.js": { + "bytesInOutput": 9620 + }, + "../node_modules/del/node_modules/slash/index.js": { + "bytesInOutput": 192 + }, + "../node_modules/del/node_modules/globby/gitignore.js": { + "bytesInOutput": 1885 + }, + "../node_modules/del/node_modules/globby/stream-utils.js": { + "bytesInOutput": 651 + }, + "../node_modules/del/node_modules/globby/index.js": { + "bytesInOutput": 3048 + }, + "../node_modules/is-path-cwd/index.js": { + "bytesInOutput": 251 + }, + "../node_modules/is-path-inside/index.js": { + "bytesInOutput": 232 + }, + "../node_modules/fs.realpath/old.js": { + "bytesInOutput": 3668 + }, + "../node_modules/fs.realpath/index.js": { + "bytesInOutput": 988 + }, + "../node_modules/concat-map/index.js": { + "bytesInOutput": 328 + }, + "../node_modules/minimatch/node_modules/brace-expansion/index.js": { + "bytesInOutput": 2970 + }, + "../node_modules/minimatch/minimatch.js": { + "bytesInOutput": 11990 + }, + "../node_modules/inherits/inherits_browser.js": { + "bytesInOutput": 499 + }, + "../node_modules/path-is-absolute/index.js": { + "bytesInOutput": 418 + }, + "../node_modules/rimraf/node_modules/glob/common.js": { + "bytesInOutput": 4200 + }, + "../node_modules/rimraf/node_modules/glob/sync.js": { + "bytesInOutput": 7803 + }, + "../node_modules/wrappy/wrappy.js": { + "bytesInOutput": 585 + }, + "../node_modules/once/once.js": { + "bytesInOutput": 928 + }, + "../node_modules/inflight/inflight.js": { + "bytesInOutput": 691 + }, + "../node_modules/rimraf/node_modules/glob/glob.js": { + "bytesInOutput": 11854 + }, + "../node_modules/rimraf/rimraf.js": { + "bytesInOutput": 5616 + }, + "../node_modules/indent-string/index.js": { + "bytesInOutput": 724 + }, + "../node_modules/clean-stack/index.js": { + "bytesInOutput": 763 + }, + "../node_modules/aggregate-error/index.js": { + "bytesInOutput": 803 + }, + "../node_modules/p-map/index.js": { + "bytesInOutput": 1025 + }, + "../node_modules/del/index.js": { + "bytesInOutput": 2147 + }, + "../node_modules/tempy/index.js": { + "bytesInOutput": 1609 + }, + "../node_modules/app-root-dir/lib/index.js": { + "bytesInOutput": 591 + }, + "../node_modules/dotenv/package.json": { + "bytesInOutput": 1749 + }, + "../node_modules/dotenv/lib/main.js": { + "bytesInOutput": 5285 + }, + "../node_modules/dotenv-expand/lib/main.js": { + "bytesInOutput": 961 + }, + "../node_modules/web-streams-polyfill/dist/ponyfill.es2018.js": { + "bytesInOutput": 91964 + }, + "../node_modules/fetch-blob/streams.cjs": { + "bytesInOutput": 819 + }, + "../node_modules/fetch-blob/index.js": { + "bytesInOutput": 5284 + }, + "../node_modules/fetch-blob/file.js": { + "bytesInOutput": 941 + }, + "../node_modules/formdata-polyfill/esm.min.js": { + "bytesInOutput": 2867 + }, + "../node_modules/node-domexception/index.js": { + "bytesInOutput": 365 + }, + "../node_modules/fetch-blob/from.js": { + "bytesInOutput": 173 + }, + "../node_modules/node-fetch/src/utils/multipart-parser.js": { + "bytesInOutput": 7052 + }, + "../node_modules/handlebars/dist/cjs/handlebars/utils.js": { + "bytesInOutput": 1759 + }, + "../node_modules/handlebars/dist/cjs/handlebars/exception.js": { + "bytesInOutput": 996 + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js": { + "bytesInOutput": 669 + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/each.js": { + "bytesInOutput": 1622 + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js": { + "bytesInOutput": 435 + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/if.js": { + "bytesInOutput": 816 + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/log.js": { + "bytesInOutput": 467 + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js": { + "bytesInOutput": 237 + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers/with.js": { + "bytesInOutput": 791 + }, + "../node_modules/handlebars/dist/cjs/handlebars/helpers.js": { + "bytesInOutput": 666 + }, + "../node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js": { + "bytesInOutput": 484 + }, + "../node_modules/handlebars/dist/cjs/handlebars/decorators.js": { + "bytesInOutput": 260 + }, + "../node_modules/handlebars/dist/cjs/handlebars/logger.js": { + "bytesInOutput": 901 + }, + "../node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js": { + "bytesInOutput": 324 + }, + "../node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js": { + "bytesInOutput": 1636 + }, + "../node_modules/handlebars/dist/cjs/handlebars/base.js": { + "bytesInOutput": 2446 + }, + "../node_modules/handlebars/dist/cjs/handlebars/safe-string.js": { + "bytesInOutput": 264 + }, + "../node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js": { + "bytesInOutput": 338 + }, + "../node_modules/handlebars/dist/cjs/handlebars/runtime.js": { + "bytesInOutput": 7551 + }, + "../node_modules/handlebars/dist/cjs/handlebars/no-conflict.js": { + "bytesInOutput": 515 + }, + "../node_modules/handlebars/dist/cjs/handlebars.runtime.js": { + "bytesInOutput": 979 + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js": { + "bytesInOutput": 887 + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js": { + "bytesInOutput": 39493 + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js": { + "bytesInOutput": 2711 + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js": { + "bytesInOutput": 3549 + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js": { + "bytesInOutput": 3750 + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/base.js": { + "bytesInOutput": 929 + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js": { + "bytesInOutput": 10374 + }, + "../node_modules/source-map/lib/base64.js": { + "bytesInOutput": 521 + }, + "../node_modules/source-map/lib/base64-vlq.js": { + "bytesInOutput": 850 + }, + "../node_modules/source-map/lib/util.js": { + "bytesInOutput": 4728 + }, + "../node_modules/source-map/lib/array-set.js": { + "bytesInOutput": 1456 + }, + "../node_modules/source-map/lib/mapping-list.js": { + "bytesInOutput": 806 + }, + "../node_modules/source-map/lib/source-map-generator.js": { + "bytesInOutput": 6199 + }, + "../node_modules/source-map/lib/binary-search.js": { + "bytesInOutput": 715 + }, + "../node_modules/source-map/lib/quick-sort.js": { + "bytesInOutput": 554 + }, + "../node_modules/source-map/lib/source-map-consumer.js": { + "bytesInOutput": 15788 + }, + "../node_modules/source-map/lib/source-node.js": { + "bytesInOutput": 5250 + }, + "../node_modules/source-map/source-map.js": { + "bytesInOutput": 169 + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js": { + "bytesInOutput": 2898 + }, + "../node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js": { + "bytesInOutput": 24853 + }, + "../node_modules/handlebars/dist/cjs/handlebars.js": { + "bytesInOutput": 903 + }, + "../node_modules/isexe/windows.js": { + "bytesInOutput": 704 + }, + "../node_modules/isexe/mode.js": { + "bytesInOutput": 708 + }, + "../node_modules/isexe/index.js": { + "bytesInOutput": 826 + }, + "../node_modules/cross-spawn/node_modules/which/which.js": { + "bytesInOutput": 2321 + }, + "../node_modules/path-key/index.js": { + "bytesInOutput": 307 + }, + "../node_modules/cross-spawn/lib/util/resolveCommand.js": { + "bytesInOutput": 720 + }, + "../node_modules/cross-spawn/lib/util/escape.js": { + "bytesInOutput": 415 + }, + "../node_modules/shebang-regex/index.js": { + "bytesInOutput": 76 + }, + "../node_modules/shebang-command/index.js": { + "bytesInOutput": 288 + }, + "../node_modules/cross-spawn/lib/util/readShebang.js": { + "bytesInOutput": 309 + }, + "../node_modules/cross-spawn/lib/parse.js": { + "bytesInOutput": 1207 + }, + "../node_modules/cross-spawn/lib/enoent.js": { + "bytesInOutput": 918 + }, + "../node_modules/cross-spawn/index.js": { + "bytesInOutput": 562 + }, + "../node_modules/semver/internal/debug.js": { + "bytesInOutput": 240 + }, + "../node_modules/semver/internal/constants.js": { + "bytesInOutput": 515 + }, + "../node_modules/semver/internal/re.js": { + "bytesInOutput": 3993 + }, + "../node_modules/semver/internal/parse-options.js": { + "bytesInOutput": 176 + }, + "../node_modules/semver/internal/identifiers.js": { + "bytesInOutput": 328 + }, + "../node_modules/semver/classes/semver.js": { + "bytesInOutput": 5754 + }, + "../node_modules/semver/functions/compare-build.js": { + "bytesInOutput": 190 + }, + "../node_modules/semver/functions/sort.js": { + "bytesInOutput": 121 + }, + "../node_modules/semver/functions/parse.js": { + "bytesInOutput": 257 + }, + "../node_modules/semver/functions/valid.js": { + "bytesInOutput": 152 + }, + "../node_modules/semver/functions/clean.js": { + "bytesInOutput": 181 + }, + "../node_modules/semver/functions/inc.js": { + "bytesInOutput": 313 + }, + "../node_modules/semver/functions/diff.js": { + "bytesInOutput": 571 + }, + "../node_modules/semver/functions/major.js": { + "bytesInOutput": 109 + }, + "../node_modules/semver/functions/minor.js": { + "bytesInOutput": 109 + }, + "../node_modules/semver/functions/patch.js": { + "bytesInOutput": 109 + }, + "../node_modules/semver/functions/prerelease.js": { + "bytesInOutput": 178 + }, + "../node_modules/semver/functions/compare.js": { + "bytesInOutput": 128 + }, + "../node_modules/semver/functions/rcompare.js": { + "bytesInOutput": 105 + }, + "../node_modules/semver/functions/compare-loose.js": { + "bytesInOutput": 103 + }, + "../node_modules/semver/functions/rsort.js": { + "bytesInOutput": 121 + }, + "../node_modules/semver/functions/gt.js": { + "bytesInOutput": 109 + }, + "../node_modules/semver/functions/lt.js": { + "bytesInOutput": 109 + }, + "../node_modules/semver/functions/eq.js": { + "bytesInOutput": 111 + }, + "../node_modules/semver/functions/neq.js": { + "bytesInOutput": 111 + }, + "../node_modules/semver/functions/gte.js": { + "bytesInOutput": 110 + }, + "../node_modules/semver/functions/lte.js": { + "bytesInOutput": 110 + }, + "../node_modules/semver/functions/cmp.js": { + "bytesInOutput": 813 + }, + "../node_modules/semver/functions/coerce.js": { + "bytesInOutput": 976 + }, + "../node_modules/yallist/iterator.js": { + "bytesInOutput": 209 + }, + "../node_modules/yallist/yallist.js": { + "bytesInOutput": 6506 + }, + "../node_modules/semver/node_modules/lru-cache/index.js": { + "bytesInOutput": 5498 + }, + "../node_modules/semver/classes/range.js": { + "bytesInOutput": 7095 + }, + "../node_modules/semver/classes/comparator.js": { + "bytesInOutput": 2355 + }, + "../node_modules/semver/functions/satisfies.js": { + "bytesInOutput": 192 + }, + "../node_modules/semver/ranges/to-comparators.js": { + "bytesInOutput": 169 + }, + "../node_modules/semver/ranges/max-satisfying.js": { + "bytesInOutput": 341 + }, + "../node_modules/semver/ranges/min-satisfying.js": { + "bytesInOutput": 340 + }, + "../node_modules/semver/ranges/min-version.js": { + "bytesInOutput": 899 + }, + "../node_modules/semver/ranges/valid.js": { + "bytesInOutput": 185 + }, + "../node_modules/semver/ranges/outside.js": { + "bytesInOutput": 1077 + }, + "../node_modules/semver/ranges/gtr.js": { + "bytesInOutput": 111 + }, + "../node_modules/semver/ranges/ltr.js": { + "bytesInOutput": 111 + }, + "../node_modules/semver/ranges/intersects.js": { + "bytesInOutput": 151 + }, + "../node_modules/semver/ranges/simplify.js": { + "bytesInOutput": 608 + }, + "../node_modules/semver/ranges/subset.js": { + "bytesInOutput": 3289 + }, + "../node_modules/semver/index.js": { + "bytesInOutput": 1504 + }, + "../node_modules/execa/node_modules/strip-final-newline/index.js": { + "bytesInOutput": 290 + }, + "../node_modules/npm-run-path/index.js": { + "bytesInOutput": 722 + }, + "../node_modules/mimic-fn/index.js": { + "bytesInOutput": 254 + }, + "../node_modules/onetime/index.js": { + "bytesInOutput": 775 + }, + "../node_modules/execa/node_modules/human-signals/build/src/core.js": { + "bytesInOutput": 5913 + }, + "../node_modules/execa/node_modules/human-signals/build/src/realtime.js": { + "bytesInOutput": 545 + }, + "../node_modules/execa/node_modules/human-signals/build/src/signals.js": { + "bytesInOutput": 637 + }, + "../node_modules/execa/node_modules/human-signals/build/src/main.js": { + "bytesInOutput": 1303 + }, + "../node_modules/execa/lib/error.js": { + "bytesInOutput": 1456 + }, + "../node_modules/execa/lib/stdio.js": { + "bytesInOutput": 902 + }, + "../node_modules/signal-exit/signals.js": { + "bytesInOutput": 530 + }, + "../node_modules/signal-exit/index.js": { + "bytesInOutput": 2851 + }, + "../node_modules/execa/lib/kill.js": { + "bytesInOutput": 1836 + }, + "../node_modules/execa/node_modules/get-stream/buffer-stream.js": { + "bytesInOutput": 567 + }, + "../node_modules/execa/node_modules/get-stream/index.js": { + "bytesInOutput": 1109 + }, + "../node_modules/merge-stream/index.js": { + "bytesInOutput": 697 + }, + "../node_modules/execa/lib/stream.js": { + "bytesInOutput": 1480 + }, + "../node_modules/execa/lib/promise.js": { + "bytesInOutput": 733 + }, + "../node_modules/execa/lib/command.js": { + "bytesInOutput": 648 + }, + "../node_modules/execa/index.js": { + "bytesInOutput": 5024 + }, + "../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js": { + "bytesInOutput": 8739 + }, + "../node_modules/@yarnpkg/fslib/lib/constants.js": { + "bytesInOutput": 291 + }, + "../node_modules/@yarnpkg/fslib/lib/statUtils.js": { + "bytesInOutput": 4803 + }, + "../node_modules/@yarnpkg/fslib/lib/path.js": { + "bytesInOutput": 2324 + }, + "../node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js": { + "bytesInOutput": 4535 + }, + "../node_modules/@yarnpkg/fslib/lib/errors.js": { + "bytesInOutput": 1699 + }, + "../node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js": { + "bytesInOutput": 1333 + }, + "../node_modules/@yarnpkg/fslib/lib/FakeFS.js": { + "bytesInOutput": 9329 + }, + "../node_modules/@yarnpkg/fslib/lib/NodeFS.js": { + "bytesInOutput": 12114 + }, + "../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.js": { + "bytesInOutput": 3399 + }, + "../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js": { + "bytesInOutput": 1291 + }, + "../node_modules/@yarnpkg/fslib/lib/ZipFS.js": { + "bytesInOutput": 33528 + }, + "../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js": { + "bytesInOutput": 7807 + }, + "../node_modules/@yarnpkg/fslib/lib/AliasFS.js": { + "bytesInOutput": 500 + }, + "../node_modules/@yarnpkg/fslib/lib/CwdFS.js": { + "bytesInOutput": 780 + }, + "../node_modules/@yarnpkg/fslib/lib/JailFS.js": { + "bytesInOutput": 1146 + }, + "../node_modules/@yarnpkg/fslib/lib/LazyFS.js": { + "bytesInOutput": 531 + }, + "../node_modules/@yarnpkg/fslib/lib/NoFS.js": { + "bytesInOutput": 3622 + }, + "../node_modules/@yarnpkg/fslib/lib/PosixFS.js": { + "bytesInOutput": 426 + }, + "../node_modules/@yarnpkg/fslib/lib/VirtualFS.js": { + "bytesInOutput": 2449 + }, + "../node_modules/@yarnpkg/fslib/lib/ZipOpenFS.js": { + "bytesInOutput": 23422 + }, + "../node_modules/@yarnpkg/fslib/lib/NodePathFS.js": { + "bytesInOutput": 932 + }, + "../node_modules/@yarnpkg/fslib/lib/patchFs/FileHandle.js": { + "bytesInOutput": 5624 + }, + "../node_modules/@yarnpkg/fslib/lib/patchFs/patchFs.js": { + "bytesInOutput": 5025 + }, + "../node_modules/@yarnpkg/fslib/lib/xfs.js": { + "bytesInOutput": 2403 + }, + "../node_modules/@yarnpkg/fslib/lib/index.js": { + "bytesInOutput": 3768 + }, + "../node_modules/@yarnpkg/libzip/node_modules/tslib/tslib.es6.js": { + "bytesInOutput": 8742 + }, + "../node_modules/@yarnpkg/libzip/lib/libzipAsync.js": { + "bytesInOutput": 340891 + }, + "../node_modules/@yarnpkg/libzip/lib/makeInterface.js": { + "bytesInOutput": 6723 + }, + "../node_modules/@yarnpkg/libzip/lib/async.js": { + "bytesInOutput": 545 + }, + "../node_modules/prettier/doc.mjs": { + "bytesInOutput": 36771 + }, + "../node_modules/prettier/plugins/acorn.mjs": { + "bytesInOutput": 188232 + }, + "../node_modules/prettier/plugins/angular.mjs": { + "bytesInOutput": 58214 + }, + "../node_modules/prettier/plugins/babel.mjs": { + "bytesInOutput": 421078 + }, + "../node_modules/prettier/plugins/estree.mjs": { + "bytesInOutput": 245243 + }, + "../node_modules/prettier/plugins/flow.mjs": { + "bytesInOutput": 1372040 + }, + "../node_modules/prettier/plugins/glimmer.mjs": { + "bytesInOutput": 175084 + }, + "../node_modules/prettier/plugins/graphql.mjs": { + "bytesInOutput": 56400 + }, + "../node_modules/prettier/plugins/html.mjs": { + "bytesInOutput": 181175 + }, + "../node_modules/prettier/plugins/markdown.mjs": { + "bytesInOutput": 204497 + }, + "../node_modules/prettier/plugins/meriyah.mjs": { + "bytesInOutput": 161741 + }, + "../node_modules/prettier/plugins/postcss.mjs": { + "bytesInOutput": 220119 + }, + "../node_modules/prettier/plugins/typescript.mjs": { + "bytesInOutput": 1491128 + }, + "../node_modules/prettier/plugins/yaml.mjs": { + "bytesInOutput": 179848 + }, + "../node_modules/prettier/index.mjs": { + "bytesInOutput": 594629 + }, + "../node_modules/prettier/doc.js": { + "bytesInOutput": 41647 + }, + "../node_modules/prettier/index.cjs": { + "bytesInOutput": 26449 + }, + "../node_modules/prettier-fallback/doc.mjs": { + "bytesInOutput": 36771 + }, + "../node_modules/prettier-fallback/plugins/acorn.mjs": { + "bytesInOutput": 188431 + }, + "../node_modules/prettier-fallback/plugins/angular.mjs": { + "bytesInOutput": 58242 + }, + "../node_modules/prettier-fallback/plugins/babel.mjs": { + "bytesInOutput": 419519 + }, + "../node_modules/prettier-fallback/plugins/estree.mjs": { + "bytesInOutput": 246018 + }, + "../node_modules/prettier-fallback/plugins/flow.mjs": { + "bytesInOutput": 1372125 + }, + "../node_modules/prettier-fallback/plugins/glimmer.mjs": { + "bytesInOutput": 176410 + }, + "../node_modules/prettier-fallback/plugins/graphql.mjs": { + "bytesInOutput": 56375 + }, + "../node_modules/prettier-fallback/plugins/html.mjs": { + "bytesInOutput": 182590 + }, + "../node_modules/prettier-fallback/plugins/markdown.mjs": { + "bytesInOutput": 204426 + }, + "../node_modules/prettier-fallback/plugins/meriyah.mjs": { + "bytesInOutput": 161826 + }, + "../node_modules/prettier-fallback/plugins/postcss.mjs": { + "bytesInOutput": 218769 + }, + "../node_modules/prettier-fallback/plugins/typescript.mjs": { + "bytesInOutput": 1488460 + }, + "../node_modules/prettier-fallback/plugins/yaml.mjs": { + "bytesInOutput": 179848 + }, + "../node_modules/prettier-fallback/index.mjs": { + "bytesInOutput": 578845 + }, + "../node_modules/prettier-fallback/doc.js": { + "bytesInOutput": 41647 + }, + "../node_modules/prettier-fallback/index.cjs": { + "bytesInOutput": 26449 + }, + "src/common/index.ts": { + "bytesInOutput": 2285 + }, + "../node_modules/ts-dedent/esm/index.js": { + "bytesInOutput": 1014 + }, + "src/common/presets.ts": { + "bytesInOutput": 5603 + }, + "src/common/utils/load-custom-presets.ts": { + "bytesInOutput": 279 + }, + "src/common/utils/interpret-files.ts": { + "bytesInOutput": 451 + }, + "src/common/utils/interpret-require.ts": { + "bytesInOutput": 992 + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/index.js": { + "bytesInOutput": 17276 + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js": { + "bytesInOutput": 166 + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js": { + "bytesInOutput": 2293 + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js": { + "bytesInOutput": 172 + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/ast.js": { + "bytesInOutput": 11935 + }, + "../node_modules/glob/node_modules/minimatch/dist/mjs/escape.js": { + "bytesInOutput": 129 + }, + "../node_modules/lru-cache/dist/esm/index.js": { + "bytesInOutput": 27800 + }, + "../node_modules/path-scurry/dist/mjs/index.js": { + "bytesInOutput": 37290 + }, + "../node_modules/minipass/dist/esm/index.js": { + "bytesInOutput": 20590 + }, + "../node_modules/glob/dist/esm/glob.js": { + "bytesInOutput": 5186 + }, + "../node_modules/glob/dist/esm/pattern.js": { + "bytesInOutput": 4147 + }, + "../node_modules/glob/dist/esm/ignore.js": { + "bytesInOutput": 1629 + }, + "../node_modules/glob/dist/esm/processor.js": { + "bytesInOutput": 4655 + }, + "../node_modules/glob/dist/esm/walker.js": { + "bytesInOutput": 6432 + }, + "../node_modules/glob/dist/esm/has-magic.js": { + "bytesInOutput": 145 + }, + "../node_modules/glob/dist/esm/index.js": { + "bytesInOutput": 852 + }, + "src/common/utils/validate-configuration-files.ts": { + "bytesInOutput": 573 + }, + "../node_modules/slash/index.js": { + "bytesInOutput": 82 + }, + "src/common/utils/safeResolve.ts": { + "bytesInOutput": 201 + }, + "src/common/utils/strip-abs-node-modules-path.ts": { + "bytesInOutput": 209 + }, + "src/common/utils/file-cache.ts": { + "bytesInOutput": 88 + }, + "src/common/utils/resolve-path-in-sb-cache.ts": { + "bytesInOutput": 210 + }, + "../node_modules/find-cache-dir/index.js": { + "bytesInOutput": 1073 + }, + "../node_modules/find-cache-dir/node_modules/pkg-dir/index.js": { + "bytesInOutput": 154 + }, + "../node_modules/find-cache-dir/node_modules/find-up/index.js": { + "bytesInOutput": 773 + }, + "../node_modules/locate-path/index.js": { + "bytesInOutput": 1217 + }, + "../node_modules/yocto-queue/index.js": { + "bytesInOutput": 600 + }, + "../node_modules/locate-path/node_modules/p-limit/index.js": { + "bytesInOutput": 818 + }, + "../node_modules/locate-path/node_modules/p-locate/index.js": { + "bytesInOutput": 582 + }, + "../node_modules/find-cache-dir/node_modules/path-exists/index.js": { + "bytesInOutput": 37 + }, + "src/common/utils/cache.ts": { + "bytesInOutput": 116 + }, + "src/common/utils/cli.ts": { + "bytesInOutput": 1065 + }, + "src/common/utils/get-storybook-info.ts": { + "bytesInOutput": 2757 + }, + "src/common/utils/get-storybook-configuration.ts": { + "bytesInOutput": 171 + }, + "src/common/versions.ts": { + "bytesInOutput": 3677 + }, + "src/common/utils/check-addon-order.ts": { + "bytesInOutput": 1016 + }, + "../node_modules/lazy-universal-dotenv/lib/index.mjs": { + "bytesInOutput": 940 + }, + "src/common/utils/paths.ts": { + "bytesInOutput": 991 + }, + "node_modules/find-up/index.js": { + "bytesInOutput": 1379 + }, + "../node_modules/unicorn-magic/node.js": { + "bytesInOutput": 110 + }, + "node_modules/path-exists/index.js": { + "bytesInOutput": 37 + }, + "src/common/utils/envs.ts": { + "bytesInOutput": 1206 + }, + "src/common/utils/common-glob-options.ts": { + "bytesInOutput": 94 + }, + "src/common/utils/framework-to-renderer.ts": { + "bytesInOutput": 734 + }, + "src/common/utils/get-builder-options.ts": { + "bytesInOutput": 283 + }, + "src/common/utils/normalize-path.ts": { + "bytesInOutput": 120 + }, + "src/common/utils/get-framework-name.ts": { + "bytesInOutput": 428 + }, + "src/common/utils/get-renderer-name.ts": { + "bytesInOutput": 208 + }, + "src/common/utils/get-storybook-refs.ts": { + "bytesInOutput": 2226 + }, + "../node_modules/node-fetch/src/index.js": { + "bytesInOutput": 6536 + }, + "../node_modules/data-uri-to-buffer/dist/index.js": { + "bytesInOutput": 744 + }, + "../node_modules/node-fetch/src/body.js": { + "bytesInOutput": 5592 + }, + "../node_modules/node-fetch/src/errors/base.js": { + "bytesInOutput": 261 + }, + "../node_modules/node-fetch/src/errors/fetch-error.js": { + "bytesInOutput": 353 + }, + "../node_modules/node-fetch/src/utils/is.js": { + "bytesInOutput": 835 + }, + "../node_modules/node-fetch/src/headers.js": { + "bytesInOutput": 4433 + }, + "../node_modules/node-fetch/src/utils/is-redirect.js": { + "bytesInOutput": 87 + }, + "../node_modules/node-fetch/src/response.js": { + "bytesInOutput": 2692 + }, + "../node_modules/node-fetch/src/request.js": { + "bytesInOutput": 4696 + }, + "../node_modules/node-fetch/src/utils/get-search.js": { + "bytesInOutput": 184 + }, + "../node_modules/node-fetch/src/utils/referrer.js": { + "bytesInOutput": 2338 + }, + "../node_modules/node-fetch/src/errors/abort-error.js": { + "bytesInOutput": 88 + }, + "src/common/utils/glob-to-regexp.ts": { + "bytesInOutput": 350 + }, + "src/common/utils/HandledError.ts": { + "bytesInOutput": 138 + }, + "src/common/utils/handlebars.ts": { + "bytesInOutput": 83 + }, + "src/common/utils/interpolate.ts": { + "bytesInOutput": 176 + }, + "src/common/utils/load-main-config.ts": { + "bytesInOutput": 1016 + }, + "src/common/utils/load-manager-or-addons-file.ts": { + "bytesInOutput": 499 + }, + "src/common/utils/load-preview-or-config-file.ts": { + "bytesInOutput": 383 + }, + "node_modules/chalk/source/vendor/ansi-styles/index.js": { + "bytesInOutput": 4077 + }, + "node_modules/chalk/source/vendor/supports-color/index.js": { + "bytesInOutput": 2581 + }, + "node_modules/chalk/source/utilities.js": { + "bytesInOutput": 470 + }, + "node_modules/chalk/source/index.js": { + "bytesInOutput": 2869 + }, + "src/common/utils/log.ts": { + "bytesInOutput": 799 + }, + "src/common/utils/log-config.ts": { + "bytesInOutput": 83 + }, + "src/common/utils/normalize-stories.ts": { + "bytesInOutput": 1491 + }, + "src/common/utils/readTemplate.ts": { + "bytesInOutput": 112 + }, + "src/common/utils/remove.ts": { + "bytesInOutput": 794 + }, + "src/common/js-package-manager/JsPackageManagerFactory.ts": { + "bytesInOutput": 2126 + }, + "src/common/js-package-manager/NPMProxy.ts": { + "bytesInOutput": 5874 + }, + "src/common/js-package-manager/JsPackageManager.ts": { + "bytesInOutput": 10549 + }, + "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js": { + "bytesInOutput": 236 + }, + "src/common/js-package-manager/PNPMProxy.ts": { + "bytesInOutput": 4828 + }, + "src/common/js-package-manager/Yarn2Proxy.ts": { + "bytesInOutput": 6517 + }, + "src/common/js-package-manager/util.ts": { + "bytesInOutput": 202 + }, + "src/common/js-package-manager/Yarn1Proxy.ts": { + "bytesInOutput": 3844 + }, + "src/common/js-package-manager/index.ts": { + "bytesInOutput": 0 + }, + "src/common/utils/symlinks.ts": { + "bytesInOutput": 139 + }, + "src/common/utils/template.ts": { + "bytesInOutput": 775 + }, + "../node_modules/pkg-dir/index.js": { + "bytesInOutput": 154 + }, + "../node_modules/find-up-simple/index.js": { + "bytesInOutput": 787 + }, + "src/common/utils/validate-config.ts": { + "bytesInOutput": 591 + }, + "src/common/utils/satisfies.ts": { + "bytesInOutput": 38 + }, + "src/common/utils/formatter.ts": { + "bytesInOutput": 1385 + } + }, + "bytes": 12845801 + }, + "dist/telemetry/index.cjs": { + "imports": [ + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "url", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "child_process", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "events", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "buffer", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "child_process", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "constants", + "kind": "require-call", + "external": true + }, + { + "path": "stream", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "assert", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "fs", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:stream/web", + "kind": "require-call", + "external": true + }, + { + "path": "buffer", + "kind": "require-call", + "external": true + }, + { + "path": "worker_threads", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "node:url", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs", + "kind": "require-call", + "external": true + }, + { + "path": "node:fs/promises", + "kind": "require-call", + "external": true + }, + { + "path": "node:path", + "kind": "require-call", + "external": true + }, + { + "path": "node:url", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/common", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/csf-tools", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/common", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/common", + "kind": "require-call", + "external": true + }, + { + "path": "os", + "kind": "require-call", + "external": true + }, + { + "path": "node:http", + "kind": "require-call", + "external": true + }, + { + "path": "node:https", + "kind": "require-call", + "external": true + }, + { + "path": "node:zlib", + "kind": "require-call", + "external": true + }, + { + "path": "node:stream", + "kind": "require-call", + "external": true + }, + { + "path": "node:buffer", + "kind": "require-call", + "external": true + }, + { + "path": "node:stream", + "kind": "require-call", + "external": true + }, + { + "path": "node:util", + "kind": "require-call", + "external": true + }, + { + "path": "node:buffer", + "kind": "require-call", + "external": true + }, + { + "path": "node:util", + "kind": "require-call", + "external": true + }, + { + "path": "node:http", + "kind": "require-call", + "external": true + }, + { + "path": "node:url", + "kind": "require-call", + "external": true + }, + { + "path": "node:util", + "kind": "require-call", + "external": true + }, + { + "path": "node:net", + "kind": "require-call", + "external": true + }, + { + "path": "path", + "kind": "require-call", + "external": true + }, + { + "path": "child_process", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/common", + "kind": "require-call", + "external": true + }, + { + "path": "crypto", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/common", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/common", + "kind": "require-call", + "external": true + }, + { + "path": "node:process", + "kind": "require-call", + "external": true + }, + { + "path": "node:os", + "kind": "require-call", + "external": true + }, + { + "path": "node:tty", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/common", + "kind": "require-call", + "external": true + } + ], + "exports": [], + "entryPoint": "src/telemetry/index.ts", + "inputs": { + "../node_modules/js-tokens/index.js": { + "bytesInOutput": 1121 + }, + "../node_modules/@babel/helper-validator-identifier/lib/identifier.js": { + "bytesInOutput": 11402 + }, + "../node_modules/@babel/helper-validator-identifier/lib/keyword.js": { + "bytesInOutput": 1125 + }, + "../node_modules/@babel/helper-validator-identifier/lib/index.js": { + "bytesInOutput": 1269 + }, + "../node_modules/picocolors/picocolors.browser.js": { + "bytesInOutput": 444 + }, + "../node_modules/escape-string-regexp/index.js": { + "bytesInOutput": 225 + }, + "../node_modules/@babel/highlight/node_modules/color-name/index.js": { + "bytesInOutput": 4644 + }, + "../node_modules/@babel/highlight/node_modules/color-convert/conversions.js": { + "bytesInOutput": 13227 + }, + "../node_modules/@babel/highlight/node_modules/color-convert/route.js": { + "bytesInOutput": 1158 + }, + "../node_modules/@babel/highlight/node_modules/color-convert/index.js": { + "bytesInOutput": 1048 + }, + "../node_modules/@babel/highlight/node_modules/ansi-styles/index.js": { + "bytesInOutput": 3177 + }, + "../node_modules/@babel/highlight/node_modules/supports-color/browser.js": { + "bytesInOutput": 98 + }, + "../node_modules/@babel/highlight/node_modules/chalk/templates.js": { + "bytesInOutput": 2416 + }, + "../node_modules/@babel/highlight/node_modules/chalk/index.js": { + "bytesInOutput": 3946 + }, + "../node_modules/@babel/highlight/lib/index.js": { + "bytesInOutput": 3360 + }, + "../node_modules/@babel/code-frame/lib/index.js": { + "bytesInOutput": 4076 + }, + "../node_modules/semver/internal/debug.js": { + "bytesInOutput": 233 + }, + "../node_modules/semver/internal/constants.js": { + "bytesInOutput": 500 + }, + "../node_modules/semver/internal/re.js": { + "bytesInOutput": 3772 + }, + "../node_modules/semver/internal/parse-options.js": { + "bytesInOutput": 165 + }, + "../node_modules/semver/internal/identifiers.js": { + "bytesInOutput": 315 + }, + "../node_modules/semver/classes/semver.js": { + "bytesInOutput": 5703 + }, + "../node_modules/semver/functions/parse.js": { + "bytesInOutput": 247 + }, + "../node_modules/semver/functions/valid.js": { + "bytesInOutput": 142 + }, + "../node_modules/semver/functions/clean.js": { + "bytesInOutput": 171 + }, + "../node_modules/spdx-license-ids/index.json": { + "bytesInOutput": 9928 + }, + "../node_modules/spdx-license-ids/deprecated.json": { + "bytesInOutput": 621 + }, + "../node_modules/spdx-exceptions/index.json": { + "bytesInOutput": 1132 + }, + "../node_modules/spdx-expression-parse/scan.js": { + "bytesInOutput": 1780 + }, + "../node_modules/spdx-expression-parse/parse.js": { + "bytesInOutput": 1920 + }, + "../node_modules/spdx-expression-parse/index.js": { + "bytesInOutput": 129 + }, + "../node_modules/spdx-correct/index.js": { + "bytesInOutput": 7748 + }, + "../node_modules/validate-npm-package-license/index.js": { + "bytesInOutput": 1425 + }, + "../node_modules/lru-cache/dist/esm/index.js": { + "bytesInOutput": 29558 + }, + "../node_modules/hosted-git-info/lib/hosts.js": { + "bytesInOutput": 7477 + }, + "../node_modules/hosted-git-info/lib/parse-url.js": { + "bytesInOutput": 833 + }, + "../node_modules/hosted-git-info/lib/from-url.js": { + "bytesInOutput": 1929 + }, + "../node_modules/hosted-git-info/lib/index.js": { + "bytesInOutput": 3572 + }, + "../node_modules/function-bind/implementation.js": { + "bytesInOutput": 1404 + }, + "../node_modules/function-bind/index.js": { + "bytesInOutput": 108 + }, + "../node_modules/hasown/index.js": { + "bytesInOutput": 162 + }, + "../node_modules/is-core-module/core.json": { + "bytesInOutput": 6104 + }, + "../node_modules/is-core-module/index.js": { + "bytesInOutput": 1183 + }, + "node_modules/normalize-package-data/lib/extract_description.js": { + "bytesInOutput": 364 + }, + "node_modules/normalize-package-data/lib/typos.json": { + "bytesInOutput": 808 + }, + "node_modules/normalize-package-data/lib/fixer.js": { + "bytesInOutput": 9045 + }, + "node_modules/normalize-package-data/lib/warning_messages.json": { + "bytesInOutput": 1845 + }, + "node_modules/normalize-package-data/lib/make_warning.js": { + "bytesInOutput": 440 + }, + "node_modules/normalize-package-data/lib/normalize.js": { + "bytesInOutput": 902 + }, + "../node_modules/isexe/windows.js": { + "bytesInOutput": 686 + }, + "../node_modules/isexe/mode.js": { + "bytesInOutput": 690 + }, + "../node_modules/isexe/index.js": { + "bytesInOutput": 807 + }, + "../node_modules/cross-spawn/node_modules/which/which.js": { + "bytesInOutput": 2289 + }, + "../node_modules/path-key/index.js": { + "bytesInOutput": 298 + }, + "../node_modules/cross-spawn/lib/util/resolveCommand.js": { + "bytesInOutput": 701 + }, + "../node_modules/cross-spawn/lib/util/escape.js": { + "bytesInOutput": 401 + }, + "../node_modules/shebang-regex/index.js": { + "bytesInOutput": 71 + }, + "../node_modules/shebang-command/index.js": { + "bytesInOutput": 280 + }, + "../node_modules/cross-spawn/lib/util/readShebang.js": { + "bytesInOutput": 295 + }, + "../node_modules/cross-spawn/lib/parse.js": { + "bytesInOutput": 1177 + }, + "../node_modules/cross-spawn/lib/enoent.js": { + "bytesInOutput": 898 + }, + "../node_modules/cross-spawn/index.js": { + "bytesInOutput": 535 + }, + "../node_modules/execa/node_modules/strip-final-newline/index.js": { + "bytesInOutput": 285 + }, + "../node_modules/npm-run-path/index.js": { + "bytesInOutput": 701 + }, + "../node_modules/mimic-fn/index.js": { + "bytesInOutput": 245 + }, + "../node_modules/onetime/index.js": { + "bytesInOutput": 757 + }, + "../node_modules/execa/node_modules/human-signals/build/src/core.js": { + "bytesInOutput": 5905 + }, + "../node_modules/execa/node_modules/human-signals/build/src/realtime.js": { + "bytesInOutput": 527 + }, + "../node_modules/execa/node_modules/human-signals/build/src/signals.js": { + "bytesInOutput": 619 + }, + "../node_modules/execa/node_modules/human-signals/build/src/main.js": { + "bytesInOutput": 1272 + }, + "../node_modules/execa/lib/error.js": { + "bytesInOutput": 1444 + }, + "../node_modules/execa/lib/stdio.js": { + "bytesInOutput": 886 + }, + "../node_modules/signal-exit/signals.js": { + "bytesInOutput": 523 + }, + "../node_modules/signal-exit/index.js": { + "bytesInOutput": 2769 + }, + "../node_modules/execa/lib/kill.js": { + "bytesInOutput": 1804 + }, + "../node_modules/is-stream/index.js": { + "bytesInOutput": 524 + }, + "../node_modules/execa/node_modules/get-stream/buffer-stream.js": { + "bytesInOutput": 560 + }, + "../node_modules/execa/node_modules/get-stream/index.js": { + "bytesInOutput": 1081 + }, + "../node_modules/merge-stream/index.js": { + "bytesInOutput": 690 + }, + "../node_modules/execa/lib/stream.js": { + "bytesInOutput": 1448 + }, + "../node_modules/execa/lib/promise.js": { + "bytesInOutput": 720 + }, + "../node_modules/execa/lib/command.js": { + "bytesInOutput": 623 + }, + "../node_modules/execa/index.js": { + "bytesInOutput": 4936 + }, + "../node_modules/detect-package-manager/dist/index.js": { + "bytesInOutput": 2255 + }, + "../node_modules/universalify/index.js": { + "bytesInOutput": 699 + }, + "../node_modules/graceful-fs/polyfills.js": { + "bytesInOutput": 6198 + }, + "../node_modules/graceful-fs/legacy-streams.js": { + "bytesInOutput": 2201 + }, + "../node_modules/graceful-fs/clone.js": { + "bytesInOutput": 499 + }, + "../node_modules/graceful-fs/graceful-fs.js": { + "bytesInOutput": 7472 + }, + "../node_modules/fs-extra/lib/fs/index.js": { + "bytesInOutput": 2165 + }, + "../node_modules/fs-extra/lib/mkdirs/utils.js": { + "bytesInOutput": 317 + }, + "../node_modules/fs-extra/lib/mkdirs/make-dir.js": { + "bytesInOutput": 401 + }, + "../node_modules/fs-extra/lib/mkdirs/index.js": { + "bytesInOutput": 276 + }, + "../node_modules/fs-extra/lib/path-exists/index.js": { + "bytesInOutput": 244 + }, + "../node_modules/fs-extra/lib/util/utimes.js": { + "bytesInOutput": 528 + }, + "../node_modules/fs-extra/lib/util/stat.js": { + "bytesInOutput": 3723 + }, + "../node_modules/fs-extra/lib/copy/copy.js": { + "bytesInOutput": 3072 + }, + "../node_modules/fs-extra/lib/copy/copy-sync.js": { + "bytesInOutput": 3261 + }, + "../node_modules/fs-extra/lib/copy/index.js": { + "bytesInOutput": 135 + }, + "../node_modules/fs-extra/lib/remove/index.js": { + "bytesInOutput": 291 + }, + "../node_modules/fs-extra/lib/empty/index.js": { + "bytesInOutput": 625 + }, + "../node_modules/fs-extra/lib/ensure/file.js": { + "bytesInOutput": 994 + }, + "../node_modules/fs-extra/lib/ensure/link.js": { + "bytesInOutput": 976 + }, + "../node_modules/fs-extra/lib/ensure/symlink-paths.js": { + "bytesInOutput": 1288 + }, + "../node_modules/fs-extra/lib/ensure/symlink-type.js": { + "bytesInOutput": 548 + }, + "../node_modules/fs-extra/lib/ensure/symlink.js": { + "bytesInOutput": 1180 + }, + "../node_modules/fs-extra/lib/ensure/index.js": { + "bytesInOutput": 534 + }, + "../node_modules/jsonfile/utils.js": { + "bytesInOutput": 362 + }, + "../node_modules/jsonfile/index.js": { + "bytesInOutput": 1315 + }, + "../node_modules/fs-extra/lib/json/jsonfile.js": { + "bytesInOutput": 235 + }, + "../node_modules/fs-extra/lib/output-file/index.js": { + "bytesInOutput": 475 + }, + "../node_modules/fs-extra/lib/json/output-json.js": { + "bytesInOutput": 208 + }, + "../node_modules/fs-extra/lib/json/output-json-sync.js": { + "bytesInOutput": 195 + }, + "../node_modules/fs-extra/lib/json/index.js": { + "bytesInOutput": 370 + }, + "../node_modules/fs-extra/lib/move/move.js": { + "bytesInOutput": 967 + }, + "../node_modules/fs-extra/lib/move/move-sync.js": { + "bytesInOutput": 1039 + }, + "../node_modules/fs-extra/lib/move/index.js": { + "bytesInOutput": 135 + }, + "../node_modules/fs-extra/lib/index.js": { + "bytesInOutput": 265 + }, + "../node_modules/web-streams-polyfill/dist/ponyfill.es2018.js": { + "bytesInOutput": 89067 + }, + "../node_modules/fetch-blob/streams.cjs": { + "bytesInOutput": 816 + }, + "../node_modules/fetch-blob/index.js": { + "bytesInOutput": 5259 + }, + "../node_modules/fetch-blob/file.js": { + "bytesInOutput": 929 + }, + "../node_modules/formdata-polyfill/esm.min.js": { + "bytesInOutput": 2820 + }, + "../node_modules/node-domexception/index.js": { + "bytesInOutput": 360 + }, + "../node_modules/fetch-blob/from.js": { + "bytesInOutput": 159 + }, + "../node_modules/node-fetch/src/utils/multipart-parser.js": { + "bytesInOutput": 6956 + }, + "../node_modules/fetch-retry/dist/fetch-retry.umd.js": { + "bytesInOutput": 3334 + }, + "src/telemetry/index.ts": { + "bytesInOutput": 949 + }, + "node_modules/read-pkg-up/index.js": { + "bytesInOutput": 193 + }, + "../node_modules/find-up-simple/index.js": { + "bytesInOutput": 765 + }, + "node_modules/read-pkg/index.js": { + "bytesInOutput": 417 + }, + "node_modules/parse-json/index.js": { + "bytesInOutput": 1552 + }, + "../node_modules/index-to-position/index.js": { + "bytesInOutput": 445 + }, + "../node_modules/unicorn-magic/node.js": { + "bytesInOutput": 107 + }, + "src/telemetry/storybook-metadata.ts": { + "bytesInOutput": 3229 + }, + "src/telemetry/package-json.ts": { + "bytesInOutput": 453 + }, + "src/telemetry/get-monorepo-type.ts": { + "bytesInOutput": 620 + }, + "src/telemetry/sanitize.ts": { + "bytesInOutput": 823 + }, + "src/telemetry/get-framework-info.ts": { + "bytesInOutput": 1203 + }, + "src/telemetry/get-chromatic-version.ts": { + "bytesInOutput": 231 + }, + "src/telemetry/telemetry.ts": { + "bytesInOutput": 1472 + }, + "../node_modules/node-fetch/src/index.js": { + "bytesInOutput": 6501 + }, + "../node_modules/data-uri-to-buffer/dist/index.js": { + "bytesInOutput": 741 + }, + "../node_modules/node-fetch/src/body.js": { + "bytesInOutput": 5555 + }, + "../node_modules/node-fetch/src/errors/base.js": { + "bytesInOutput": 260 + }, + "../node_modules/node-fetch/src/errors/fetch-error.js": { + "bytesInOutput": 352 + }, + "../node_modules/node-fetch/src/utils/is.js": { + "bytesInOutput": 827 + }, + "../node_modules/node-fetch/src/headers.js": { + "bytesInOutput": 4414 + }, + "../node_modules/node-fetch/src/utils/is-redirect.js": { + "bytesInOutput": 84 + }, + "../node_modules/node-fetch/src/response.js": { + "bytesInOutput": 2689 + }, + "../node_modules/node-fetch/src/request.js": { + "bytesInOutput": 4673 + }, + "../node_modules/node-fetch/src/utils/get-search.js": { + "bytesInOutput": 183 + }, + "../node_modules/node-fetch/src/utils/referrer.js": { + "bytesInOutput": 2317 + }, + "../node_modules/node-fetch/src/errors/abort-error.js": { + "bytesInOutput": 86 + }, + "../node_modules/nanoid/index.browser.js": { + "bytesInOutput": 213 + }, + "src/telemetry/anonymous-id.ts": { + "bytesInOutput": 566 + }, + "src/telemetry/one-way-hash.ts": { + "bytesInOutput": 162 + }, + "src/telemetry/event-cache.ts": { + "bytesInOutput": 862 + }, + "src/telemetry/session-id.ts": { + "bytesInOutput": 309 + }, + "node_modules/chalk/source/vendor/ansi-styles/index.js": { + "bytesInOutput": 4059 + }, + "node_modules/chalk/source/vendor/supports-color/index.js": { + "bytesInOutput": 2552 + }, + "node_modules/chalk/source/utilities.js": { + "bytesInOutput": 468 + }, + "node_modules/chalk/source/index.js": { + "bytesInOutput": 2801 + }, + "src/telemetry/notify.ts": { + "bytesInOutput": 644 + } + }, + "bytes": 410799 + }, + "dist/preview-api/index.cjs": { + "imports": [ + { + "path": "@storybook/core/dist/channels", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/preview-errors", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/preview-errors", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/preview-errors", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/preview-errors", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + } + ], + "exports": [], + "entryPoint": "src/preview-api/index.ts", + "inputs": { + "../node_modules/@storybook/global/dist/index.js": { + "bytesInOutput": 857 + }, + "../node_modules/memoizerific/memoizerific.js": { + "bytesInOutput": 5055 + }, + "../node_modules/lodash/_freeGlobal.js": { + "bytesInOutput": 134 + }, + "../node_modules/lodash/_root.js": { + "bytesInOutput": 180 + }, + "../node_modules/lodash/_Symbol.js": { + "bytesInOutput": 80 + }, + "../node_modules/lodash/_getRawTag.js": { + "bytesInOutput": 372 + }, + "../node_modules/lodash/_objectToString.js": { + "bytesInOutput": 141 + }, + "../node_modules/lodash/_baseGetTag.js": { + "bytesInOutput": 281 + }, + "../node_modules/lodash/isObject.js": { + "bytesInOutput": 153 + }, + "../node_modules/lodash/isFunction.js": { + "bytesInOutput": 319 + }, + "../node_modules/lodash/_coreJsData.js": { + "bytesInOutput": 95 + }, + "../node_modules/lodash/_isMasked.js": { + "bytesInOutput": 251 + }, + "../node_modules/lodash/_toSource.js": { + "bytesInOutput": 284 + }, + "../node_modules/lodash/_baseIsNative.js": { + "bytesInOutput": 516 + }, + "../node_modules/lodash/_getValue.js": { + "bytesInOutput": 93 + }, + "../node_modules/lodash/_getNative.js": { + "bytesInOutput": 155 + }, + "../node_modules/lodash/_defineProperty.js": { + "bytesInOutput": 195 + }, + "../node_modules/lodash/_baseAssignValue.js": { + "bytesInOutput": 234 + }, + "../node_modules/lodash/_createBaseFor.js": { + "bytesInOutput": 287 + }, + "../node_modules/lodash/_baseFor.js": { + "bytesInOutput": 76 + }, + "../node_modules/lodash/_baseTimes.js": { + "bytesInOutput": 153 + }, + "../node_modules/lodash/isObjectLike.js": { + "bytesInOutput": 117 + }, + "../node_modules/lodash/_baseIsArguments.js": { + "bytesInOutput": 159 + }, + "../node_modules/lodash/isArguments.js": { + "bytesInOutput": 312 + }, + "../node_modules/lodash/isArray.js": { + "bytesInOutput": 73 + }, + "../node_modules/lodash/stubFalse.js": { + "bytesInOutput": 85 + }, + "../node_modules/lodash/isBuffer.js": { + "bytesInOutput": 302 + }, + "../node_modules/lodash/_isIndex.js": { + "bytesInOutput": 262 + }, + "../node_modules/lodash/isLength.js": { + "bytesInOutput": 168 + }, + "../node_modules/lodash/_baseIsTypedArray.js": { + "bytesInOutput": 1006 + }, + "../node_modules/lodash/_baseUnary.js": { + "bytesInOutput": 122 + }, + "../node_modules/lodash/_nodeUtil.js": { + "bytesInOutput": 411 + }, + "../node_modules/lodash/isTypedArray.js": { + "bytesInOutput": 138 + }, + "../node_modules/lodash/_arrayLikeKeys.js": { + "bytesInOutput": 821 + }, + "../node_modules/lodash/_isPrototype.js": { + "bytesInOutput": 201 + }, + "../node_modules/lodash/_overArg.js": { + "bytesInOutput": 128 + }, + "../node_modules/lodash/_nativeKeys.js": { + "bytesInOutput": 95 + }, + "../node_modules/lodash/_baseKeys.js": { + "bytesInOutput": 297 + }, + "../node_modules/lodash/isArrayLike.js": { + "bytesInOutput": 147 + }, + "../node_modules/lodash/keys.js": { + "bytesInOutput": 144 + }, + "../node_modules/lodash/_baseForOwn.js": { + "bytesInOutput": 132 + }, + "../node_modules/lodash/_listCacheClear.js": { + "bytesInOutput": 109 + }, + "../node_modules/lodash/eq.js": { + "bytesInOutput": 116 + }, + "../node_modules/lodash/_assocIndexOf.js": { + "bytesInOutput": 184 + }, + "../node_modules/lodash/_listCacheDelete.js": { + "bytesInOutput": 290 + }, + "../node_modules/lodash/_listCacheGet.js": { + "bytesInOutput": 166 + }, + "../node_modules/lodash/_listCacheHas.js": { + "bytesInOutput": 126 + }, + "../node_modules/lodash/_listCacheSet.js": { + "bytesInOutput": 202 + }, + "../node_modules/lodash/_ListCache.js": { + "bytesInOutput": 398 + }, + "../node_modules/lodash/_stackClear.js": { + "bytesInOutput": 132 + }, + "../node_modules/lodash/_stackDelete.js": { + "bytesInOutput": 149 + }, + "../node_modules/lodash/_stackGet.js": { + "bytesInOutput": 104 + }, + "../node_modules/lodash/_stackHas.js": { + "bytesInOutput": 104 + }, + "../node_modules/lodash/_Map.js": { + "bytesInOutput": 95 + }, + "../node_modules/lodash/_nativeCreate.js": { + "bytesInOutput": 92 + }, + "../node_modules/lodash/_hashClear.js": { + "bytesInOutput": 142 + }, + "../node_modules/lodash/_hashDelete.js": { + "bytesInOutput": 161 + }, + "../node_modules/lodash/_hashGet.js": { + "bytesInOutput": 314 + }, + "../node_modules/lodash/_hashHas.js": { + "bytesInOutput": 211 + }, + "../node_modules/lodash/_hashSet.js": { + "bytesInOutput": 239 + }, + "../node_modules/lodash/_Hash.js": { + "bytesInOutput": 398 + }, + "../node_modules/lodash/_mapCacheClear.js": { + "bytesInOutput": 227 + }, + "../node_modules/lodash/_isKeyable.js": { + "bytesInOutput": 204 + }, + "../node_modules/lodash/_getMapData.js": { + "bytesInOutput": 187 + }, + "../node_modules/lodash/_mapCacheDelete.js": { + "bytesInOutput": 161 + }, + "../node_modules/lodash/_mapCacheGet.js": { + "bytesInOutput": 119 + }, + "../node_modules/lodash/_mapCacheHas.js": { + "bytesInOutput": 119 + }, + "../node_modules/lodash/_mapCacheSet.js": { + "bytesInOutput": 192 + }, + "../node_modules/lodash/_MapCache.js": { + "bytesInOutput": 398 + }, + "../node_modules/lodash/_stackSet.js": { + "bytesInOutput": 391 + }, + "../node_modules/lodash/_Stack.js": { + "bytesInOutput": 336 + }, + "../node_modules/lodash/_setCacheAdd.js": { + "bytesInOutput": 154 + }, + "../node_modules/lodash/_setCacheHas.js": { + "bytesInOutput": 104 + }, + "../node_modules/lodash/_SetCache.js": { + "bytesInOutput": 294 + }, + "../node_modules/lodash/_arraySome.js": { + "bytesInOutput": 195 + }, + "../node_modules/lodash/_cacheHas.js": { + "bytesInOutput": 95 + }, + "../node_modules/lodash/_equalArrays.js": { + "bytesInOutput": 966 + }, + "../node_modules/lodash/_Uint8Array.js": { + "bytesInOutput": 84 + }, + "../node_modules/lodash/_mapToArray.js": { + "bytesInOutput": 178 + }, + "../node_modules/lodash/_setToArray.js": { + "bytesInOutput": 170 + }, + "../node_modules/lodash/_equalByTag.js": { + "bytesInOutput": 1378 + }, + "../node_modules/lodash/_arrayPush.js": { + "bytesInOutput": 171 + }, + "../node_modules/lodash/_baseGetAllKeys.js": { + "bytesInOutput": 158 + }, + "../node_modules/lodash/_arrayFilter.js": { + "bytesInOutput": 227 + }, + "../node_modules/lodash/stubArray.js": { + "bytesInOutput": 85 + }, + "../node_modules/lodash/_getSymbols.js": { + "bytesInOutput": 303 + }, + "../node_modules/lodash/_getAllKeys.js": { + "bytesInOutput": 136 + }, + "../node_modules/lodash/_equalObjects.js": { + "bytesInOutput": 1091 + }, + "../node_modules/lodash/_DataView.js": { + "bytesInOutput": 100 + }, + "../node_modules/lodash/_Promise.js": { + "bytesInOutput": 99 + }, + "../node_modules/lodash/_Set.js": { + "bytesInOutput": 95 + }, + "../node_modules/lodash/_WeakMap.js": { + "bytesInOutput": 99 + }, + "../node_modules/lodash/_getTag.js": { + "bytesInOutput": 865 + }, + "../node_modules/lodash/_baseIsEqualDeep.js": { + "bytesInOutput": 987 + }, + "../node_modules/lodash/_baseIsEqual.js": { + "bytesInOutput": 226 + }, + "../node_modules/lodash/_baseIsMatch.js": { + "bytesInOutput": 697 + }, + "../node_modules/lodash/_isStrictComparable.js": { + "bytesInOutput": 118 + }, + "../node_modules/lodash/_getMatchData.js": { + "bytesInOutput": 224 + }, + "../node_modules/lodash/_matchesStrictComparable.js": { + "bytesInOutput": 184 + }, + "../node_modules/lodash/_baseMatches.js": { + "bytesInOutput": 248 + }, + "../node_modules/lodash/isSymbol.js": { + "bytesInOutput": 180 + }, + "../node_modules/lodash/_isKey.js": { + "bytesInOutput": 378 + }, + "../node_modules/lodash/memoize.js": { + "bytesInOutput": 510 + }, + "../node_modules/lodash/_memoizeCapped.js": { + "bytesInOutput": 209 + }, + "../node_modules/lodash/_stringToPath.js": { + "bytesInOutput": 379 + }, + "../node_modules/lodash/_arrayMap.js": { + "bytesInOutput": 192 + }, + "../node_modules/lodash/_baseToString.js": { + "bytesInOutput": 405 + }, + "../node_modules/lodash/toString.js": { + "bytesInOutput": 123 + }, + "../node_modules/lodash/_castPath.js": { + "bytesInOutput": 174 + }, + "../node_modules/lodash/_toKey.js": { + "bytesInOutput": 223 + }, + "../node_modules/lodash/_baseGet.js": { + "bytesInOutput": 238 + }, + "../node_modules/lodash/get.js": { + "bytesInOutput": 170 + }, + "../node_modules/lodash/_baseHasIn.js": { + "bytesInOutput": 114 + }, + "../node_modules/lodash/_hasPath.js": { + "bytesInOutput": 431 + }, + "../node_modules/lodash/hasIn.js": { + "bytesInOutput": 140 + }, + "../node_modules/lodash/_baseMatchesProperty.js": { + "bytesInOutput": 330 + }, + "../node_modules/lodash/identity.js": { + "bytesInOutput": 85 + }, + "../node_modules/lodash/_baseProperty.js": { + "bytesInOutput": 124 + }, + "../node_modules/lodash/_basePropertyDeep.js": { + "bytesInOutput": 143 + }, + "../node_modules/lodash/property.js": { + "bytesInOutput": 159 + }, + "../node_modules/lodash/_baseIteratee.js": { + "bytesInOutput": 251 + }, + "../node_modules/lodash/mapValues.js": { + "bytesInOutput": 219 + }, + "../node_modules/lodash/_assignValue.js": { + "bytesInOutput": 250 + }, + "../node_modules/lodash/_baseSet.js": { + "bytesInOutput": 586 + }, + "../node_modules/lodash/_basePickBy.js": { + "bytesInOutput": 263 + }, + "../node_modules/lodash/_basePick.js": { + "bytesInOutput": 170 + }, + "../node_modules/lodash/_isFlattenable.js": { + "bytesInOutput": 202 + }, + "../node_modules/lodash/_baseFlatten.js": { + "bytesInOutput": 322 + }, + "../node_modules/lodash/flatten.js": { + "bytesInOutput": 156 + }, + "../node_modules/lodash/_apply.js": { + "bytesInOutput": 329 + }, + "../node_modules/lodash/_overRest.js": { + "bytesInOutput": 418 + }, + "../node_modules/lodash/constant.js": { + "bytesInOutput": 118 + }, + "../node_modules/lodash/_baseSetToString.js": { + "bytesInOutput": 248 + }, + "../node_modules/lodash/_shortOut.js": { + "bytesInOutput": 351 + }, + "../node_modules/lodash/_setToString.js": { + "bytesInOutput": 89 + }, + "../node_modules/lodash/_flatRest.js": { + "bytesInOutput": 152 + }, + "../node_modules/lodash/pick.js": { + "bytesInOutput": 145 + }, + "../node_modules/lodash/_getPrototype.js": { + "bytesInOutput": 105 + }, + "../node_modules/lodash/isPlainObject.js": { + "bytesInOutput": 481 + }, + "../node_modules/util-deprecate/browser.js": { + "bytesInOutput": 601 + }, + "../node_modules/lodash/_getSymbolsIn.js": { + "bytesInOutput": 238 + }, + "../node_modules/lodash/_nativeKeysIn.js": { + "bytesInOutput": 170 + }, + "../node_modules/lodash/_baseKeysIn.js": { + "bytesInOutput": 319 + }, + "../node_modules/lodash/keysIn.js": { + "bytesInOutput": 148 + }, + "../node_modules/lodash/_getAllKeysIn.js": { + "bytesInOutput": 136 + }, + "../node_modules/lodash/pickBy.js": { + "bytesInOutput": 303 + }, + "../node_modules/es-errors/index.js": { + "bytesInOutput": 67 + }, + "../node_modules/es-errors/eval.js": { + "bytesInOutput": 71 + }, + "../node_modules/es-errors/range.js": { + "bytesInOutput": 72 + }, + "../node_modules/es-errors/ref.js": { + "bytesInOutput": 76 + }, + "../node_modules/es-errors/syntax.js": { + "bytesInOutput": 73 + }, + "../node_modules/es-errors/type.js": { + "bytesInOutput": 71 + }, + "../node_modules/es-errors/uri.js": { + "bytesInOutput": 70 + }, + "../node_modules/has-symbols/shams.js": { + "bytesInOutput": 1078 + }, + "../node_modules/has-symbols/index.js": { + "bytesInOutput": 282 + }, + "../node_modules/has-proto/index.js": { + "bytesInOutput": 210 + }, + "../node_modules/function-bind/implementation.js": { + "bytesInOutput": 1404 + }, + "../node_modules/function-bind/index.js": { + "bytesInOutput": 108 + }, + "../node_modules/hasown/index.js": { + "bytesInOutput": 162 + }, + "../node_modules/get-intrinsic/index.js": { + "bytesInOutput": 10173 + }, + "../node_modules/es-define-property/index.js": { + "bytesInOutput": 215 + }, + "../node_modules/gopd/index.js": { + "bytesInOutput": 212 + }, + "../node_modules/define-data-property/index.js": { + "bytesInOutput": 1657 + }, + "../node_modules/has-property-descriptors/index.js": { + "bytesInOutput": 307 + }, + "../node_modules/set-function-length/index.js": { + "bytesInOutput": 826 + }, + "../node_modules/call-bind/index.js": { + "bytesInOutput": 632 + }, + "../node_modules/call-bind/callBound.js": { + "bytesInOutput": 251 + }, + "(disabled):../node_modules/object-inspect/util.inspect": { + "bytesInOutput": 23 + }, + "../node_modules/object-inspect/index.js": { + "bytesInOutput": 12706 + }, + "../node_modules/side-channel/index.js": { + "bytesInOutput": 1871 + }, + "../node_modules/qs/lib/formats.js": { + "bytesInOutput": 412 + }, + "../node_modules/qs/lib/utils.js": { + "bytesInOutput": 4059 + }, + "../node_modules/qs/lib/stringify.js": { + "bytesInOutput": 5985 + }, + "../node_modules/qs/lib/parse.js": { + "bytesInOutput": 5536 + }, + "../node_modules/qs/lib/index.js": { + "bytesInOutput": 156 + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json": { + "bytesInOutput": 40586 + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json": { + "bytesInOutput": 1616 + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json": { + "bytesInOutput": 98 + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json": { + "bytesInOutput": 405 + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js": { + "bytesInOutput": 689 + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/decode.js": { + "bytesInOutput": 1377 + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/encode.js": { + "bytesInOutput": 2352 + }, + "../node_modules/ansi-to-html/node_modules/entities/lib/index.js": { + "bytesInOutput": 2508 + }, + "../node_modules/ansi-to-html/lib/ansi_to_html.js": { + "bytesInOutput": 10246 + }, + "src/preview-api/index.ts": { + "bytesInOutput": 1239 + }, + "src/preview-api/modules/addons/main.ts": { + "bytesInOutput": 602 + }, + "src/preview-api/modules/addons/storybook-channel-mock.ts": { + "bytesInOutput": 184 + }, + "src/preview-api/modules/addons/index.ts": { + "bytesInOutput": 0 + }, + "src/preview-api/modules/addons/hooks.ts": { + "bytesInOutput": 7209 + }, + "src/preview-api/modules/addons/make-decorator.ts": { + "bytesInOutput": 618 + }, + "src/preview-api/addons.ts": { + "bytesInOutput": 0 + }, + "src/preview-api/modules/store/StoryStore.ts": { + "bytesInOutput": 7659 + }, + "src/preview-api/modules/store/StoryIndexStore.ts": { + "bytesInOutput": 834 + }, + "../node_modules/dequal/dist/index.mjs": { + "bytesInOutput": 1626 + }, + "src/preview-api/modules/store/args.ts": { + "bytesInOutput": 3304 + }, + "../node_modules/ts-dedent/esm/index.js": { + "bytesInOutput": 1012 + }, + "src/preview-api/modules/store/ArgsStore.ts": { + "bytesInOutput": 1223 + }, + "src/preview-api/modules/store/GlobalsStore.ts": { + "bytesInOutput": 1211 + }, + "src/preview-api/modules/store/csf/getValuesFromArgTypes.ts": { + "bytesInOutput": 119 + }, + "src/preview-api/modules/store/csf/normalizeInputTypes.ts": { + "bytesInOutput": 357 + }, + "src/preview-api/modules/store/csf/index.ts": { + "bytesInOutput": 0 + }, + "../node_modules/@storybook/csf/dist/index.mjs": { + "bytesInOutput": 4691 + }, + "src/preview-api/modules/store/csf/normalizeStory.ts": { + "bytesInOutput": 1273 + }, + "src/preview-api/modules/store/csf/normalizeArrays.ts": { + "bytesInOutput": 52 + }, + "src/preview-api/modules/store/csf/processCSFFile.ts": { + "bytesInOutput": 791 + }, + "src/preview-api/modules/store/csf/normalizeComponentAnnotations.ts": { + "bytesInOutput": 227 + }, + "src/preview-api/modules/store/csf/prepareStory.ts": { + "bytesInOutput": 3667 + }, + "src/preview-api/modules/store/parameters.ts": { + "bytesInOutput": 521 + }, + "src/preview-api/modules/store/decorators.ts": { + "bytesInOutput": 542 + }, + "src/preview-api/modules/store/inferArgTypes.ts": { + "bytesInOutput": 1274 + }, + "src/preview-api/modules/store/inferControls.ts": { + "bytesInOutput": 1475 + }, + "src/preview-api/modules/store/filterArgTypes.ts": { + "bytesInOutput": 227 + }, + "src/preview-api/modules/store/csf/normalizeProjectAnnotations.ts": { + "bytesInOutput": 728 + }, + "src/preview-api/modules/store/csf/composeConfigs.ts": { + "bytesInOutput": 1181 + }, + "src/preview-api/modules/store/csf/stepRunners.ts": { + "bytesInOutput": 151 + }, + "src/preview-api/modules/store/csf/portable-stories.ts": { + "bytesInOutput": 2830 + }, + "src/preview-api/modules/store/index.ts": { + "bytesInOutput": 0 + }, + "../node_modules/slash/index.js": { + "bytesInOutput": 81 + }, + "src/preview-api/modules/store/autoTitle.ts": { + "bytesInOutput": 1275 + }, + "src/preview-api/modules/store/storySort.ts": { + "bytesInOutput": 932 + }, + "src/preview-api/modules/store/sortStories.ts": { + "bytesInOutput": 550 + }, + "src/preview-api/store.ts": { + "bytesInOutput": 0 + }, + "src/preview-api/modules/preview-web/index.ts": { + "bytesInOutput": 0 + }, + "src/preview-api/modules/preview-web/Preview.tsx": { + "bytesInOutput": 10166 + }, + "src/preview-api/modules/preview-web/render/StoryRender.ts": { + "bytesInOutput": 7154 + }, + "src/preview-api/modules/preview-web/render/Render.ts": { + "bytesInOutput": 38 + }, + "src/preview-api/modules/preview-web/PreviewWeb.tsx": { + "bytesInOutput": 217 + }, + "../node_modules/tiny-invariant/dist/esm/tiny-invariant.js": { + "bytesInOutput": 229 + }, + "src/preview-api/modules/preview-web/PreviewWithSelection.tsx": { + "bytesInOutput": 9793 + }, + "src/preview-api/modules/preview-web/render/CsfDocsRender.ts": { + "bytesInOutput": 2073 + }, + "src/preview-api/modules/preview-web/docs-context/DocsContext.ts": { + "bytesInOutput": 5282 + }, + "src/preview-api/modules/preview-web/render/MdxDocsRender.ts": { + "bytesInOutput": 1926 + }, + "src/preview-api/modules/preview-web/UrlStore.ts": { + "bytesInOutput": 1905 + }, + "src/preview-api/modules/preview-web/parseArgsParam.ts": { + "bytesInOutput": 2081 + }, + "src/preview-api/modules/preview-web/WebView.ts": { + "bytesInOutput": 3787 + }, + "src/preview-api/modules/preview-web/simulate-pageload.ts": { + "bytesInOutput": 1441 + }, + "src/preview-api/preview-web.ts": { + "bytesInOutput": 0 + } + }, + "bytes": 259007 + }, + "dist/instrumenter/index.cjs": { + "imports": [ + { + "path": "util", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/preview-api", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/client-logger", + "kind": "require-call", + "external": true + }, + { + "path": "@storybook/core/dist/core-events", + "kind": "require-call", + "external": true + } + ], + "exports": [], + "entryPoint": "src/instrumenter/index.ts", + "inputs": { + "../node_modules/@storybook/global/dist/index.js": { + "bytesInOutput": 858 + }, + "../node_modules/pretty-format/node_modules/ansi-styles/index.js": { + "bytesInOutput": 3300 + }, + "../node_modules/pretty-format/build/collections.js": { + "bytesInOutput": 2414 + }, + "../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js": { + "bytesInOutput": 1392 + }, + "../node_modules/pretty-format/build/plugins/DOMCollection.js": { + "bytesInOutput": 1012 + }, + "../node_modules/pretty-format/build/plugins/lib/escapeHTML.js": { + "bytesInOutput": 205 + }, + "../node_modules/pretty-format/build/plugins/lib/markup.js": { + "bytesInOutput": 1586 + }, + "../node_modules/pretty-format/build/plugins/DOMElement.js": { + "bytesInOutput": 1748 + }, + "../node_modules/pretty-format/build/plugins/Immutable.js": { + "bytesInOutput": 2605 + }, + "../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js": { + "bytesInOutput": 3699 + }, + "../node_modules/pretty-format/node_modules/react-is/index.js": { + "bytesInOutput": 66 + }, + "../node_modules/pretty-format/build/plugins/ReactElement.js": { + "bytesInOutput": 2683 + }, + "../node_modules/pretty-format/build/plugins/ReactTestComponent.js": { + "bytesInOutput": 986 + }, + "../node_modules/pretty-format/build/index.js": { + "bytesInOutput": 8026 + }, + "../node_modules/diff-sequences/build/index.js": { + "bytesInOutput": 8214 + }, + "../node_modules/loupe/loupe.js": { + "bytesInOutput": 17109 + }, + "src/instrumenter/index.ts": { + "bytesInOutput": 117 + }, + "src/instrumenter/instrumenter.ts": { + "bytesInOutput": 14664 + }, + "../node_modules/@vitest/utils/dist/diff.js": { + "bytesInOutput": 9505 + }, + "../node_modules/@vitest/utils/dist/chunk-colors.js": { + "bytesInOutput": 1212 + }, + "../node_modules/@vitest/utils/dist/chunk-display.js": { + "bytesInOutput": 2484 + }, + "../node_modules/@vitest/utils/dist/helpers.js": { + "bytesInOutput": 1333 + }, + "../node_modules/@vitest/utils/dist/error.js": { + "bytesInOutput": 3463 + }, + "src/instrumenter/types.ts": { + "bytesInOutput": 129 + } + }, + "bytes": 91659 + } + } +} \ No newline at end of file diff --git a/code/core/report/meta.txt b/code/core/report/meta.txt new file mode 100644 index 000000000000..e244fbf55ea4 --- /dev/null +++ b/code/core/report/meta.txt @@ -0,0 +1,1609 @@ + + dist/common/index.cjs 12.3mb 100.0% + ├ ../node_modules/prettier/plugins/typescript.mjs 1.4mb 11.6% + ├ ../node_modules/prettier-fallback/plugins/typescript.mjs 1.4mb 11.6% + ├ ../node_modules/prettier-fallback/plugins/flow.mjs 1.3mb 10.7% + ├ ../node_modules/prettier/plugins/flow.mjs 1.3mb 10.7% + ├ ../node_modules/prettier/index.mjs 580.7kb 4.6% + ├ ../node_modules/prettier-fallback/index.mjs 565.3kb 4.5% + ├ ../node_modules/prettier/plugins/babel.mjs 411.2kb 3.3% + ├ ../node_modules/prettier-fallback/plugins/babel.mjs 409.7kb 3.3% + ├ ../node_modules/@yarnpkg/libzip/lib/libzipAsync.js 332.9kb 2.7% + ├ ../node_modules/prettier-fallback/plugins/estree.mjs 240.3kb 1.9% + ├ ../node_modules/prettier/plugins/estree.mjs 239.5kb 1.9% + ├ ../node_modules/prettier/plugins/postcss.mjs 215.0kb 1.7% + ├ ../node_modules/prettier-fallback/plugins/postcss.mjs 213.6kb 1.7% + ├ ../node_modules/prettier/plugins/markdown.mjs 199.7kb 1.6% + ├ ../node_modules/prettier-fallback/plugins/markdown.mjs 199.6kb 1.6% + ├ ../node_modules/prettier-fallback/plugins/acorn.mjs 184.0kb 1.5% + ├ ../node_modules/prettier/plugins/acorn.mjs 183.8kb 1.5% + ├ ../node_modules/prettier-fallback/plugins/html.mjs 178.3kb 1.4% + ├ ../node_modules/prettier/plugins/html.mjs 176.9kb 1.4% + ├ ../node_modules/prettier-fallback/plugins/yaml.mjs 175.6kb 1.4% + ├ ../node_modules/prettier/plugins/yaml.mjs 175.6kb 1.4% + ├ ../node_modules/prettier-fallback/plugins/glimmer.mjs 172.3kb 1.4% + ├ ../node_modules/prettier/plugins/glimmer.mjs 171.0kb 1.4% + ├ ../node_modules/prettier-fallback/plugins/meriyah.mjs 158.0kb 1.3% + ├ ../node_modules/prettier/plugins/meriyah.mjs 158.0kb 1.3% + ├ ../node_modules/web-streams-polyfill/dist/ponyfill.es2018.js 89.8kb 0.7% + ├ ../node_modules/prettier-fallback/plugins/angular.mjs 56.9kb 0.5% + ├ ../node_modules/prettier/plugins/angular.mjs 56.8kb 0.5% + ├ ../node_modules/prettier/plugins/graphql.mjs 55.1kb 0.4% + ├ ../node_modules/prettier-fallback/plugins/graphql.mjs 55.1kb 0.4% + ├ ../node_modules/prettier-fallback/doc.js 40.7kb 0.3% + ├ ../node_modules/prettier/doc.js 40.7kb 0.3% + ├ ../node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js 38.6kb 0.3% + ├ ../node_modules/path-scurry/dist/mjs/index.js 36.4kb 0.3% + ├ ../node_modules/prettier-fallback/doc.mjs 35.9kb 0.3% + ├ ../node_modules/prettier/doc.mjs 35.9kb 0.3% + ├ ../node_modules/@yarnpkg/fslib/lib/ZipFS.js 32.7kb 0.3% + ├ ../node_modules/lru-cache/dist/esm/index.js 27.1kb 0.2% + ├ ../node_modules/prettier-fallback/index.cjs 25.8kb 0.2% + ├ ../node_modules/prettier/index.cjs 25.8kb 0.2% + ├ ../node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js 24.3kb 0.2% + ├ ../node_modules/@yarnpkg/fslib/lib/ZipOpenFS.js 22.9kb 0.2% + ├ ../node_modules/minipass/dist/esm/index.js 20.1kb 0.2% + ├ ../node_modules/picomatch/lib/parse.js 18.4kb 0.1% + ├ ../node_modules/glob/node_modules/minimatch/dist/mjs/index.js 16.9kb 0.1% + ├ ../node_modules/source-map/lib/source-map-consumer.js 15.4kb 0.1% + ├ ../node_modules/@yarnpkg/fslib/lib/NodeFS.js 11.8kb 0.1% + ├ ../node_modules/minimatch/minimatch.js 11.7kb 0.1% + ├ ../node_modules/glob/node_modules/minimatch/dist/mjs/ast.js 11.7kb 0.1% + ├ ../node_modules/rimraf/node_modules/glob/glob.js 11.6kb 0.1% + ├ src/common/js-package-manager/JsPackageManager.ts 10.3kb 0.1% + ├ ../node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js 10.1kb 0.1% + ├ ../node_modules/ignore/index.js 9.4kb 0.1% + ├ ../node_modules/@yarnpkg/fslib/lib/FakeFS.js 9.1kb 0.1% + ├ ../node_modules/@yarnpkg/libzip/node_modules/tslib/tslib.es6.js 8.5kb 0.1% + ├ ../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js 8.5kb 0.1% + ├ ../node_modules/ramda/src/index.js 7.8kb 0.1% + ├ ../node_modules/@yarnpkg/fslib/lib/ProxiedFS.js 7.6kb 0.1% + ├ ../node_modules/rimraf/node_modules/glob/sync.js 7.6kb 0.1% + ├ ../node_modules/graceful-fs/graceful-fs.js 7.5kb 0.1% + ├ ../node_modules/handlebars/dist/cjs/handlebars/runtime.js 7.4kb 0.1% + ├ ../node_modules/semver/classes/range.js 6.9kb 0.1% + ├ ../node_modules/node-fetch/src/utils/multipart-parser.js 6.9kb 0.1% + ├ ../node_modules/@yarnpkg/libzip/lib/makeInterface.js 6.6kb 0.1% + ├ ../node_modules/node-fetch/src/index.js 6.4kb 0.1% + ├ src/common/js-package-manager/Yarn2Proxy.ts 6.4kb 0.1% + ├ ../node_modules/yallist/yallist.js 6.4kb 0.1% + ├ ../node_modules/glob/dist/esm/walker.js 6.3kb 0.1% + ├ ../node_modules/graceful-fs/polyfills.js 6.1kb 0.0% + ├ ../node_modules/source-map/lib/source-map-generator.js 6.1kb 0.0% + ├ ../node_modules/execa/node_modules/human-signals/build/src/core.js 5.8kb 0.0% + ├ src/common/js-package-manager/NPMProxy.ts 5.7kb 0.0% + ├ ../node_modules/semver/classes/semver.js 5.6kb 0.0% + ├ ../node_modules/picomatch/lib/scan.js 5.6kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/patchFs/FileHandle.js 5.5kb 0.0% + ├ ../node_modules/rimraf/rimraf.js 5.5kb 0.0% + ├ src/common/presets.ts 5.5kb 0.0% + ├ ../node_modules/node-fetch/src/body.js 5.5kb 0.0% + ├ ../node_modules/semver/node_modules/lru-cache/index.js 5.4kb 0.0% + ├ ../node_modules/dotenv/lib/main.js 5.2kb 0.0% + ├ ../node_modules/fetch-blob/index.js 5.2kb 0.0% + ├ ../node_modules/source-map/lib/source-node.js 5.1kb 0.0% + ├ ../node_modules/braces/lib/parse.js 5.1kb 0.0% + ├ ../node_modules/glob/dist/esm/glob.js 5.1kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/patchFs/patchFs.js 4.9kb 0.0% + ├ ../node_modules/execa/index.js 4.9kb 0.0% + ├ src/common/js-package-manager/PNPMProxy.ts 4.7kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/statUtils.js 4.7kb 0.0% + ├ ../node_modules/source-map/lib/util.js 4.6kb 0.0% + ├ ../node_modules/node-fetch/src/request.js 4.6kb 0.0% + ├ ../node_modules/glob/dist/esm/processor.js 4.5kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js 4.4kb 0.0% + ├ ../node_modules/node-fetch/src/headers.js 4.3kb 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/copy.js 4.3kb 0.0% + ├ ../node_modules/picomatch/lib/constants.js 4.2kb 0.0% + ├ ../node_modules/rimraf/node_modules/glob/common.js 4.1kb 0.0% + ├ ../node_modules/glob/dist/esm/pattern.js 4.0kb 0.0% + ├ ../node_modules/to-regex-range/index.js 4.0kb 0.0% + ├ node_modules/chalk/source/vendor/ansi-styles/index.js 4.0kb 0.0% + ├ ../node_modules/fill-range/index.js 3.9kb 0.0% + ├ ../node_modules/semver/internal/re.js 3.9kb 0.0% + ├ ../node_modules/file-system-cache/lib/FileSystemCache.js 3.8kb 0.0% + ├ src/common/js-package-manager/Yarn1Proxy.ts 3.8kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/index.js 3.7kb 0.0% + ├ ../node_modules/fs-extra/lib/util/stat.js 3.7kb 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js 3.7kb 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/util/stat.js 3.6kb 0.0% + ├ src/common/versions.ts 3.6kb 0.0% + ├ ../node_modules/fs.realpath/old.js 3.6kb 0.0% + ├ ../node_modules/fast-glob/out/utils/pattern.js 3.5kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/NoFS.js 3.5kb 0.0% + ├ ../node_modules/micromatch/index.js 3.5kb 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js 3.5kb 0.0% + ├ ../node_modules/fastq/queue.js 3.5kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.js 3.3kb 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/copy-sync.js 3.2kb 0.0% + ├ ../node_modules/fs-extra/lib/copy/copy-sync.js 3.2kb 0.0% + ├ ../node_modules/semver/ranges/subset.js 3.2kb 0.0% + ├ ../node_modules/picomatch/lib/picomatch.js 3.1kb 0.0% + ├ ../node_modules/brace-expansion/index.js 3.1kb 0.0% + ├ ../node_modules/file-system-cache/lib/common/util.js 3.0kb 0.0% + ├ ../node_modules/fs-extra/lib/copy/copy.js 3.0kb 0.0% + ├ ../node_modules/del/node_modules/globby/index.js 3.0kb 0.0% + ├ ../node_modules/minimatch/node_modules/brace-expansion/index.js 2.9kb 0.0% + ├ ../node_modules/ramda/src/internal/_equals.js 2.8kb 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js 2.8kb 0.0% + ├ node_modules/chalk/source/index.js 2.8kb 0.0% + ├ ../node_modules/formdata-polyfill/esm.min.js 2.8kb 0.0% + ├ ../node_modules/signal-exit/index.js 2.8kb 0.0% + ├ src/common/utils/get-storybook-info.ts 2.7kb 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js 2.6kb 0.0% + ├ ../node_modules/node-fetch/src/response.js 2.6kb 0.0% + ├ node_modules/chalk/source/vendor/supports-color/index.js 2.5kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/VirtualFS.js 2.4kb 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/base.js 2.4kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/xfs.js 2.3kb 0.0% + ├ ../node_modules/semver/classes/comparator.js 2.3kb 0.0% + ├ ../node_modules/node-fetch/src/utils/referrer.js 2.3kb 0.0% + ├ ../node_modules/@nodelib/fs.walk/out/readers/async.js 2.3kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/path.js 2.3kb 0.0% + ├ ../node_modules/cross-spawn/node_modules/which/which.js 2.3kb 0.0% + ├ ../node_modules/fast-glob/out/settings.js 2.2kb 0.0% + ├ ../node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js 2.2kb 0.0% + ├ src/common/index.ts 2.2kb 0.0% + ├ ../node_modules/@nodelib/fs.scandir/out/providers/async.js 2.2kb 0.0% + ├ src/common/utils/get-storybook-refs.ts 2.2kb 0.0% + ├ ../node_modules/graceful-fs/legacy-streams.js 2.2kb 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/fs/index.js 2.1kb 0.0% + ├ ../node_modules/fs-extra/lib/fs/index.js 2.1kb 0.0% + ├ ../node_modules/braces/lib/expand.js 2.1kb 0.0% + ├ ../node_modules/del/index.js 2.1kb 0.0% + ├ ../node_modules/fast-glob/out/managers/tasks.js 2.1kb 0.0% + ├ src/common/js-package-manager/JsPackageManagerFactory.ts 2.1kb 0.0% + ├ ../node_modules/fast-glob/out/index.js 2.1kb 0.0% + ├ ../node_modules/ramda/src/internal/_clone.js 2.0kb 0.0% + ├ ../node_modules/merge2/index.js 1.9kb 0.0% + ├ ../node_modules/is-glob/index.js 1.9kb 0.0% + ├ ../node_modules/braces/lib/constants.js 1.8kb 0.0% + ├ ../node_modules/del/node_modules/globby/gitignore.js 1.8kb 0.0% + ├ ../node_modules/execa/lib/kill.js 1.8kb 0.0% + ├ ../node_modules/ramda/src/internal/_Set.js 1.8kb 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/utils.js 1.7kb 0.0% + ├ ../node_modules/dotenv/package.json 1.7kb 0.0% + ├ ../node_modules/ramda/src/internal/_toString.js 1.7kb 0.0% + ├ ../node_modules/fast-glob/out/providers/filters/entry.js 1.7kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/errors.js 1.7kb 0.0% + ├ ../node_modules/fast-glob/out/providers/provider.js 1.7kb 0.0% + ├ ../node_modules/dir-glob/index.js 1.6kb 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink.js 1.6kb 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js 1.6kb 0.0% + ├ ../node_modules/glob/dist/esm/ignore.js 1.6kb 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/helpers/each.js 1.6kb 0.0% + ├ ../node_modules/tempy/index.js 1.6kb 0.0% + ├ ../node_modules/fast-glob/out/providers/filters/deep.js 1.5kb 0.0% + ├ ../node_modules/semver/index.js 1.5kb 0.0% + ├ ../node_modules/ramda/src/nAry.js 1.5kb 0.0% + ├ src/common/utils/normalize-stories.ts 1.5kb 0.0% + ├ ../node_modules/execa/lib/stream.js 1.4kb 0.0% + ├ ../node_modules/execa/lib/error.js 1.4kb 0.0% + ├ ../node_modules/source-map/lib/array-set.js 1.4kb 0.0% + ├ ../node_modules/@nodelib/fs.walk/out/readers/sync.js 1.4kb 0.0% + ├ ../node_modules/ramda/src/internal/_arity.js 1.4kb 0.0% + ├ ../node_modules/fast-glob/out/utils/path.js 1.4kb 0.0% + ├ ../node_modules/picomatch/lib/utils.js 1.4kb 0.0% + ├ src/common/utils/formatter.ts 1.4kb 0.0% + ├ node_modules/find-up/index.js 1.3kb 0.0% + ├ ../node_modules/braces/lib/utils.js 1.3kb 0.0% + ├ ../node_modules/jsonfile/index.js 1.3kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js 1.3kb 0.0% + ├ ../node_modules/file-system-cache/lib/common/libs.js 1.3kb 0.0% + ├ ../node_modules/fs-extra/lib/ensure/symlink-paths.js 1.3kb 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/move/move.js 1.3kb 0.0% + ├ ../node_modules/execa/node_modules/human-signals/build/src/main.js 1.3kb 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink-paths.js 1.3kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js 1.3kb 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/link.js 1.2kb 0.0% + ├ ../node_modules/@nodelib/fs.scandir/out/providers/sync.js 1.2kb 0.0% + ├ ../node_modules/file-system-cache/lib/common/const.hashes.js 1.2kb 0.0% + ├ ../node_modules/file-system-cache/lib/common/index.js 1.2kb 0.0% + ├ ../node_modules/locate-path/index.js 1.2kb 0.0% + ├ ../node_modules/fs-extra/lib/ensure/symlink.js 1.2kb 0.0% + ├ ../node_modules/cross-spawn/lib/parse.js 1.2kb 0.0% + ├ src/common/utils/envs.ts 1.2kb 0.0% + ├ ../node_modules/ramda/src/internal/_curry3.js 1.1kb 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/file.js 1.1kb 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/JailFS.js 1.1kb 0.0% + ├ ../node_modules/fast-glob/out/readers/stream.js 1.1kb 0.0% + ├ ../node_modules/execa/node_modules/get-stream/index.js 1.1kb 0.0% + ├ ../node_modules/@nodelib/fs.walk/out/settings.js 1.1kb 0.0% + ├ ../node_modules/fast-glob/out/providers/matchers/matcher.js 1.1kb 0.0% + ├ ../node_modules/semver/ranges/outside.js 1.1kb 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/move/move-sync.js 1.1kb 0.0% + ├ ../node_modules/fs-extra/lib/move/move-sync.js 1.1kb 0.0% + ├ ../node_modules/find-cache-dir/index.js 1.0kb 0.0% + ├ src/common/utils/cli.ts 1.0kb 0.0% + ├ ../node_modules/p-map/index.js 1.0kb 0.0% + ├ ../node_modules/ramda/src/keys.js 1023b 0.0% + ├ ../node_modules/fs-extra/lib/ensure/file.js 1021b 0.0% + ├ src/common/utils/check-addon-order.ts 1016b 0.0% + ├ src/common/utils/load-main-config.ts 1016b 0.0% + ├ ../node_modules/ts-dedent/esm/index.js 1014b 0.0% + ├ ../node_modules/fs-extra/lib/ensure/link.js 1008b 0.0% + ├ ../node_modules/ramda/src/internal/_indexOf.js 1005b 0.0% + ├ ../node_modules/braces/lib/compile.js 1002b 0.0% + ├ ../node_modules/fs-extra/lib/move/move.js 1001b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/exception.js 996b 0.0% + ├ ../node_modules/path-type/index.js 996b 0.0% + ├ ../node_modules/ramda/src/internal/_xreduceBy.js 996b 0.0% + ├ src/common/utils/interpret-require.ts 992b 0.0% + ├ src/common/utils/paths.ts 991b 0.0% + ├ ../node_modules/fs.realpath/index.js 988b 0.0% + ├ ../node_modules/braces/index.js 981b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars.runtime.js 979b 0.0% + ├ ../node_modules/semver/functions/coerce.js 976b 0.0% + ├ ../node_modules/dotenv-expand/lib/main.js 961b 0.0% + ├ ../node_modules/ramda/src/internal/_xaperture.js 956b 0.0% + ├ ../node_modules/ramda/src/constructN.js 951b 0.0% + ├ ../node_modules/balanced-match/index.js 946b 0.0% + ├ ../node_modules/fetch-blob/file.js 941b 0.0% + ├ ../node_modules/lazy-universal-dotenv/lib/index.mjs 940b 0.0% + ├ ../node_modules/resolve-from/index.js 933b 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/NodePathFS.js 932b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/compiler/base.js 929b 0.0% + ├ ../node_modules/once/once.js 928b 0.0% + ├ ../node_modules/cross-spawn/lib/enoent.js 918b 0.0% + ├ ../node_modules/@nodelib/fs.scandir/out/settings.js 913b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars.js 903b 0.0% + ├ ../node_modules/execa/lib/stdio.js 902b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/logger.js 901b 0.0% + ├ ../node_modules/semver/ranges/min-version.js 899b 0.0% + ├ ../node_modules/fast-glob/out/readers/sync.js 893b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js 887b 0.0% + ├ ../node_modules/fast-glob/out/readers/reader.js 858b 0.0% + ├ ../node_modules/ramda/src/swap.js 855b 0.0% + ├ ../node_modules/glob/dist/esm/index.js 852b 0.0% + ├ ../node_modules/source-map/lib/base64-vlq.js 850b 0.0% + ├ ../node_modules/ramda/src/internal/_stepCat.js 845b 0.0% + ├ ../node_modules/node-fetch/src/utils/is.js 835b 0.0% + ├ ../node_modules/ramda/src/internal/_xdropLastWhile.js 833b 0.0% + ├ ../node_modules/ramda/src/internal/_xdropLast.js 831b 0.0% + ├ ../node_modules/isexe/index.js 826b 0.0% + ├ ../node_modules/ramda/src/internal/_flatCat.js 826b 0.0% + ├ ../node_modules/fetch-blob/streams.cjs 819b 0.0% + ├ ../node_modules/locate-path/node_modules/p-limit/index.js 818b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/helpers/if.js 816b 0.0% + ├ ../node_modules/semver/functions/cmp.js 813b 0.0% + ├ ../node_modules/source-map/lib/mapping-list.js 806b 0.0% + ├ ../node_modules/@nodelib/fs.walk/out/providers/stream.js 803b 0.0% + ├ ../node_modules/aggregate-error/index.js 803b 0.0% + ├ ../node_modules/fast-glob/out/providers/stream.js 802b 0.0% + ├ src/common/utils/log.ts 799b 0.0% + ├ src/common/utils/remove.ts 794b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/helpers/with.js 791b 0.0% + ├ ../node_modules/find-up-simple/index.js 787b 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/CwdFS.js 780b 0.0% + ├ ../node_modules/onetime/index.js 775b 0.0% + ├ src/common/utils/template.ts 775b 0.0% + ├ ../node_modules/find-cache-dir/node_modules/find-up/index.js 773b 0.0% + ├ ../node_modules/clean-stack/index.js 763b 0.0% + ├ ../node_modules/@nodelib/fs.stat/out/providers/async.js 751b 0.0% + ├ ../node_modules/ramda/src/empty.js 749b 0.0% + ├ ../node_modules/@nodelib/fs.walk/out/index.js 745b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/output-file/index.js 745b 0.0% + ├ ../node_modules/data-uri-to-buffer/dist/index.js 744b 0.0% + ├ src/common/utils/framework-to-renderer.ts 734b 0.0% + ├ ../node_modules/execa/lib/promise.js 733b 0.0% + ├ ../node_modules/fast-glob/out/readers/async.js 726b 0.0% + ├ ../node_modules/indent-string/index.js 724b 0.0% + ├ ../node_modules/npm-run-path/index.js 722b 0.0% + ├ ../node_modules/cross-spawn/lib/util/resolveCommand.js 720b 0.0% + ├ ../node_modules/source-map/lib/binary-search.js 715b 0.0% + ├ ../node_modules/isexe/mode.js 708b 0.0% + ├ ../node_modules/isexe/windows.js 704b 0.0% + ├ ../node_modules/universalify/index.js 703b 0.0% + ├ ../node_modules/ramda/src/internal/_xfindIndex.js 698b 0.0% + ├ ../node_modules/merge-stream/index.js 697b 0.0% + ├ ../node_modules/inflight/inflight.js 691b 0.0% + ├ ../node_modules/ramda/src/concat.js 675b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js 669b 0.0% + ├ ../node_modules/ramda/src/internal/_xdropRepeatsWith.js 667b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/helpers.js 666b 0.0% + ├ ../node_modules/ramda/src/internal/_createReduce.js 665b 0.0% + ├ ../node_modules/ramda/src/internal/_xfind.js 665b 0.0% + ├ ../node_modules/ramda/src/internal/_xall.js 656b 0.0% + ├ ../node_modules/ramda/src/internal/_xany.js 656b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/empty/index.js 652b 0.0% + ├ ../node_modules/del/node_modules/globby/stream-utils.js 651b 0.0% + ├ ../node_modules/fs-extra/lib/empty/index.js 651b 0.0% + ├ ../node_modules/ramda/src/map.js 649b 0.0% + ├ ../node_modules/execa/lib/command.js 648b 0.0% + ├ ../node_modules/ramda/src/internal/_dispatchable.js 645b 0.0% + ├ ../node_modules/ramda/src/internal/_xscan.js 642b 0.0% + ├ ../node_modules/@nodelib/fs.walk/out/providers/async.js 639b 0.0% + ├ ../node_modules/execa/node_modules/human-signals/build/src/signals.js 637b 0.0% + ├ ../node_modules/ramda/src/internal/_xfindLastIndex.js 631b 0.0% + ├ ../node_modules/common-path-prefix/index.js 628b 0.0% + ├ ../node_modules/@nodelib/fs.walk/out/readers/common.js 627b 0.0% + ├ ../node_modules/fast-glob/out/providers/matchers/partial.js 614b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/symlink-type.js 613b 0.0% + ├ ../node_modules/run-parallel/index.js 613b 0.0% + ├ ../node_modules/ramda/src/dissocPath.js 610b 0.0% + ├ ../node_modules/fast-glob/out/providers/transformers/entry.js 609b 0.0% + ├ ../node_modules/@nodelib/fs.scandir/out/utils/fs.js 608b 0.0% + ├ ../node_modules/fast-glob/out/utils/fs.js 608b 0.0% + ├ ../node_modules/semver/ranges/simplify.js 608b 0.0% + ├ ../node_modules/ramda/src/applySpec.js 607b 0.0% + ├ ../node_modules/yocto-queue/index.js 600b 0.0% + ├ ../node_modules/@nodelib/fs.stat/out/settings.js 599b 0.0% + ├ ../node_modules/ramda/src/internal/_xtake.js 596b 0.0% + ├ ../node_modules/app-root-dir/lib/index.js 591b 0.0% + ├ src/common/utils/validate-config.ts 591b 0.0% + ├ ../node_modules/@nodelib/fs.scandir/out/index.js 587b 0.0% + ├ ../node_modules/wrappy/wrappy.js 585b 0.0% + ├ ../node_modules/locate-path/node_modules/p-locate/index.js 582b 0.0% + ├ ../node_modules/glob-parent/index.js 578b 0.0% + ├ ../node_modules/fast-glob/out/providers/async.js 576b 0.0% + ├ ../node_modules/@nodelib/fs.scandir/out/constants.js 575b 0.0% + ├ ../node_modules/@nodelib/fs.stat/out/index.js 575b 0.0% + ├ ../node_modules/ramda/src/trim.js 575b 0.0% + ├ ../node_modules/ramda/src/sequence.js 573b 0.0% + ├ src/common/utils/validate-configuration-files.ts 573b 0.0% + ├ ../node_modules/semver/functions/diff.js 571b 0.0% + ├ ../node_modules/ramda/src/internal/_xfindLast.js 569b 0.0% + ├ ../node_modules/ramda/src/internal/_xdropWhile.js 568b 0.0% + ├ ../node_modules/execa/node_modules/get-stream/buffer-stream.js 567b 0.0% + ├ ../node_modules/@nodelib/fs.scandir/out/adapters/fs.js 565b 0.0% + ├ ../node_modules/ramda/src/internal/_xuniqWith.js 565b 0.0% + ├ ../node_modules/cross-spawn/index.js 562b 0.0% + ├ ../node_modules/fs-extra/lib/ensure/symlink-type.js 562b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/ensure/index.js 560b 0.0% + ├ ../node_modules/fs-extra/lib/ensure/index.js 560b 0.0% + ├ ../node_modules/source-map/lib/quick-sort.js 554b 0.0% + ├ ../node_modules/fast-glob/out/providers/sync.js 552b 0.0% + ├ ../node_modules/fs-extra/lib/util/utimes.js 546b 0.0% + ├ ../node_modules/@yarnpkg/libzip/lib/async.js 545b 0.0% + ├ ../node_modules/execa/node_modules/human-signals/build/src/realtime.js 545b 0.0% + ├ ../node_modules/ramda/src/internal/_xuniqBy.js 539b 0.0% + ├ ../node_modules/ramda/src/internal/_xReduce.js 538b 0.0% + ├ ../node_modules/ramda/src/internal/_curry2.js 535b 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/LazyFS.js 531b 0.0% + ├ ../node_modules/signal-exit/signals.js 530b 0.0% + ├ ../node_modules/is-stream/index.js 529b 0.0% + ├ ../node_modules/ramda/src/internal/_xpromap.js 529b 0.0% + ├ ../node_modules/source-map/lib/base64.js 521b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/no-conflict.js 515b 0.0% + ├ ../node_modules/semver/internal/constants.js 515b 0.0% + ├ ../node_modules/graceful-fs/clone.js 508b 0.0% + ├ ../node_modules/ramda/src/internal/_xtakeWhile.js 507b 0.0% + ├ ../node_modules/ramda/src/internal/_xdrop.js 506b 0.0% + ├ ../node_modules/@nodelib/fs.stat/out/adapters/fs.js 505b 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/AliasFS.js 500b 0.0% + ├ ../node_modules/ramda/src/internal/_isTypedArray.js 500b 0.0% + ├ ../node_modules/fs-extra/lib/output-file/index.js 499b 0.0% + ├ ../node_modules/inherits/inherits_browser.js 499b 0.0% + ├ ../node_modules/ramda/src/internal/_toISOString.js 499b 0.0% + ├ src/common/utils/load-manager-or-addons-file.ts 499b 0.0% + ├ ../node_modules/braces/lib/stringify.js 496b 0.0% + ├ ../node_modules/ramda/src/identical.js 490b 0.0% + ├ ../node_modules/ramda/src/internal/_xfilter.js 490b 0.0% + ├ ../node_modules/ramda/src/min.js 490b 0.0% + ├ ../node_modules/ramda/src/max.js 487b 0.0% + ├ ../node_modules/ramda/src/internal/_xtap.js 485b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js 484b 0.0% + ├ ../node_modules/@nodelib/fs.stat/out/providers/sync.js 483b 0.0% + ├ ../node_modules/ramda/src/internal/_xmap.js 483b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/util/utimes.js 482b 0.0% + ├ ../node_modules/ramda/src/reduceBy.js 479b 0.0% + ├ ../node_modules/ramda/src/traverse.js 479b 0.0% + ├ ../node_modules/ramda/src/internal/_xwrap.js 478b 0.0% + ├ node_modules/chalk/source/utilities.js 470b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/helpers/log.js 467b 0.0% + ├ ../node_modules/ramda/src/internal/_curryN.js 459b 0.0% + ├ ../node_modules/ramda/src/addIndexRight.js 458b 0.0% + ├ ../node_modules/ramda/src/modifyPath.js 456b 0.0% + ├ ../node_modules/file-system-cache/lib/index.js 455b 0.0% + ├ ../node_modules/ramda/src/internal/_objectAssign.js 455b 0.0% + ├ src/common/utils/interpret-files.ts 451b 0.0% + ├ ../node_modules/fast-glob/out/utils/index.js 447b 0.0% + ├ ../node_modules/ramda/src/addIndex.js 447b 0.0% + ├ ../node_modules/ramda/src/cond.js 443b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js 435b 0.0% + ├ ../node_modules/ramda/src/assocPath.js 435b 0.0% + ├ src/common/utils/get-framework-name.ts 428b 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/PosixFS.js 426b 0.0% + ├ ../node_modules/ramda/src/filter.js 423b 0.0% + ├ ../node_modules/fast-glob/out/utils/stream.js 421b 0.0% + ├ ../node_modules/ramda/src/ap.js 421b 0.0% + ├ ../node_modules/ramda/src/invoker.js 420b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/make-dir.js 418b 0.0% + ├ ../node_modules/path-is-absolute/index.js 418b 0.0% + ├ ../node_modules/fs-extra/lib/mkdirs/make-dir.js 417b 0.0% + ├ ../node_modules/cross-spawn/lib/util/escape.js 415b 0.0% + ├ ../node_modules/ramda/src/pipeWith.js 412b 0.0% + ├ ../node_modules/ramda/src/internal/_makeFlat.js 410b 0.0% + ├ ../node_modules/ramda/src/uncurryN.js 397b 0.0% + ├ ../node_modules/fast-glob/out/utils/array.js 396b 0.0% + ├ ../node_modules/fast-glob/out/providers/filters/error.js 395b 0.0% + ├ ../node_modules/ramda/src/allPass.js 386b 0.0% + ├ ../node_modules/ramda/src/anyPass.js 385b 0.0% + ├ src/common/utils/load-preview-or-config-file.ts 383b 0.0% + ├ ../node_modules/ramda/src/evolve.js 381b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/json/index.js 380b 0.0% + ├ ../node_modules/fs-extra/lib/json/index.js 380b 0.0% + ├ ../node_modules/ramda/src/internal/_checkForMethod.js 375b 0.0% + ├ ../node_modules/ramda/src/converge.js 372b 0.0% + ├ ../node_modules/jsonfile/utils.js 371b 0.0% + ├ ../node_modules/ramda/src/dropRepeatsWith.js 367b 0.0% + ├ ../node_modules/ramda/src/useWith.js 367b 0.0% + ├ ../node_modules/node-domexception/index.js 365b 0.0% + ├ ../node_modules/ramda/src/median.js 364b 0.0% + ├ ../node_modules/ramda/src/move.js 358b 0.0% + ├ ../node_modules/ramda/src/paths.js 358b 0.0% + ├ ../node_modules/node-fetch/src/errors/fetch-error.js 353b 0.0% + ├ ../node_modules/ramda/src/lastIndexOf.js 351b 0.0% + ├ src/common/utils/glob-to-regexp.ts 350b 0.0% + ├ ../node_modules/ramda/src/chain.js 349b 0.0% + ├ ../node_modules/ramda/src/hasPath.js 349b 0.0% + ├ ../node_modules/@nodelib/fs.walk/out/providers/sync.js 347b 0.0% + ├ ../node_modules/ramda/src/mergeWithKey.js 346b 0.0% + ├ ../node_modules/ramda/src/uniqBy.js 341b 0.0% + ├ ../node_modules/reusify/reusify.js 341b 0.0% + ├ ../node_modules/semver/ranges/max-satisfying.js 341b 0.0% + ├ ../node_modules/semver/ranges/min-satisfying.js 340b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js 338b 0.0% + ├ ../node_modules/ramda/src/uniqWith.js 332b 0.0% + ├ ../node_modules/ramda/src/difference.js 331b 0.0% + ├ ../node_modules/ramda/src/splitWhenever.js 331b 0.0% + ├ ../node_modules/ramda/src/internal/_isArguments.js 330b 0.0% + ├ ../node_modules/ramda/src/internal/_xArrayReduce.js 330b 0.0% + ├ ../node_modules/concat-map/index.js 328b 0.0% + ├ ../node_modules/semver/internal/identifiers.js 328b 0.0% + ├ ../node_modules/ramda/src/collectBy.js 327b 0.0% + ├ ../node_modules/ramda/src/test.js 325b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/utils.js 324b 0.0% + ├ ../node_modules/fs-extra/lib/mkdirs/utils.js 324b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js 324b 0.0% + ├ ../node_modules/ramda/src/internal/_quote.js 323b 0.0% + ├ ../node_modules/ramda/src/tryCatch.js 323b 0.0% + ├ ../node_modules/ramda/src/invert.js 322b 0.0% + ├ ../node_modules/ramda/src/splitEvery.js 322b 0.0% + ├ ../node_modules/ramda/src/reduceRight.js 321b 0.0% + ├ ../node_modules/ramda/src/liftN.js 320b 0.0% + ├ ../node_modules/ramda/src/all.js 315b 0.0% + ├ ../node_modules/ramda/src/findIndex.js 315b 0.0% + ├ ../node_modules/ramda/src/any.js 314b 0.0% + ├ ../node_modules/ramda/src/internal/_isArrayLike.js 314b 0.0% + ├ ../node_modules/ramda/src/memoizeWith.js 314b 0.0% + ├ ../node_modules/ramda/src/findLastIndex.js 313b 0.0% + ├ ../node_modules/ramda/src/transpose.js 313b 0.0% + ├ ../node_modules/semver/functions/inc.js 313b 0.0% + ├ ../node_modules/ramda/src/dropWhile.js 312b 0.0% + ├ ../node_modules/ramda/src/over.js 312b 0.0% + ├ ../node_modules/ramda/src/times.js 312b 0.0% + ├ ../node_modules/ramda/src/internal/_reduce.js 311b 0.0% + ├ ../node_modules/ramda/src/intersperse.js 311b 0.0% + ├ ../node_modules/cross-spawn/lib/util/readShebang.js 309b 0.0% + ├ ../node_modules/ramda/src/range.js 309b 0.0% + ├ ../node_modules/ramda/src/takeWhile.js 308b 0.0% + ├ ../node_modules/@nodelib/fs.walk/out/readers/reader.js 307b 0.0% + ├ ../node_modules/path-key/index.js 307b 0.0% + ├ ../node_modules/ramda/src/find.js 307b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/remove/index.js 305b 0.0% + ├ ../node_modules/fs-extra/lib/remove/index.js 305b 0.0% + ├ ../node_modules/ramda/src/ifElse.js 305b 0.0% + ├ ../node_modules/ramda/src/scan.js 305b 0.0% + ├ ../node_modules/ramda/src/pipe.js 304b 0.0% + ├ ../node_modules/ramda/src/groupWith.js 302b 0.0% + ├ ../node_modules/ramda/src/findLast.js 299b 0.0% + ├ ../node_modules/ramda/src/sortWith.js 299b 0.0% + ├ ../node_modules/ramda/src/internal/_dissoc.js 296b 0.0% + ├ ../node_modules/ramda/src/xprod.js 296b 0.0% + ├ ../node_modules/ramda/src/internal/_modify.js 295b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/mkdirs/index.js 293b 0.0% + ├ ../node_modules/fs-extra/lib/mkdirs/index.js 293b 0.0% + ├ ../node_modules/@yarnpkg/fslib/lib/constants.js 291b 0.0% + ├ ../node_modules/execa/node_modules/strip-final-newline/index.js 290b 0.0% + ├ ../node_modules/ramda/src/internal/_concat.js 289b 0.0% + ├ ../node_modules/shebang-command/index.js 288b 0.0% + ├ ../node_modules/fast-glob/out/utils/string.js 287b 0.0% + ├ ../node_modules/ramda/src/flip.js 287b 0.0% + ├ ../node_modules/ramda/src/internal/_cloneRegExp.js 286b 0.0% + ├ ../node_modules/ramda/src/omit.js 286b 0.0% + ├ ../node_modules/ramda/src/both.js 284b 0.0% + ├ ../node_modules/ramda/src/either.js 284b 0.0% + ├ ../node_modules/is-extglob/index.js 283b 0.0% + ├ ../node_modules/ramda/src/internal/_assoc.js 283b 0.0% + ├ src/common/utils/get-builder-options.ts 283b 0.0% + ├ ../node_modules/ramda/src/lens.js 281b 0.0% + ├ ../node_modules/ramda/src/internal/_isFunction.js 280b 0.0% + ├ ../node_modules/ramda/src/reduceWhile.js 280b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/index.js 279b 0.0% + ├ ../node_modules/ramda/src/dropRepeats.js 279b 0.0% + ├ src/common/utils/load-custom-presets.ts 279b 0.0% + ├ ../node_modules/fs-extra/lib/index.js 278b 0.0% + ├ ../node_modules/ramda/src/view.js 278b 0.0% + ├ ../node_modules/temp-dir/index.js 277b 0.0% + ├ ../node_modules/ramda/src/intersection.js 275b 0.0% + ├ ../node_modules/ramda/src/differenceWith.js 270b 0.0% + ├ ../node_modules/ramda/src/internal/_createPartialApplicator.js 269b 0.0% + ├ ../node_modules/ramda/src/thunkify.js 269b 0.0% + ├ ../node_modules/crypto-random-string/index.js 268b 0.0% + ├ ../node_modules/queue-microtask/index.js 267b 0.0% + ├ ../node_modules/ramda/src/adjust.js 267b 0.0% + ├ ../node_modules/ramda/src/sortBy.js 266b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/safe-string.js 264b 0.0% + ├ ../node_modules/ramda/src/groupBy.js 263b 0.0% + ├ ../node_modules/ramda/src/insertAll.js 263b 0.0% + ├ ../node_modules/ramda/src/clamp.js 262b 0.0% + ├ ../node_modules/ramda/src/forEach.js 262b 0.0% + ├ ../node_modules/ramda/src/invertObj.js 262b 0.0% + ├ ../node_modules/ramda/src/splitWhen.js 262b 0.0% + ├ ../node_modules/node-fetch/src/errors/base.js 261b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/decorators.js 260b 0.0% + ├ ../node_modules/ramda/src/mergeDeepWithKey.js 258b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/path-exists/index.js 257b 0.0% + ├ ../node_modules/ramda/src/unwind.js 257b 0.0% + ├ ../node_modules/ramda/src/without.js 257b 0.0% + ├ ../node_modules/semver/functions/parse.js 257b 0.0% + ├ ../node_modules/fs-extra/lib/path-exists/index.js 256b 0.0% + ├ ../node_modules/ramda/src/once.js 256b 0.0% + ├ ../node_modules/mimic-fn/index.js 254b 0.0% + ├ ../node_modules/ramda/src/dropRepeatsBy.js 254b 0.0% + ├ ../node_modules/ramda/src/forEachObjIndexed.js 252b 0.0% + ├ ../node_modules/ramda/src/mapAccum.js 252b 0.0% + ├ ../node_modules/is-path-cwd/index.js 251b 0.0% + ├ ../node_modules/ramda/src/compose.js 250b 0.0% + ├ ../node_modules/ramda/src/insert.js 250b 0.0% + ├ ../node_modules/ramda/src/mapAccumRight.js 250b 0.0% + ├ ../node_modules/ramda/src/drop.js 248b 0.0% + ├ ../node_modules/ramda/src/into.js 247b 0.0% + ├ ../node_modules/ramda/src/take.js 247b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/json/jsonfile.js 246b 0.0% + ├ ../node_modules/fs-extra/lib/json/jsonfile.js 246b 0.0% + ├ ../node_modules/ramda/src/nthArg.js 245b 0.0% + ├ ../node_modules/ramda/src/of.js 245b 0.0% + ├ ../node_modules/ramda/src/zipWith.js 245b 0.0% + ├ ../node_modules/@nodelib/fs.scandir/out/providers/common.js 242b 0.0% + ├ ../node_modules/ramda/src/internal/_aperture.js 241b 0.0% + ├ ../node_modules/ramda/src/pickAll.js 241b 0.0% + ├ ../node_modules/ramda/src/zip.js 241b 0.0% + ├ ../node_modules/semver/internal/debug.js 240b 0.0% + ├ ../node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js 237b 0.0% + ├ ../node_modules/ramda/src/values.js 237b 0.0% + ├ ../node_modules/to-regex-range/node_modules/is-number/index.js 237b 0.0% + ├ ../node_modules/ramda/src/mapObjIndexed.js 236b 0.0% + ├ ../node_modules/ramda/src/zipObj.js 236b 0.0% + ├ ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js 236b 0.0% + ├ ../node_modules/ramda/src/internal/_assertPromise.js 233b 0.0% + ├ ../node_modules/ramda/src/is.js 233b 0.0% + ├ ../node_modules/is-path-inside/index.js 232b 0.0% + ├ ../node_modules/ramda/src/takeLastWhile.js 232b 0.0% + ├ ../node_modules/ramda/src/indexOf.js 230b 0.0% + ├ ../node_modules/ramda/src/reverse.js 228b 0.0% + ├ ../node_modules/ramda/src/type.js 228b 0.0% + ├ ../node_modules/ramda/src/pick.js 227b 0.0% + ├ ../node_modules/ramda/src/toPairs.js 227b 0.0% + ├ ../node_modules/ramda/src/slice.js 226b 0.0% + ├ ../node_modules/ramda/src/juxt.js 225b 0.0% + ├ ../node_modules/fast-glob/out/utils/errno.js 224b 0.0% + ├ ../node_modules/ramda/src/where.js 224b 0.0% + ├ ../node_modules/ramda/src/whereAny.js 223b 0.0% + ├ ../node_modules/ramda/src/unfold.js 222b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/json/output-json.js 221b 0.0% + ├ ../node_modules/fs-extra/lib/json/output-json.js 221b 0.0% + ├ ../node_modules/ramda/src/transduce.js 218b 0.0% + ├ ../node_modules/ramda/src/innerJoin.js 217b 0.0% + ├ ../node_modules/ramda/src/bind.js 215b 0.0% + ├ ../node_modules/ramda/src/count.js 212b 0.0% + ├ ../node_modules/ramda/src/fromPairs.js 212b 0.0% + ├ ../node_modules/ramda/src/nth.js 212b 0.0% + ├ ../node_modules/ramda/src/promap.js 211b 0.0% + ├ ../node_modules/ramda/src/clone.js 210b 0.0% + ├ ../node_modules/ramda/src/curryN.js 210b 0.0% + ├ ../node_modules/ramda/src/internal/_xfBase.js 210b 0.0% + ├ ../node_modules/ramda/src/pickBy.js 210b 0.0% + ├ ../node_modules/ramda/src/tail.js 210b 0.0% + ├ src/common/utils/resolve-path-in-sb-cache.ts 210b 0.0% + ├ ../node_modules/yallist/iterator.js 209b 0.0% + ├ src/common/utils/strip-abs-node-modules-path.ts 209b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/json/output-json-sync.js 208b 0.0% + ├ ../node_modules/fs-extra/lib/json/output-json-sync.js 208b 0.0% + ├ ../node_modules/ramda/src/internal/_curry1.js 208b 0.0% + ├ ../node_modules/ramda/src/mergeDeepWith.js 208b 0.0% + ├ ../node_modules/ramda/src/mergeWith.js 208b 0.0% + ├ ../node_modules/ramda/src/reduce.js 208b 0.0% + ├ ../node_modules/ramda/src/tap.js 208b 0.0% + ├ src/common/utils/get-renderer-name.ts 208b 0.0% + ├ ../node_modules/ramda/src/unapply.js 207b 0.0% + ├ ../node_modules/ramda/src/prop.js 206b 0.0% + ├ ../node_modules/ramda/src/internal/_includesWith.js 205b 0.0% + ├ ../node_modules/ramda/src/mathMod.js 202b 0.0% + ├ src/common/js-package-manager/util.ts 202b 0.0% + ├ src/common/utils/safeResolve.ts 201b 0.0% + ├ ../node_modules/ramda/src/remove.js 200b 0.0% + ├ ../node_modules/ramda/src/toPairsIn.js 200b 0.0% + ├ ../node_modules/ramda/src/mergeDeepLeft.js 199b 0.0% + ├ ../node_modules/ramda/src/mergeDeepRight.js 199b 0.0% + ├ ../node_modules/ramda/src/props.js 199b 0.0% + ├ ../node_modules/ramda/src/comparator.js 198b 0.0% + ├ ../node_modules/ramda/src/internal/_reduced.js 198b 0.0% + ├ ../node_modules/ramda/src/internal/_objectIs.js 196b 0.0% + ├ ../node_modules/ramda/src/internal/_dropLastWhile.js 194b 0.0% + ├ ../node_modules/ramda/src/maxBy.js 194b 0.0% + ├ ../node_modules/ramda/src/minBy.js 194b 0.0% + ├ ../node_modules/ramda/src/symmetricDifferenceWith.js 194b 0.0% + ├ ../node_modules/ramda/src/valuesIn.js 194b 0.0% + ├ ../node_modules/ramda/src/internal/_filter.js 193b 0.0% + ├ ../node_modules/del/node_modules/slash/index.js 192b 0.0% + ├ ../node_modules/ramda/src/splitAt.js 192b 0.0% + ├ ../node_modules/semver/functions/satisfies.js 192b 0.0% + ├ ../node_modules/ramda/src/ascend.js 191b 0.0% + ├ ../node_modules/ramda/src/descend.js 191b 0.0% + ├ ../node_modules/ramda/src/keysIn.js 191b 0.0% + ├ ../node_modules/ramda/src/whereEq.js 190b 0.0% + ├ ../node_modules/semver/functions/compare-build.js 190b 0.0% + ├ ../node_modules/ramda/src/lensIndex.js 189b 0.0% + ├ ../node_modules/ramda/src/lensPath.js 189b 0.0% + ├ ../node_modules/ramda/src/lensProp.js 189b 0.0% + ├ ../node_modules/ramda/src/composeWith.js 188b 0.0% + ├ ../node_modules/ramda/src/length.js 187b 0.0% + ├ ../node_modules/ramda/src/call.js 186b 0.0% + ├ ../node_modules/ramda/src/symmetricDifference.js 185b 0.0% + ├ ../node_modules/semver/ranges/valid.js 185b 0.0% + ├ ../node_modules/node-fetch/src/utils/get-search.js 184b 0.0% + ├ ../node_modules/ramda/src/endsWith.js 183b 0.0% + ├ ../node_modules/ramda/src/isEmpty.js 183b 0.0% + ├ ../node_modules/ramda/src/otherwise.js 183b 0.0% + ├ ../node_modules/ramda/src/startsWith.js 183b 0.0% + ├ ../node_modules/ramda/src/until.js 183b 0.0% + ├ ../node_modules/ramda/src/internal/_map.js 182b 0.0% + ├ ../node_modules/ramda/src/internal/_isArray.js 181b 0.0% + ├ ../node_modules/semver/functions/clean.js 181b 0.0% + ├ ../node_modules/ramda/src/aperture.js 180b 0.0% + ├ ../node_modules/ramda/src/dropLast.js 180b 0.0% + ├ ../node_modules/ramda/src/dropLastWhile.js 180b 0.0% + ├ ../node_modules/ramda/src/pathOr.js 180b 0.0% + ├ ../node_modules/ramda/src/propIs.js 180b 0.0% + ├ ../node_modules/ramda/src/propOr.js 180b 0.0% + ├ ../node_modules/ramda/src/set.js 180b 0.0% + ├ ../node_modules/ramda/src/takeLast.js 180b 0.0% + ├ ../node_modules/ramda/src/update.js 180b 0.0% + ├ ../node_modules/ramda/src/pathEq.js 179b 0.0% + ├ ../node_modules/ramda/src/propEq.js 179b 0.0% + ├ ../node_modules/ramda/src/unionWith.js 179b 0.0% + ├ ../node_modules/semver/functions/prerelease.js 178b 0.0% + ├ ../node_modules/ramda/src/union.js 176b 0.0% + ├ ../node_modules/semver/internal/parse-options.js 176b 0.0% + ├ src/common/utils/interpolate.ts 176b 0.0% + ├ ../node_modules/ramda/src/andThen.js 175b 0.0% + ├ ../node_modules/ramda/src/mergeAll.js 175b 0.0% + ├ ../node_modules/ramda/src/none.js 174b 0.0% + ├ ../node_modules/ramda/src/reject.js 174b 0.0% + ├ ../node_modules/ramda/src/repeat.js 174b 0.0% + ├ ../node_modules/ramda/src/sort.js 174b 0.0% + ├ ../node_modules/fetch-blob/from.js 173b 0.0% + ├ ../node_modules/ramda/src/pluck.js 173b 0.0% + ├ ../node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js 172b 0.0% + ├ ../node_modules/ramda/src/internal/_arrayReduce.js 171b 0.0% + ├ ../node_modules/ramda/src/internal/_xchain.js 171b 0.0% + ├ src/common/utils/get-storybook-configuration.ts 171b 0.0% + ├ ../node_modules/semver/ranges/to-comparators.js 169b 0.0% + ├ ../node_modules/source-map/source-map.js 169b 0.0% + ├ ../node_modules/ramda/src/hasIn.js 167b 0.0% + ├ ../node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js 166b 0.0% + ├ ../node_modules/ramda/src/always.js 165b 0.0% + ├ ../node_modules/ramda/src/internal/_pipe.js 165b 0.0% + ├ ../node_modules/ramda/src/assoc.js 164b 0.0% + ├ ../node_modules/ramda/src/eqBy.js 164b 0.0% + ├ ../node_modules/ramda/src/eqProps.js 164b 0.0% + ├ ../node_modules/ramda/src/internal/_isPlaceholder.js 164b 0.0% + ├ ../node_modules/ramda/src/modify.js 164b 0.0% + ├ ../node_modules/ramda/src/equals.js 163b 0.0% + ├ ../node_modules/ramda/src/internal/_arrayFromIterator.js 163b 0.0% + ├ ../node_modules/ramda/src/defaultTo.js 162b 0.0% + ├ ../node_modules/ramda/src/internal/_forceReduced.js 162b 0.0% + ├ ../node_modules/ramda/src/pathSatisfies.js 162b 0.0% + ├ ../node_modules/ramda/src/propSatisfies.js 162b 0.0% + ├ ../node_modules/ramda/src/mean.js 161b 0.0% + ├ ../node_modules/ramda/src/objOf.js 161b 0.0% + ├ ../node_modules/ramda/src/on.js 161b 0.0% + ├ ../node_modules/ramda/src/path.js 161b 0.0% + ├ ../node_modules/ramda/src/construct.js 160b 0.0% + ├ ../node_modules/ramda/src/internal/_functionName.js 160b 0.0% + ├ ../node_modules/ramda/src/lift.js 160b 0.0% + ├ ../node_modules/ramda/src/mergeLeft.js 160b 0.0% + ├ ../node_modules/ramda/src/mergeRight.js 160b 0.0% + ├ ../node_modules/ramda/src/curry.js 159b 0.0% + ├ ../node_modules/ramda/src/partialRight.js 159b 0.0% + ├ ../node_modules/ramda/src/dissoc.js 158b 0.0% + ├ ../node_modules/ramda/src/has.js 158b 0.0% + ├ ../node_modules/@nodelib/fs.scandir/out/utils/index.js 157b 0.0% + ├ ../node_modules/ramda/src/append.js 157b 0.0% + ├ ../node_modules/ramda/src/prepend.js 157b 0.0% + ├ ../node_modules/ramda/src/project.js 156b 0.0% + ├ ../node_modules/ramda/src/add.js 155b 0.0% + ├ ../node_modules/ramda/src/subtract.js 155b 0.0% + ├ ../node_modules/find-cache-dir/node_modules/pkg-dir/index.js 154b 0.0% + ├ ../node_modules/pkg-dir/index.js 154b 0.0% + ├ ../node_modules/ramda/src/toString.js 154b 0.0% + ├ ../node_modules/ramda/src/binary.js 153b 0.0% + ├ ../node_modules/ramda/src/partialObject.js 153b 0.0% + ├ ../node_modules/ramda/src/unary.js 153b 0.0% + ├ ../node_modules/ramda/src/internal/_dropLast.js 152b 0.0% + ├ ../node_modules/ramda/src/replace.js 152b 0.0% + ├ ../node_modules/ramda/src/unless.js 152b 0.0% + ├ ../node_modules/ramda/src/when.js 152b 0.0% + ├ ../node_modules/semver/functions/valid.js 152b 0.0% + ├ ../node_modules/ramda/src/isNotNil.js 151b 0.0% + ├ ../node_modules/semver/ranges/intersects.js 151b 0.0% + ├ ../node_modules/ramda/src/apply.js 150b 0.0% + ├ ../node_modules/ramda/src/match.js 150b 0.0% + ├ ../node_modules/ramda/src/internal/_complement.js 149b 0.0% + ├ ../node_modules/ramda/src/internal/_isTransformer.js 147b 0.0% + ├ ../node_modules/ramda/src/internal/_isNumber.js 146b 0.0% + ├ ../node_modules/ramda/src/internal/_isObject.js 146b 0.0% + ├ ../node_modules/ramda/src/internal/_isRegExp.js 146b 0.0% + ├ ../node_modules/ramda/src/internal/_isString.js 146b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/copy/index.js 145b 0.0% + ├ ../node_modules/file-system-cache/node_modules/fs-extra/lib/move/index.js 145b 0.0% + ├ ../node_modules/glob/dist/esm/has-magic.js 145b 0.0% + ├ ../node_modules/ramda/src/flatten.js 145b 0.0% + ├ ../node_modules/ramda/src/xor.js 145b 0.0% + ├ ../node_modules/fs-extra/lib/copy/index.js 144b 0.0% + ├ ../node_modules/fs-extra/lib/move/index.js 144b 0.0% + ├ ../node_modules/ramda/src/o.js 144b 0.0% + ├ ../node_modules/ramda/src/countBy.js 143b 0.0% + ├ ../node_modules/ramda/src/indexBy.js 142b 0.0% + ├ ../node_modules/ramda/src/internal/_promap.js 141b 0.0% + ├ ../node_modules/ramda/src/and.js 140b 0.0% + ├ ../node_modules/ramda/src/gte.js 140b 0.0% + ├ ../node_modules/ramda/src/isNil.js 140b 0.0% + ├ ../node_modules/ramda/src/lte.js 140b 0.0% + ├ ../node_modules/ramda/src/or.js 140b 0.0% + ├ ../node_modules/ramda/src/pair.js 140b 0.0% + ├ ../node_modules/ramda/src/divide.js 139b 0.0% + ├ ../node_modules/ramda/src/gt.js 139b 0.0% + ├ ../node_modules/ramda/src/lt.js 139b 0.0% + ├ ../node_modules/ramda/src/modulo.js 139b 0.0% + ├ ../node_modules/ramda/src/multiply.js 139b 0.0% + ├ src/common/utils/symlinks.ts 139b 0.0% + ├ ../node_modules/ramda/src/applyTo.js 138b 0.0% + ├ ../node_modules/ramda/src/partition.js 138b 0.0% + ├ src/common/utils/HandledError.ts 138b 0.0% + ├ ../node_modules/ramda/src/internal/_has.js 135b 0.0% + ├ ../node_modules/ramda/src/negate.js 133b 0.0% + ├ ../node_modules/ramda/src/not.js 133b 0.0% + ├ ../node_modules/ramda/src/internal/_includes.js 130b 0.0% + ├ ../node_modules/glob/node_modules/minimatch/dist/mjs/escape.js 129b 0.0% + ├ ../node_modules/semver/functions/compare.js 128b 0.0% + ├ ../node_modules/semver/functions/rsort.js 121b 0.0% + ├ ../node_modules/semver/functions/sort.js 121b 0.0% + ├ ../node_modules/ramda/src/product.js 120b 0.0% + ├ ../node_modules/ramda/src/sum.js 120b 0.0% + ├ src/common/utils/normalize-path.ts 120b 0.0% + ├ ../node_modules/ramda/src/complement.js 118b 0.0% + ├ ../node_modules/ramda/src/toLower.js 118b 0.0% + ├ ../node_modules/ramda/src/toUpper.js 118b 0.0% + ├ ../node_modules/ramda/src/uniq.js 118b 0.0% + ├ ../node_modules/ramda/src/unnest.js 118b 0.0% + ├ ../node_modules/ramda/src/identity.js 117b 0.0% + ├ ../node_modules/ramda/src/includes.js 117b 0.0% + ├ ../node_modules/ramda/src/partial.js 117b 0.0% + ├ ../node_modules/ramda/src/reduced.js 116b 0.0% + ├ src/common/utils/cache.ts 116b 0.0% + ├ ../node_modules/ramda/src/internal/_isInteger.js 113b 0.0% + ├ ../node_modules/ramda/src/split.js 112b 0.0% + ├ src/common/utils/readTemplate.ts 112b 0.0% + ├ ../node_modules/ramda/src/join.js 111b 0.0% + ├ ../node_modules/semver/functions/eq.js 111b 0.0% + ├ ../node_modules/semver/functions/neq.js 111b 0.0% + ├ ../node_modules/semver/ranges/gtr.js 111b 0.0% + ├ ../node_modules/semver/ranges/ltr.js 111b 0.0% + ├ ../node_modules/semver/functions/gte.js 110b 0.0% + ├ ../node_modules/semver/functions/lte.js 110b 0.0% + ├ ../node_modules/unicorn-magic/node.js 110b 0.0% + ├ ../node_modules/semver/functions/gt.js 109b 0.0% + ├ ../node_modules/semver/functions/lt.js 109b 0.0% + ├ ../node_modules/semver/functions/major.js 109b 0.0% + ├ ../node_modules/semver/functions/minor.js 109b 0.0% + ├ ../node_modules/semver/functions/patch.js 109b 0.0% + ├ ../node_modules/array-union/index.js 106b 0.0% + ├ ../node_modules/ramda/src/init.js 106b 0.0% + ├ ../node_modules/semver/functions/rcompare.js 105b 0.0% + ├ ../node_modules/ramda/src/dec.js 104b 0.0% + ├ ../node_modules/ramda/src/last.js 104b 0.0% + ├ ../node_modules/ramda/src/head.js 103b 0.0% + ├ ../node_modules/ramda/src/inc.js 103b 0.0% + ├ ../node_modules/semver/functions/compare-loose.js 103b 0.0% + ├ ../node_modules/ramda/src/F.js 99b 0.0% + ├ ../node_modules/ramda/src/T.js 99b 0.0% + ├ ../node_modules/unique-string/index.js 99b 0.0% + ├ src/common/utils/common-glob-options.ts 94b 0.0% + ├ ../node_modules/ramda/src/internal/_identity.js 92b 0.0% + ├ ../node_modules/ramda/src/__.js 91b 0.0% + ├ ../node_modules/node-fetch/src/errors/abort-error.js 88b 0.0% + ├ src/common/utils/file-cache.ts 88b 0.0% + ├ ../node_modules/node-fetch/src/utils/is-redirect.js 87b 0.0% + ├ src/common/utils/handlebars.ts 83b 0.0% + ├ src/common/utils/log-config.ts 83b 0.0% + ├ ../node_modules/slash/index.js 82b 0.0% + ├ ../node_modules/shebang-regex/index.js 76b 0.0% + ├ ../node_modules/picomatch/index.js 72b 0.0% + ├ src/common/utils/satisfies.ts 38b 0.0% + ├ ../node_modules/find-cache-dir/node_modules/path-exists/index.js 37b 0.0% + └ node_modules/path-exists/index.js 37b 0.0% + + dist/csf-tools/index.cjs 1.6mb 100.0% + ├ ../node_modules/@babel/parser/lib/index.js 379.5kb 23.1% + ├ ../node_modules/esprima/dist/esprima.js 210.4kb 12.8% + ├ ../node_modules/@babel/types/lib/validators/generated/index.js 68.1kb 4.1% + ├ ../node_modules/recast/lib/printer.js 55.4kb 3.4% + ├ ../node_modules/@babel/types/lib/definitions/core.js 51.0kb 3.1% + ├ ../node_modules/@babel/types/lib/builders/generated/index.js 40.6kb 2.5% + ├ ../node_modules/@babel/traverse/node_modules/globals/globals.json 34.6kb 2.1% + ├ ../node_modules/@babel/types/lib/builders/generated/uppercase.js 34.2kb 2.1% + ├ ../node_modules/@babel/types/lib/asserts/generated/index.js 27.7kb 1.7% + ├ ../node_modules/@babel/traverse/lib/scope/index.js 21.8kb 1.3% + ├ ../node_modules/@babel/generator/lib/printer.js 16.1kb 1.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/types.js 16.1kb 1.0% + ├ src/csf-tools/ConfigFile.ts 15.9kb 1.0% + ├ ../node_modules/source-map/lib/source-map-consumer.js 15.4kb 0.9% + ├ ../node_modules/@babel/types/lib/definitions/flow.js 15.2kb 0.9% + ├ ../node_modules/@babel/types/lib/definitions/typescript.js 14.4kb 0.9% + ├ ../node_modules/recast/lib/lines.js 14.2kb 0.9% + ├ ../node_modules/tslib/tslib.es6.mjs 14.0kb 0.8% + ├ ../node_modules/@babel/highlight/node_modules/color-convert/conversions.js 13.0kb 0.8% + ├ src/csf-tools/CsfFile.ts 12.6kb 0.8% + ├ ../node_modules/@babel/generator/lib/generators/typescript.js 12.3kb 0.7% + ├ ../node_modules/@babel/generator/lib/generators/flow.js 12.0kb 0.7% + ├ ../node_modules/@babel/types/lib/index.js 11.9kb 0.7% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/typescript.js 11.7kb 0.7% + ├ ../node_modules/@babel/traverse/lib/path/conversion.js 11.2kb 0.7% + ├ ../node_modules/@babel/helper-validator-identifier/lib/identifier.js 11.1kb 0.7% + ├ ../node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js 10.9kb 0.7% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/flow.js 10.5kb 0.6% + ├ ../node_modules/recast/lib/fast-path.js 9.7kb 0.6% + ├ ../node_modules/@babel/traverse/lib/path/introspection.js 9.6kb 0.6% + ├ ../node_modules/recast/node_modules/ast-types/lib/node-path.js 9.1kb 0.6% + ├ ../node_modules/@babel/traverse/lib/path/evaluation.js 8.1kb 0.5% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/core.js 7.5kb 0.5% + ├ ../node_modules/graceful-fs/graceful-fs.js 7.4kb 0.5% + ├ ../node_modules/@babel/generator/lib/node/parentheses.js 7.2kb 0.4% + ├ ../node_modules/recast/node_modules/ast-types/lib/scope.js 7.2kb 0.4% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/babel-core.js 7.1kb 0.4% + ├ ../node_modules/recast/lib/patcher.js 7.0kb 0.4% + ├ ../node_modules/recast/node_modules/ast-types/lib/path-visitor.js 6.8kb 0.4% + ├ ../node_modules/@babel/generator/lib/buffer.js 6.6kb 0.4% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/es6.js 6.6kb 0.4% + ├ ../node_modules/@babel/types/lib/definitions/utils.js 6.4kb 0.4% + ├ ../node_modules/@babel/traverse/lib/path/replacement.js 6.3kb 0.4% + ├ ../node_modules/@babel/traverse/lib/path/family.js 6.3kb 0.4% + ├ ../node_modules/graceful-fs/polyfills.js 6.1kb 0.4% + ├ ../node_modules/source-map/lib/source-map-generator.js 6.0kb 0.4% + ├ ../node_modules/recast/node_modules/ast-types/lib/path.js 5.9kb 0.4% + ├ ../node_modules/@babel/generator/lib/generators/expressions.js 5.9kb 0.4% + ├ ../node_modules/@babel/traverse/lib/path/modification.js 5.9kb 0.4% + ├ ../node_modules/recast/lib/util.js 5.7kb 0.3% + ├ ../node_modules/@babel/generator/lib/generators/modules.js 5.5kb 0.3% + ├ ../node_modules/@babel/helper-string-parser/lib/index.js 5.3kb 0.3% + ├ ../node_modules/source-map/lib/source-node.js 5.1kb 0.3% + ├ ../node_modules/recast/lib/comments.js 5.1kb 0.3% + ├ ../node_modules/@babel/generator/lib/generators/statements.js 5.0kb 0.3% + ├ ../node_modules/jsesc/jsesc.js 4.9kb 0.3% + ├ ../node_modules/@babel/traverse/lib/path/context.js 4.9kb 0.3% + ├ ../node_modules/@babel/generator/lib/generators/types.js 4.8kb 0.3% + ├ ../node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js 4.7kb 0.3% + ├ ../node_modules/source-map/lib/util.js 4.6kb 0.3% + ├ ../node_modules/@babel/highlight/node_modules/color-name/index.js 4.5kb 0.3% + ├ ../node_modules/@babel/traverse/lib/path/lib/hoister.js 4.4kb 0.3% + ├ ../node_modules/@babel/traverse/lib/path/inference/inferers.js 4.4kb 0.3% + ├ ../node_modules/@babel/types/lib/definitions/jsx.js 4.3kb 0.3% + ├ ../node_modules/recast/lib/mapping.js 4.2kb 0.3% + ├ ../node_modules/@babel/traverse/lib/visitors.js 4.2kb 0.3% + ├ ../node_modules/@babel/types/lib/constants/generated/index.js 4.2kb 0.3% + ├ ../node_modules/recast/lib/parser.js 4.1kb 0.3% + ├ ../node_modules/@babel/code-frame/lib/index.js 4.0kb 0.2% + ├ ../node_modules/@storybook/csf/dist/index.mjs 3.9kb 0.2% + ├ ../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js 3.9kb 0.2% + ├ ../node_modules/@babel/highlight/node_modules/chalk/index.js 3.9kb 0.2% + ├ ../node_modules/@babel/traverse/lib/path/index.js 3.6kb 0.2% + ├ ../node_modules/fs-extra/lib/util/stat.js 3.6kb 0.2% + ├ ../node_modules/debug/src/browser.js 3.6kb 0.2% + ├ ../node_modules/@babel/generator/lib/generators/methods.js 3.5kb 0.2% + ├ ../node_modules/@babel/template/lib/parse.js 3.4kb 0.2% + ├ ../node_modules/@babel/helper-function-name/lib/index.js 3.3kb 0.2% + ├ ../node_modules/@babel/generator/lib/node/whitespace.js 3.3kb 0.2% + ├ ../node_modules/@babel/generator/lib/generators/classes.js 3.3kb 0.2% + ├ ../node_modules/@babel/highlight/lib/index.js 3.3kb 0.2% + ├ ../node_modules/@babel/types/lib/definitions/experimental.js 3.3kb 0.2% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/jsx.js 3.2kb 0.2% + ├ ../node_modules/fs-extra/lib/copy/copy-sync.js 3.2kb 0.2% + ├ ../node_modules/@babel/highlight/node_modules/ansi-styles/index.js 3.1kb 0.2% + ├ ../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js 3.0kb 0.2% + ├ ../node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js 3.0kb 0.2% + ├ ../node_modules/fs-extra/lib/copy/copy.js 3.0kb 0.2% + ├ ../node_modules/debug/src/common.js 3.0kb 0.2% + ├ ../node_modules/@babel/traverse/lib/path/inference/index.js 2.9kb 0.2% + ├ ../node_modules/@babel/generator/lib/generators/index.js 2.8kb 0.2% + ├ ../node_modules/@babel/traverse/lib/path/inference/inferer-reference.js 2.8kb 0.2% + ├ src/csf-tools/getStorySortParameter.ts 2.7kb 0.2% + ├ src/csf-tools/enrichCsf.ts 2.6kb 0.2% + ├ ../node_modules/recast/node_modules/ast-types/lib/equiv.js 2.6kb 0.2% + ├ ../node_modules/@babel/traverse/lib/path/ancestry.js 2.5kb 0.2% + ├ ../node_modules/@babel/template/lib/populate.js 2.4kb 0.1% + ├ ../node_modules/@babel/traverse/lib/scope/lib/renamer.js 2.4kb 0.1% + ├ ../node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js 2.4kb 0.1% + ├ ../node_modules/@babel/highlight/node_modules/chalk/templates.js 2.4kb 0.1% + ├ ../node_modules/@babel/template/lib/options.js 2.3kb 0.1% + ├ ../node_modules/@babel/generator/lib/generators/jsx.js 2.3kb 0.1% + ├ ../node_modules/@babel/generator/lib/index.js 2.2kb 0.1% + ├ ../node_modules/debug/node_modules/ms/index.js 2.2kb 0.1% + ├ ../node_modules/@babel/traverse/lib/context.js 2.2kb 0.1% + ├ ../node_modules/@babel/types/lib/validators/isReferenced.js 2.2kb 0.1% + ├ ../node_modules/@babel/types/lib/definitions/index.js 2.2kb 0.1% + ├ ../node_modules/@babel/generator/lib/source-map.js 2.2kb 0.1% + ├ ../node_modules/graceful-fs/legacy-streams.js 2.2kb 0.1% + ├ ../node_modules/fs-extra/lib/fs/index.js 2.1kb 0.1% + ├ ../node_modules/@babel/generator/lib/generators/base.js 2.0kb 0.1% + ├ ../node_modules/@babel/types/lib/constants/index.js 2.0kb 0.1% + ├ ../node_modules/@babel/traverse/lib/index.js 1.9kb 0.1% + ├ ../node_modules/@babel/types/lib/clone/cloneNode.js 1.9kb 0.1% + ├ ../node_modules/recast/node_modules/ast-types/lib/main.js 1.8kb 0.1% + ├ ../node_modules/@babel/template/lib/builder.js 1.8kb 0.1% + ├ ../node_modules/@babel/types/lib/converters/valueToNode.js 1.7kb 0.1% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/es-proposals.js 1.7kb 0.1% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/esprima.js 1.7kb 0.1% + ├ ../node_modules/recast/node_modules/ast-types/lib/shared.js 1.6kb 0.1% + ├ ../node_modules/@babel/traverse/lib/scope/binding.js 1.5kb 0.1% + ├ ../node_modules/recast/lib/options.js 1.5kb 0.1% + ├ ../node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js 1.5kb 0.1% + ├ ../node_modules/@babel/template/lib/literal.js 1.4kb 0.1% + ├ ../node_modules/source-map/lib/array-set.js 1.4kb 0.1% + ├ ../node_modules/@babel/helper-split-export-declaration/lib/index.js 1.4kb 0.1% + ├ ../node_modules/@babel/traverse/lib/path/removal.js 1.4kb 0.1% + ├ ../node_modules/@babel/generator/lib/node/index.js 1.4kb 0.1% + ├ ../node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js 1.3kb 0.1% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/es2020.js 1.3kb 0.1% + ├ ../node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js 1.3kb 0.1% + ├ ../node_modules/recast/node_modules/ast-types/lib/fork.js 1.3kb 0.1% + ├ ../node_modules/jsonfile/index.js 1.3kb 0.1% + ├ ../node_modules/fs-extra/lib/ensure/symlink-paths.js 1.3kb 0.1% + ├ ../node_modules/@babel/traverse/lib/path/lib/virtual-types.js 1.2kb 0.1% + ├ ../node_modules/@babel/helper-validator-identifier/lib/index.js 1.2kb 0.1% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/type-annotations.js 1.2kb 0.1% + ├ ../node_modules/@babel/template/lib/formatters.js 1.2kb 0.1% + ├ ../node_modules/@jridgewell/set-array/dist/set-array.umd.js 1.2kb 0.1% + ├ ../node_modules/fs-extra/lib/ensure/symlink.js 1.2kb 0.1% + ├ ../node_modules/recast/main.js 1.2kb 0.1% + ├ ../node_modules/@babel/highlight/node_modules/color-convert/route.js 1.1kb 0.1% + ├ ../node_modules/@babel/helper-validator-identifier/lib/keyword.js 1.1kb 0.1% + ├ ../node_modules/js-tokens/index.js 1.1kb 0.1% + ├ ../node_modules/@babel/types/lib/validators/isNodesEquivalent.js 1.1kb 0.1% + ├ ../node_modules/@babel/traverse/lib/path/comments.js 1.0kb 0.1% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/es2018.js 1.0kb 0.1% + ├ ../node_modules/@babel/highlight/node_modules/color-convert/index.js 1.0kb 0.1% + ├ ../node_modules/@babel/traverse/lib/path/lib/removal-hooks.js 1.0kb 0.1% + ├ ../node_modules/fs-extra/lib/move/move-sync.js 1.0kb 0.1% + ├ ../node_modules/ts-dedent/esm/index.js 1014b 0.1% + ├ ../node_modules/fs-extra/lib/ensure/file.js 995b 0.1% + ├ ../node_modules/fs-extra/lib/ensure/link.js 977b 0.1% + ├ ../node_modules/fs-extra/lib/move/move.js 968b 0.1% + ├ ../node_modules/@babel/traverse/lib/cache.js 957b 0.1% + ├ ../node_modules/@babel/types/lib/utils/deprecationWarning.js 925b 0.1% + ├ ../node_modules/@babel/helper-hoist-variables/lib/index.js 924b 0.1% + ├ ../node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js 900b 0.1% + ├ ../node_modules/@babel/types/lib/traverse/traverse.js 873b 0.1% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/operators/core.js 848b 0.1% + ├ ../node_modules/source-map/lib/base64-vlq.js 828b 0.0% + ├ ../node_modules/@babel/types/lib/validators/matchesPattern.js 822b 0.0% + ├ ../node_modules/source-map/lib/mapping-list.js 793b 0.0% + ├ ../node_modules/@babel/types/lib/definitions/placeholders.js 739b 0.0% + ├ ../node_modules/@babel/helper-environment-visitor/lib/index.js 718b 0.0% + ├ ../node_modules/source-map/lib/binary-search.js 701b 0.0% + ├ ../node_modules/universalify/index.js 699b 0.0% + ├ ../node_modules/@babel/types/lib/converters/toStatement.js 673b 0.0% + ├ src/csf-tools/babelParse.ts 655b 0.0% + ├ ../node_modules/@babel/template/lib/index.js 652b 0.0% + ├ src/csf-tools/index.ts 646b 0.0% + ├ ../node_modules/@babel/generator/lib/generators/template-literals.js 640b 0.0% + ├ ../node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js 636b 0.0% + ├ ../node_modules/fs-extra/lib/empty/index.js 626b 0.0% + ├ ../node_modules/@babel/types/lib/converters/toKeyAlias.js 610b 0.0% + ├ ../node_modules/@babel/types/lib/validators/validate.js 603b 0.0% + ├ ../node_modules/recast/parsers/esprima.js 589b 0.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/es2017.js 585b 0.0% + ├ ../node_modules/@babel/types/lib/definitions/misc.js 578b 0.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/babel.js 576b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isBinding.js 572b 0.0% + ├ ../node_modules/@babel/types/lib/modifications/removeProperties.js 553b 0.0% + ├ ../node_modules/fs-extra/lib/ensure/symlink-type.js 549b 0.0% + ├ ../node_modules/source-map/lib/quick-sort.js 542b 0.0% + ├ ../node_modules/fs-extra/lib/ensure/index.js 535b 0.0% + ├ ../node_modules/fs-extra/lib/util/utimes.js 529b 0.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/es2019.js 519b 0.0% + ├ ../node_modules/@babel/types/lib/converters/toExpression.js 517b 0.0% + ├ ../node_modules/@babel/traverse/lib/traverse-node.js 514b 0.0% + ├ ../node_modules/source-map/lib/base64.js 513b 0.0% + ├ ../node_modules/graceful-fs/clone.js 500b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isValidES3Identifier.js 495b 0.0% + ├ ../node_modules/@babel/types/lib/builders/react/buildChildren.js 493b 0.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/operators/es2016.js 486b 0.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/operators/es2021.js 482b 0.0% + ├ ../node_modules/@babel/types/lib/modifications/inherits.js 480b 0.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/es2022.js 478b 0.0% + ├ ../node_modules/fs-extra/lib/output-file/index.js 476b 0.0% + ├ ../node_modules/@babel/types/lib/converters/toIdentifier.js 475b 0.0% + ├ ../node_modules/picocolors/picocolors.browser.js 471b 0.0% + ├ ../node_modules/@babel/types/lib/converters/toBlock.js 461b 0.0% + ├ ../node_modules/@babel/traverse/lib/path/inference/util.js 453b 0.0% + ├ ../node_modules/@babel/types/lib/traverse/traverseFast.js 453b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isType.js 435b 0.0% + ├ ../node_modules/@babel/types/lib/validators/is.js 406b 0.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/operators/es2020.js 404b 0.0% + ├ ../node_modules/fs-extra/lib/mkdirs/make-dir.js 402b 0.0% + ├ ../node_modules/@babel/template/lib/string.js 388b 0.0% + ├ src/csf-tools/findVarInitialization.ts 385b 0.0% + ├ ../node_modules/@babel/traverse/lib/hub.js 379b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isScope.js 379b 0.0% + ├ ../node_modules/fs-extra/lib/json/index.js 371b 0.0% + ├ ../node_modules/@babel/types/lib/modifications/prependToMemberExpression.js 363b 0.0% + ├ ../node_modules/jsonfile/utils.js 363b 0.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/es2016.js 361b 0.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/def/es2021.js 361b 0.0% + ├ ../node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js 349b 0.0% + ├ ../node_modules/to-fast-properties/index.js 340b 0.0% + ├ ../node_modules/@babel/types/lib/converters/toSequenceExpression.js 338b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isPlaceholderType.js 338b 0.0% + ├ ../node_modules/@babel/types/lib/asserts/assertNode.js 337b 0.0% + ├ ../node_modules/fs-extra/lib/mkdirs/utils.js 318b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isValidIdentifier.js 310b 0.0% + ├ ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js 310b 0.0% + ├ ../node_modules/@babel/types/lib/comments/addComments.js 306b 0.0% + ├ ../node_modules/@babel/types/lib/modifications/appendToMemberExpression.js 294b 0.0% + ├ ../node_modules/@babel/types/lib/converters/toComputedKey.js 293b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isSpecifierDefault.js 293b 0.0% + ├ ../node_modules/fs-extra/lib/remove/index.js 292b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isImmutable.js 285b 0.0% + ├ ../node_modules/@babel/types/lib/builders/validateNode.js 282b 0.0% + ├ ../node_modules/@babel/types/lib/comments/addComment.js 281b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isVar.js 277b 0.0% + ├ ../node_modules/fs-extra/lib/mkdirs/index.js 277b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isBlockScoped.js 275b 0.0% + ├ ../node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js 274b 0.0% + ├ ../node_modules/@babel/types/lib/comments/inheritsComments.js 272b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isLet.js 271b 0.0% + ├ ../node_modules/fs-extra/lib/index.js 266b 0.0% + ├ ../node_modules/@babel/types/lib/utils/shallowEqual.js 258b 0.0% + ├ ../node_modules/@babel/types/lib/converters/toBindingIdentifierName.js 256b 0.0% + ├ ../node_modules/@babel/types/lib/builders/productions.js 249b 0.0% + ├ ../node_modules/fs-extra/lib/path-exists/index.js 245b 0.0% + ├ ../node_modules/@babel/types/lib/comments/removeComments.js 238b 0.0% + ├ ../node_modules/@babel/types/lib/converters/ensureBlock.js 238b 0.0% + ├ ../node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js 237b 0.0% + ├ ../node_modules/@babel/types/lib/utils/inherit.js 236b 0.0% + ├ ../node_modules/fs-extra/lib/json/jsonfile.js 236b 0.0% + ├ ../node_modules/@babel/types/lib/definitions/deprecated-aliases.js 233b 0.0% + ├ ../node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js 232b 0.0% + ├ ../node_modules/@babel/types/lib/modifications/removePropertiesDeep.js 227b 0.0% + ├ ../node_modules/escape-string-regexp/index.js 226b 0.0% + ├ ../node_modules/@babel/types/lib/comments/inheritTrailingComments.js 214b 0.0% + ├ ../node_modules/@babel/types/lib/comments/inheritLeadingComments.js 213b 0.0% + ├ ../node_modules/@babel/types/lib/comments/inheritInnerComments.js 211b 0.0% + ├ ../node_modules/@babel/types/lib/validators/isNode.js 209b 0.0% + ├ ../node_modules/@babel/types/lib/validators/react/isReactComponent.js 209b 0.0% + ├ ../node_modules/fs-extra/lib/json/output-json.js 209b 0.0% + ├ ../node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js 203b 0.0% + ├ ../node_modules/@babel/types/lib/clone/cloneWithoutLoc.js 203b 0.0% + ├ ../node_modules/@babel/types/lib/clone/clone.js 199b 0.0% + ├ ../node_modules/fs-extra/lib/json/output-json-sync.js 196b 0.0% + ├ ../node_modules/@babel/types/lib/clone/cloneDeep.js 195b 0.0% + ├ ../node_modules/@babel/types/lib/validators/react/isCompatTag.js 183b 0.0% + ├ ../node_modules/recast/node_modules/ast-types/lib/gen/namedTypes.js 183b 0.0% + ├ ../node_modules/source-map/source-map.js 160b 0.0% + ├ ../node_modules/fs-extra/lib/copy/index.js 136b 0.0% + ├ ../node_modules/fs-extra/lib/move/index.js 136b 0.0% + ├ ../node_modules/@babel/highlight/node_modules/supports-color/browser.js 99b 0.0% + └ ../node_modules/@babel/traverse/node_modules/globals/index.js 67b 0.0% + + dist/telemetry/index.cjs 401.2kb 100.0% + ├ ../node_modules/web-streams-polyfill/dist/ponyfill.es2018.js 87.0kb 21.7% + ├ ../node_modules/lru-cache/dist/esm/index.js 28.9kb 7.2% + ├ ../node_modules/@babel/highlight/node_modules/color-convert/conversions.js 12.9kb 3.2% + ├ ../node_modules/@babel/helper-validator-identifier/lib/identifier.js 11.1kb 2.8% + ├ ../node_modules/spdx-license-ids/index.json 9.7kb 2.4% + ├ node_modules/normalize-package-data/lib/fixer.js 8.8kb 2.2% + ├ ../node_modules/spdx-correct/index.js 7.6kb 1.9% + ├ ../node_modules/hosted-git-info/lib/hosts.js 7.3kb 1.8% + ├ ../node_modules/graceful-fs/graceful-fs.js 7.3kb 1.8% + ├ ../node_modules/node-fetch/src/utils/multipart-parser.js 6.8kb 1.7% + ├ ../node_modules/node-fetch/src/index.js 6.3kb 1.6% + ├ ../node_modules/graceful-fs/polyfills.js 6.1kb 1.5% + ├ ../node_modules/is-core-module/core.json 6.0kb 1.5% + ├ ../node_modules/execa/node_modules/human-signals/build/src/core.js 5.8kb 1.4% + ├ ../node_modules/semver/classes/semver.js 5.6kb 1.4% + ├ ../node_modules/node-fetch/src/body.js 5.4kb 1.4% + ├ ../node_modules/fetch-blob/index.js 5.1kb 1.3% + ├ ../node_modules/execa/index.js 4.8kb 1.2% + ├ ../node_modules/node-fetch/src/request.js 4.6kb 1.1% + ├ ../node_modules/@babel/highlight/node_modules/color-name/index.js 4.5kb 1.1% + ├ ../node_modules/node-fetch/src/headers.js 4.3kb 1.1% + ├ ../node_modules/@babel/code-frame/lib/index.js 4.0kb 1.0% + ├ node_modules/chalk/source/vendor/ansi-styles/index.js 4.0kb 1.0% + ├ ../node_modules/@babel/highlight/node_modules/chalk/index.js 3.9kb 1.0% + ├ ../node_modules/semver/internal/re.js 3.7kb 0.9% + ├ ../node_modules/fs-extra/lib/util/stat.js 3.6kb 0.9% + ├ ../node_modules/hosted-git-info/lib/index.js 3.5kb 0.9% + ├ ../node_modules/@babel/highlight/lib/index.js 3.3kb 0.8% + ├ ../node_modules/fetch-retry/dist/fetch-retry.umd.js 3.3kb 0.8% + ├ ../node_modules/fs-extra/lib/copy/copy-sync.js 3.2kb 0.8% + ├ src/telemetry/storybook-metadata.ts 3.2kb 0.8% + ├ ../node_modules/@babel/highlight/node_modules/ansi-styles/index.js 3.1kb 0.8% + ├ ../node_modules/fs-extra/lib/copy/copy.js 3.0kb 0.7% + ├ ../node_modules/formdata-polyfill/esm.min.js 2.8kb 0.7% + ├ node_modules/chalk/source/index.js 2.7kb 0.7% + ├ ../node_modules/signal-exit/index.js 2.7kb 0.7% + ├ ../node_modules/node-fetch/src/response.js 2.6kb 0.7% + ├ node_modules/chalk/source/vendor/supports-color/index.js 2.5kb 0.6% + ├ ../node_modules/@babel/highlight/node_modules/chalk/templates.js 2.4kb 0.6% + ├ ../node_modules/node-fetch/src/utils/referrer.js 2.3kb 0.6% + ├ ../node_modules/cross-spawn/node_modules/which/which.js 2.2kb 0.6% + ├ ../node_modules/detect-package-manager/dist/index.js 2.2kb 0.5% + ├ ../node_modules/graceful-fs/legacy-streams.js 2.1kb 0.5% + ├ ../node_modules/fs-extra/lib/fs/index.js 2.1kb 0.5% + ├ ../node_modules/hosted-git-info/lib/from-url.js 1.9kb 0.5% + ├ ../node_modules/spdx-expression-parse/parse.js 1.9kb 0.5% + ├ node_modules/normalize-package-data/lib/warning_messages.json 1.8kb 0.4% + ├ ../node_modules/execa/lib/kill.js 1.8kb 0.4% + ├ ../node_modules/spdx-expression-parse/scan.js 1.7kb 0.4% + ├ node_modules/parse-json/index.js 1.5kb 0.4% + ├ src/telemetry/telemetry.ts 1.4kb 0.4% + ├ ../node_modules/execa/lib/stream.js 1.4kb 0.4% + ├ ../node_modules/execa/lib/error.js 1.4kb 0.4% + ├ ../node_modules/validate-npm-package-license/index.js 1.4kb 0.3% + ├ ../node_modules/function-bind/implementation.js 1.4kb 0.3% + ├ ../node_modules/jsonfile/index.js 1.3kb 0.3% + ├ ../node_modules/fs-extra/lib/ensure/symlink-paths.js 1.3kb 0.3% + ├ ../node_modules/execa/node_modules/human-signals/build/src/main.js 1.2kb 0.3% + ├ ../node_modules/@babel/helper-validator-identifier/lib/index.js 1.2kb 0.3% + ├ src/telemetry/get-framework-info.ts 1.2kb 0.3% + ├ ../node_modules/is-core-module/index.js 1.2kb 0.3% + ├ ../node_modules/fs-extra/lib/ensure/symlink.js 1.2kb 0.3% + ├ ../node_modules/cross-spawn/lib/parse.js 1.1kb 0.3% + ├ ../node_modules/@babel/highlight/node_modules/color-convert/route.js 1.1kb 0.3% + ├ ../node_modules/spdx-exceptions/index.json 1.1kb 0.3% + ├ ../node_modules/@babel/helper-validator-identifier/lib/keyword.js 1.1kb 0.3% + ├ ../node_modules/js-tokens/index.js 1.1kb 0.3% + ├ ../node_modules/execa/node_modules/get-stream/index.js 1.1kb 0.3% + ├ ../node_modules/@babel/highlight/node_modules/color-convert/index.js 1.0kb 0.3% + ├ ../node_modules/fs-extra/lib/move/move-sync.js 1.0kb 0.3% + ├ ../node_modules/fs-extra/lib/ensure/file.js 994b 0.2% + ├ ../node_modules/fs-extra/lib/ensure/link.js 976b 0.2% + ├ ../node_modules/fs-extra/lib/move/move.js 967b 0.2% + ├ src/telemetry/index.ts 949b 0.2% + ├ ../node_modules/fetch-blob/file.js 929b 0.2% + ├ node_modules/normalize-package-data/lib/normalize.js 902b 0.2% + ├ ../node_modules/cross-spawn/lib/enoent.js 898b 0.2% + ├ ../node_modules/execa/lib/stdio.js 886b 0.2% + ├ src/telemetry/event-cache.ts 862b 0.2% + ├ ../node_modules/hosted-git-info/lib/parse-url.js 833b 0.2% + ├ ../node_modules/node-fetch/src/utils/is.js 827b 0.2% + ├ src/telemetry/sanitize.ts 823b 0.2% + ├ ../node_modules/fetch-blob/streams.cjs 816b 0.2% + ├ node_modules/normalize-package-data/lib/typos.json 808b 0.2% + ├ ../node_modules/isexe/index.js 807b 0.2% + ├ ../node_modules/find-up-simple/index.js 765b 0.2% + ├ ../node_modules/onetime/index.js 757b 0.2% + ├ ../node_modules/data-uri-to-buffer/dist/index.js 741b 0.2% + ├ ../node_modules/execa/lib/promise.js 720b 0.2% + ├ ../node_modules/cross-spawn/lib/util/resolveCommand.js 701b 0.2% + ├ ../node_modules/npm-run-path/index.js 701b 0.2% + ├ ../node_modules/universalify/index.js 699b 0.2% + ├ ../node_modules/isexe/mode.js 690b 0.2% + ├ ../node_modules/merge-stream/index.js 690b 0.2% + ├ ../node_modules/isexe/windows.js 686b 0.2% + ├ src/telemetry/notify.ts 644b 0.2% + ├ ../node_modules/fs-extra/lib/empty/index.js 625b 0.2% + ├ ../node_modules/execa/lib/command.js 623b 0.2% + ├ ../node_modules/spdx-license-ids/deprecated.json 621b 0.2% + ├ src/telemetry/get-monorepo-type.ts 620b 0.2% + ├ ../node_modules/execa/node_modules/human-signals/build/src/signals.js 619b 0.2% + ├ src/telemetry/anonymous-id.ts 566b 0.1% + ├ ../node_modules/execa/node_modules/get-stream/buffer-stream.js 560b 0.1% + ├ ../node_modules/fs-extra/lib/ensure/symlink-type.js 548b 0.1% + ├ ../node_modules/cross-spawn/index.js 535b 0.1% + ├ ../node_modules/fs-extra/lib/ensure/index.js 534b 0.1% + ├ ../node_modules/fs-extra/lib/util/utimes.js 528b 0.1% + ├ ../node_modules/execa/node_modules/human-signals/build/src/realtime.js 527b 0.1% + ├ ../node_modules/is-stream/index.js 524b 0.1% + ├ ../node_modules/signal-exit/signals.js 523b 0.1% + ├ ../node_modules/semver/internal/constants.js 500b 0.1% + ├ ../node_modules/graceful-fs/clone.js 499b 0.1% + ├ ../node_modules/fs-extra/lib/output-file/index.js 475b 0.1% + ├ node_modules/chalk/source/utilities.js 468b 0.1% + ├ src/telemetry/package-json.ts 453b 0.1% + ├ ../node_modules/index-to-position/index.js 445b 0.1% + ├ ../node_modules/picocolors/picocolors.browser.js 444b 0.1% + ├ node_modules/normalize-package-data/lib/make_warning.js 440b 0.1% + ├ node_modules/read-pkg/index.js 417b 0.1% + ├ ../node_modules/cross-spawn/lib/util/escape.js 401b 0.1% + ├ ../node_modules/fs-extra/lib/mkdirs/make-dir.js 401b 0.1% + ├ ../node_modules/fs-extra/lib/json/index.js 370b 0.1% + ├ node_modules/normalize-package-data/lib/extract_description.js 364b 0.1% + ├ ../node_modules/jsonfile/utils.js 362b 0.1% + ├ ../node_modules/node-domexception/index.js 360b 0.1% + ├ ../node_modules/node-fetch/src/errors/fetch-error.js 352b 0.1% + ├ ../node_modules/fs-extra/lib/mkdirs/utils.js 317b 0.1% + ├ ../node_modules/semver/internal/identifiers.js 315b 0.1% + ├ src/telemetry/session-id.ts 309b 0.1% + ├ ../node_modules/path-key/index.js 298b 0.1% + ├ ../node_modules/cross-spawn/lib/util/readShebang.js 295b 0.1% + ├ ../node_modules/fs-extra/lib/remove/index.js 291b 0.1% + ├ ../node_modules/execa/node_modules/strip-final-newline/index.js 285b 0.1% + ├ ../node_modules/shebang-command/index.js 280b 0.1% + ├ ../node_modules/fs-extra/lib/mkdirs/index.js 276b 0.1% + ├ ../node_modules/fs-extra/lib/index.js 265b 0.1% + ├ ../node_modules/node-fetch/src/errors/base.js 260b 0.1% + ├ ../node_modules/semver/functions/parse.js 247b 0.1% + ├ ../node_modules/mimic-fn/index.js 245b 0.1% + ├ ../node_modules/fs-extra/lib/path-exists/index.js 244b 0.1% + ├ ../node_modules/fs-extra/lib/json/jsonfile.js 235b 0.1% + ├ ../node_modules/semver/internal/debug.js 233b 0.1% + ├ src/telemetry/get-chromatic-version.ts 231b 0.1% + ├ ../node_modules/escape-string-regexp/index.js 225b 0.1% + ├ ../node_modules/nanoid/index.browser.js 213b 0.1% + ├ ../node_modules/fs-extra/lib/json/output-json.js 208b 0.1% + ├ ../node_modules/fs-extra/lib/json/output-json-sync.js 195b 0.0% + ├ node_modules/read-pkg-up/index.js 193b 0.0% + ├ ../node_modules/node-fetch/src/utils/get-search.js 183b 0.0% + ├ ../node_modules/semver/functions/clean.js 171b 0.0% + ├ ../node_modules/semver/internal/parse-options.js 165b 0.0% + ├ ../node_modules/hasown/index.js 162b 0.0% + ├ src/telemetry/one-way-hash.ts 162b 0.0% + ├ ../node_modules/fetch-blob/from.js 159b 0.0% + ├ ../node_modules/semver/functions/valid.js 142b 0.0% + ├ ../node_modules/fs-extra/lib/copy/index.js 135b 0.0% + ├ ../node_modules/fs-extra/lib/move/index.js 135b 0.0% + ├ ../node_modules/spdx-expression-parse/index.js 129b 0.0% + ├ ../node_modules/function-bind/index.js 108b 0.0% + ├ ../node_modules/unicorn-magic/node.js 107b 0.0% + ├ ../node_modules/@babel/highlight/node_modules/supports-color/browser.js 98b 0.0% + ├ ../node_modules/node-fetch/src/errors/abort-error.js 86b 0.0% + ├ ../node_modules/node-fetch/src/utils/is-redirect.js 84b 0.0% + └ ../node_modules/shebang-regex/index.js 71b 0.0% + + dist/preview-api/index.cjs 252.9kb 100.0% + ├ ../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json 39.6kb 15.7% + ├ ../node_modules/object-inspect/index.js 12.4kb 4.9% + ├ ../node_modules/ansi-to-html/lib/ansi_to_html.js 10.0kb 4.0% + ├ ../node_modules/get-intrinsic/index.js 9.9kb 3.9% + ├ src/preview-api/modules/preview-web/Preview.tsx 9.9kb 3.9% + ├ src/preview-api/modules/preview-web/PreviewWithSelection.tsx 9.6kb 3.8% + ├ src/preview-api/modules/store/StoryStore.ts 7.5kb 3.0% + ├ src/preview-api/modules/addons/hooks.ts 7.0kb 2.8% + ├ src/preview-api/modules/preview-web/render/StoryRender.ts 7.0kb 2.8% + ├ ../node_modules/qs/lib/stringify.js 5.8kb 2.3% + ├ ../node_modules/qs/lib/parse.js 5.4kb 2.1% + ├ src/preview-api/modules/preview-web/docs-context/DocsContext.ts 5.2kb 2.0% + ├ ../node_modules/memoizerific/memoizerific.js 4.9kb 2.0% + ├ ../node_modules/@storybook/csf/dist/index.mjs 4.6kb 1.8% + ├ ../node_modules/qs/lib/utils.js 4.0kb 1.6% + ├ src/preview-api/modules/preview-web/WebView.ts 3.7kb 1.5% + ├ src/preview-api/modules/store/csf/prepareStory.ts 3.6kb 1.4% + ├ src/preview-api/modules/store/args.ts 3.2kb 1.3% + ├ src/preview-api/modules/store/csf/portable-stories.ts 2.8kb 1.1% + ├ ../node_modules/ansi-to-html/node_modules/entities/lib/index.js 2.4kb 1.0% + ├ ../node_modules/ansi-to-html/node_modules/entities/lib/encode.js 2.3kb 0.9% + ├ src/preview-api/modules/preview-web/parseArgsParam.ts 2.0kb 0.8% + ├ src/preview-api/modules/preview-web/render/CsfDocsRender.ts 2.0kb 0.8% + ├ src/preview-api/modules/preview-web/render/MdxDocsRender.ts 1.9kb 0.7% + ├ src/preview-api/modules/preview-web/UrlStore.ts 1.9kb 0.7% + ├ ../node_modules/side-channel/index.js 1.8kb 0.7% + ├ ../node_modules/define-data-property/index.js 1.6kb 0.6% + ├ ../node_modules/dequal/dist/index.mjs 1.6kb 0.6% + ├ ../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json 1.6kb 0.6% + ├ src/preview-api/modules/store/inferControls.ts 1.4kb 0.6% + ├ src/preview-api/modules/preview-web/simulate-pageload.ts 1.4kb 0.6% + ├ ../node_modules/function-bind/implementation.js 1.4kb 0.5% + ├ ../node_modules/lodash/_equalByTag.js 1.3kb 0.5% + ├ ../node_modules/ansi-to-html/node_modules/entities/lib/decode.js 1.3kb 0.5% + ├ src/preview-api/modules/store/autoTitle.ts 1.2kb 0.5% + ├ src/preview-api/modules/store/inferArgTypes.ts 1.2kb 0.5% + ├ src/preview-api/modules/store/csf/normalizeStory.ts 1.2kb 0.5% + ├ src/preview-api/index.ts 1.2kb 0.5% + ├ src/preview-api/modules/store/ArgsStore.ts 1.2kb 0.5% + ├ src/preview-api/modules/store/GlobalsStore.ts 1.2kb 0.5% + ├ src/preview-api/modules/store/csf/composeConfigs.ts 1.2kb 0.5% + ├ ../node_modules/lodash/_equalObjects.js 1.1kb 0.4% + ├ ../node_modules/has-symbols/shams.js 1.1kb 0.4% + ├ ../node_modules/ts-dedent/esm/index.js 1012b 0.4% + ├ ../node_modules/lodash/_baseIsTypedArray.js 1006b 0.4% + ├ ../node_modules/lodash/_baseIsEqualDeep.js 987b 0.4% + ├ ../node_modules/lodash/_equalArrays.js 966b 0.4% + ├ src/preview-api/modules/store/storySort.ts 932b 0.4% + ├ ../node_modules/lodash/_getTag.js 865b 0.3% + ├ ../node_modules/@storybook/global/dist/index.js 857b 0.3% + ├ src/preview-api/modules/store/StoryIndexStore.ts 834b 0.3% + ├ ../node_modules/set-function-length/index.js 826b 0.3% + ├ ../node_modules/lodash/_arrayLikeKeys.js 821b 0.3% + ├ src/preview-api/modules/store/csf/processCSFFile.ts 791b 0.3% + ├ src/preview-api/modules/store/csf/normalizeProjectAnnotations.ts 728b 0.3% + ├ ../node_modules/lodash/_baseIsMatch.js 697b 0.3% + ├ ../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js 689b 0.3% + ├ ../node_modules/call-bind/index.js 632b 0.2% + ├ src/preview-api/modules/addons/make-decorator.ts 618b 0.2% + ├ src/preview-api/modules/addons/main.ts 602b 0.2% + ├ ../node_modules/util-deprecate/browser.js 601b 0.2% + ├ ../node_modules/lodash/_baseSet.js 586b 0.2% + ├ src/preview-api/modules/store/sortStories.ts 550b 0.2% + ├ src/preview-api/modules/store/decorators.ts 542b 0.2% + ├ src/preview-api/modules/store/parameters.ts 521b 0.2% + ├ ../node_modules/lodash/_baseIsNative.js 516b 0.2% + ├ ../node_modules/lodash/memoize.js 510b 0.2% + ├ ../node_modules/lodash/isPlainObject.js 481b 0.2% + ├ ../node_modules/lodash/_hasPath.js 431b 0.2% + ├ ../node_modules/lodash/_overRest.js 418b 0.2% + ├ ../node_modules/qs/lib/formats.js 412b 0.2% + ├ ../node_modules/lodash/_nodeUtil.js 411b 0.2% + ├ ../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json 405b 0.2% + ├ ../node_modules/lodash/_baseToString.js 405b 0.2% + ├ ../node_modules/lodash/_Hash.js 398b 0.2% + ├ ../node_modules/lodash/_ListCache.js 398b 0.2% + ├ ../node_modules/lodash/_MapCache.js 398b 0.2% + ├ ../node_modules/lodash/_stackSet.js 391b 0.2% + ├ ../node_modules/lodash/_stringToPath.js 379b 0.1% + ├ ../node_modules/lodash/_isKey.js 378b 0.1% + ├ ../node_modules/lodash/_getRawTag.js 372b 0.1% + ├ src/preview-api/modules/store/csf/normalizeInputTypes.ts 357b 0.1% + ├ ../node_modules/lodash/_shortOut.js 351b 0.1% + ├ ../node_modules/lodash/_Stack.js 336b 0.1% + ├ ../node_modules/lodash/_baseMatchesProperty.js 330b 0.1% + ├ ../node_modules/lodash/_apply.js 329b 0.1% + ├ ../node_modules/lodash/_baseFlatten.js 322b 0.1% + ├ ../node_modules/lodash/_baseKeysIn.js 319b 0.1% + ├ ../node_modules/lodash/isFunction.js 319b 0.1% + ├ ../node_modules/lodash/_hashGet.js 314b 0.1% + ├ ../node_modules/lodash/isArguments.js 312b 0.1% + ├ ../node_modules/has-property-descriptors/index.js 307b 0.1% + ├ ../node_modules/lodash/_getSymbols.js 303b 0.1% + ├ ../node_modules/lodash/pickBy.js 303b 0.1% + ├ ../node_modules/lodash/isBuffer.js 302b 0.1% + ├ ../node_modules/lodash/_baseKeys.js 297b 0.1% + ├ ../node_modules/lodash/_SetCache.js 294b 0.1% + ├ ../node_modules/lodash/_listCacheDelete.js 290b 0.1% + ├ ../node_modules/lodash/_createBaseFor.js 287b 0.1% + ├ ../node_modules/lodash/_toSource.js 284b 0.1% + ├ ../node_modules/has-symbols/index.js 282b 0.1% + ├ ../node_modules/lodash/_baseGetTag.js 281b 0.1% + ├ ../node_modules/lodash/_basePickBy.js 263b 0.1% + ├ ../node_modules/lodash/_isIndex.js 262b 0.1% + ├ ../node_modules/call-bind/callBound.js 251b 0.1% + ├ ../node_modules/lodash/_baseIteratee.js 251b 0.1% + ├ ../node_modules/lodash/_isMasked.js 251b 0.1% + ├ ../node_modules/lodash/_assignValue.js 250b 0.1% + ├ ../node_modules/lodash/_baseMatches.js 248b 0.1% + ├ ../node_modules/lodash/_baseSetToString.js 248b 0.1% + ├ ../node_modules/lodash/_hashSet.js 239b 0.1% + ├ ../node_modules/lodash/_baseGet.js 238b 0.1% + ├ ../node_modules/lodash/_getSymbolsIn.js 238b 0.1% + ├ ../node_modules/lodash/_baseAssignValue.js 234b 0.1% + ├ ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js 229b 0.1% + ├ ../node_modules/lodash/_arrayFilter.js 227b 0.1% + ├ ../node_modules/lodash/_mapCacheClear.js 227b 0.1% + ├ src/preview-api/modules/store/csf/normalizeComponentAnnotations.ts 227b 0.1% + ├ src/preview-api/modules/store/filterArgTypes.ts 227b 0.1% + ├ ../node_modules/lodash/_baseIsEqual.js 226b 0.1% + ├ ../node_modules/lodash/_getMatchData.js 224b 0.1% + ├ ../node_modules/lodash/_toKey.js 223b 0.1% + ├ ../node_modules/lodash/mapValues.js 219b 0.1% + ├ src/preview-api/modules/preview-web/PreviewWeb.tsx 217b 0.1% + ├ ../node_modules/es-define-property/index.js 215b 0.1% + ├ ../node_modules/gopd/index.js 212b 0.1% + ├ ../node_modules/lodash/_hashHas.js 211b 0.1% + ├ ../node_modules/has-proto/index.js 210b 0.1% + ├ ../node_modules/lodash/_memoizeCapped.js 209b 0.1% + ├ ../node_modules/lodash/_isKeyable.js 204b 0.1% + ├ ../node_modules/lodash/_isFlattenable.js 202b 0.1% + ├ ../node_modules/lodash/_listCacheSet.js 202b 0.1% + ├ ../node_modules/lodash/_isPrototype.js 201b 0.1% + ├ ../node_modules/lodash/_arraySome.js 195b 0.1% + ├ ../node_modules/lodash/_defineProperty.js 195b 0.1% + ├ ../node_modules/lodash/_arrayMap.js 192b 0.1% + ├ ../node_modules/lodash/_mapCacheSet.js 192b 0.1% + ├ ../node_modules/lodash/_getMapData.js 187b 0.1% + ├ ../node_modules/lodash/_assocIndexOf.js 184b 0.1% + ├ ../node_modules/lodash/_matchesStrictComparable.js 184b 0.1% + ├ src/preview-api/modules/addons/storybook-channel-mock.ts 184b 0.1% + ├ ../node_modules/lodash/_root.js 180b 0.1% + ├ ../node_modules/lodash/isSymbol.js 180b 0.1% + ├ ../node_modules/lodash/_mapToArray.js 178b 0.1% + ├ ../node_modules/lodash/_castPath.js 174b 0.1% + ├ ../node_modules/lodash/_arrayPush.js 171b 0.1% + ├ ../node_modules/lodash/_basePick.js 170b 0.1% + ├ ../node_modules/lodash/_nativeKeysIn.js 170b 0.1% + ├ ../node_modules/lodash/_setToArray.js 170b 0.1% + ├ ../node_modules/lodash/get.js 170b 0.1% + ├ ../node_modules/lodash/isLength.js 168b 0.1% + ├ ../node_modules/lodash/_listCacheGet.js 166b 0.1% + ├ ../node_modules/hasown/index.js 162b 0.1% + ├ ../node_modules/lodash/_hashDelete.js 161b 0.1% + ├ ../node_modules/lodash/_mapCacheDelete.js 161b 0.1% + ├ ../node_modules/lodash/_baseIsArguments.js 159b 0.1% + ├ ../node_modules/lodash/property.js 159b 0.1% + ├ ../node_modules/lodash/_baseGetAllKeys.js 158b 0.1% + ├ ../node_modules/lodash/flatten.js 156b 0.1% + ├ ../node_modules/qs/lib/index.js 156b 0.1% + ├ ../node_modules/lodash/_getNative.js 155b 0.1% + ├ ../node_modules/lodash/_setCacheAdd.js 154b 0.1% + ├ ../node_modules/lodash/_baseTimes.js 153b 0.1% + ├ ../node_modules/lodash/isObject.js 153b 0.1% + ├ ../node_modules/lodash/_flatRest.js 152b 0.1% + ├ src/preview-api/modules/store/csf/stepRunners.ts 151b 0.1% + ├ ../node_modules/lodash/_stackDelete.js 149b 0.1% + ├ ../node_modules/lodash/keysIn.js 148b 0.1% + ├ ../node_modules/lodash/isArrayLike.js 147b 0.1% + ├ ../node_modules/lodash/pick.js 145b 0.1% + ├ ../node_modules/lodash/keys.js 144b 0.1% + ├ ../node_modules/lodash/_basePropertyDeep.js 143b 0.1% + ├ ../node_modules/lodash/_hashClear.js 142b 0.1% + ├ ../node_modules/lodash/_objectToString.js 141b 0.1% + ├ ../node_modules/lodash/hasIn.js 140b 0.1% + ├ ../node_modules/lodash/isTypedArray.js 138b 0.1% + ├ ../node_modules/lodash/_getAllKeys.js 136b 0.1% + ├ ../node_modules/lodash/_getAllKeysIn.js 136b 0.1% + ├ ../node_modules/lodash/_freeGlobal.js 134b 0.1% + ├ ../node_modules/lodash/_baseForOwn.js 132b 0.1% + ├ ../node_modules/lodash/_stackClear.js 132b 0.1% + ├ ../node_modules/lodash/_overArg.js 128b 0.0% + ├ ../node_modules/lodash/_listCacheHas.js 126b 0.0% + ├ ../node_modules/lodash/_baseProperty.js 124b 0.0% + ├ ../node_modules/lodash/toString.js 123b 0.0% + ├ ../node_modules/lodash/_baseUnary.js 122b 0.0% + ├ ../node_modules/lodash/_mapCacheGet.js 119b 0.0% + ├ ../node_modules/lodash/_mapCacheHas.js 119b 0.0% + ├ src/preview-api/modules/store/csf/getValuesFromArgTypes.ts 119b 0.0% + ├ ../node_modules/lodash/_isStrictComparable.js 118b 0.0% + ├ ../node_modules/lodash/constant.js 118b 0.0% + ├ ../node_modules/lodash/isObjectLike.js 117b 0.0% + ├ ../node_modules/lodash/eq.js 116b 0.0% + ├ ../node_modules/lodash/_baseHasIn.js 114b 0.0% + ├ ../node_modules/lodash/_listCacheClear.js 109b 0.0% + ├ ../node_modules/function-bind/index.js 108b 0.0% + ├ ../node_modules/lodash/_getPrototype.js 105b 0.0% + ├ ../node_modules/lodash/_setCacheHas.js 104b 0.0% + ├ ../node_modules/lodash/_stackGet.js 104b 0.0% + ├ ../node_modules/lodash/_stackHas.js 104b 0.0% + ├ ../node_modules/lodash/_DataView.js 100b 0.0% + ├ ../node_modules/lodash/_Promise.js 99b 0.0% + ├ ../node_modules/lodash/_WeakMap.js 99b 0.0% + ├ ../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json 98b 0.0% + ├ ../node_modules/lodash/_Map.js 95b 0.0% + ├ ../node_modules/lodash/_Set.js 95b 0.0% + ├ ../node_modules/lodash/_cacheHas.js 95b 0.0% + ├ ../node_modules/lodash/_coreJsData.js 95b 0.0% + ├ ../node_modules/lodash/_nativeKeys.js 95b 0.0% + ├ ../node_modules/lodash/_getValue.js 93b 0.0% + ├ ../node_modules/lodash/_nativeCreate.js 92b 0.0% + ├ ../node_modules/lodash/_setToString.js 89b 0.0% + ├ ../node_modules/lodash/identity.js 85b 0.0% + ├ ../node_modules/lodash/stubArray.js 85b 0.0% + ├ ../node_modules/lodash/stubFalse.js 85b 0.0% + ├ ../node_modules/lodash/_Uint8Array.js 84b 0.0% + ├ ../node_modules/slash/index.js 81b 0.0% + ├ ../node_modules/lodash/_Symbol.js 80b 0.0% + ├ ../node_modules/es-errors/ref.js 76b 0.0% + ├ ../node_modules/lodash/_baseFor.js 76b 0.0% + ├ ../node_modules/es-errors/syntax.js 73b 0.0% + ├ ../node_modules/lodash/isArray.js 73b 0.0% + ├ ../node_modules/es-errors/range.js 72b 0.0% + ├ ../node_modules/es-errors/eval.js 71b 0.0% + ├ ../node_modules/es-errors/type.js 71b 0.0% + ├ ../node_modules/es-errors/uri.js 70b 0.0% + ├ ../node_modules/es-errors/index.js 67b 0.0% + ├ src/preview-api/modules/store/csf/normalizeArrays.ts 52b 0.0% + ├ src/preview-api/modules/preview-web/render/Render.ts 38b 0.0% + └ (disabled):../node_modules/object-inspect/util.inspect 23b 0.0% + + dist/instrumenter/index.cjs 89.5kb 100.0% + ├ ../node_modules/loupe/loupe.js 16.7kb 18.7% + ├ src/instrumenter/instrumenter.ts 14.3kb 16.0% + ├ ../node_modules/@vitest/utils/dist/diff.js 9.3kb 10.4% + ├ ../node_modules/diff-sequences/build/index.js 8.0kb 9.0% + ├ ../node_modules/pretty-format/build/index.js 7.8kb 8.8% + ├ ../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js 3.6kb 4.0% + ├ ../node_modules/@vitest/utils/dist/error.js 3.4kb 3.8% + ├ ../node_modules/pretty-format/node_modules/ansi-styles/index.js 3.2kb 3.6% + ├ ../node_modules/pretty-format/build/plugins/ReactElement.js 2.6kb 2.9% + ├ ../node_modules/pretty-format/build/plugins/Immutable.js 2.5kb 2.8% + ├ ../node_modules/@vitest/utils/dist/chunk-display.js 2.4kb 2.7% + ├ ../node_modules/pretty-format/build/collections.js 2.4kb 2.6% + ├ ../node_modules/pretty-format/build/plugins/DOMElement.js 1.7kb 1.9% + ├ ../node_modules/pretty-format/build/plugins/lib/markup.js 1.5kb 1.7% + ├ ../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js 1.4kb 1.5% + ├ ../node_modules/@vitest/utils/dist/helpers.js 1.3kb 1.5% + ├ ../node_modules/@vitest/utils/dist/chunk-colors.js 1.2kb 1.3% + ├ ../node_modules/pretty-format/build/plugins/DOMCollection.js 1012b 1.1% + ├ ../node_modules/pretty-format/build/plugins/ReactTestComponent.js 986b 1.1% + ├ ../node_modules/@storybook/global/dist/index.js 858b 0.9% + ├ ../node_modules/pretty-format/build/plugins/lib/escapeHTML.js 205b 0.2% + ├ src/instrumenter/types.ts 129b 0.1% + ├ src/instrumenter/index.ts 117b 0.1% + └ ../node_modules/pretty-format/node_modules/react-is/index.js 66b 0.1% + + dist/node-logger/index.cjs 68.1kb 100.0% + ├ ../node_modules/string-width/node_modules/emoji-regex/index.js 10.0kb 14.8% + ├ ../node_modules/npmlog/lib/log.js 6.7kb 9.9% + ├ ../node_modules/npmlog/node_modules/gauge/lib/index.js 5.6kb 8.2% + ├ ../node_modules/npmlog/node_modules/signal-exit/dist/mjs/index.js 5.0kb 7.3% + ├ node_modules/chalk/source/vendor/ansi-styles/index.js 3.9kb 5.8% + ├ ../node_modules/npmlog/node_modules/gauge/lib/render-template.js 3.6kb 5.2% + ├ ../node_modules/aproba/index.js 2.8kb 4.2% + ├ node_modules/chalk/source/index.js 2.7kb 4.0% + ├ ../node_modules/npmlog/node_modules/gauge/lib/theme-set.js 2.6kb 3.7% + ├ node_modules/chalk/source/vendor/supports-color/index.js 2.5kb 3.6% + ├ ../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-group.js 2.2kb 3.2% + ├ ../node_modules/console-control-strings/index.js 2.1kb 3.1% + ├ ../node_modules/npmlog/node_modules/gauge/lib/themes.js 1.6kb 2.3% + ├ ../node_modules/npmlog/node_modules/gauge/lib/template-item.js 1.6kb 2.3% + ├ src/node-logger/index.ts 1.3kb 1.9% + ├ ../node_modules/is-fullwidth-code-point/index.js 1.1kb 1.7% + ├ ../node_modules/pretty-hrtime/index.js 1.0kb 1.5% + ├ ../node_modules/npmlog/node_modules/gauge/lib/plumbing.js 876b 1.3% + ├ ../node_modules/wide-align/align.js 871b 1.2% + ├ ../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-stream.js 738b 1.1% + ├ ../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker.js 682b 1.0% + ├ ../node_modules/npmlog/node_modules/gauge/lib/progress-bar.js 596b 0.9% + ├ ../node_modules/npmlog/node_modules/gauge/lib/error.js 527b 0.8% + ├ ../node_modules/string-width/index.js 487b 0.7% + ├ node_modules/chalk/source/utilities.js 468b 0.7% + ├ ../node_modules/npmlog/node_modules/signal-exit/dist/mjs/signals.js 453b 0.6% + ├ ../node_modules/ansi-regex/index.js 373b 0.5% + ├ ../node_modules/npmlog/node_modules/gauge/lib/wide-truncate.js 348b 0.5% + ├ ../node_modules/npmlog/node_modules/gauge/lib/base-theme.js 313b 0.4% + ├ ../node_modules/has-unicode/index.js 273b 0.4% + ├ ../node_modules/set-blocking/index.js 232b 0.3% + ├ ../node_modules/color-support/browser.js 222b 0.3% + ├ ../node_modules/npmlog/node_modules/are-we-there-yet/lib/tracker-base.js 204b 0.3% + ├ ../node_modules/npmlog/node_modules/gauge/lib/set-immediate.js 147b 0.2% + ├ ../node_modules/npmlog/node_modules/strip-ansi/index.js 132b 0.2% + ├ ../node_modules/string-width/node_modules/strip-ansi/index.js 132b 0.2% + ├ ../node_modules/npmlog/node_modules/are-we-there-yet/lib/index.js 110b 0.2% + ├ ../node_modules/npmlog/node_modules/gauge/lib/spin.js 110b 0.2% + ├ ../node_modules/npmlog/node_modules/gauge/lib/has-color.js 92b 0.1% + ├ ../node_modules/npmlog/node_modules/gauge/lib/set-interval.js 73b 0.1% + └ ../node_modules/npmlog/node_modules/gauge/lib/process.js 69b 0.1% + + dist/channels/index.cjs 49.0kb 100.0% + ├ ../node_modules/telejson/dist/index.mjs 30.8kb 62.9% + ├ ../node_modules/memoizerific/memoizerific.js 4.9kb 10.1% + ├ src/channels/postmessage/index.ts 4.4kb 8.9% + ├ src/channels/main.ts 1.8kb 3.7% + ├ src/channels/websocket/index.ts 1.2kb 2.4% + ├ ../node_modules/telejson/dist/chunk-465TF3XA.mjs 1.1kb 2.2% + ├ src/channels/postmessage/getEventSourceUrl.ts 928b 1.8% + ├ ../node_modules/@storybook/global/dist/index.js 859b 1.7% + ├ src/channels/index.ts 640b 1.3% + └ ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js 228b 0.5% + + dist/server-errors.cjs 28.4kb 100.0% + ├ src/server-errors.ts 15.2kb 53.5% + ├ node_modules/chalk/source/vendor/ansi-styles/index.js 3.9kb 13.9% + ├ node_modules/chalk/source/index.js 2.7kb 9.4% + ├ node_modules/chalk/source/vendor/supports-color/index.js 2.4kb 8.6% + ├ src/storybook-error.ts 1.4kb 4.9% + ├ ../node_modules/ts-dedent/esm/index.js 1015b 3.5% + └ node_modules/chalk/source/utilities.js 468b 1.6% + + dist/preview-errors.cjs 10.6kb 100.0% + ├ src/preview-errors.ts 7.6kb 71.6% + ├ src/storybook-error.ts 1.4kb 13.0% + └ ../node_modules/ts-dedent/esm/index.js 1011b 9.3% + + dist/core-events/index.cjs 6.0kb 100.0% + └ src/core-events/index.ts 5.4kb 90.8% + + dist/client-logger/index.cjs 3.3kb 100.0% + ├ src/client-logger/index.ts 1.4kb 41.6% + └ ../node_modules/@storybook/global/dist/index.js 831b 24.3% + + dist/types/index.cjs 934b 100.0% + ├ src/types/modules/addons.ts 272b 29.1% + └ src/types/index.ts 73b 7.8% + + dist/test.cjs 624b 100.0% + └ src/test.ts 74b 11.9% + + dist/index.cjs 590b 100.0% + └ src/index.ts 121b 20.5% diff --git a/code/core/scripts/check.ts b/code/core/scripts/check.ts new file mode 100644 index 000000000000..b44f2c4febff --- /dev/null +++ b/code/core/scripts/check.ts @@ -0,0 +1,18 @@ +import { getTSFilesAndConfig, getTSProgramAndHost, getTSDiagnostics } from './helpers/typescript'; + +const tsconfigPath = 'tsconfig.check.json'; + +const { options, fileNames } = getTSFilesAndConfig(tsconfigPath); +const { program, host } = getTSProgramAndHost(fileNames, options); + +const tsDiagnostics = getTSDiagnostics(program, process.cwd(), host); +if (tsDiagnostics.length > 0) { + console.log(tsDiagnostics); + process.exit(1); +} else { + console.log('no type errors'); +} + +// TODO, add more package checks here, like: +// - check for missing dependencies/peerDependencies +// - check for unused exports diff --git a/code/core/scripts/dts.ts b/code/core/scripts/dts.ts new file mode 100644 index 000000000000..83673a82dabd --- /dev/null +++ b/code/core/scripts/dts.ts @@ -0,0 +1,36 @@ +import { join } from 'node:path'; +import { process, dts, nodeInternals } from '../../../scripts/prepare/tools'; +import { getEntries } from './entries'; +import pkg from '../package.json'; + +const cwd = process.cwd(); + +const flags = process.argv.slice(2); + +const selection = flags[0] || 'all'; + +const entries = getEntries(cwd); +const external = [...Object.keys((pkg as any).peerDependencies || {}), ...nodeInternals]; +const internal = [...Object.keys(pkg.devDependencies)]; + +const all = entries.filter((e) => e.dts); +const list = selection === 'all' ? all : [all[Number(selection)]]; + +const dtsResults = dts.generateDtsBundle( + list.map(({ file, externals }) => ({ + filePath: file, + noCheck: true, + libraries: { + importedLibraries: [...external, ...externals], + allowedTypesLibraries: [...externals], + inlinedLibraries: internal, + }, + output: { noBanner: true, exportReferencedTypes: false }, + })), + { preferredConfigPath: join(cwd, 'tsconfig.build.json') } +); +await Promise.all( + dtsResults.map(async (content, index) => { + return Bun.write(list[index].file.replace('src', 'dist').replace('.ts', '.d.ts'), content); + }) +); diff --git a/code/core/scripts/entries.ts b/code/core/scripts/entries.ts new file mode 100644 index 000000000000..259abdbf7d85 --- /dev/null +++ b/code/core/scripts/entries.ts @@ -0,0 +1,28 @@ +import { defineEntry } from '../../../scripts/prepare/tools'; + +export const getEntries = (cwd: string) => { + const define = defineEntry(cwd); + + return [ + // + define('src/index.ts', ['node', 'browser'], true), + define('src/test.ts', ['node'], false), // testing a non-dts file + + define('src/node-logger/index.ts', ['node'], true), + define('src/client-logger/index.ts', ['browser', 'node'], true), + + define('src/core-events/index.ts', ['browser', 'node'], true), + define('src/manager-errors.ts', ['browser'], true), + define('src/preview-errors.ts', ['browser', 'node'], true), + define('src/server-errors.ts', ['node'], true), + + define('src/channels/index.ts', ['browser', 'node'], true), + define('src/types/index.ts', ['browser', 'node'], true), + define('src/csf-tools/index.ts', ['node'], true), + define('src/common/index.ts', ['node'], true), + define('src/telemetry/index.ts', ['node'], true), + define('src/preview-api/index.ts', ['browser', 'node'], true), + define('src/instrumenter/index.ts', ['browser', 'node'], true), + define('src/router/index.ts', ['browser', 'node'], true, ['react']), + ]; +}; diff --git a/code/core/scripts/helpers/sourcefiles.ts b/code/core/scripts/helpers/sourcefiles.ts new file mode 100644 index 000000000000..92365bf2d584 --- /dev/null +++ b/code/core/scripts/helpers/sourcefiles.ts @@ -0,0 +1,70 @@ +import { join } from 'node:path'; +import { readdir } from 'node:fs/promises'; +import { dedent, prettier, getWorkspace } from '../../../../scripts/prepare/tools'; + +// read code/frameworks subfolders and generate a list of available frameworks +// save this list into ./code/core/src/types/frameworks.ts and export it as a union type. +// The name of the type is `SupportedFrameworks`. Add additionally 'qwik' and `solid` to that list. +export const generateSourceFiles = async () => { + const thirdPartyFrameworks = ['qwik', 'solid']; + const frameworksFile = join( + import.meta.dirname, + '..', + 'src', + 'types', + 'modules', + 'frameworks.ts' + ); + const frameworksDirectory = join(import.meta.dirname, '..', '..', '..', 'frameworks'); + + const versionsFile = join(__dirname, '..', '..', 'src', 'common', 'versions.ts'); + + const [readFrameworks, workspace, prettierConfig] = await Promise.all([ + readdir(frameworksDirectory), + getWorkspace(), + prettier.resolveConfig(frameworksFile), + ]); + const frameworks = [...readFrameworks, ...thirdPartyFrameworks] + .map((framework) => `'${framework}'`) + .join(' | '); + + const versions = JSON.stringify( + workspace + .sort((a, b) => a.path.localeCompare(b.path)) + .reduce>((acc, i) => { + if (i.publishConfig && i.publishConfig.access === 'public') { + acc[i.name] = i.version; + } + return acc; + }, {}) + ); + + await Promise.all([ + Bun.write( + frameworksFile, + await prettier.format( + dedent` + // auto generated file, do not edit + export type SupportedFrameworks = ${frameworks}; + `, + { + ...prettierConfig, + parser: 'typescript', + } + ) + ), + Bun.write( + versionsFile, + await prettier.format( + dedent` + // auto generated file, do not edit + export default ${versions}; + `, + { + ...prettierConfig, + parser: 'typescript', + } + ) + ), + ]); +}; diff --git a/code/core/scripts/helpers/typescript.ts b/code/core/scripts/helpers/typescript.ts new file mode 100644 index 000000000000..474a64e8bc7e --- /dev/null +++ b/code/core/scripts/helpers/typescript.ts @@ -0,0 +1,46 @@ +import { join } from 'node:path'; +import { typescript } from '../../../../scripts/prepare/tools'; + +export function getTSDiagnostics( + program: typescript.Program, + cwd: string, + host: typescript.CompilerHost +): any { + return typescript.formatDiagnosticsWithColorAndContext( + typescript.getPreEmitDiagnostics(program).filter((d) => d.file?.fileName.startsWith(cwd)), + host + ); +} +export function getTSProgramAndHost(fileNames: string[], options: typescript.CompilerOptions) { + const program = typescript.createProgram({ + rootNames: fileNames, + options: { + module: typescript.ModuleKind.CommonJS, + ...options, + declaration: false, + noEmit: true, + }, + }); + + const host = typescript.createCompilerHost(program.getCompilerOptions()); + return { program, host }; +} +export function getTSFilesAndConfig(tsconfigPath: string) { + const content = typescript.readJsonConfigFile(tsconfigPath, typescript.sys.readFile); + return typescript.parseJsonSourceFileConfigFileContent( + content, + { + useCaseSensitiveFileNames: true, + readDirectory: typescript.sys.readDirectory, + fileExists: typescript.sys.fileExists, + readFile: typescript.sys.readFile, + }, + process.cwd(), + { + noEmit: true, + outDir: join(process.cwd(), 'types'), + target: typescript.ScriptTarget.ES2022, + declaration: false, + } + ); +} diff --git a/code/core/scripts/prep.ts b/code/core/scripts/prep.ts new file mode 100644 index 000000000000..1b0681c2576d --- /dev/null +++ b/code/core/scripts/prep.ts @@ -0,0 +1,272 @@ +/* eslint-disable local-rules/no-uncategorized-errors */ +/// + +import { watch } from 'node:fs'; +import { rmdir } from 'node:fs/promises'; +import { basename, join, relative, dirname } from 'node:path'; +import { + esbuild, + process, + merge, + measure, + chalk, + prettyTime, + nodeInternals, + dedent, + sortPackageJson, + limit, +} from '../../../scripts/prepare/tools'; +import { getEntries } from './entries'; + +import pkg from '../package.json'; +import { generateSourceFiles } from './helpers/sourcefiles'; + +const flags = process.argv.slice(2); +const cwd = process.cwd(); + +const isOptimized = flags.includes('--optimized'); +const isWatch = flags.includes('--watch'); +const isReset = flags.includes('--reset'); + +const external = [ + ...new Set([ + // + ...Object.keys(pkg.dependencies), + ...Object.keys((pkg as any).peerDependencies || {}), + ]), +]; + +if (isOptimized && isWatch) { + throw new Error('Cannot watch and optimize at the same time'); +} + +if (isReset) { + await rmdir(join(cwd, 'dist'), { recursive: true }); +} + +const entries = getEntries(cwd); + +type EsbuildContextOptions = Parameters<(typeof esbuild)['context']>[0]; + +const esbuildDefaultOptions = { + absWorkingDir: cwd, + bundle: true, + outdir: 'dist', + allowOverwrite: false, + minifyIdentifiers: isOptimized, + minifySyntax: isOptimized, + minifyWhitespace: false, + treeShaking: true, + chunkNames: 'chunks/[name]-[hash]', + assetNames: 'assets/[name]-[hash]', + lineLimit: 140, + external: ['@storybook/core', ...external], + metafile: true, +} satisfies EsbuildContextOptions; + +console.log(isWatch ? 'Watching...' : 'Bundling...'); + +const files = measure(generateSourceFiles); +const packageJson = measure(generatePackageJsonFile); +const dist = files.then(() => measure(generateDistFiles)); +const types = measure(generateTypesFiles); + +const [filesTime, packageJsonTime, distTime, typesTime] = await Promise.all([ + files, + packageJson, + dist, + types, +]); + +console.log('Files generated in', chalk.yellow(prettyTime(filesTime))); +console.log('Package.json generated in', chalk.yellow(prettyTime(packageJsonTime))); +console.log(isWatch ? 'Watcher started in' : 'Bundled in', chalk.yellow(prettyTime(distTime))); +console.log( + isOptimized ? 'Generated types in' : 'Generated type mappers in', + chalk.yellow(prettyTime(typesTime)) +); + +async function generateTypesMapperContent(filePath: string) { + const upwards = relative(join(filePath, '..'), cwd); + const downwards = relative(cwd, filePath); + + return dedent` + // auto generated file from ${import.meta.filename}, do not edit + export * from '${join(upwards, downwards)}'; + `; +} + +function noExternals(e: ReturnType[0]): boolean { + return e.externals.length === 0; +} +function isNode(e: ReturnType[0]): boolean { + return !!e.node; +} +function isBrowser(e: ReturnType[0]): boolean { + return !!e.browser; +} + +async function generateDistFiles() { + const compile = await Promise.all([ + esbuild.context( + merge(esbuildDefaultOptions, { + format: 'cjs', + target: 'node18', + entryPoints: entries + .filter(isNode) + .filter(noExternals) + .map((e) => e.file), + outExtension: { '.js': '.cjs' }, + conditions: ['node', 'module', 'import', 'require'], + external: [...nodeInternals, ...esbuildDefaultOptions.external], + }) + ), + esbuild.context( + merge(esbuildDefaultOptions, { + format: 'esm', + target: 'chrome100', + splitting: true, + entryPoints: entries + .filter(isBrowser) + .filter(noExternals) + .map((e) => e.file), + conditions: ['browser', 'module', 'import', 'default'], + outExtension: { '.js': '.js' }, + }) + ), + ...entries + .filter((e) => e.externals.length > 0) + .flatMap((e) => { + const results = []; + if (e.node) { + results.push( + esbuild.context( + merge(esbuildDefaultOptions, { + format: 'cjs', + outdir: dirname(e.file).replace('src', 'dist'), + target: 'node18', + entryPoints: [e.file], + outExtension: { '.js': '.cjs' }, + conditions: ['node', 'module', 'import', 'require'], + external: [...nodeInternals, ...esbuildDefaultOptions.external, ...e.externals], + }) + ) + ); + } + if (e.browser) { + results.push( + esbuild.context( + merge(esbuildDefaultOptions, { + format: 'esm', + target: 'chrome100', + splitting: true, + outdir: dirname(e.file).replace('src', 'dist'), + entryPoints: [e.file], + conditions: ['browser', 'module', 'import', 'default'], + outExtension: { '.js': '.js' }, + external: [...nodeInternals, ...esbuildDefaultOptions.external, ...e.externals], + }) + ) + ); + } + + return results; + }), + ]); + + if (isWatch) { + await Promise.all( + compile.map(async (o) => { + await o.watch(); + }) + ); + + // show a log message when a file is compiled + watch(join(cwd, 'dist'), { recursive: true }, (event, filename) => { + console.log(`compiled ${chalk.cyan(filename)}`); + }); + } else { + await Promise.all( + compile.map(async (o) => { + const out = await o.rebuild(); + await o.dispose(); + + if (out.metafile) { + await Bun.write('report/meta.json', JSON.stringify(out.metafile, null, 2)); + await Bun.write( + 'report/meta.txt', + await esbuild.analyzeMetafile(out.metafile, { color: false, verbose: false }) + ); + // console.log(await esbuild.analyzeMetafile(out.metafile, { color: true })); + } + }) + ); + } +} + +async function generateTypesFiles() { + // we ALWAYS generate these mapper files, even compiling type-definitions later (isOptimized). + // because we can do this really fast, and it means we can generate the type definitions in parallel. + // normally this would not be possible, because there's there are interdependencies between the files. + const all = entries.filter((e) => e.dts).map((e) => e.file); + + await Promise.all( + all.map(async (filePath) => + Bun.write( + filePath.replace('src', 'dist').replace('.ts', '.d.ts'), + await generateTypesMapperContent(filePath) + ) + ) + ); + + if (isOptimized) { + // Spawn each entry in it's own separate process, because they are slow & synchronous + // ...this way we do not bog down the main process/esbuild and can run them in parallel + // we limit the number of concurrent processes to 5, because otherwise we run out of memory + // I've had a few occasions where a entry that would normally be fast (node-logger) where the process would close without it being done + // TODO: figure out if this is a bug in bun or in the script, or how to ensure the script actually fails in that case + // TODO: figure out what the best number is, this is likely to be different on different machines (CI) + const limited = limit(5); + await Promise.all( + all.map(async (_, index) => { + return limited(async () => { + const dtsProcess = Bun.spawn(['bun', './scripts/dts.ts', index.toString()], { + cwd, + }); + await dtsProcess.exited; + if (dtsProcess.exitCode !== 0) { + console.log(_); + process.exit(dtsProcess.exitCode || 1); + } else { + console.log('Generated types for', chalk.cyan(relative(cwd, all[index]))); + } + }); + }) + ); + } +} + +async function generatePackageJsonFile() { + const location = join(cwd, 'package.json'); + const pkgJson = await Bun.file(location).json(); + pkgJson.exports = entries.reduce>>((acc, entry) => { + let main = './' + relative(cwd, entry.file).replace('src', 'dist'); + const content: Record = {}; + if (entry.dts) { + content.types = main.replace('.ts', '.d.ts'); + } + if (entry.node) { + content.require = main.replace('.ts', '.cjs'); + } + if (entry.browser) { + content.import = main.replace('.ts', '.js'); + } + if (main === './dist/index.ts') { + main = '.'; + } + acc[main.replace('/index.ts', '').replace('.ts', '')] = content; + return acc; + }, {}); + + await Bun.write(location, `${sortPackageJson(JSON.stringify(pkgJson, null, 2))}\n`, {}); +} diff --git a/code/lib/types/src/modules/frameworks.ts b/code/core/scripts/src/types/modules/frameworks.ts similarity index 80% rename from code/lib/types/src/modules/frameworks.ts rename to code/core/scripts/src/types/modules/frameworks.ts index c1ea25abe7b0..49663f91cf5a 100644 --- a/code/lib/types/src/modules/frameworks.ts +++ b/code/core/scripts/src/types/modules/frameworks.ts @@ -1,22 +1,21 @@ // auto generated file, do not edit -// the file gets generated by the script ./code/lib/types/scripts/generate-available-frameworks.js export type SupportedFrameworks = - | 'angular' - | 'ember' - | 'html-vite' | 'html-webpack5' - | 'nextjs' - | 'preact-vite' + | 'svelte-vite' | 'preact-webpack5' - | 'react-vite' + | 'web-components-webpack5' | 'react-webpack5' - | 'server-webpack5' - | 'svelte-vite' - | 'svelte-webpack5' - | 'sveltekit' + | 'angular' | 'vue3-vite' - | 'vue3-webpack5' + | 'sveltekit' | 'web-components-vite' - | 'web-components-webpack5' + | 'react-vite' + | 'svelte-webpack5' + | 'ember' + | 'nextjs' + | 'preact-vite' + | 'vue3-webpack5' + | 'html-vite' + | 'server-webpack5' | 'qwik' | 'solid'; diff --git a/code/lib/core-events/src/errors/README.md b/code/core/src/ERRORS.md similarity index 99% rename from code/lib/core-events/src/errors/README.md rename to code/core/src/ERRORS.md index 291fb5abe779..84ac44fc5eaa 100644 --- a/code/lib/core-events/src/errors/README.md +++ b/code/core/src/ERRORS.md @@ -98,7 +98,7 @@ Writing clear and informative error messages is crucial for effective debugging - **Provide guidance for resolution:** Offer actionable steps to resolve the error or suggest potential fixes. - **Provide documentation links:** Whenever applicable, provide links for users to get guidance or more context to fix their issues. - + ✅ Here are a few recommended examples: diff --git a/code/lib/channels/README.md b/code/core/src/channels/README.md similarity index 100% rename from code/lib/channels/README.md rename to code/core/src/channels/README.md diff --git a/code/lib/channels/src/index.test.ts b/code/core/src/channels/index.test.ts similarity index 100% rename from code/lib/channels/src/index.test.ts rename to code/core/src/channels/index.test.ts diff --git a/code/lib/channels/src/index.ts b/code/core/src/channels/index.ts similarity index 93% rename from code/lib/channels/src/index.ts rename to code/core/src/channels/index.ts index 80a865f31904..1823011d8b8f 100644 --- a/code/lib/channels/src/index.ts +++ b/code/core/src/channels/index.ts @@ -1,5 +1,4 @@ -/* eslint-disable @typescript-eslint/triple-slash-reference */ -/// +/// import { global } from '@storybook/global'; import { Channel } from './main'; diff --git a/code/lib/channels/src/main.ts b/code/core/src/channels/main.ts similarity index 99% rename from code/lib/channels/src/main.ts rename to code/core/src/channels/main.ts index ae8c2220529d..795e9eaa2f60 100644 --- a/code/lib/channels/src/main.ts +++ b/code/core/src/channels/main.ts @@ -1,5 +1,3 @@ -/// - import type { ChannelArgs, ChannelArgsMulti, diff --git a/code/lib/channels/src/postmessage/getEventSourceUrl.ts b/code/core/src/channels/postmessage/getEventSourceUrl.ts similarity index 95% rename from code/lib/channels/src/postmessage/getEventSourceUrl.ts rename to code/core/src/channels/postmessage/getEventSourceUrl.ts index 33c5729a7a08..8b5193a2ef3c 100644 --- a/code/lib/channels/src/postmessage/getEventSourceUrl.ts +++ b/code/core/src/channels/postmessage/getEventSourceUrl.ts @@ -1,4 +1,4 @@ -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; export const getEventSourceUrl = (event: MessageEvent) => { const frames: HTMLIFrameElement[] = Array.from( diff --git a/code/lib/channels/src/postmessage/index.ts b/code/core/src/channels/postmessage/index.ts similarity index 96% rename from code/lib/channels/src/postmessage/index.ts rename to code/core/src/channels/postmessage/index.ts index 1320a6577b4c..6b5f7db82b20 100644 --- a/code/lib/channels/src/postmessage/index.ts +++ b/code/core/src/channels/postmessage/index.ts @@ -1,9 +1,8 @@ -/* eslint-disable @typescript-eslint/triple-slash-reference */ -/// +/// import { global } from '@storybook/global'; -import * as EVENTS from '@storybook/core-events'; -import { logger, pretty } from '@storybook/client-logger'; +import * as EVENTS from '@storybook/core/dist/core-events'; +import { logger, pretty } from '@storybook/core/dist/client-logger'; import { isJSON, parse, stringify } from 'telejson'; import invariant from 'tiny-invariant'; import type { diff --git a/code/lib/channels/src/types.ts b/code/core/src/channels/types.ts similarity index 100% rename from code/lib/channels/src/types.ts rename to code/core/src/channels/types.ts diff --git a/code/lib/channels/src/websocket/index.ts b/code/core/src/channels/websocket/index.ts similarity index 92% rename from code/lib/channels/src/websocket/index.ts rename to code/core/src/channels/websocket/index.ts index 0cc73345507d..3617a110d3b5 100644 --- a/code/lib/channels/src/websocket/index.ts +++ b/code/core/src/channels/websocket/index.ts @@ -1,11 +1,10 @@ -/* eslint-disable @typescript-eslint/triple-slash-reference */ -/// +/// import { global } from '@storybook/global'; import { isJSON, parse, stringify } from 'telejson'; import invariant from 'tiny-invariant'; -import * as EVENTS from '@storybook/core-events'; +import * as EVENTS from '@storybook/core/dist/core-events'; import type { ChannelTransport, ChannelHandler, Config } from '../types'; const { WebSocket } = global; diff --git a/code/lib/client-logger/README.md b/code/core/src/client-logger/README.md similarity index 100% rename from code/lib/client-logger/README.md rename to code/core/src/client-logger/README.md diff --git a/code/lib/client-logger/src/index.test.ts b/code/core/src/client-logger/index.test.ts similarity index 100% rename from code/lib/client-logger/src/index.test.ts rename to code/core/src/client-logger/index.test.ts diff --git a/code/lib/client-logger/src/index.ts b/code/core/src/client-logger/index.ts similarity index 100% rename from code/lib/client-logger/src/index.ts rename to code/core/src/client-logger/index.ts diff --git a/code/lib/core-common/README.md b/code/core/src/common/README.md similarity index 100% rename from code/lib/core-common/README.md rename to code/core/src/common/README.md diff --git a/code/lib/core-common/src/config.test.ts b/code/core/src/common/config.test.ts similarity index 100% rename from code/lib/core-common/src/config.test.ts rename to code/core/src/common/config.test.ts diff --git a/code/lib/core-common/src/index.ts b/code/core/src/common/index.ts similarity index 100% rename from code/lib/core-common/src/index.ts rename to code/core/src/common/index.ts diff --git a/code/lib/core-common/src/js-package-manager/JsPackageManager.ts b/code/core/src/common/js-package-manager/JsPackageManager.ts similarity index 99% rename from code/lib/core-common/src/js-package-manager/JsPackageManager.ts rename to code/core/src/common/js-package-manager/JsPackageManager.ts index 8f306850b032..0ab2c005b3d2 100644 --- a/code/lib/core-common/src/js-package-manager/JsPackageManager.ts +++ b/code/core/src/common/js-package-manager/JsPackageManager.ts @@ -2,7 +2,7 @@ import chalk from 'chalk'; import { gt, satisfies } from 'semver'; import type { CommonOptions } from 'execa'; import { command as execaCommand, sync as execaCommandSync } from 'execa'; -import path from 'path'; +import path from 'node:path'; import fs from 'fs'; import dedent from 'ts-dedent'; @@ -517,10 +517,9 @@ export abstract class JsPackageManager { ignoreError?: boolean; }): string { try { - const commandResult = execaCommandSync(command, args, { + const commandResult = execaCommandSync([command, ...args].join(' '), { cwd: cwd ?? this.cwd, stdio: stdio ?? 'pipe', - encoding: 'utf-8', shell: true, cleanup: true, env, diff --git a/code/lib/core-common/src/js-package-manager/JsPackageManagerFactory.test.ts b/code/core/src/common/js-package-manager/JsPackageManagerFactory.test.ts similarity index 99% rename from code/lib/core-common/src/js-package-manager/JsPackageManagerFactory.test.ts rename to code/core/src/common/js-package-manager/JsPackageManagerFactory.test.ts index 0ab86171fb5f..ca7bfcbdda00 100644 --- a/code/lib/core-common/src/js-package-manager/JsPackageManagerFactory.test.ts +++ b/code/core/src/common/js-package-manager/JsPackageManagerFactory.test.ts @@ -1,6 +1,6 @@ import { describe, beforeEach, it, expect, vi } from 'vitest'; import { sync as spawnSync } from 'cross-spawn'; -import { sync as findUpSync } from 'find-up'; +import { findUpSync } from 'find-up'; import path from 'path'; import { JsPackageManagerFactory } from './JsPackageManagerFactory'; import { NPMProxy } from './NPMProxy'; @@ -120,7 +120,7 @@ describe('CLASS: JsPackageManagerFactory', () => { it('PNPM LOCK IF CLOSER: when a pnpm-lock.yaml file is closer than a yarn.lock', async () => { // Allow find-up to work as normal, we'll set the cwd to our fixture package findUpSyncMock.mockImplementation( - (await vi.importActual('find-up')).sync + (await vi.importActual('find-up')).findUpSync ); spawnSyncMock.mockImplementation((command) => { @@ -238,7 +238,7 @@ describe('CLASS: JsPackageManagerFactory', () => { it('when multiple lockfiles are in a project, prefers yarn', async () => { // Allow find-up to work as normal, we'll set the cwd to our fixture package findUpSyncMock.mockImplementation( - (await vi.importActual('find-up')).sync + (await vi.importActual('find-up')).findUpSync ); spawnSyncMock.mockImplementation((command) => { diff --git a/code/lib/core-common/src/js-package-manager/JsPackageManagerFactory.ts b/code/core/src/common/js-package-manager/JsPackageManagerFactory.ts similarity index 98% rename from code/lib/core-common/src/js-package-manager/JsPackageManagerFactory.ts rename to code/core/src/common/js-package-manager/JsPackageManagerFactory.ts index f397058f092b..3aa76b2f0850 100644 --- a/code/lib/core-common/src/js-package-manager/JsPackageManagerFactory.ts +++ b/code/core/src/common/js-package-manager/JsPackageManagerFactory.ts @@ -1,6 +1,6 @@ import path from 'node:path'; import { sync as spawnSync } from 'cross-spawn'; -import { sync as findUpSync } from 'find-up'; +import { findUpSync } from 'find-up'; import { NPMProxy } from './NPMProxy'; import { PNPMProxy } from './PNPMProxy'; diff --git a/code/lib/core-common/src/js-package-manager/NPMProxy.test.ts b/code/core/src/common/js-package-manager/NPMProxy.test.ts similarity index 92% rename from code/lib/core-common/src/js-package-manager/NPMProxy.test.ts rename to code/core/src/common/js-package-manager/NPMProxy.test.ts index 1445b1be2b87..eea4966e34b5 100644 --- a/code/lib/core-common/src/js-package-manager/NPMProxy.test.ts +++ b/code/core/src/common/js-package-manager/NPMProxy.test.ts @@ -121,13 +121,13 @@ describe('NPM Proxy', () => { .mockResolvedValueOnce('6.0.0'); await npmProxy.addDependencies({ installAsDevDependencies: true }, [ - '@storybook/preview-api', + '@storybook/core/dist/preview-api', ]); expect(executeCommandSpy).toHaveBeenLastCalledWith( expect.objectContaining({ command: 'npm', - args: ['install', '-D', '@storybook/preview-api'], + args: ['install', '-D', '@storybook/core/dist/preview-api'], }) ); }); @@ -139,13 +139,13 @@ describe('NPM Proxy', () => { .mockResolvedValueOnce('7.0.0'); await npmProxy.addDependencies({ installAsDevDependencies: true }, [ - '@storybook/preview-api', + '@storybook/core/dist/preview-api', ]); expect(executeCommandSpy).toHaveBeenLastCalledWith( expect.objectContaining({ command: 'npm', - args: ['install', '-D', '@storybook/preview-api'], + args: ['install', '-D', '@storybook/core/dist/preview-api'], }) ); }); @@ -159,10 +159,13 @@ describe('NPM Proxy', () => { .spyOn(npmProxy, 'executeCommand') .mockResolvedValueOnce('6.0.0'); - npmProxy.removeDependencies({}, ['@storybook/preview-api']); + npmProxy.removeDependencies({}, ['@storybook/core/dist/preview-api']); expect(executeCommandSpy).toHaveBeenLastCalledWith( - expect.objectContaining({ command: 'npm', args: ['uninstall', '@storybook/preview-api'] }) + expect.objectContaining({ + command: 'npm', + args: ['uninstall', '@storybook/core/dist/preview-api'], + }) ); }); }); @@ -172,10 +175,13 @@ describe('NPM Proxy', () => { .spyOn(npmProxy, 'executeCommand') .mockResolvedValueOnce('7.0.0'); - await npmProxy.removeDependencies({}, ['@storybook/preview-api']); + await npmProxy.removeDependencies({}, ['@storybook/core/dist/preview-api']); expect(executeCommandSpy).toHaveBeenLastCalledWith( - expect.objectContaining({ command: 'npm', args: ['uninstall', '@storybook/preview-api'] }) + expect.objectContaining({ + command: 'npm', + args: ['uninstall', '@storybook/core/dist/preview-api'], + }) ); }); }); @@ -217,12 +223,12 @@ describe('NPM Proxy', () => { .spyOn(npmProxy, 'executeCommand') .mockResolvedValueOnce('"5.3.19"'); - const version = await npmProxy.latestVersion('@storybook/preview-api'); + const version = await npmProxy.latestVersion('@storybook/core/dist/preview-api'); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'npm', - args: ['info', '@storybook/preview-api', 'version', '--json'], + args: ['info', '@storybook/core/dist/preview-api', 'version', '--json'], }) ); expect(version).toEqual('5.3.19'); @@ -233,12 +239,12 @@ describe('NPM Proxy', () => { .spyOn(npmProxy, 'executeCommand') .mockResolvedValueOnce('["4.25.3","5.3.19","6.0.0-beta.23"]'); - const version = await npmProxy.latestVersion('@storybook/preview-api', '5.X'); + const version = await npmProxy.latestVersion('@storybook/core/dist/preview-api', '5.X'); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'npm', - args: ['info', '@storybook/preview-api', 'versions', '--json'], + args: ['info', '@storybook/core/dist/preview-api', 'versions', '--json'], }) ); expect(version).toEqual('5.3.19'); @@ -247,7 +253,7 @@ describe('NPM Proxy', () => { it('throws an error if command output is not a valid JSON', async () => { vi.spyOn(npmProxy, 'executeCommand').mockResolvedValueOnce('NOT A JSON'); - await expect(npmProxy.latestVersion('@storybook/preview-api')).rejects.toThrow(); + await expect(npmProxy.latestVersion('@storybook/core/dist/preview-api')).rejects.toThrow(); }); }); diff --git a/code/lib/core-common/src/js-package-manager/NPMProxy.ts b/code/core/src/common/js-package-manager/NPMProxy.ts similarity index 98% rename from code/lib/core-common/src/js-package-manager/NPMProxy.ts rename to code/core/src/common/js-package-manager/NPMProxy.ts index 8e996861f32a..831d7f19a888 100644 --- a/code/lib/core-common/src/js-package-manager/NPMProxy.ts +++ b/code/core/src/common/js-package-manager/NPMProxy.ts @@ -1,10 +1,10 @@ import sort from 'semver/functions/sort'; import { platform } from 'os'; import dedent from 'ts-dedent'; -import { sync as findUpSync } from 'find-up'; +import { findUpSync } from 'find-up'; import { existsSync, readFileSync } from 'fs'; -import path from 'path'; -import { logger } from '@storybook/node-logger'; +import path from 'node:path'; +import { logger } from '@storybook/core/dist/node-logger'; import { JsPackageManager } from './JsPackageManager'; import type { PackageJson } from './PackageJson'; import type { InstallationMetadata, PackageMetadata } from './types'; diff --git a/code/lib/core-common/src/js-package-manager/PNPMProxy.test.ts b/code/core/src/common/js-package-manager/PNPMProxy.test.ts similarity index 94% rename from code/lib/core-common/src/js-package-manager/PNPMProxy.test.ts rename to code/core/src/common/js-package-manager/PNPMProxy.test.ts index 5142c2aceac5..8bdf05e415bc 100644 --- a/code/lib/core-common/src/js-package-manager/PNPMProxy.test.ts +++ b/code/core/src/common/js-package-manager/PNPMProxy.test.ts @@ -77,11 +77,14 @@ describe('PNPM Proxy', () => { .mockResolvedValueOnce('6.0.0'); await pnpmProxy.addDependencies({ installAsDevDependencies: true }, [ - '@storybook/preview-api', + '@storybook/core/dist/preview-api', ]); expect(executeCommandSpy).toHaveBeenLastCalledWith( - expect.objectContaining({ command: 'pnpm', args: ['add', '-D', '@storybook/preview-api'] }) + expect.objectContaining({ + command: 'pnpm', + args: ['add', '-D', '@storybook/core/dist/preview-api'], + }) ); }); }); @@ -92,10 +95,13 @@ describe('PNPM Proxy', () => { .spyOn(pnpmProxy, 'executeCommand') .mockResolvedValueOnce('6.0.0'); - await pnpmProxy.removeDependencies({}, ['@storybook/preview-api']); + await pnpmProxy.removeDependencies({}, ['@storybook/core/dist/preview-api']); expect(executeCommandSpy).toHaveBeenLastCalledWith( - expect.objectContaining({ command: 'pnpm', args: ['remove', '@storybook/preview-api'] }) + expect.objectContaining({ + command: 'pnpm', + args: ['remove', '@storybook/core/dist/preview-api'], + }) ); }); @@ -137,12 +143,12 @@ describe('PNPM Proxy', () => { .spyOn(pnpmProxy, 'executeCommand') .mockResolvedValueOnce('"5.3.19"'); - const version = await pnpmProxy.latestVersion('@storybook/preview-api'); + const version = await pnpmProxy.latestVersion('@storybook/core/dist/preview-api'); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'pnpm', - args: ['info', '@storybook/preview-api', 'version', '--json'], + args: ['info', '@storybook/core/dist/preview-api', 'version', '--json'], }) ); expect(version).toEqual('5.3.19'); @@ -153,12 +159,12 @@ describe('PNPM Proxy', () => { .spyOn(pnpmProxy, 'executeCommand') .mockResolvedValueOnce('["4.25.3","5.3.19","6.0.0-beta.23"]'); - const version = await pnpmProxy.latestVersion('@storybook/preview-api', '5.X'); + const version = await pnpmProxy.latestVersion('@storybook/core/dist/preview-api', '5.X'); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'pnpm', - args: ['info', '@storybook/preview-api', 'versions', '--json'], + args: ['info', '@storybook/core/dist/preview-api', 'versions', '--json'], }) ); expect(version).toEqual('5.3.19'); @@ -167,7 +173,7 @@ describe('PNPM Proxy', () => { it('throws an error if command output is not a valid JSON', async () => { vi.spyOn(pnpmProxy, 'executeCommand').mockResolvedValueOnce('NOT A JSON'); - await expect(pnpmProxy.latestVersion('@storybook/preview-api')).rejects.toThrow(); + await expect(pnpmProxy.latestVersion('@storybook/core/dist/preview-api')).rejects.toThrow(); }); }); diff --git a/code/lib/core-common/src/js-package-manager/PNPMProxy.ts b/code/core/src/common/js-package-manager/PNPMProxy.ts similarity index 99% rename from code/lib/core-common/src/js-package-manager/PNPMProxy.ts rename to code/core/src/common/js-package-manager/PNPMProxy.ts index a2f8baf6206b..e822d22180dc 100644 --- a/code/lib/core-common/src/js-package-manager/PNPMProxy.ts +++ b/code/core/src/common/js-package-manager/PNPMProxy.ts @@ -1,7 +1,7 @@ import { pathExistsSync } from 'fs-extra'; import dedent from 'ts-dedent'; -import { sync as findUpSync } from 'find-up'; -import path from 'path'; +import { findUpSync } from 'find-up'; +import path from 'node:path'; import fs from 'fs'; import { JsPackageManager } from './JsPackageManager'; import type { PackageJson } from './PackageJson'; diff --git a/code/lib/core-common/src/js-package-manager/PackageJson.ts b/code/core/src/common/js-package-manager/PackageJson.ts similarity index 71% rename from code/lib/core-common/src/js-package-manager/PackageJson.ts rename to code/core/src/common/js-package-manager/PackageJson.ts index a6313cfab244..6e2f5c5e6b4d 100644 --- a/code/lib/core-common/src/js-package-manager/PackageJson.ts +++ b/code/core/src/common/js-package-manager/PackageJson.ts @@ -1,9 +1,10 @@ -import type { PackageJson } from '@storybook/types'; +import type { PackageJson } from '@storybook/core/dist/types'; -export type { PackageJson } from '@storybook/types'; export type PackageJsonWithDepsAndDevDeps = PackageJson & Required>; export type PackageJsonWithMaybeDeps = Partial< Pick >; + +export { PackageJson }; diff --git a/code/lib/core-common/src/js-package-manager/Yarn1Proxy.test.ts b/code/core/src/common/js-package-manager/Yarn1Proxy.test.ts similarity index 94% rename from code/lib/core-common/src/js-package-manager/Yarn1Proxy.test.ts rename to code/core/src/common/js-package-manager/Yarn1Proxy.test.ts index f5bf19f403be..42674ac64a00 100644 --- a/code/lib/core-common/src/js-package-manager/Yarn1Proxy.test.ts +++ b/code/core/src/common/js-package-manager/Yarn1Proxy.test.ts @@ -74,13 +74,13 @@ describe('Yarn 1 Proxy', () => { const executeCommandSpy = vi.spyOn(yarn1Proxy, 'executeCommand').mockResolvedValueOnce(''); await yarn1Proxy.addDependencies({ installAsDevDependencies: true }, [ - '@storybook/preview-api', + '@storybook/core/dist/preview-api', ]); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'yarn', - args: ['add', '--ignore-workspace-root-check', '-D', '@storybook/preview-api'], + args: ['add', '--ignore-workspace-root-check', '-D', '@storybook/core/dist/preview-api'], }) ); }); @@ -90,12 +90,12 @@ describe('Yarn 1 Proxy', () => { it('should run `yarn remove --ignore-workspace-root-check @storybook/preview-api`', async () => { const executeCommandSpy = vi.spyOn(yarn1Proxy, 'executeCommand').mockResolvedValueOnce(''); - yarn1Proxy.removeDependencies({}, ['@storybook/preview-api']); + yarn1Proxy.removeDependencies({}, ['@storybook/core/dist/preview-api']); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'yarn', - args: ['remove', '--ignore-workspace-root-check', '@storybook/preview-api'], + args: ['remove', '--ignore-workspace-root-check', '@storybook/core/dist/preview-api'], }) ); }); @@ -136,12 +136,12 @@ describe('Yarn 1 Proxy', () => { .spyOn(yarn1Proxy, 'executeCommand') .mockResolvedValueOnce('{"type":"inspect","data":"5.3.19"}'); - const version = await yarn1Proxy.latestVersion('@storybook/preview-api'); + const version = await yarn1Proxy.latestVersion('@storybook/core/dist/preview-api'); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'yarn', - args: ['info', '@storybook/preview-api', 'version', '--json'], + args: ['info', '@storybook/core/dist/preview-api', 'version', '--json'], }) ); expect(version).toEqual('5.3.19'); @@ -152,12 +152,12 @@ describe('Yarn 1 Proxy', () => { .spyOn(yarn1Proxy, 'executeCommand') .mockResolvedValueOnce('{"type":"inspect","data":["4.25.3","5.3.19","6.0.0-beta.23"]}'); - const version = await yarn1Proxy.latestVersion('@storybook/preview-api', '5.X'); + const version = await yarn1Proxy.latestVersion('@storybook/core/dist/preview-api', '5.X'); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'yarn', - args: ['info', '@storybook/preview-api', 'versions', '--json'], + args: ['info', '@storybook/core/dist/preview-api', 'versions', '--json'], }) ); expect(version).toEqual('5.3.19'); @@ -166,7 +166,7 @@ describe('Yarn 1 Proxy', () => { it('throws an error if command output is not a valid JSON', async () => { vi.spyOn(yarn1Proxy, 'executeCommand').mockResolvedValueOnce('NOT A JSON'); - await expect(yarn1Proxy.latestVersion('@storybook/preview-api')).rejects.toThrow(); + await expect(yarn1Proxy.latestVersion('@storybook/core/dist/preview-api')).rejects.toThrow(); }); }); diff --git a/code/lib/core-common/src/js-package-manager/Yarn1Proxy.ts b/code/core/src/common/js-package-manager/Yarn1Proxy.ts similarity index 98% rename from code/lib/core-common/src/js-package-manager/Yarn1Proxy.ts rename to code/core/src/common/js-package-manager/Yarn1Proxy.ts index 5980b26accc4..c013f1f780ba 100644 --- a/code/lib/core-common/src/js-package-manager/Yarn1Proxy.ts +++ b/code/core/src/common/js-package-manager/Yarn1Proxy.ts @@ -1,7 +1,7 @@ import dedent from 'ts-dedent'; -import { sync as findUpSync } from 'find-up'; +import { findUpSync } from 'find-up'; import { existsSync, readFileSync } from 'fs'; -import path from 'path'; +import path from 'node:path'; import { createLogStream } from '../utils/cli'; import { JsPackageManager } from './JsPackageManager'; import type { PackageJson } from './PackageJson'; diff --git a/code/lib/core-common/src/js-package-manager/Yarn2Proxy.test.ts b/code/core/src/common/js-package-manager/Yarn2Proxy.test.ts similarity index 92% rename from code/lib/core-common/src/js-package-manager/Yarn2Proxy.test.ts rename to code/core/src/common/js-package-manager/Yarn2Proxy.test.ts index 985d0dbecf83..867927999650 100644 --- a/code/lib/core-common/src/js-package-manager/Yarn2Proxy.test.ts +++ b/code/core/src/common/js-package-manager/Yarn2Proxy.test.ts @@ -73,11 +73,14 @@ describe('Yarn 2 Proxy', () => { const executeCommandSpy = vi.spyOn(yarn2Proxy, 'executeCommand').mockResolvedValueOnce(''); await yarn2Proxy.addDependencies({ installAsDevDependencies: true }, [ - '@storybook/preview-api', + '@storybook/core/dist/preview-api', ]); expect(executeCommandSpy).toHaveBeenCalledWith( - expect.objectContaining({ command: 'yarn', args: ['add', '-D', '@storybook/preview-api'] }) + expect.objectContaining({ + command: 'yarn', + args: ['add', '-D', '@storybook/core/dist/preview-api'], + }) ); }); }); @@ -86,12 +89,12 @@ describe('Yarn 2 Proxy', () => { it('should run `yarn remove @storybook/preview-api`', async () => { const executeCommandSpy = vi.spyOn(yarn2Proxy, 'executeCommand').mockResolvedValueOnce(''); - await yarn2Proxy.removeDependencies({}, ['@storybook/preview-api']); + await yarn2Proxy.removeDependencies({}, ['@storybook/core/dist/preview-api']); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'yarn', - args: ['remove', '@storybook/preview-api'], + args: ['remove', '@storybook/core/dist/preview-api'], }) ); }); @@ -132,12 +135,19 @@ describe('Yarn 2 Proxy', () => { .spyOn(yarn2Proxy, 'executeCommand') .mockResolvedValueOnce('{"name":"@storybook/preview-api","version":"5.3.19"}'); - const version = await yarn2Proxy.latestVersion('@storybook/preview-api'); + const version = await yarn2Proxy.latestVersion('@storybook/core/dist/preview-api'); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'yarn', - args: ['npm', 'info', '@storybook/preview-api', '--fields', 'version', '--json'], + args: [ + 'npm', + 'info', + '@storybook/core/dist/preview-api', + '--fields', + 'version', + '--json', + ], }) ); expect(version).toEqual('5.3.19'); @@ -150,12 +160,19 @@ describe('Yarn 2 Proxy', () => { '{"name":"@storybook/preview-api","versions":["4.25.3","5.3.19","6.0.0-beta.23"]}' ); - const version = await yarn2Proxy.latestVersion('@storybook/preview-api', '5.X'); + const version = await yarn2Proxy.latestVersion('@storybook/core/dist/preview-api', '5.X'); expect(executeCommandSpy).toHaveBeenCalledWith( expect.objectContaining({ command: 'yarn', - args: ['npm', 'info', '@storybook/preview-api', '--fields', 'versions', '--json'], + args: [ + 'npm', + 'info', + '@storybook/core/dist/preview-api', + '--fields', + 'versions', + '--json', + ], }) ); expect(version).toEqual('5.3.19'); @@ -164,7 +181,7 @@ describe('Yarn 2 Proxy', () => { it('throws an error if command output is not a valid JSON', async () => { vi.spyOn(yarn2Proxy, 'executeCommand').mockResolvedValueOnce('NOT A JSON'); - await expect(yarn2Proxy.latestVersion('@storybook/preview-api')).rejects.toThrow(); + await expect(yarn2Proxy.latestVersion('@storybook/core/dist/preview-api')).rejects.toThrow(); }); }); diff --git a/code/lib/core-common/src/js-package-manager/Yarn2Proxy.ts b/code/core/src/common/js-package-manager/Yarn2Proxy.ts similarity index 98% rename from code/lib/core-common/src/js-package-manager/Yarn2Proxy.ts rename to code/core/src/common/js-package-manager/Yarn2Proxy.ts index db4bb886c461..f88261c3d08c 100644 --- a/code/lib/core-common/src/js-package-manager/Yarn2Proxy.ts +++ b/code/core/src/common/js-package-manager/Yarn2Proxy.ts @@ -1,7 +1,7 @@ import dedent from 'ts-dedent'; -import { sync as findUpSync, sync as syncFindUp } from 'find-up'; +import { findUpSync } from 'find-up'; import { existsSync, readFileSync } from 'fs'; -import path from 'path'; +import path from 'node:path'; import { PosixFS, VirtualFS, ZipOpenFS } from '@yarnpkg/fslib'; import { getLibzipSync } from '@yarnpkg/libzip'; import { createLogStream } from '../utils/cli'; @@ -167,7 +167,7 @@ export class Yarn2Proxy extends JsPackageManager { } } - const packageJsonPath = await syncFindUp( + const packageJsonPath = await findUpSync( (dir) => { const possiblePath = path.join(dir, 'node_modules', packageName, 'package.json'); return existsSync(possiblePath) ? possiblePath : undefined; diff --git a/code/lib/core-common/src/js-package-manager/fixtures/multiple-lockfiles/package.json b/code/core/src/common/js-package-manager/fixtures/multiple-lockfiles/package.json similarity index 100% rename from code/lib/core-common/src/js-package-manager/fixtures/multiple-lockfiles/package.json rename to code/core/src/common/js-package-manager/fixtures/multiple-lockfiles/package.json diff --git a/code/lib/core-common/src/js-package-manager/fixtures/multiple-lockfiles/pnpm-lock.yaml b/code/core/src/common/js-package-manager/fixtures/multiple-lockfiles/pnpm-lock.yaml similarity index 100% rename from code/lib/core-common/src/js-package-manager/fixtures/multiple-lockfiles/pnpm-lock.yaml rename to code/core/src/common/js-package-manager/fixtures/multiple-lockfiles/pnpm-lock.yaml diff --git a/code/lib/core-common/src/js-package-manager/fixtures/pnpm-workspace/package.json b/code/core/src/common/js-package-manager/fixtures/pnpm-workspace/package.json similarity index 100% rename from code/lib/core-common/src/js-package-manager/fixtures/pnpm-workspace/package.json rename to code/core/src/common/js-package-manager/fixtures/pnpm-workspace/package.json diff --git a/code/lib/core-common/src/js-package-manager/fixtures/pnpm-workspace/package/package.json b/code/core/src/common/js-package-manager/fixtures/pnpm-workspace/package/package.json similarity index 100% rename from code/lib/core-common/src/js-package-manager/fixtures/pnpm-workspace/package/package.json rename to code/core/src/common/js-package-manager/fixtures/pnpm-workspace/package/package.json diff --git a/code/lib/core-common/src/js-package-manager/fixtures/pnpm-workspace/pnpm-lock.yaml b/code/core/src/common/js-package-manager/fixtures/pnpm-workspace/pnpm-lock.yaml similarity index 100% rename from code/lib/core-common/src/js-package-manager/fixtures/pnpm-workspace/pnpm-lock.yaml rename to code/core/src/common/js-package-manager/fixtures/pnpm-workspace/pnpm-lock.yaml diff --git a/code/lib/core-common/src/js-package-manager/index.ts b/code/core/src/common/js-package-manager/index.ts similarity index 100% rename from code/lib/core-common/src/js-package-manager/index.ts rename to code/core/src/common/js-package-manager/index.ts diff --git a/code/lib/core-common/src/js-package-manager/types.ts b/code/core/src/common/js-package-manager/types.ts similarity index 100% rename from code/lib/core-common/src/js-package-manager/types.ts rename to code/core/src/common/js-package-manager/types.ts diff --git a/code/lib/core-common/src/js-package-manager/util.ts b/code/core/src/common/js-package-manager/util.ts similarity index 100% rename from code/lib/core-common/src/js-package-manager/util.ts rename to code/core/src/common/js-package-manager/util.ts diff --git a/code/lib/core-common/src/presets.test.ts b/code/core/src/common/presets.test.ts similarity index 99% rename from code/lib/core-common/src/presets.test.ts rename to code/core/src/common/presets.test.ts index 41de507fd91e..aae82133a321 100644 --- a/code/lib/core-common/src/presets.test.ts +++ b/code/core/src/common/presets.test.ts @@ -1,7 +1,7 @@ import mockRequire from 'mock-require'; import { describe, beforeEach, afterEach, it, expect, vi } from 'vitest'; import path from 'path'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { getPresets, resolveAddonName, loadPreset } from './presets'; function wrapPreset(basePresets: any): { babel: Function; webpack: Function } { @@ -15,7 +15,7 @@ function mockPreset(name: string, mockPresetObject: any) { mockRequire(name, mockPresetObject); } -vi.mock('@storybook/node-logger', () => ({ +vi.mock('@storybook/core/dist/node-logger', () => ({ logger: { info: vi.fn(), warn: vi.fn(), diff --git a/code/lib/core-common/src/presets.ts b/code/core/src/common/presets.ts similarity index 98% rename from code/lib/core-common/src/presets.ts rename to code/core/src/common/presets.ts index 7555a90b9eb4..c5b208d41714 100644 --- a/code/lib/core-common/src/presets.ts +++ b/code/core/src/common/presets.ts @@ -1,5 +1,5 @@ import { dedent } from 'ts-dedent'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import type { BuilderOptions, CLIOptions, @@ -10,9 +10,9 @@ import type { PresetConfig, Presets, StorybookConfigRaw, -} from '@storybook/types'; -import { join, parse } from 'path'; -import { CriticalPresetLoadError } from '@storybook/core-events/server-errors'; +} from '@storybook/core/dist/types'; +import { join, parse } from 'node:path'; +import { CriticalPresetLoadError } from '@storybook/core/dist/server-errors'; import { loadCustomPresets } from './utils/load-custom-presets'; import { safeResolve, safeResolveFrom } from './utils/safeResolve'; import { interopRequireDefault } from './utils/interpret-require'; diff --git a/code/lib/core-common/src/utils/HandledError.ts b/code/core/src/common/utils/HandledError.ts similarity index 100% rename from code/lib/core-common/src/utils/HandledError.ts rename to code/core/src/common/utils/HandledError.ts diff --git a/code/lib/core-common/src/utils/__snapshots__/formatter.test.ts.snap b/code/core/src/common/utils/__snapshots__/formatter.test.ts.snap similarity index 100% rename from code/lib/core-common/src/utils/__snapshots__/formatter.test.ts.snap rename to code/core/src/common/utils/__snapshots__/formatter.test.ts.snap diff --git a/code/lib/core-common/src/utils/__tests-formatter__/withPrettierConfig/.prettierrc b/code/core/src/common/utils/__tests-formatter__/withPrettierConfig/.prettierrc similarity index 100% rename from code/lib/core-common/src/utils/__tests-formatter__/withPrettierConfig/.prettierrc rename to code/core/src/common/utils/__tests-formatter__/withPrettierConfig/.prettierrc diff --git a/code/lib/core-common/src/utils/__tests-formatter__/withoutEditorConfig/.editorconfig b/code/core/src/common/utils/__tests-formatter__/withoutEditorConfig/.editorconfig similarity index 100% rename from code/lib/core-common/src/utils/__tests-formatter__/withoutEditorConfig/.editorconfig rename to code/core/src/common/utils/__tests-formatter__/withoutEditorConfig/.editorconfig diff --git a/code/lib/core-common/src/utils/__tests-formatter__/withoutEditorConfig/.prettierrc b/code/core/src/common/utils/__tests-formatter__/withoutEditorConfig/.prettierrc similarity index 100% rename from code/lib/core-common/src/utils/__tests-formatter__/withoutEditorConfig/.prettierrc rename to code/core/src/common/utils/__tests-formatter__/withoutEditorConfig/.prettierrc diff --git a/code/lib/core-common/src/utils/__tests-formatter__/withoutPrettierConfig/.editorconfig b/code/core/src/common/utils/__tests-formatter__/withoutPrettierConfig/.editorconfig similarity index 100% rename from code/lib/core-common/src/utils/__tests-formatter__/withoutPrettierConfig/.editorconfig rename to code/core/src/common/utils/__tests-formatter__/withoutPrettierConfig/.editorconfig diff --git a/code/lib/core-common/src/utils/__tests-formatter__/withoutPrettierConfig/.prettierrc b/code/core/src/common/utils/__tests-formatter__/withoutPrettierConfig/.prettierrc similarity index 100% rename from code/lib/core-common/src/utils/__tests-formatter__/withoutPrettierConfig/.prettierrc rename to code/core/src/common/utils/__tests-formatter__/withoutPrettierConfig/.prettierrc diff --git a/code/lib/core-common/src/utils/__tests__/check-addon-order.test.ts b/code/core/src/common/utils/__tests__/check-addon-order.test.ts similarity index 96% rename from code/lib/core-common/src/utils/__tests__/check-addon-order.test.ts rename to code/core/src/common/utils/__tests__/check-addon-order.test.ts index db4820b02ec6..13f38d7d9bbb 100644 --- a/code/lib/core-common/src/utils/__tests__/check-addon-order.test.ts +++ b/code/core/src/common/utils/__tests__/check-addon-order.test.ts @@ -1,10 +1,10 @@ import { afterEach, it, expect, vi, describe } from 'vitest'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import type { CoreCommon_AddonEntry, CoreCommon_AddonInfo, CoreCommon_OptionsEntry, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { checkAddonOrder } from '../check-addon-order'; const configFile = './main.js'; diff --git a/code/lib/core-common/src/utils/__tests__/interpret-files.test.ts b/code/core/src/common/utils/__tests__/interpret-files.test.ts similarity index 100% rename from code/lib/core-common/src/utils/__tests__/interpret-files.test.ts rename to code/core/src/common/utils/__tests__/interpret-files.test.ts diff --git a/code/lib/core-common/src/utils/__tests__/normalize-stories.test.ts b/code/core/src/common/utils/__tests__/normalize-stories.test.ts similarity index 100% rename from code/lib/core-common/src/utils/__tests__/normalize-stories.test.ts rename to code/core/src/common/utils/__tests__/normalize-stories.test.ts diff --git a/code/lib/core-common/src/utils/__tests__/paths.test.ts b/code/core/src/common/utils/__tests__/paths.test.ts similarity index 91% rename from code/lib/core-common/src/utils/__tests__/paths.test.ts rename to code/core/src/common/utils/__tests__/paths.test.ts index 9458ab67f70f..de34f7d36963 100644 --- a/code/lib/core-common/src/utils/__tests__/paths.test.ts +++ b/code/core/src/common/utils/__tests__/paths.test.ts @@ -1,6 +1,6 @@ import { describe, it, expect, vi } from 'vitest'; import path from 'path'; -import findUp from 'find-up'; +import { findUpSync } from 'find-up'; import slash from 'slash'; import { normalizeStoryPath, getProjectRoot } from '../paths'; @@ -45,7 +45,7 @@ describe('paths - normalizeStoryPath()', () => { describe('getProjectRoot', () => { it('should return the root directory containing a .git directory', () => { - vi.mocked(findUp.sync).mockImplementation((name) => + vi.mocked(findUpSync).mockImplementation((name) => name === ('.git' as any) ? '/path/to/root' : undefined ); @@ -53,7 +53,7 @@ describe('getProjectRoot', () => { }); it('should return the root directory containing a .svn directory if there is no .git directory', () => { - vi.mocked(findUp.sync).mockImplementation((name) => + vi.mocked(findUpSync).mockImplementation((name) => name === ('.svn' as any) ? '/path/to/root' : undefined ); @@ -61,7 +61,7 @@ describe('getProjectRoot', () => { }); it('should return the root directory containing a .yarn directory if there is no .git or .svn directory', () => { - vi.mocked(findUp.sync).mockImplementation((name) => + vi.mocked(findUpSync).mockImplementation((name) => name === ('.yarn' as any) ? '/path/to/root' : undefined ); diff --git a/code/lib/core-common/src/utils/__tests__/template.test.ts b/code/core/src/common/utils/__tests__/template.test.ts similarity index 100% rename from code/lib/core-common/src/utils/__tests__/template.test.ts rename to code/core/src/common/utils/__tests__/template.test.ts diff --git a/code/lib/core-common/src/utils/cache.ts b/code/core/src/common/utils/cache.ts similarity index 100% rename from code/lib/core-common/src/utils/cache.ts rename to code/core/src/common/utils/cache.ts diff --git a/code/lib/core-common/src/utils/check-addon-order.ts b/code/core/src/common/utils/check-addon-order.ts similarity index 95% rename from code/lib/core-common/src/utils/check-addon-order.ts rename to code/core/src/common/utils/check-addon-order.ts index b91c93e7df02..3ea20a1748d7 100644 --- a/code/lib/core-common/src/utils/check-addon-order.ts +++ b/code/core/src/common/utils/check-addon-order.ts @@ -2,9 +2,9 @@ import type { CoreCommon_AddonEntry, CoreCommon_AddonInfo, CoreCommon_OptionsEntry, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; interface Options { before: CoreCommon_AddonInfo; diff --git a/code/lib/core-common/src/utils/cli.test.ts b/code/core/src/common/utils/cli.test.ts similarity index 93% rename from code/lib/core-common/src/utils/cli.test.ts rename to code/core/src/common/utils/cli.test.ts index 708a11ebbba8..30b75745fa05 100644 --- a/code/lib/core-common/src/utils/cli.test.ts +++ b/code/core/src/common/utils/cli.test.ts @@ -4,7 +4,7 @@ import { isCorePackage } from './cli'; describe('UTILS', () => { describe.each([ ['@storybook/react', true], - ['@storybook/node-logger', true], + ['@storybook/core/dist/node-logger', true], ['@storybook/linter-config', false], ['@storybook/design-system', false], ['@storybook/addon-styling', false], diff --git a/code/lib/core-common/src/utils/cli.ts b/code/core/src/common/utils/cli.ts similarity index 99% rename from code/lib/core-common/src/utils/cli.ts rename to code/core/src/common/utils/cli.ts index c4103bd59137..86884e8380e5 100644 --- a/code/lib/core-common/src/utils/cli.ts +++ b/code/core/src/common/utils/cli.ts @@ -1,6 +1,6 @@ import type { WriteStream } from 'fs-extra'; import { move, remove, writeFile, readFile, createWriteStream } from 'fs-extra'; -import { join } from 'path'; +import { join } from 'node:path'; import tempy from 'tempy'; import { rendererPackages } from './get-storybook-info'; import type { JsPackageManager } from '../js-package-manager'; diff --git a/code/lib/core-common/src/utils/common-glob-options.ts b/code/core/src/common/utils/common-glob-options.ts similarity index 100% rename from code/lib/core-common/src/utils/common-glob-options.ts rename to code/core/src/common/utils/common-glob-options.ts diff --git a/code/lib/core-common/src/utils/envs.ts b/code/core/src/common/utils/envs.ts similarity index 100% rename from code/lib/core-common/src/utils/envs.ts rename to code/core/src/common/utils/envs.ts diff --git a/code/lib/core-common/src/utils/file-cache.ts b/code/core/src/common/utils/file-cache.ts similarity index 56% rename from code/lib/core-common/src/utils/file-cache.ts rename to code/core/src/common/utils/file-cache.ts index cc62de6dac47..13a41c7e2a25 100644 --- a/code/lib/core-common/src/utils/file-cache.ts +++ b/code/core/src/common/utils/file-cache.ts @@ -1,4 +1,7 @@ -import Cache from 'file-system-cache'; +import * as fsc from 'file-system-cache'; + +// @ts-expect-error (needed due to it's use of `exports.default`) +const Cache = fsc.default.default as typeof fsc.default; export type Options = Parameters['0']; export type FileSystemCache = ReturnType; diff --git a/code/lib/core-common/src/utils/formatter.test.ts b/code/core/src/common/utils/formatter.test.ts similarity index 100% rename from code/lib/core-common/src/utils/formatter.test.ts rename to code/core/src/common/utils/formatter.test.ts diff --git a/code/lib/core-common/src/utils/formatter.ts b/code/core/src/common/utils/formatter.ts similarity index 97% rename from code/lib/core-common/src/utils/formatter.ts rename to code/core/src/common/utils/formatter.ts index f18951cabf63..66bb05149703 100644 --- a/code/lib/core-common/src/utils/formatter.ts +++ b/code/core/src/common/utils/formatter.ts @@ -1,6 +1,7 @@ import semver from 'semver'; import dedent from 'ts-dedent'; +// TODO: should remove this v2 business when we drop support for v2 type Prettier = typeof import('prettier-v2') | typeof import('prettier-v3'); type PrettierVersion = 2 | 3; diff --git a/code/lib/core-common/src/utils/framework-to-renderer.ts b/code/core/src/common/utils/framework-to-renderer.ts similarity index 91% rename from code/lib/core-common/src/utils/framework-to-renderer.ts rename to code/core/src/common/utils/framework-to-renderer.ts index a7c8532529a1..feb4de969d29 100644 --- a/code/lib/core-common/src/utils/framework-to-renderer.ts +++ b/code/core/src/common/utils/framework-to-renderer.ts @@ -1,4 +1,4 @@ -import type { SupportedFrameworks, SupportedRenderers } from '@storybook/types'; +import type { SupportedFrameworks, SupportedRenderers } from '../../types'; export const frameworkToRenderer: Record< SupportedFrameworks | SupportedRenderers, diff --git a/code/lib/core-common/src/utils/get-builder-options.ts b/code/core/src/common/utils/get-builder-options.ts similarity index 92% rename from code/lib/core-common/src/utils/get-builder-options.ts rename to code/core/src/common/utils/get-builder-options.ts index f0ef6c735f21..cb11102984f6 100644 --- a/code/lib/core-common/src/utils/get-builder-options.ts +++ b/code/core/src/common/utils/get-builder-options.ts @@ -1,4 +1,4 @@ -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; /** * Builder options can be specified in `core.builder.options` or `framework.options.builder`. diff --git a/code/lib/core-common/src/utils/get-framework-name.test.ts b/code/core/src/common/utils/get-framework-name.test.ts similarity index 100% rename from code/lib/core-common/src/utils/get-framework-name.test.ts rename to code/core/src/common/utils/get-framework-name.test.ts diff --git a/code/lib/core-common/src/utils/get-framework-name.ts b/code/core/src/common/utils/get-framework-name.ts similarity index 95% rename from code/lib/core-common/src/utils/get-framework-name.ts rename to code/core/src/common/utils/get-framework-name.ts index fcfef2efee42..c3b901deb59f 100644 --- a/code/lib/core-common/src/utils/get-framework-name.ts +++ b/code/core/src/common/utils/get-framework-name.ts @@ -1,5 +1,5 @@ import { dedent } from 'ts-dedent'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import { frameworkPackages } from './get-storybook-info'; import { normalizePath } from './normalize-path'; diff --git a/code/lib/core-common/src/utils/get-renderer-name.test.ts b/code/core/src/common/utils/get-renderer-name.test.ts similarity index 100% rename from code/lib/core-common/src/utils/get-renderer-name.test.ts rename to code/core/src/common/utils/get-renderer-name.test.ts diff --git a/code/lib/core-common/src/utils/get-renderer-name.ts b/code/core/src/common/utils/get-renderer-name.ts similarity index 96% rename from code/lib/core-common/src/utils/get-renderer-name.ts rename to code/core/src/common/utils/get-renderer-name.ts index 2acdcc6421bc..9bd2eb3fd926 100644 --- a/code/lib/core-common/src/utils/get-renderer-name.ts +++ b/code/core/src/common/utils/get-renderer-name.ts @@ -1,4 +1,4 @@ -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import { extractProperFrameworkName, getFrameworkName } from './get-framework-name'; import { frameworkPackages } from './get-storybook-info'; import { frameworkToRenderer } from './framework-to-renderer'; diff --git a/code/lib/core-common/src/utils/get-storybook-configuration.test.ts b/code/core/src/common/utils/get-storybook-configuration.test.ts similarity index 100% rename from code/lib/core-common/src/utils/get-storybook-configuration.test.ts rename to code/core/src/common/utils/get-storybook-configuration.test.ts diff --git a/code/lib/core-common/src/utils/get-storybook-configuration.ts b/code/core/src/common/utils/get-storybook-configuration.ts similarity index 100% rename from code/lib/core-common/src/utils/get-storybook-configuration.ts rename to code/core/src/common/utils/get-storybook-configuration.ts diff --git a/code/lib/core-common/src/utils/get-storybook-info.ts b/code/core/src/common/utils/get-storybook-info.ts similarity index 95% rename from code/lib/core-common/src/utils/get-storybook-info.ts rename to code/core/src/common/utils/get-storybook-info.ts index 2c90d90fd674..89b388a29573 100644 --- a/code/lib/core-common/src/utils/get-storybook-info.ts +++ b/code/core/src/common/utils/get-storybook-info.ts @@ -1,6 +1,10 @@ -import path from 'path'; +import path from 'node:path'; import fse from 'fs-extra'; -import type { CoreCommon_StorybookInfo, PackageJson, SupportedFrameworks } from '@storybook/types'; +import type { + CoreCommon_StorybookInfo, + PackageJson, + SupportedFrameworks, +} from '@storybook/core/dist/types'; import { getStorybookConfiguration } from './get-storybook-configuration'; export const rendererPackages: Record = { @@ -96,7 +100,7 @@ export const findConfigFile = (prefix: string, configDir: string) => { export const getConfigInfo = (packageJson: PackageJson, configDir?: string) => { let storybookConfigDir = configDir ?? '.storybook'; - const storybookScript = packageJson.scripts?.['storybook']; + const storybookScript = packageJson.scripts?.storybook; if (storybookScript && !configDir) { const configParam = getStorybookConfiguration(storybookScript, '-c', '--config-dir'); if (configParam) storybookConfigDir = configParam; diff --git a/code/lib/core-common/src/utils/get-storybook-refs.ts b/code/core/src/common/utils/get-storybook-refs.ts similarity index 92% rename from code/lib/core-common/src/utils/get-storybook-refs.ts rename to code/core/src/common/utils/get-storybook-refs.ts index accb63dfb67f..f95d58822f9b 100644 --- a/code/lib/core-common/src/utils/get-storybook-refs.ts +++ b/code/core/src/common/utils/get-storybook-refs.ts @@ -1,11 +1,11 @@ import { readJSON } from 'fs-extra'; -import { dirname, join } from 'path'; -import findUp from 'find-up'; +import { dirname, join } from 'node:path'; +import { findUp } from 'find-up'; import fetch from 'node-fetch'; import resolveFrom from 'resolve-from'; -import { logger } from '@storybook/node-logger'; -import type { Options, Ref } from '@storybook/types'; +import { logger } from '@storybook/core/dist/node-logger'; +import type { Options, Ref } from '@storybook/core/dist/types'; export const getAutoRefs = async (options: Options): Promise> => { const location = await findUp('package.json', { cwd: options.configDir }); @@ -67,7 +67,7 @@ const checkRef = (url: string) => headers: { Accept: 'application/json' }, }); // we might receive non-JSON as a response, because the service ignored our request for JSON response type. - if (data.ok && (await data.json().catch((e) => ({}))).loginUrl) { + if (data.ok && (await (data as any).json().catch(() => ({}))).loginUrl) { return false; } } diff --git a/code/lib/core-common/src/utils/glob-to-regexp.ts b/code/core/src/common/utils/glob-to-regexp.ts similarity index 100% rename from code/lib/core-common/src/utils/glob-to-regexp.ts rename to code/core/src/common/utils/glob-to-regexp.ts diff --git a/code/lib/core-common/src/utils/handlebars.ts b/code/core/src/common/utils/handlebars.ts similarity index 100% rename from code/lib/core-common/src/utils/handlebars.ts rename to code/core/src/common/utils/handlebars.ts diff --git a/code/lib/core-common/src/utils/interpolate.ts b/code/core/src/common/utils/interpolate.ts similarity index 100% rename from code/lib/core-common/src/utils/interpolate.ts rename to code/core/src/common/utils/interpolate.ts diff --git a/code/lib/core-common/src/utils/interpret-files.ts b/code/core/src/common/utils/interpret-files.ts similarity index 100% rename from code/lib/core-common/src/utils/interpret-files.ts rename to code/core/src/common/utils/interpret-files.ts diff --git a/code/lib/core-common/src/utils/interpret-require.ts b/code/core/src/common/utils/interpret-require.ts similarity index 100% rename from code/lib/core-common/src/utils/interpret-require.ts rename to code/core/src/common/utils/interpret-require.ts diff --git a/code/lib/core-common/src/utils/load-custom-presets.ts b/code/core/src/common/utils/load-custom-presets.ts similarity index 85% rename from code/lib/core-common/src/utils/load-custom-presets.ts rename to code/core/src/common/utils/load-custom-presets.ts index eb994f3cd4e1..ad83fd06ac44 100644 --- a/code/lib/core-common/src/utils/load-custom-presets.ts +++ b/code/core/src/common/utils/load-custom-presets.ts @@ -1,5 +1,5 @@ -import path from 'path'; -import type { PresetConfig } from '@storybook/types'; +import path from 'node:path'; +import type { PresetConfig } from '@storybook/core/dist/types'; import { serverRequire, serverResolve } from './interpret-require'; import { validateConfigurationFiles } from './validate-configuration-files'; diff --git a/code/lib/core-common/src/utils/load-main-config.ts b/code/core/src/common/utils/load-main-config.ts similarity index 90% rename from code/lib/core-common/src/utils/load-main-config.ts rename to code/core/src/common/utils/load-main-config.ts index b5001418597c..88755c47ae3e 100644 --- a/code/lib/core-common/src/utils/load-main-config.ts +++ b/code/core/src/common/utils/load-main-config.ts @@ -1,12 +1,12 @@ -import path, { relative } from 'path'; -import type { StorybookConfig } from '@storybook/types'; +import path, { relative } from 'node:path'; +import type { StorybookConfig } from '@storybook/core/dist/types'; import { serverRequire, serverResolve } from './interpret-require'; import { validateConfigurationFiles } from './validate-configuration-files'; import { readFile } from 'fs/promises'; import { MainFileESMOnlyImportError, MainFileEvaluationError, -} from '@storybook/core-events/server-errors'; +} from '@storybook/core/dist/server-errors'; export async function loadMainConfig({ configDir = '.storybook', diff --git a/code/lib/core-common/src/utils/load-manager-or-addons-file.ts b/code/core/src/common/utils/load-manager-or-addons-file.ts similarity index 90% rename from code/lib/core-common/src/utils/load-manager-or-addons-file.ts rename to code/core/src/common/utils/load-manager-or-addons-file.ts index 4e27f68a27d6..e032d3192fd1 100644 --- a/code/lib/core-common/src/utils/load-manager-or-addons-file.ts +++ b/code/core/src/common/utils/load-manager-or-addons-file.ts @@ -1,5 +1,5 @@ -import path from 'path'; -import { logger } from '@storybook/node-logger'; +import path from 'node:path'; +import { logger } from '@storybook/core/dist/node-logger'; import { dedent } from 'ts-dedent'; import { getInterpretedFile } from './interpret-files'; diff --git a/code/lib/core-common/src/utils/load-preview-or-config-file.ts b/code/core/src/common/utils/load-preview-or-config-file.ts similarity index 95% rename from code/lib/core-common/src/utils/load-preview-or-config-file.ts rename to code/core/src/common/utils/load-preview-or-config-file.ts index 27edc691b9b2..a6af14cfae16 100644 --- a/code/lib/core-common/src/utils/load-preview-or-config-file.ts +++ b/code/core/src/common/utils/load-preview-or-config-file.ts @@ -1,4 +1,4 @@ -import path from 'path'; +import path from 'node:path'; import { dedent } from 'ts-dedent'; import { getInterpretedFile } from './interpret-files'; diff --git a/code/lib/core-common/src/utils/log-config.ts b/code/core/src/common/utils/log-config.ts similarity index 100% rename from code/lib/core-common/src/utils/log-config.ts rename to code/core/src/common/utils/log-config.ts diff --git a/code/lib/core-common/src/utils/log.ts b/code/core/src/common/utils/log.ts similarity index 100% rename from code/lib/core-common/src/utils/log.ts rename to code/core/src/common/utils/log.ts diff --git a/code/lib/core-common/src/utils/normalize-path.test.ts b/code/core/src/common/utils/normalize-path.test.ts similarity index 100% rename from code/lib/core-common/src/utils/normalize-path.test.ts rename to code/core/src/common/utils/normalize-path.test.ts diff --git a/code/lib/core-common/src/utils/normalize-path.ts b/code/core/src/common/utils/normalize-path.ts similarity index 93% rename from code/lib/core-common/src/utils/normalize-path.ts rename to code/core/src/common/utils/normalize-path.ts index a6db3aa2c9de..098d8a7a0c58 100644 --- a/code/lib/core-common/src/utils/normalize-path.ts +++ b/code/core/src/common/utils/normalize-path.ts @@ -1,4 +1,4 @@ -import path from 'path'; +import path from 'node:path'; /** * Normalize a path to use forward slashes and remove .. and . diff --git a/code/lib/core-common/src/utils/normalize-stories.ts b/code/core/src/common/utils/normalize-stories.ts similarity index 95% rename from code/lib/core-common/src/utils/normalize-stories.ts rename to code/core/src/common/utils/normalize-stories.ts index d94603cfa78b..0a2865784508 100644 --- a/code/lib/core-common/src/utils/normalize-stories.ts +++ b/code/core/src/common/utils/normalize-stories.ts @@ -1,10 +1,10 @@ import * as fs from 'fs'; -import path from 'path'; +import path from 'node:path'; import * as pico from 'picomatch'; import slash from 'slash'; -import type { StoriesEntry, NormalizedStoriesSpecifier } from '@storybook/types'; -import { InvalidStoriesEntryError } from '@storybook/core-events/server-errors'; +import type { StoriesEntry, NormalizedStoriesSpecifier } from '@storybook/core/dist/types'; +import { InvalidStoriesEntryError } from '@storybook/core/dist/server-errors'; import { normalizeStoryPath } from './paths'; import { globToRegexp } from './glob-to-regexp'; diff --git a/code/lib/core-common/src/utils/notify-telemetry.ts b/code/core/src/common/utils/notify-telemetry.ts similarity index 100% rename from code/lib/core-common/src/utils/notify-telemetry.ts rename to code/core/src/common/utils/notify-telemetry.ts diff --git a/code/lib/core-common/src/utils/paths.ts b/code/core/src/common/utils/paths.ts similarity index 80% rename from code/lib/core-common/src/utils/paths.ts rename to code/core/src/common/utils/paths.ts index bb5896cc4f67..b2260be135f4 100644 --- a/code/lib/core-common/src/utils/paths.ts +++ b/code/core/src/common/utils/paths.ts @@ -1,5 +1,5 @@ -import path from 'path'; -import findUp from 'find-up'; +import path from 'node:path'; +import { findUpSync } from 'find-up'; export const getProjectRoot = () => { let result; @@ -9,7 +9,7 @@ export const getProjectRoot = () => { } try { - const found = findUp.sync('.git', { type: 'directory' }); + const found = findUpSync('.git', { type: 'directory' }); if (found) { result = path.join(found, '..'); } @@ -17,7 +17,7 @@ export const getProjectRoot = () => { // } try { - const found = findUp.sync('.svn', { type: 'directory' }); + const found = findUpSync('.svn', { type: 'directory' }); if (found) { result = result || path.join(found, '..'); } @@ -25,7 +25,7 @@ export const getProjectRoot = () => { // } try { - const found = findUp.sync('.hg', { type: 'directory' }); + const found = findUpSync('.hg', { type: 'directory' }); if (found) { result = result || path.join(found, '..'); } @@ -41,7 +41,7 @@ export const getProjectRoot = () => { } try { - const found = findUp.sync('.yarn', { type: 'directory' }); + const found = findUpSync('.yarn', { type: 'directory' }); if (found) { result = result || path.join(found, '..'); } diff --git a/code/lib/core-common/src/utils/print-duration.ts b/code/core/src/common/utils/print-duration.ts similarity index 100% rename from code/lib/core-common/src/utils/print-duration.ts rename to code/core/src/common/utils/print-duration.ts diff --git a/code/lib/core-common/src/utils/readTemplate.ts b/code/core/src/common/utils/readTemplate.ts similarity index 100% rename from code/lib/core-common/src/utils/readTemplate.ts rename to code/core/src/common/utils/readTemplate.ts diff --git a/code/lib/core-common/src/utils/remove.ts b/code/core/src/common/utils/remove.ts similarity index 95% rename from code/lib/core-common/src/utils/remove.ts rename to code/core/src/common/utils/remove.ts index 0c9af135aa39..b6199f6d8118 100644 --- a/code/lib/core-common/src/utils/remove.ts +++ b/code/core/src/common/utils/remove.ts @@ -1,5 +1,5 @@ import dedent from 'ts-dedent'; -import { readConfig, writeConfig } from '@storybook/csf-tools'; +import { readConfig, writeConfig } from '@storybook/core/dist/csf-tools'; import type { PackageManagerName } from '../js-package-manager'; import { JsPackageManagerFactory } from '../js-package-manager'; import { getStorybookInfo } from './get-storybook-info'; diff --git a/code/lib/core-common/src/utils/resolve-path-in-sb-cache.ts b/code/core/src/common/utils/resolve-path-in-sb-cache.ts similarity index 96% rename from code/lib/core-common/src/utils/resolve-path-in-sb-cache.ts rename to code/core/src/common/utils/resolve-path-in-sb-cache.ts index af7135817aff..4ba6e762ba1b 100644 --- a/code/lib/core-common/src/utils/resolve-path-in-sb-cache.ts +++ b/code/core/src/common/utils/resolve-path-in-sb-cache.ts @@ -1,4 +1,4 @@ -import path from 'path'; +import path from 'node:path'; import findCacheDirectory from 'find-cache-dir'; /** diff --git a/code/lib/core-common/src/utils/safeResolve.ts b/code/core/src/common/utils/safeResolve.ts similarity index 100% rename from code/lib/core-common/src/utils/safeResolve.ts rename to code/core/src/common/utils/safeResolve.ts diff --git a/code/lib/core-common/src/utils/satisfies.ts b/code/core/src/common/utils/satisfies.ts similarity index 100% rename from code/lib/core-common/src/utils/satisfies.ts rename to code/core/src/common/utils/satisfies.ts diff --git a/code/lib/core-common/src/utils/strip-abs-node-modules-path.ts b/code/core/src/common/utils/strip-abs-node-modules-path.ts similarity index 95% rename from code/lib/core-common/src/utils/strip-abs-node-modules-path.ts rename to code/core/src/common/utils/strip-abs-node-modules-path.ts index 9873512da3c4..b3d83198f1e7 100644 --- a/code/lib/core-common/src/utils/strip-abs-node-modules-path.ts +++ b/code/core/src/common/utils/strip-abs-node-modules-path.ts @@ -1,4 +1,4 @@ -import path from 'path'; +import path from 'node:path'; import slash from 'slash'; function normalizePath(id: string) { diff --git a/code/lib/core-common/src/utils/symlinks.ts b/code/core/src/common/utils/symlinks.ts similarity index 100% rename from code/lib/core-common/src/utils/symlinks.ts rename to code/core/src/common/utils/symlinks.ts diff --git a/code/lib/core-common/src/utils/template.ts b/code/core/src/common/utils/template.ts similarity index 70% rename from code/lib/core-common/src/utils/template.ts rename to code/core/src/common/utils/template.ts index 47541f40b454..7297be487a18 100644 --- a/code/lib/core-common/src/utils/template.ts +++ b/code/core/src/common/utils/template.ts @@ -1,6 +1,6 @@ -import path from 'path'; -import { sync } from 'pkg-dir'; -import fs from 'fs'; +import path from 'node:path'; +import { packageDirectorySync } from 'pkg-dir'; +import fs from 'node:fs'; const interpolate = (string: string, data: Record = {}) => Object.entries(data).reduce((acc, [k, v]) => acc.replace(new RegExp(`%${k}%`, 'g'), v), string); @@ -9,7 +9,10 @@ export function getPreviewBodyTemplate( configDirPath: string, interpolations?: Record ) { - const base = fs.readFileSync(`${sync(__dirname)}/templates/base-preview-body.html`, 'utf8'); + const base = fs.readFileSync( + `${packageDirectorySync({ cwd: __dirname })}/assets/server/base-preview-body.html`, + 'utf8' + ); const bodyHtmlPath = path.resolve(configDirPath, 'preview-body.html'); let result = base; @@ -25,7 +28,10 @@ export function getPreviewHeadTemplate( configDirPath: string, interpolations?: Record ) { - const base = fs.readFileSync(`${sync(__dirname)}/templates/base-preview-head.html`, 'utf8'); + const base = fs.readFileSync( + `${packageDirectorySync({ cwd: __dirname })}/assets/server/base-preview-head.html`, + 'utf8' + ); const headHtmlPath = path.resolve(configDirPath, 'preview-head.html'); let result = base; diff --git a/code/lib/core-common/src/utils/validate-config.test.ts b/code/core/src/common/utils/validate-config.test.ts similarity index 100% rename from code/lib/core-common/src/utils/validate-config.test.ts rename to code/core/src/common/utils/validate-config.test.ts diff --git a/code/lib/core-common/src/utils/validate-config.ts b/code/core/src/common/utils/validate-config.ts similarity index 94% rename from code/lib/core-common/src/utils/validate-config.ts rename to code/core/src/common/utils/validate-config.ts index 39d3f5ff44dc..0c7623b06210 100644 --- a/code/lib/core-common/src/utils/validate-config.ts +++ b/code/core/src/common/utils/validate-config.ts @@ -1,9 +1,9 @@ -import { join } from 'path'; +import { join } from 'node:path'; import { CouldNotEvaluateFrameworkError, MissingFrameworkFieldError, InvalidFrameworkNameError, -} from '@storybook/core-events/server-errors'; +} from '@storybook/core/dist/server-errors'; import { frameworkPackages } from './get-storybook-info'; const renderers = ['html', 'preact', 'react', 'server', 'svelte', 'vue', 'vue3', 'web-components']; diff --git a/code/lib/core-common/src/utils/validate-configuration-files.ts b/code/core/src/common/utils/validate-configuration-files.ts similarity index 82% rename from code/lib/core-common/src/utils/validate-configuration-files.ts rename to code/core/src/common/utils/validate-configuration-files.ts index 0f7c1ecaaeb5..3dcc83bfde02 100644 --- a/code/lib/core-common/src/utils/validate-configuration-files.ts +++ b/code/core/src/common/utils/validate-configuration-files.ts @@ -1,11 +1,11 @@ import { dedent } from 'ts-dedent'; import { glob } from 'glob'; -import path from 'path'; +import path from 'node:path'; import slash from 'slash'; -import { once } from '@storybook/node-logger'; +import { once } from '@storybook/core/dist/node-logger'; import { boost } from './interpret-files'; -import { MainFileMissingError } from '@storybook/core-events/server-errors'; +import { MainFileMissingError } from '@storybook/core/dist/server-errors'; export async function validateConfigurationFiles(configDir: string) { const extensionsPattern = `{${Array.from(boost).join(',')}}`; diff --git a/code/lib/core-common/src/versions.ts b/code/core/src/common/versions.ts similarity index 98% rename from code/lib/core-common/src/versions.ts rename to code/core/src/common/versions.ts index 3748c421b117..7c3b339cdebd 100644 --- a/code/lib/core-common/src/versions.ts +++ b/code/core/src/common/versions.ts @@ -6,11 +6,11 @@ export default { '@storybook/addon-controls': '8.1.0-alpha.7', '@storybook/addon-docs': '8.1.0-alpha.7', '@storybook/addon-essentials': '8.1.0-alpha.7', + '@storybook/addon-mdx-gfm': '8.1.0-alpha.7', '@storybook/addon-highlight': '8.1.0-alpha.7', '@storybook/addon-interactions': '8.1.0-alpha.7', '@storybook/addon-jest': '8.1.0-alpha.7', '@storybook/addon-links': '8.1.0-alpha.7', - '@storybook/addon-mdx-gfm': '8.1.0-alpha.7', '@storybook/addon-measure': '8.1.0-alpha.7', '@storybook/addon-onboarding': '8.1.0-alpha.7', '@storybook/addon-outline': '8.1.0-alpha.7', @@ -18,66 +18,67 @@ export default { '@storybook/addon-themes': '8.1.0-alpha.7', '@storybook/addon-toolbars': '8.1.0-alpha.7', '@storybook/addon-viewport': '8.1.0-alpha.7', - '@storybook/angular': '8.1.0-alpha.7', - '@storybook/blocks': '8.1.0-alpha.7', '@storybook/builder-manager': '8.1.0-alpha.7', '@storybook/builder-vite': '8.1.0-alpha.7', '@storybook/builder-webpack5': '8.1.0-alpha.7', + '@storybook/core': '8.1.0-alpha.7', '@storybook/channels': '8.1.0-alpha.7', - '@storybook/cli': '8.1.0-alpha.7', '@storybook/client-logger': '8.1.0-alpha.7', - '@storybook/codemod': '8.1.0-alpha.7', - '@storybook/components': '8.1.0-alpha.7', '@storybook/core-common': '8.1.0-alpha.7', '@storybook/core-events': '8.1.0-alpha.7', - '@storybook/core-server': '8.1.0-alpha.7', - '@storybook/core-webpack': '8.1.0-alpha.7', - '@storybook/csf-plugin': '8.1.0-alpha.7', '@storybook/csf-tools': '8.1.0-alpha.7', - '@storybook/docs-tools': '8.1.0-alpha.7', + '@storybook/instrumenter': '8.1.0-alpha.7', + '@storybook/node-logger': '8.1.0-alpha.7', + '@storybook/preview-api': '8.1.0-alpha.7', + '@storybook/router': '8.1.0-alpha.7', + '@storybook/telemetry': '8.1.0-alpha.7', + '@storybook/types': '8.1.0-alpha.7', + '@storybook/angular': '8.1.0-alpha.7', '@storybook/ember': '8.1.0-alpha.7', - '@storybook/html': '8.1.0-alpha.7', '@storybook/html-vite': '8.1.0-alpha.7', '@storybook/html-webpack5': '8.1.0-alpha.7', - '@storybook/instrumenter': '8.1.0-alpha.7', - '@storybook/manager': '8.1.0-alpha.7', - '@storybook/manager-api': '8.1.0-alpha.7', '@storybook/nextjs': '8.1.0-alpha.7', - '@storybook/node-logger': '8.1.0-alpha.7', - '@storybook/preact': '8.1.0-alpha.7', '@storybook/preact-vite': '8.1.0-alpha.7', '@storybook/preact-webpack5': '8.1.0-alpha.7', - '@storybook/preset-create-react-app': '8.1.0-alpha.7', - '@storybook/preset-html-webpack': '8.1.0-alpha.7', - '@storybook/preset-preact-webpack': '8.1.0-alpha.7', - '@storybook/preset-react-webpack': '8.1.0-alpha.7', - '@storybook/preset-server-webpack': '8.1.0-alpha.7', - '@storybook/preset-svelte-webpack': '8.1.0-alpha.7', - '@storybook/preset-vue3-webpack': '8.1.0-alpha.7', - '@storybook/preview': '8.1.0-alpha.7', - '@storybook/preview-api': '8.1.0-alpha.7', - '@storybook/react': '8.1.0-alpha.7', - '@storybook/react-dom-shim': '8.1.0-alpha.7', '@storybook/react-vite': '8.1.0-alpha.7', '@storybook/react-webpack5': '8.1.0-alpha.7', - '@storybook/router': '8.1.0-alpha.7', - '@storybook/server': '8.1.0-alpha.7', '@storybook/server-webpack5': '8.1.0-alpha.7', - '@storybook/source-loader': '8.1.0-alpha.7', - '@storybook/svelte': '8.1.0-alpha.7', '@storybook/svelte-vite': '8.1.0-alpha.7', '@storybook/svelte-webpack5': '8.1.0-alpha.7', '@storybook/sveltekit': '8.1.0-alpha.7', - '@storybook/telemetry': '8.1.0-alpha.7', - '@storybook/test': '8.1.0-alpha.7', - '@storybook/theming': '8.1.0-alpha.7', - '@storybook/types': '8.1.0-alpha.7', - '@storybook/vue3': '8.1.0-alpha.7', '@storybook/vue3-vite': '8.1.0-alpha.7', '@storybook/vue3-webpack5': '8.1.0-alpha.7', - '@storybook/web-components': '8.1.0-alpha.7', '@storybook/web-components-vite': '8.1.0-alpha.7', '@storybook/web-components-webpack5': '8.1.0-alpha.7', + '@storybook/cli': '8.1.0-alpha.7', sb: '8.1.0-alpha.7', storybook: '8.1.0-alpha.7', + '@storybook/codemod': '8.1.0-alpha.7', + '@storybook/core-server': '8.1.0-alpha.7', + '@storybook/core-webpack': '8.1.0-alpha.7', + '@storybook/csf-plugin': '8.1.0-alpha.7', + '@storybook/docs-tools': '8.1.0-alpha.7', + '@storybook/manager-api': '8.1.0-alpha.7', + '@storybook/preview': '8.1.0-alpha.7', + '@storybook/react-dom-shim': '8.1.0-alpha.7', + '@storybook/source-loader': '8.1.0-alpha.7', + '@storybook/test': '8.1.0-alpha.7', + '@storybook/theming': '8.1.0-alpha.7', + '@storybook/preset-create-react-app': '8.1.0-alpha.7', + '@storybook/preset-html-webpack': '8.1.0-alpha.7', + '@storybook/preset-preact-webpack': '8.1.0-alpha.7', + '@storybook/preset-react-webpack': '8.1.0-alpha.7', + '@storybook/preset-server-webpack': '8.1.0-alpha.7', + '@storybook/preset-svelte-webpack': '8.1.0-alpha.7', + '@storybook/preset-vue3-webpack': '8.1.0-alpha.7', + '@storybook/html': '8.1.0-alpha.7', + '@storybook/preact': '8.1.0-alpha.7', + '@storybook/react': '8.1.0-alpha.7', + '@storybook/server': '8.1.0-alpha.7', + '@storybook/svelte': '8.1.0-alpha.7', + '@storybook/vue3': '8.1.0-alpha.7', + '@storybook/web-components': '8.1.0-alpha.7', + '@storybook/blocks': '8.1.0-alpha.7', + '@storybook/components': '8.1.0-alpha.7', + '@storybook/manager': '8.1.0-alpha.7', }; diff --git a/code/lib/core-events/src/data/argtypes-info.ts b/code/core/src/core-events/data/argtypes-info.ts similarity index 100% rename from code/lib/core-events/src/data/argtypes-info.ts rename to code/core/src/core-events/data/argtypes-info.ts diff --git a/code/lib/core-events/src/data/create-new-story.ts b/code/core/src/core-events/data/create-new-story.ts similarity index 100% rename from code/lib/core-events/src/data/create-new-story.ts rename to code/core/src/core-events/data/create-new-story.ts diff --git a/code/lib/core-events/src/data/file-component-search.ts b/code/core/src/core-events/data/file-component-search.ts similarity index 100% rename from code/lib/core-events/src/data/file-component-search.ts rename to code/core/src/core-events/data/file-component-search.ts diff --git a/code/lib/core-events/src/data/request-response.ts b/code/core/src/core-events/data/request-response.ts similarity index 100% rename from code/lib/core-events/src/data/request-response.ts rename to code/core/src/core-events/data/request-response.ts diff --git a/code/lib/core-events/src/data/save-story.ts b/code/core/src/core-events/data/save-story.ts similarity index 100% rename from code/lib/core-events/src/data/save-story.ts rename to code/core/src/core-events/data/save-story.ts diff --git a/code/core/src/core-events/data/whats-new.ts b/code/core/src/core-events/data/whats-new.ts new file mode 100644 index 000000000000..5dbd1227e014 --- /dev/null +++ b/code/core/src/core-events/data/whats-new.ts @@ -0,0 +1,20 @@ +export interface WhatsNewCache { + lastDismissedPost?: string; + lastReadPost?: string; +} + +export type WhatsNewData = + | { + status: 'SUCCESS'; + title: string; + url: string; + blogUrl?: string; + publishedAt: string; + excerpt: string; + postIsRead: boolean; + showNotification: boolean; + disableWhatsNewNotifications: boolean; + } + | { + status: 'ERROR'; + }; diff --git a/code/lib/core-events/src/index.test.ts b/code/core/src/core-events/index.test.ts similarity index 100% rename from code/lib/core-events/src/index.test.ts rename to code/core/src/core-events/index.test.ts diff --git a/code/lib/core-events/src/index.ts b/code/core/src/core-events/index.ts similarity index 93% rename from code/lib/core-events/src/index.ts rename to code/core/src/core-events/index.ts index 8ce72f12a8dd..cbb1bef3c6af 100644 --- a/code/lib/core-events/src/index.ts +++ b/code/core/src/core-events/index.ts @@ -151,24 +151,4 @@ export * from './data/file-component-search'; export * from './data/argtypes-info'; export * from './data/request-response'; export * from './data/save-story'; - -export interface WhatsNewCache { - lastDismissedPost?: string; - lastReadPost?: string; -} - -export type WhatsNewData = - | { - status: 'SUCCESS'; - title: string; - url: string; - blogUrl?: string; - publishedAt: string; - excerpt: string; - postIsRead: boolean; - showNotification: boolean; - disableWhatsNewNotifications: boolean; - } - | { - status: 'ERROR'; - }; +export * from './data/whats-new'; diff --git a/code/lib/csf-tools/src/ConfigFile.test.ts b/code/core/src/csf-tools/ConfigFile.test.ts similarity index 100% rename from code/lib/csf-tools/src/ConfigFile.test.ts rename to code/core/src/csf-tools/ConfigFile.test.ts diff --git a/code/lib/csf-tools/src/ConfigFile.ts b/code/core/src/csf-tools/ConfigFile.ts similarity index 97% rename from code/lib/csf-tools/src/ConfigFile.ts rename to code/core/src/csf-tools/ConfigFile.ts index 9dfcacc889c5..64f2756932a2 100644 --- a/code/lib/csf-tools/src/ConfigFile.ts +++ b/code/core/src/csf-tools/ConfigFile.ts @@ -3,13 +3,19 @@ import fs from 'fs-extra'; import dedent from 'ts-dedent'; import * as t from '@babel/types'; +import bg from '@babel/generator'; +import bt from '@babel/traverse'; -import * as generate from '@babel/generator'; - -import * as traverse from '@babel/traverse'; import type { Options } from 'recast'; import * as recast from 'recast'; + import { babelParse } from './babelParse'; +import type { PrintResultType } from './PrintResultType'; + +// @ts-expect-error (needed due to it's use of `exports.default`) +const traverse = bt.default as typeof bt; +// @ts-expect-error (needed due to it's use of `exports.default`) +const generate = bg.default as typeof bg; const logger = console; @@ -170,7 +176,7 @@ export class ConfigFile { parse() { // eslint-disable-next-line @typescript-eslint/no-this-alias const self = this; - traverse.default(this._ast, { + traverse(this._ast, { ExportDefaultDeclaration: { enter({ node, parent }) { self.hasDefaultExport = true; @@ -311,7 +317,7 @@ export class ConfigFile { getFieldValue(path: string[]) { const node = this.getFieldNode(path); if (node) { - const { code } = generate.default(node, {}); + const { code } = generate(node, {}); const value = (0, eval)(`(() => (${code}))()`); return value; @@ -586,9 +592,9 @@ export class ConfigFile { // we do this rather than t.valueToNode because apparently // babel only preserves quotes if they are parsed from the original code. if (quotes === 'single') { - const { code } = generate.default(t.valueToNode(value), { jsescOption: { quotes } }); + const { code } = generate(t.valueToNode(value), { jsescOption: { quotes } }); const program = babelParse(`const __x = ${code}`); - traverse.default(program, { + traverse(program, { VariableDeclaration: { enter({ node }) { if ( @@ -815,11 +821,11 @@ export const loadConfig = (code: string, fileName?: string) => { return new ConfigFile(ast, code, fileName); }; -export const formatConfig = (config: ConfigFile) => { +export const formatConfig = (config: ConfigFile): string => { return printConfig(config).code; }; -export const printConfig = (config: ConfigFile, options: Options = {}) => { +export const printConfig = (config: ConfigFile, options: Options = {}): PrintResultType => { return recast.print(config._ast, options); }; diff --git a/code/lib/csf-tools/src/CsfFile.test.ts b/code/core/src/csf-tools/CsfFile.test.ts similarity index 100% rename from code/lib/csf-tools/src/CsfFile.test.ts rename to code/core/src/csf-tools/CsfFile.test.ts diff --git a/code/lib/csf-tools/src/CsfFile.ts b/code/core/src/csf-tools/CsfFile.ts similarity index 97% rename from code/lib/csf-tools/src/CsfFile.ts rename to code/core/src/csf-tools/CsfFile.ts index 4516a293b1cc..06f8d778d624 100644 --- a/code/lib/csf-tools/src/CsfFile.ts +++ b/code/core/src/csf-tools/CsfFile.ts @@ -3,11 +3,11 @@ import fs from 'fs-extra'; import { dedent } from 'ts-dedent'; import * as t from '@babel/types'; +import bg from '@babel/generator'; +import bt from '@babel/traverse'; -import * as generate from '@babel/generator'; import * as recast from 'recast'; -import * as traverse from '@babel/traverse'; import { toId, isExportStory, storyNameFromExport } from '@storybook/csf'; import type { Tag, @@ -15,10 +15,16 @@ import type { ComponentAnnotations, IndexedCSFFile, IndexInput, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { Options } from 'recast'; import { babelParse } from './babelParse'; import { findVarInitialization } from './findVarInitialization'; +import type { PrintResultType } from './PrintResultType'; + +// @ts-expect-error (needed due to it's use of `exports.default`) +const traverse = bt.default as typeof bt; +// @ts-expect-error (needed due to it's use of `exports.default`) +const generate = bg.default as typeof bg; const logger = console; @@ -247,7 +253,7 @@ export class CsfFile { parse() { // eslint-disable-next-line @typescript-eslint/no-this-alias const self = this; - traverse.default(this._ast, { + traverse(this._ast, { ExportDefaultDeclaration: { enter({ node, parent }) { let metaNode: t.ObjectExpression | undefined; @@ -586,7 +592,7 @@ interface FormatOptions { } export const formatCsf = (csf: CsfFile, options: FormatOptions = { sourceMaps: false }) => { - const result = generate.default(csf._ast, options); + const result = generate(csf._ast, options); if (options.sourceMaps) { return result; } @@ -597,7 +603,7 @@ export const formatCsf = (csf: CsfFile, options: FormatOptions = { sourceMaps: f /** * Use this function, if you want to preserve styles. Uses recast under the hood. */ -export const printCsf = (csf: CsfFile, options: Options = {}) => { +export const printCsf = (csf: CsfFile, options: Options = {}): PrintResultType => { return recast.print(csf._ast, options); }; diff --git a/code/core/src/csf-tools/PrintResultType.ts b/code/core/src/csf-tools/PrintResultType.ts new file mode 100644 index 000000000000..b3c450f0d457 --- /dev/null +++ b/code/core/src/csf-tools/PrintResultType.ts @@ -0,0 +1,5 @@ +export interface PrintResultType { + code: string; + map?: any; + toString(): string; +} diff --git a/code/lib/csf-tools/README.md b/code/core/src/csf-tools/README.md similarity index 100% rename from code/lib/csf-tools/README.md rename to code/core/src/csf-tools/README.md diff --git a/code/lib/csf-tools/src/babelParse.ts b/code/core/src/csf-tools/babelParse.ts similarity index 87% rename from code/lib/csf-tools/src/babelParse.ts rename to code/core/src/csf-tools/babelParse.ts index 43f49d4c166a..9e3aaf8b53de 100644 --- a/code/lib/csf-tools/src/babelParse.ts +++ b/code/core/src/csf-tools/babelParse.ts @@ -1,3 +1,4 @@ +import type * as t from '@babel/types'; import * as babelParser from '@babel/parser'; import * as recast from 'recast'; import type { ParserOptions } from '@babel/parser'; @@ -26,7 +27,7 @@ export const parserOptions: ParserOptions = { tokens: true, }; -export const babelParse = (code: string) => { +export const babelParse = (code: string): t.File => { return recast.parse(code, { parser: { parse(source: string) { @@ -36,7 +37,11 @@ export const babelParse = (code: string) => { }); }; -export const babelPrint = (ast: recast.types.ASTNode) => { +interface ASTNode { + type: string; +} + +export const babelPrint = (ast: ASTNode): string => { return recast.print(ast, { quote: 'single', trailingComma: true, diff --git a/code/lib/csf-tools/src/enrichCsf.test.ts b/code/core/src/csf-tools/enrichCsf.test.ts similarity index 100% rename from code/lib/csf-tools/src/enrichCsf.test.ts rename to code/core/src/csf-tools/enrichCsf.test.ts diff --git a/code/lib/csf-tools/src/enrichCsf.ts b/code/core/src/csf-tools/enrichCsf.ts similarity index 96% rename from code/lib/csf-tools/src/enrichCsf.ts rename to code/core/src/csf-tools/enrichCsf.ts index 8744b8359eaa..1ba17a472587 100644 --- a/code/lib/csf-tools/src/enrichCsf.ts +++ b/code/core/src/csf-tools/enrichCsf.ts @@ -1,9 +1,12 @@ /* eslint-disable no-underscore-dangle */ import * as t from '@babel/types'; -import * as generate from '@babel/generator'; +import bg from '@babel/generator'; import type { CsfFile } from './CsfFile'; +// @ts-expect-error (needed due to it's use of `exports.default`) +const generate = bg.default as typeof bg; + export interface EnrichCsfOptions { disableSource?: boolean; disableDescription?: boolean; @@ -141,7 +144,7 @@ export const enrichCsf = (csf: CsfFile, csfSource: CsfFile, options?: EnrichCsfO export const extractSource = (node: t.Node) => { const src = t.isVariableDeclarator(node) ? node.init : node; - const { code } = generate.default(src as t.Node, {}); + const { code } = generate(src as t.Node, {}); return code; }; diff --git a/code/lib/csf-tools/src/findVarInitialization.ts b/code/core/src/csf-tools/findVarInitialization.ts similarity index 100% rename from code/lib/csf-tools/src/findVarInitialization.ts rename to code/core/src/csf-tools/findVarInitialization.ts diff --git a/code/lib/csf-tools/src/getStorySortParameter.test.ts b/code/core/src/csf-tools/getStorySortParameter.test.ts similarity index 100% rename from code/lib/csf-tools/src/getStorySortParameter.test.ts rename to code/core/src/csf-tools/getStorySortParameter.test.ts diff --git a/code/lib/csf-tools/src/getStorySortParameter.ts b/code/core/src/csf-tools/getStorySortParameter.ts similarity index 92% rename from code/lib/csf-tools/src/getStorySortParameter.ts rename to code/core/src/csf-tools/getStorySortParameter.ts index b6c65fd11486..56c7b69bce63 100644 --- a/code/lib/csf-tools/src/getStorySortParameter.ts +++ b/code/core/src/csf-tools/getStorySortParameter.ts @@ -1,12 +1,16 @@ import * as t from '@babel/types'; +import bt from '@babel/traverse'; +import bg from '@babel/generator'; -import * as traverse from '@babel/traverse'; - -import * as generate from '@babel/generator'; import { dedent } from 'ts-dedent'; import { babelParse } from './babelParse'; import { findVarInitialization } from './findVarInitialization'; +// @ts-expect-error (needed due to it's use of `exports.default`) +const traverse = bt.default as typeof bt; +// @ts-expect-error (needed due to it's use of `exports.default`) +const generate = bg.default as typeof bg; + const logger = console; const getValue = (obj: t.ObjectExpression, key: string) => { @@ -103,7 +107,7 @@ export const getStorySortParameter = (previewCode: string) => { let storySort: t.Expression | undefined; const ast = babelParse(previewCode); - traverse.default(ast, { + traverse(ast, { ExportNamedDeclaration: { enter({ node }) { if (t.isVariableDeclaration(node.declaration)) { @@ -144,13 +148,13 @@ export const getStorySortParameter = (previewCode: string) => { if (!storySort) return undefined; if (t.isArrowFunctionExpression(storySort)) { - const { code: sortCode } = generate.default(storySort, {}); + const { code: sortCode } = generate(storySort, {}); return (0, eval)(sortCode); } if (t.isFunctionExpression(storySort)) { - const { code: sortCode } = generate.default(storySort, {}); + const { code: sortCode } = generate(storySort, {}); const functionName = storySort.id?.name; // Wrap the function within an arrow function, call it, and return const wrapper = `(a, b) => { diff --git a/code/lib/csf-tools/src/index.ts b/code/core/src/csf-tools/index.ts similarity index 100% rename from code/lib/csf-tools/src/index.ts rename to code/core/src/csf-tools/index.ts diff --git a/code/core/src/index.ts b/code/core/src/index.ts new file mode 100644 index 000000000000..15e1677a3050 --- /dev/null +++ b/code/core/src/index.ts @@ -0,0 +1,3 @@ +export {}; + +console.log('This file should remain unused until we have figured out the best API'); diff --git a/code/lib/instrumenter/README.md b/code/core/src/instrumenter/README.md similarity index 100% rename from code/lib/instrumenter/README.md rename to code/core/src/instrumenter/README.md diff --git a/code/lib/instrumenter/src/index.ts b/code/core/src/instrumenter/index.ts similarity index 100% rename from code/lib/instrumenter/src/index.ts rename to code/core/src/instrumenter/index.ts diff --git a/code/lib/instrumenter/src/instrumenter.test.ts b/code/core/src/instrumenter/instrumenter.test.ts similarity index 99% rename from code/lib/instrumenter/src/instrumenter.test.ts rename to code/core/src/instrumenter/instrumenter.test.ts index 980c930ab3b2..1b79bc9aa7a6 100644 --- a/code/lib/instrumenter/src/instrumenter.test.ts +++ b/code/core/src/instrumenter/instrumenter.test.ts @@ -1,5 +1,5 @@ /* eslint-disable no-underscore-dangle */ -import { addons, mockChannel } from '@storybook/preview-api'; +import { addons, mockChannel } from '@storybook/core/dist/preview-api'; import { describe, beforeEach, afterEach, it, expect, vi } from 'vitest'; import { FORCE_REMOUNT, diff --git a/code/lib/instrumenter/src/instrumenter.ts b/code/core/src/instrumenter/instrumenter.ts similarity index 98% rename from code/lib/instrumenter/src/instrumenter.ts rename to code/core/src/instrumenter/instrumenter.ts index f0a11336666b..5428d2ef3b8f 100644 --- a/code/lib/instrumenter/src/instrumenter.ts +++ b/code/core/src/instrumenter/instrumenter.ts @@ -1,14 +1,12 @@ /* eslint-disable no-underscore-dangle */ -import type { Channel } from '@storybook/channels'; -import { addons } from '@storybook/preview-api'; -import type { StoryId } from '@storybook/types'; -import { once } from '@storybook/client-logger'; -import './typings.d.ts'; +import { addons } from '@storybook/core/dist/preview-api'; +import type { StoryId } from '@storybook/core/dist/types'; +import { once } from '@storybook/core/dist/client-logger'; import { FORCE_REMOUNT, SET_CURRENT_STORY, STORY_RENDER_PHASE_CHANGED, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import { global } from '@storybook/global'; import { processError } from '@vitest/utils/error'; @@ -90,7 +88,7 @@ const getRetainedState = (state: State, isDebugging = false) => { * This class is not supposed to be used directly. Use the `instrument` function below instead. */ export class Instrumenter { - channel: Channel; + channel: ReturnType<(typeof addons)['getChannel']>; initialized = false; diff --git a/code/lib/instrumenter/src/types.ts b/code/core/src/instrumenter/types.ts similarity index 97% rename from code/lib/instrumenter/src/types.ts rename to code/core/src/instrumenter/types.ts index f3a2ee274200..38f2f84bec04 100644 --- a/code/lib/instrumenter/src/types.ts +++ b/code/core/src/instrumenter/types.ts @@ -1,4 +1,4 @@ -import type { StoryId } from '@storybook/types'; +import type { StoryId } from '@storybook/core/dist/types'; export interface Call { id: string; diff --git a/code/lib/core-events/src/errors/manager-errors.ts b/code/core/src/manager-errors.ts similarity index 100% rename from code/lib/core-events/src/errors/manager-errors.ts rename to code/core/src/manager-errors.ts diff --git a/code/lib/node-logger/README.md b/code/core/src/node-logger/README.md similarity index 83% rename from code/lib/node-logger/README.md rename to code/core/src/node-logger/README.md index 96794e824316..8215fc7d6679 100644 --- a/code/lib/node-logger/README.md +++ b/code/core/src/node-logger/README.md @@ -5,7 +5,7 @@ Any node logging that is done through storybook should be done through this pack Examples: ```js -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; logger.info('Info message'); logger.warn('Warning message'); diff --git a/code/lib/node-logger/src/index.test.ts b/code/core/src/node-logger/index.test.ts similarity index 100% rename from code/lib/node-logger/src/index.test.ts rename to code/core/src/node-logger/index.test.ts diff --git a/code/lib/node-logger/src/index.ts b/code/core/src/node-logger/index.ts similarity index 100% rename from code/lib/node-logger/src/index.ts rename to code/core/src/node-logger/index.ts diff --git a/code/lib/preview-api/src/Errors.stories.tsx b/code/core/src/preview-api/Errors.stories.tsx similarity index 100% rename from code/lib/preview-api/src/Errors.stories.tsx rename to code/core/src/preview-api/Errors.stories.tsx diff --git a/code/lib/preview-api/README-addons.md b/code/core/src/preview-api/README-addons.md similarity index 100% rename from code/lib/preview-api/README-addons.md rename to code/core/src/preview-api/README-addons.md diff --git a/code/lib/preview-api/README-core-client.md b/code/core/src/preview-api/README-core-client.md similarity index 100% rename from code/lib/preview-api/README-core-client.md rename to code/core/src/preview-api/README-core-client.md diff --git a/code/lib/preview-api/README-preview-web.md b/code/core/src/preview-api/README-preview-web.md similarity index 100% rename from code/lib/preview-api/README-preview-web.md rename to code/core/src/preview-api/README-preview-web.md diff --git a/code/lib/preview-api/README-store.md b/code/core/src/preview-api/README-store.md similarity index 100% rename from code/lib/preview-api/README-store.md rename to code/core/src/preview-api/README-store.md diff --git a/code/lib/preview-api/README.md b/code/core/src/preview-api/README.md similarity index 100% rename from code/lib/preview-api/README.md rename to code/core/src/preview-api/README.md diff --git a/code/core/src/preview-api/addons.ts b/code/core/src/preview-api/addons.ts new file mode 100644 index 000000000000..223f131ed5d8 --- /dev/null +++ b/code/core/src/preview-api/addons.ts @@ -0,0 +1,3 @@ +/// + +export * from './modules/addons'; diff --git a/code/lib/preview-api/src/index.ts b/code/core/src/preview-api/index.ts similarity index 92% rename from code/lib/preview-api/src/index.ts rename to code/core/src/preview-api/index.ts index 779cfeba1557..315db0327fd7 100644 --- a/code/lib/preview-api/src/index.ts +++ b/code/core/src/preview-api/index.ts @@ -1,5 +1,4 @@ -/* eslint-disable @typescript-eslint/triple-slash-reference */ -/// +/// /** * HOOKS API diff --git a/code/lib/preview-api/src/modules/addons/hooks.test.js b/code/core/src/preview-api/modules/addons/hooks.test.js similarity index 100% rename from code/lib/preview-api/src/modules/addons/hooks.test.js rename to code/core/src/preview-api/modules/addons/hooks.test.js diff --git a/code/lib/preview-api/src/modules/addons/hooks.ts b/code/core/src/preview-api/modules/addons/hooks.ts similarity index 99% rename from code/lib/preview-api/src/modules/addons/hooks.ts rename to code/core/src/preview-api/modules/addons/hooks.ts index 23b272ff4ae1..d3a4a74f57a6 100644 --- a/code/lib/preview-api/src/modules/addons/hooks.ts +++ b/code/core/src/preview-api/modules/addons/hooks.ts @@ -1,5 +1,5 @@ import { global } from '@storybook/global'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import type { Renderer, Args, @@ -8,14 +8,14 @@ import type { LegacyStoryFn, StoryContext, StoryId, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { FORCE_RE_RENDER, STORY_RENDERED, UPDATE_STORY_ARGS, RESET_STORY_ARGS, UPDATE_GLOBALS, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import { addons } from './main'; interface Hook { diff --git a/code/lib/preview-api/src/modules/addons/index.ts b/code/core/src/preview-api/modules/addons/index.ts similarity index 100% rename from code/lib/preview-api/src/modules/addons/index.ts rename to code/core/src/preview-api/modules/addons/index.ts diff --git a/code/lib/preview-api/src/modules/addons/main.ts b/code/core/src/preview-api/modules/addons/main.ts similarity index 94% rename from code/lib/preview-api/src/modules/addons/main.ts rename to code/core/src/preview-api/modules/addons/main.ts index 53bc20092a0e..bc336dcb52d1 100644 --- a/code/lib/preview-api/src/modules/addons/main.ts +++ b/code/core/src/preview-api/modules/addons/main.ts @@ -1,6 +1,6 @@ import { global } from '@storybook/global'; -import type { Channel } from '@storybook/channels'; +import type { Channel } from '@storybook/core/dist/channels'; import { mockChannel } from './storybook-channel-mock'; export class AddonStore { diff --git a/code/lib/preview-api/src/modules/addons/make-decorator.test.ts b/code/core/src/preview-api/modules/addons/make-decorator.test.ts similarity index 98% rename from code/lib/preview-api/src/modules/addons/make-decorator.test.ts rename to code/core/src/preview-api/modules/addons/make-decorator.test.ts index 73ba5da0293f..4fb3d7d5582e 100644 --- a/code/lib/preview-api/src/modules/addons/make-decorator.test.ts +++ b/code/core/src/preview-api/modules/addons/make-decorator.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, vi } from 'vitest'; -import type { Addon_StoryContext } from '@storybook/types'; +import type { Addon_StoryContext } from '@storybook/core/dist/types'; import { makeDecorator } from './make-decorator'; // Copy & paste from internal api: client-api/src/client_api diff --git a/code/lib/preview-api/src/modules/addons/make-decorator.ts b/code/core/src/preview-api/modules/addons/make-decorator.ts similarity index 95% rename from code/lib/preview-api/src/modules/addons/make-decorator.ts rename to code/core/src/preview-api/modules/addons/make-decorator.ts index 7dc23881fcae..5d6ec23d3116 100644 --- a/code/lib/preview-api/src/modules/addons/make-decorator.ts +++ b/code/core/src/preview-api/modules/addons/make-decorator.ts @@ -1,4 +1,8 @@ -import type { Addon_StoryWrapper, Addon_LegacyStoryFn, Addon_StoryContext } from '@storybook/types'; +import type { + Addon_StoryWrapper, + Addon_LegacyStoryFn, + Addon_StoryContext, +} from '@storybook/core/dist/types'; export type MakeDecoratorResult = (...args: any) => any; diff --git a/code/lib/preview-api/src/modules/addons/storybook-channel-mock.ts b/code/core/src/preview-api/modules/addons/storybook-channel-mock.ts similarity index 71% rename from code/lib/preview-api/src/modules/addons/storybook-channel-mock.ts rename to code/core/src/preview-api/modules/addons/storybook-channel-mock.ts index cde396320da0..88865107d3a8 100644 --- a/code/lib/preview-api/src/modules/addons/storybook-channel-mock.ts +++ b/code/core/src/preview-api/modules/addons/storybook-channel-mock.ts @@ -1,4 +1,4 @@ -import { Channel } from '@storybook/channels'; +import { Channel } from '@storybook/core/dist/channels'; export function mockChannel() { const transport = { diff --git a/code/lib/preview-api/src/modules/preview-web/Preview.tsx b/code/core/src/preview-api/modules/preview-web/Preview.tsx similarity index 97% rename from code/lib/preview-api/src/modules/preview-web/Preview.tsx rename to code/core/src/preview-api/modules/preview-web/Preview.tsx index ee4524c32ecf..8c4e0294171c 100644 --- a/code/lib/preview-api/src/modules/preview-web/Preview.tsx +++ b/code/core/src/preview-api/modules/preview-web/Preview.tsx @@ -1,11 +1,11 @@ import { global } from '@storybook/global'; -import { deprecate, logger } from '@storybook/client-logger'; +import { deprecate, logger } from '@storybook/core/dist/client-logger'; import type { ArgTypesRequestPayload, ArgTypesResponsePayload, RequestData, ResponseData, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import { ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, @@ -19,8 +19,8 @@ import { STORY_INDEX_INVALIDATED, UPDATE_GLOBALS, UPDATE_STORY_ARGS, -} from '@storybook/core-events'; -import type { Channel } from '@storybook/channels'; +} from '@storybook/core/dist/core-events'; +import type { Channel } from '@storybook/core/dist/channels'; import type { Renderer, Args, @@ -34,13 +34,13 @@ import type { StoryId, StoryRenderOptions, SetGlobalsPayload, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { CalledPreviewMethodBeforeInitializationError, MissingRenderToCanvasError, StoryIndexFetchError, StoryStoreAccessedBeforeInitializationError, -} from '@storybook/core-events/preview-errors'; +} from '@storybook/core/dist/preview-errors'; import { addons } from '../addons'; import { StoryStore } from '../../store'; diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.integration.test.ts b/code/core/src/preview-api/modules/preview-web/PreviewWeb.integration.test.ts similarity index 93% rename from code/lib/preview-api/src/modules/preview-web/PreviewWeb.integration.test.ts rename to code/core/src/preview-api/modules/preview-web/PreviewWeb.integration.test.ts index c172d7cb2652..847f97fd6b56 100644 --- a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.integration.test.ts +++ b/code/core/src/preview-api/modules/preview-web/PreviewWeb.integration.test.ts @@ -5,7 +5,7 @@ import { describe, beforeEach, it, expect, vi } from 'vitest'; import React from 'react'; import { global } from '@storybook/global'; -import type { RenderContext } from '@storybook/types'; +import type { RenderContext } from '@storybook/core/dist/types'; import { addons } from '../addons'; import { PreviewWeb } from './PreviewWeb'; @@ -77,7 +77,7 @@ describe( () => { describe('initial render', () => { it('renders story mode through the stack', async () => { - const { DocsRenderer } = await import('@storybook/addon-docs'); + const { DocsRenderer } = await import('../../../../../addons/docs/src/index'); projectAnnotations.parameters.docs.renderer = () => new DocsRenderer() as any; projectAnnotations.renderToCanvas.mockImplementationOnce( @@ -95,7 +95,7 @@ describe( }); it('renders docs mode through docs page', async () => { - const { DocsRenderer } = await import('@storybook/addon-docs'); + const { DocsRenderer } = await import('../../../../../addons/docs/src/index'); projectAnnotations.parameters.docs.renderer = () => new DocsRenderer() as any; document.location.search = '?id=component-one--docs&viewMode=docs'; @@ -127,7 +127,7 @@ describe( }, 10_000); it('sends docs rendering exceptions to showException', async () => { - const { DocsRenderer } = await import('@storybook/addon-docs'); + const { DocsRenderer } = await import('../../../../../addons/docs/src/index'); projectAnnotations.parameters.docs.renderer = () => new DocsRenderer() as any; document.location.search = '?id=component-one--docs&viewMode=docs'; @@ -166,7 +166,7 @@ describe( }; it('renders story mode through the updated stack', async () => { - const { DocsRenderer } = await import('@storybook/addon-docs'); + const { DocsRenderer } = await import('../../../../../addons/docs/src/index'); projectAnnotations.parameters.docs.renderer = () => new DocsRenderer() as any; document.location.search = '?id=component-one--a'; diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts b/code/core/src/preview-api/modules/preview-web/PreviewWeb.mockdata.ts similarity index 97% rename from code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts rename to code/core/src/preview-api/modules/preview-web/PreviewWeb.mockdata.ts index 88dae40068dc..5c3b956feb97 100644 --- a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.mockdata.ts +++ b/code/core/src/preview-api/modules/preview-web/PreviewWeb.mockdata.ts @@ -9,9 +9,13 @@ import { STORY_RENDERED, STORY_RENDER_PHASE_CHANGED, STORY_THREW_EXCEPTION, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; -import type { ModuleImportFn, StoryIndex, TeardownRenderToCanvas } from '@storybook/types'; +import type { + ModuleImportFn, + StoryIndex, + TeardownRenderToCanvas, +} from '@storybook/core/dist/types'; import type { RenderPhase } from './render/StoryRender'; export const componentOneExports = { diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts b/code/core/src/preview-api/modules/preview-web/PreviewWeb.test.ts similarity index 99% rename from code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts rename to code/core/src/preview-api/modules/preview-web/PreviewWeb.test.ts index f71c3ab31eaf..3d532ef8fee8 100644 --- a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts +++ b/code/core/src/preview-api/modules/preview-web/PreviewWeb.test.ts @@ -30,8 +30,8 @@ import { UPDATE_STORY_ARGS, DOCS_PREPARED, } from '@storybook/core-events'; -import { logger } from '@storybook/client-logger'; -import type { Renderer, ModuleImportFn, ProjectAnnotations } from '@storybook/types'; +import { logger } from '@storybook/core/dist/client-logger'; +import type { Renderer, ModuleImportFn, ProjectAnnotations } from '@storybook/core/dist/types'; import { addons } from '../addons'; import { PreviewWeb } from './PreviewWeb'; diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.tsx b/code/core/src/preview-api/modules/preview-web/PreviewWeb.tsx similarity index 95% rename from code/lib/preview-api/src/modules/preview-web/PreviewWeb.tsx rename to code/core/src/preview-api/modules/preview-web/PreviewWeb.tsx index bb458812eb02..2162a5cafe84 100644 --- a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.tsx +++ b/code/core/src/preview-api/modules/preview-web/PreviewWeb.tsx @@ -1,6 +1,6 @@ /* eslint-disable no-underscore-dangle */ import { global } from '@storybook/global'; -import type { Renderer, ProjectAnnotations, ModuleImportFn } from '@storybook/types'; +import type { Renderer, ProjectAnnotations, ModuleImportFn } from '@storybook/core/dist/types'; import { PreviewWithSelection } from './PreviewWithSelection'; import { UrlStore } from './UrlStore'; diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWithSelection.tsx b/code/core/src/preview-api/modules/preview-web/PreviewWithSelection.tsx similarity index 98% rename from code/lib/preview-api/src/modules/preview-web/PreviewWithSelection.tsx rename to code/core/src/preview-api/modules/preview-web/PreviewWithSelection.tsx index f4c15e000d14..cb61de1b7675 100644 --- a/code/lib/preview-api/src/modules/preview-web/PreviewWithSelection.tsx +++ b/code/core/src/preview-api/modules/preview-web/PreviewWithSelection.tsx @@ -14,8 +14,8 @@ import { STORY_THREW_EXCEPTION, STORY_UNCHANGED, UPDATE_QUERY_PARAMS, -} from '@storybook/core-events'; -import { logger } from '@storybook/client-logger'; +} from '@storybook/core/dist/core-events'; +import { logger } from '@storybook/core/dist/client-logger'; import type { Renderer, Args, @@ -26,14 +26,14 @@ import type { StoryId, ViewMode, DocsIndexEntry, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { CalledPreviewMethodBeforeInitializationError, EmptyIndexError, MdxFileWithNoCsfReferencesError, NoStoryMatchError, -} from '@storybook/core-events/preview-errors'; +} from '@storybook/core/dist/preview-errors'; import type { MaybePromise } from './Preview'; import { Preview } from './Preview'; diff --git a/code/lib/preview-api/src/modules/preview-web/SelectionStore.ts b/code/core/src/preview-api/modules/preview-web/SelectionStore.ts similarity index 86% rename from code/lib/preview-api/src/modules/preview-web/SelectionStore.ts rename to code/core/src/preview-api/modules/preview-web/SelectionStore.ts index 4faa9cb1089f..5e984c4f5d6b 100644 --- a/code/lib/preview-api/src/modules/preview-web/SelectionStore.ts +++ b/code/core/src/preview-api/modules/preview-web/SelectionStore.ts @@ -1,4 +1,4 @@ -import type { ViewMode, Args, StoryId } from '@storybook/types'; +import type { ViewMode, Args, StoryId } from '@storybook/core/dist/types'; import type { StorySpecifier } from '../store/StoryIndexStore'; export interface SelectionSpecifier { diff --git a/code/lib/preview-api/src/modules/preview-web/UrlStore.test.ts b/code/core/src/preview-api/modules/preview-web/UrlStore.test.ts similarity index 100% rename from code/lib/preview-api/src/modules/preview-web/UrlStore.test.ts rename to code/core/src/preview-api/modules/preview-web/UrlStore.test.ts diff --git a/code/lib/preview-api/src/modules/preview-web/UrlStore.ts b/code/core/src/preview-api/modules/preview-web/UrlStore.ts similarity index 98% rename from code/lib/preview-api/src/modules/preview-web/UrlStore.ts rename to code/core/src/preview-api/modules/preview-web/UrlStore.ts index b7890cc3687a..b3b70434b083 100644 --- a/code/lib/preview-api/src/modules/preview-web/UrlStore.ts +++ b/code/core/src/preview-api/modules/preview-web/UrlStore.ts @@ -1,6 +1,6 @@ import { global } from '@storybook/global'; import qs from 'qs'; -import type { ViewMode } from '@storybook/types'; +import type { ViewMode } from '@storybook/core/dist/types'; import { parseArgsParam } from './parseArgsParam'; import type { SelectionSpecifier, SelectionStore, Selection } from './SelectionStore'; diff --git a/code/lib/preview-api/src/modules/preview-web/View.ts b/code/core/src/preview-api/modules/preview-web/View.ts similarity index 89% rename from code/lib/preview-api/src/modules/preview-web/View.ts rename to code/core/src/preview-api/modules/preview-web/View.ts index 5a111d5d3a54..af904bf80f34 100644 --- a/code/lib/preview-api/src/modules/preview-web/View.ts +++ b/code/core/src/preview-api/modules/preview-web/View.ts @@ -1,4 +1,4 @@ -import type { PreparedStory } from '@storybook/types'; +import type { PreparedStory } from '@storybook/core/dist/types'; export interface View { // Get ready to render a story, returning the element to render to diff --git a/code/lib/preview-api/src/modules/preview-web/WebView.ts b/code/core/src/preview-api/modules/preview-web/WebView.ts similarity index 97% rename from code/lib/preview-api/src/modules/preview-web/WebView.ts rename to code/core/src/preview-api/modules/preview-web/WebView.ts index 82c6a294bf05..79cb0cdbf149 100644 --- a/code/lib/preview-api/src/modules/preview-web/WebView.ts +++ b/code/core/src/preview-api/modules/preview-web/WebView.ts @@ -1,10 +1,10 @@ import { global } from '@storybook/global'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import AnsiToHtml from 'ansi-to-html'; import { dedent } from 'ts-dedent'; import qs from 'qs'; -import type { PreparedStory } from '@storybook/types'; +import type { PreparedStory } from '@storybook/core/dist/types'; import type { View } from './View'; const { document } = global; diff --git a/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContext.test.ts b/code/core/src/preview-api/modules/preview-web/docs-context/DocsContext.test.ts similarity index 99% rename from code/lib/preview-api/src/modules/preview-web/docs-context/DocsContext.test.ts rename to code/core/src/preview-api/modules/preview-web/docs-context/DocsContext.test.ts index 5321f4bc697f..9aaa5366e482 100644 --- a/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContext.test.ts +++ b/code/core/src/preview-api/modules/preview-web/docs-context/DocsContext.test.ts @@ -1,6 +1,6 @@ import { describe, it, expect, vi } from 'vitest'; import { Channel } from '@storybook/channels'; -import type { CSFFile, Renderer } from '@storybook/types'; +import type { CSFFile, Renderer } from '@storybook/core/dist/types'; import type { StoryStore } from '../../store'; import { DocsContext } from './DocsContext'; diff --git a/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContext.ts b/code/core/src/preview-api/modules/preview-web/docs-context/DocsContext.ts similarity index 98% rename from code/lib/preview-api/src/modules/preview-web/docs-context/DocsContext.ts rename to code/core/src/preview-api/modules/preview-web/docs-context/DocsContext.ts index b22ad4afe444..c2bc63ee39e2 100644 --- a/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContext.ts +++ b/code/core/src/preview-api/modules/preview-web/docs-context/DocsContext.ts @@ -9,8 +9,8 @@ import type { StoryName, ResolvedModuleExportType, ResolvedModuleExportFromType, -} from '@storybook/types'; -import type { Channel } from '@storybook/channels'; +} from '@storybook/core/dist/types'; +import type { Channel } from '@storybook/core/dist/channels'; import dedent from 'ts-dedent'; import type { StoryStore } from '../../store'; diff --git a/code/core/src/preview-api/modules/preview-web/docs-context/DocsContextProps.ts b/code/core/src/preview-api/modules/preview-web/docs-context/DocsContextProps.ts new file mode 100644 index 000000000000..c34ddfda97de --- /dev/null +++ b/code/core/src/preview-api/modules/preview-web/docs-context/DocsContextProps.ts @@ -0,0 +1 @@ +export type { DocsContextProps } from '@storybook/core/dist/types'; diff --git a/code/core/src/preview-api/modules/preview-web/docs-context/DocsRenderFunction.ts b/code/core/src/preview-api/modules/preview-web/docs-context/DocsRenderFunction.ts new file mode 100644 index 000000000000..feda29783b27 --- /dev/null +++ b/code/core/src/preview-api/modules/preview-web/docs-context/DocsRenderFunction.ts @@ -0,0 +1 @@ +export type { DocsRenderFunction } from '@storybook/core/dist/types'; diff --git a/code/lib/preview-api/src/modules/preview-web/docs-context/test-utils.ts b/code/core/src/preview-api/modules/preview-web/docs-context/test-utils.ts similarity index 92% rename from code/lib/preview-api/src/modules/preview-web/docs-context/test-utils.ts rename to code/core/src/preview-api/modules/preview-web/docs-context/test-utils.ts index 5de026e902b8..7226cd342e65 100644 --- a/code/lib/preview-api/src/modules/preview-web/docs-context/test-utils.ts +++ b/code/core/src/preview-api/modules/preview-web/docs-context/test-utils.ts @@ -1,4 +1,4 @@ -import type { CSFFile, PreparedStory } from '@storybook/types'; +import type { CSFFile, PreparedStory } from '@storybook/core/dist/types'; export function csfFileParts(storyId = 'meta--story', metaId = 'meta') { // These compose the raw exports of the CSF file diff --git a/code/lib/preview-api/src/modules/preview-web/index.ts b/code/core/src/preview-api/modules/preview-web/index.ts similarity index 96% rename from code/lib/preview-api/src/modules/preview-web/index.ts rename to code/core/src/preview-api/modules/preview-web/index.ts index 9ee4e4ce3d7a..c0f130b351d3 100644 --- a/code/lib/preview-api/src/modules/preview-web/index.ts +++ b/code/core/src/preview-api/modules/preview-web/index.ts @@ -1,6 +1,6 @@ // FIXME: breaks builder-vite, remove this in 7.0 export { composeConfigs } from '../../store'; -export type { ProjectAnnotations as WebProjectAnnotations } from '@storybook/types'; +export type { ProjectAnnotations as WebProjectAnnotations } from '@storybook/core/dist/types'; export { Preview } from './Preview'; export { PreviewWeb } from './PreviewWeb'; diff --git a/code/lib/preview-api/src/modules/preview-web/parseArgsParam.test.ts b/code/core/src/preview-api/modules/preview-web/parseArgsParam.test.ts similarity index 100% rename from code/lib/preview-api/src/modules/preview-web/parseArgsParam.test.ts rename to code/core/src/preview-api/modules/preview-web/parseArgsParam.test.ts diff --git a/code/lib/preview-api/src/modules/preview-web/parseArgsParam.ts b/code/core/src/preview-api/modules/preview-web/parseArgsParam.ts similarity index 96% rename from code/lib/preview-api/src/modules/preview-web/parseArgsParam.ts rename to code/core/src/preview-api/modules/preview-web/parseArgsParam.ts index 3212a95b3e96..544f5c46355e 100644 --- a/code/lib/preview-api/src/modules/preview-web/parseArgsParam.ts +++ b/code/core/src/preview-api/modules/preview-web/parseArgsParam.ts @@ -1,7 +1,7 @@ import qs from 'qs'; import { dedent } from 'ts-dedent'; -import type { Args } from '@storybook/types'; -import { once } from '@storybook/client-logger'; +import type { Args } from '@storybook/core/dist/types'; +import { once } from '@storybook/core/dist/client-logger'; import isPlainObject from 'lodash/isPlainObject.js'; // Keep this in sync with validateArgs in router/src/utils.ts diff --git a/code/lib/preview-api/src/modules/preview-web/render/CsfDocsRender.test.ts b/code/core/src/preview-api/modules/preview-web/render/CsfDocsRender.test.ts similarity index 98% rename from code/lib/preview-api/src/modules/preview-web/render/CsfDocsRender.test.ts rename to code/core/src/preview-api/modules/preview-web/render/CsfDocsRender.test.ts index 0b290bb765d7..a1a197d36e36 100644 --- a/code/lib/preview-api/src/modules/preview-web/render/CsfDocsRender.test.ts +++ b/code/core/src/preview-api/modules/preview-web/render/CsfDocsRender.test.ts @@ -1,6 +1,6 @@ import { it, expect, vi } from 'vitest'; import { Channel } from '@storybook/channels'; -import type { Renderer, DocsIndexEntry, RenderContextCallbacks } from '@storybook/types'; +import type { Renderer, DocsIndexEntry, RenderContextCallbacks } from '@storybook/core/dist/types'; import type { StoryStore } from '../../store'; import { PREPARE_ABORTED } from './Render'; diff --git a/code/lib/preview-api/src/modules/preview-web/render/CsfDocsRender.ts b/code/core/src/preview-api/modules/preview-web/render/CsfDocsRender.ts similarity index 96% rename from code/lib/preview-api/src/modules/preview-web/render/CsfDocsRender.ts rename to code/core/src/preview-api/modules/preview-web/render/CsfDocsRender.ts index 019d43d97893..73b1f5dbdaff 100644 --- a/code/lib/preview-api/src/modules/preview-web/render/CsfDocsRender.ts +++ b/code/core/src/preview-api/modules/preview-web/render/CsfDocsRender.ts @@ -5,9 +5,9 @@ import type { PreparedStory, StoryId, RenderContextCallbacks, -} from '@storybook/types'; -import type { Channel } from '@storybook/channels'; -import { DOCS_RENDERED } from '@storybook/core-events'; +} from '@storybook/core/dist/types'; +import type { Channel } from '@storybook/core/dist/channels'; +import { DOCS_RENDERED } from '@storybook/core/dist/core-events'; import type { StoryStore } from '../../../store'; import type { Render, RenderType } from './Render'; diff --git a/code/lib/preview-api/src/modules/preview-web/render/MdxDocsRender.test.ts b/code/core/src/preview-api/modules/preview-web/render/MdxDocsRender.test.ts similarity index 98% rename from code/lib/preview-api/src/modules/preview-web/render/MdxDocsRender.test.ts rename to code/core/src/preview-api/modules/preview-web/render/MdxDocsRender.test.ts index 1ee260ae32dc..d1b2caeacebd 100644 --- a/code/lib/preview-api/src/modules/preview-web/render/MdxDocsRender.test.ts +++ b/code/core/src/preview-api/modules/preview-web/render/MdxDocsRender.test.ts @@ -1,6 +1,6 @@ import { describe, it, expect, vi } from 'vitest'; import { Channel } from '@storybook/channels'; -import type { Renderer, DocsIndexEntry, RenderContextCallbacks } from '@storybook/types'; +import type { Renderer, DocsIndexEntry, RenderContextCallbacks } from '@storybook/core/dist/types'; import type { StoryStore } from '../../store'; import { PREPARE_ABORTED } from './Render'; diff --git a/code/lib/preview-api/src/modules/preview-web/render/MdxDocsRender.ts b/code/core/src/preview-api/modules/preview-web/render/MdxDocsRender.ts similarity index 96% rename from code/lib/preview-api/src/modules/preview-web/render/MdxDocsRender.ts rename to code/core/src/preview-api/modules/preview-web/render/MdxDocsRender.ts index 987dc7680192..5896b182a4bd 100644 --- a/code/lib/preview-api/src/modules/preview-web/render/MdxDocsRender.ts +++ b/code/core/src/preview-api/modules/preview-web/render/MdxDocsRender.ts @@ -5,9 +5,9 @@ import type { ModuleExports, StoryId, RenderContextCallbacks, -} from '@storybook/types'; -import type { Channel } from '@storybook/channels'; -import { DOCS_RENDERED } from '@storybook/core-events'; +} from '@storybook/core/dist/types'; +import type { Channel } from '@storybook/core/dist/channels'; +import { DOCS_RENDERED } from '@storybook/core/dist/core-events'; import type { StoryStore } from '../../store'; import type { Render, RenderType } from './Render'; diff --git a/code/lib/preview-api/src/modules/preview-web/render/Render.ts b/code/core/src/preview-api/modules/preview-web/render/Render.ts similarity index 97% rename from code/lib/preview-api/src/modules/preview-web/render/Render.ts rename to code/core/src/preview-api/modules/preview-web/render/Render.ts index e1a82c998410..ef2a1547905e 100644 --- a/code/lib/preview-api/src/modules/preview-web/render/Render.ts +++ b/code/core/src/preview-api/modules/preview-web/render/Render.ts @@ -1,4 +1,4 @@ -import type { StoryId, Renderer, StoryRenderOptions } from '@storybook/types'; +import type { StoryId, Renderer, StoryRenderOptions } from '@storybook/core/dist/types'; export type RenderType = 'story' | 'docs'; diff --git a/code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts b/code/core/src/preview-api/modules/preview-web/render/StoryRender.test.ts similarity index 99% rename from code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts rename to code/core/src/preview-api/modules/preview-web/render/StoryRender.test.ts index d327f6bb05f3..061f6c0bfdc5 100644 --- a/code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts +++ b/code/core/src/preview-api/modules/preview-web/render/StoryRender.test.ts @@ -1,7 +1,7 @@ // @vitest-environment jsdom import { describe, it, expect, vi } from 'vitest'; import { Channel } from '@storybook/channels'; -import type { Renderer, StoryIndexEntry } from '@storybook/types'; +import type { Renderer, StoryIndexEntry } from '@storybook/core/dist/types'; import type { StoryStore } from '../../store'; import { PREPARE_ABORTED } from './Render'; diff --git a/code/lib/preview-api/src/modules/preview-web/render/StoryRender.ts b/code/core/src/preview-api/modules/preview-web/render/StoryRender.ts similarity index 98% rename from code/lib/preview-api/src/modules/preview-web/render/StoryRender.ts rename to code/core/src/preview-api/modules/preview-web/render/StoryRender.ts index 8ade66fc8942..5f276b201c08 100644 --- a/code/lib/preview-api/src/modules/preview-web/render/StoryRender.ts +++ b/code/core/src/preview-api/modules/preview-web/render/StoryRender.ts @@ -10,14 +10,14 @@ import type { StoryId, StoryRenderOptions, ViewMode, -} from '@storybook/types'; -import type { Channel } from '@storybook/channels'; +} from '@storybook/core/dist/types'; +import type { Channel } from '@storybook/core/dist/channels'; import { STORY_RENDER_PHASE_CHANGED, STORY_RENDERED, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import type { StoryStore } from '../../store'; import type { Render, RenderType } from './Render'; import { PREPARE_ABORTED } from './Render'; diff --git a/code/lib/preview-api/src/modules/preview-web/simulate-pageload.test.ts b/code/core/src/preview-api/modules/preview-web/simulate-pageload.test.ts similarity index 100% rename from code/lib/preview-api/src/modules/preview-web/simulate-pageload.test.ts rename to code/core/src/preview-api/modules/preview-web/simulate-pageload.test.ts diff --git a/code/lib/preview-api/src/modules/preview-web/simulate-pageload.ts b/code/core/src/preview-api/modules/preview-web/simulate-pageload.ts similarity index 100% rename from code/lib/preview-api/src/modules/preview-web/simulate-pageload.ts rename to code/core/src/preview-api/modules/preview-web/simulate-pageload.ts diff --git a/code/lib/preview-api/src/modules/store/ArgsStore.test.ts b/code/core/src/preview-api/modules/store/ArgsStore.test.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/ArgsStore.test.ts rename to code/core/src/preview-api/modules/store/ArgsStore.test.ts diff --git a/code/lib/preview-api/src/modules/store/ArgsStore.ts b/code/core/src/preview-api/modules/store/ArgsStore.ts similarity index 97% rename from code/lib/preview-api/src/modules/store/ArgsStore.ts rename to code/core/src/preview-api/modules/store/ArgsStore.ts index 4122edaaf6a0..d5e2681eb0f5 100644 --- a/code/lib/preview-api/src/modules/store/ArgsStore.ts +++ b/code/core/src/preview-api/modules/store/ArgsStore.ts @@ -1,4 +1,4 @@ -import type { StoryId, Args, PreparedStory } from '@storybook/types'; +import type { StoryId, Args, PreparedStory } from '@storybook/core/dist/types'; import { combineArgs, mapArgsToTypes, validateOptions, deepDiff, DEEPLY_EQUAL } from './args'; diff --git a/code/lib/preview-api/src/modules/store/GlobalsStore.test.ts b/code/core/src/preview-api/modules/store/GlobalsStore.test.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/GlobalsStore.test.ts rename to code/core/src/preview-api/modules/store/GlobalsStore.test.ts diff --git a/code/lib/preview-api/src/modules/store/GlobalsStore.ts b/code/core/src/preview-api/modules/store/GlobalsStore.ts similarity index 93% rename from code/lib/preview-api/src/modules/store/GlobalsStore.ts rename to code/core/src/preview-api/modules/store/GlobalsStore.ts index 13610d572ae4..55386e31f96c 100644 --- a/code/lib/preview-api/src/modules/store/GlobalsStore.ts +++ b/code/core/src/preview-api/modules/store/GlobalsStore.ts @@ -1,5 +1,5 @@ -import type { Globals, GlobalTypes } from '@storybook/types'; -import { logger } from '@storybook/client-logger'; +import type { Globals, GlobalTypes } from '@storybook/core/dist/types'; +import { logger } from '@storybook/core/dist/client-logger'; import { deepDiff, DEEPLY_EQUAL } from './args'; import { getValuesFromArgTypes } from './csf/getValuesFromArgTypes'; diff --git a/code/lib/preview-api/src/modules/store/StoryIndexStore.test.ts b/code/core/src/preview-api/modules/store/StoryIndexStore.test.ts similarity index 98% rename from code/lib/preview-api/src/modules/store/StoryIndexStore.test.ts rename to code/core/src/preview-api/modules/store/StoryIndexStore.test.ts index f9ec0b6102a3..18f47fff7f26 100644 --- a/code/lib/preview-api/src/modules/store/StoryIndexStore.test.ts +++ b/code/core/src/preview-api/modules/store/StoryIndexStore.test.ts @@ -1,6 +1,6 @@ import { describe, it, expect, vi } from 'vitest'; -import type { StoryIndex } from '@storybook/types'; +import type { StoryIndex } from '@storybook/core/dist/types'; import { StoryIndexStore } from './StoryIndexStore'; vi.mock('@storybook/channel-websocket', () => () => ({ on: vi.fn() })); diff --git a/code/lib/preview-api/src/modules/store/StoryIndexStore.ts b/code/core/src/preview-api/modules/store/StoryIndexStore.ts similarity index 93% rename from code/lib/preview-api/src/modules/store/StoryIndexStore.ts rename to code/core/src/preview-api/modules/store/StoryIndexStore.ts index 803e96553586..2316eb4bdb27 100644 --- a/code/lib/preview-api/src/modules/store/StoryIndexStore.ts +++ b/code/core/src/preview-api/modules/store/StoryIndexStore.ts @@ -5,9 +5,9 @@ import type { StoryId, StoryName, ComponentTitle, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import memoize from 'memoizerific'; -import { MissingStoryAfterHmrError } from '@storybook/core-events/preview-errors'; +import { MissingStoryAfterHmrError } from '@storybook/core/dist/preview-errors'; export type StorySpecifier = StoryId | { name: StoryName; title: ComponentTitle } | '*'; diff --git a/code/lib/preview-api/src/modules/store/StoryStore.test.ts b/code/core/src/preview-api/modules/store/StoryStore.test.ts similarity index 99% rename from code/lib/preview-api/src/modules/store/StoryStore.test.ts rename to code/core/src/preview-api/modules/store/StoryStore.test.ts index 6117e5592f4e..50896f367c70 100644 --- a/code/lib/preview-api/src/modules/store/StoryStore.test.ts +++ b/code/core/src/preview-api/modules/store/StoryStore.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, vi } from 'vitest'; -import type { Renderer, ProjectAnnotations, StoryIndex } from '@storybook/types'; +import type { Renderer, ProjectAnnotations, StoryIndex } from '@storybook/core/dist/types'; import { prepareStory } from './csf/prepareStory'; import { processCSFFile } from './csf/processCSFFile'; diff --git a/code/lib/preview-api/src/modules/store/StoryStore.ts b/code/core/src/preview-api/modules/store/StoryStore.ts similarity index 98% rename from code/lib/preview-api/src/modules/store/StoryStore.ts rename to code/core/src/preview-api/modules/store/StoryStore.ts index ebfe582cdfe2..d99d15531158 100644 --- a/code/lib/preview-api/src/modules/store/StoryStore.ts +++ b/code/core/src/preview-api/modules/store/StoryStore.ts @@ -20,15 +20,15 @@ import type { StoryContextForLoaders, StoryId, PreparedMeta, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import mapValues from 'lodash/mapValues.js'; import pick from 'lodash/pick.js'; import { CalledExtractOnStoreError, MissingStoryFromCsfFileError, -} from '@storybook/core-events/preview-errors'; -import { deprecate } from '@storybook/client-logger'; +} from '@storybook/core/dist/preview-errors'; +import { deprecate } from '@storybook/core/dist/client-logger'; import { HooksContext } from '../addons'; import { StoryIndexStore } from './StoryIndexStore'; import { ArgsStore } from './ArgsStore'; diff --git a/code/lib/preview-api/src/modules/store/args.test.ts b/code/core/src/preview-api/modules/store/args.test.ts similarity index 98% rename from code/lib/preview-api/src/modules/store/args.test.ts rename to code/core/src/preview-api/modules/store/args.test.ts index ed8ed42c483e..0e126dc67061 100644 --- a/code/lib/preview-api/src/modules/store/args.test.ts +++ b/code/core/src/preview-api/modules/store/args.test.ts @@ -1,6 +1,6 @@ import { describe, it, expect, vi } from 'vitest'; -import { once } from '@storybook/client-logger'; -import type { SBType } from '@storybook/types'; +import { once } from '@storybook/core/dist/client-logger'; +import type { SBType } from '@storybook/core/dist/types'; import { combineArgs, diff --git a/code/lib/preview-api/src/modules/store/args.ts b/code/core/src/preview-api/modules/store/args.ts similarity index 96% rename from code/lib/preview-api/src/modules/store/args.ts rename to code/core/src/preview-api/modules/store/args.ts index 7ce46f94a512..cd53149d9877 100644 --- a/code/lib/preview-api/src/modules/store/args.ts +++ b/code/core/src/preview-api/modules/store/args.ts @@ -1,6 +1,13 @@ import { dequal as deepEqual } from 'dequal'; -import type { Renderer, Args, ArgTypes, InputType, SBType, StoryContext } from '@storybook/types'; -import { once } from '@storybook/client-logger'; +import type { + Renderer, + Args, + ArgTypes, + InputType, + SBType, + StoryContext, +} from '@storybook/core/dist/types'; +import { once } from '@storybook/core/dist/client-logger'; import isPlainObject from 'lodash/isPlainObject.js'; import { dedent } from 'ts-dedent'; diff --git a/code/lib/preview-api/src/modules/store/autoTitle.test.ts b/code/core/src/preview-api/modules/store/autoTitle.test.ts similarity index 99% rename from code/lib/preview-api/src/modules/store/autoTitle.test.ts rename to code/core/src/preview-api/modules/store/autoTitle.test.ts index e753db93b15e..e079233b0f24 100644 --- a/code/lib/preview-api/src/modules/store/autoTitle.test.ts +++ b/code/core/src/preview-api/modules/store/autoTitle.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import { normalizeStoriesEntry } from '@storybook/core-common'; +import { normalizeStoriesEntry } from '@storybook/core/dist/common'; import { userOrAutoTitleFromSpecifier as userOrAuto } from './autoTitle'; diff --git a/code/lib/preview-api/src/modules/store/autoTitle.ts b/code/core/src/preview-api/modules/store/autoTitle.ts similarity index 95% rename from code/lib/preview-api/src/modules/store/autoTitle.ts rename to code/core/src/preview-api/modules/store/autoTitle.ts index e230cb4f10d2..d5f3264bf984 100644 --- a/code/lib/preview-api/src/modules/store/autoTitle.ts +++ b/code/core/src/preview-api/modules/store/autoTitle.ts @@ -1,7 +1,7 @@ import slash from 'slash'; import { dedent } from 'ts-dedent'; -import { once } from '@storybook/client-logger'; -import type { NormalizedStoriesSpecifier } from '@storybook/types'; +import { once } from '@storybook/core/dist/client-logger'; +import type { NormalizedStoriesSpecifier } from '@storybook/core/dist/types'; // FIXME: types duplicated type from `core-common', to be // removed when we remove v6 back-compat. diff --git a/code/lib/preview-api/src/modules/store/csf/__mocks__/defaultExportAnnotations.mockfile.ts b/code/core/src/preview-api/modules/store/csf/__mocks__/defaultExportAnnotations.mockfile.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/csf/__mocks__/defaultExportAnnotations.mockfile.ts rename to code/core/src/preview-api/modules/store/csf/__mocks__/defaultExportAnnotations.mockfile.ts diff --git a/code/lib/preview-api/src/modules/store/csf/__mocks__/namedExportAnnotations.mockfile.ts b/code/core/src/preview-api/modules/store/csf/__mocks__/namedExportAnnotations.mockfile.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/csf/__mocks__/namedExportAnnotations.mockfile.ts rename to code/core/src/preview-api/modules/store/csf/__mocks__/namedExportAnnotations.mockfile.ts diff --git a/code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts b/code/core/src/preview-api/modules/store/csf/composeConfigs.test.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/csf/composeConfigs.test.ts rename to code/core/src/preview-api/modules/store/csf/composeConfigs.test.ts diff --git a/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts b/code/core/src/preview-api/modules/store/csf/composeConfigs.ts similarity index 98% rename from code/lib/preview-api/src/modules/store/csf/composeConfigs.ts rename to code/core/src/preview-api/modules/store/csf/composeConfigs.ts index 12bf9fc9e050..49c9b6787ab4 100644 --- a/code/lib/preview-api/src/modules/store/csf/composeConfigs.ts +++ b/code/core/src/preview-api/modules/store/csf/composeConfigs.ts @@ -1,4 +1,4 @@ -import type { Renderer, ModuleExports, ProjectAnnotations } from '@storybook/types'; +import type { Renderer, ModuleExports, ProjectAnnotations } from '@storybook/core/dist/types'; import { global } from '@storybook/global'; import { combineParameters } from '../parameters'; diff --git a/code/lib/preview-api/src/modules/store/csf/getValuesFromArgTypes.ts b/code/core/src/preview-api/modules/store/csf/getValuesFromArgTypes.ts similarity index 81% rename from code/lib/preview-api/src/modules/store/csf/getValuesFromArgTypes.ts rename to code/core/src/preview-api/modules/store/csf/getValuesFromArgTypes.ts index 72a1f213be7e..cfcdd3968247 100644 --- a/code/lib/preview-api/src/modules/store/csf/getValuesFromArgTypes.ts +++ b/code/core/src/preview-api/modules/store/csf/getValuesFromArgTypes.ts @@ -1,4 +1,4 @@ -import type { ArgTypes } from '@storybook/types'; +import type { ArgTypes } from '@storybook/core/dist/types'; export const getValuesFromArgTypes = (argTypes: ArgTypes = {}) => Object.entries(argTypes).reduce((acc, [arg, { defaultValue }]) => { diff --git a/code/lib/preview-api/src/modules/store/csf/index.ts b/code/core/src/preview-api/modules/store/csf/index.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/csf/index.ts rename to code/core/src/preview-api/modules/store/csf/index.ts diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeArrays.ts b/code/core/src/preview-api/modules/store/csf/normalizeArrays.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/csf/normalizeArrays.ts rename to code/core/src/preview-api/modules/store/csf/normalizeArrays.ts diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeComponentAnnotations.ts b/code/core/src/preview-api/modules/store/csf/normalizeComponentAnnotations.ts similarity index 84% rename from code/lib/preview-api/src/modules/store/csf/normalizeComponentAnnotations.ts rename to code/core/src/preview-api/modules/store/csf/normalizeComponentAnnotations.ts index 09bc09d1ce5d..a078a14939c3 100644 --- a/code/lib/preview-api/src/modules/store/csf/normalizeComponentAnnotations.ts +++ b/code/core/src/preview-api/modules/store/csf/normalizeComponentAnnotations.ts @@ -1,5 +1,9 @@ import { sanitize } from '@storybook/csf'; -import type { Renderer, ModuleExports, NormalizedComponentAnnotations } from '@storybook/types'; +import type { + Renderer, + ModuleExports, + NormalizedComponentAnnotations, +} from '@storybook/core/dist/types'; import { normalizeInputTypes } from './normalizeInputTypes'; diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeInputTypes.test.ts b/code/core/src/preview-api/modules/store/csf/normalizeInputTypes.test.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/csf/normalizeInputTypes.test.ts rename to code/core/src/preview-api/modules/store/csf/normalizeInputTypes.test.ts diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeInputTypes.ts b/code/core/src/preview-api/modules/store/csf/normalizeInputTypes.ts similarity index 96% rename from code/lib/preview-api/src/modules/store/csf/normalizeInputTypes.ts rename to code/core/src/preview-api/modules/store/csf/normalizeInputTypes.ts index dbca9af300c2..e012257ee7d0 100644 --- a/code/lib/preview-api/src/modules/store/csf/normalizeInputTypes.ts +++ b/code/core/src/preview-api/modules/store/csf/normalizeInputTypes.ts @@ -6,7 +6,7 @@ import type { StrictArgTypes, StrictGlobalTypes, StrictInputType, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; const normalizeType = (type: InputType['type']): StrictInputType['type'] => { return typeof type === 'string' ? { name: type } : type; diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts b/code/core/src/preview-api/modules/store/csf/normalizeProjectAnnotations.ts similarity index 97% rename from code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts rename to code/core/src/preview-api/modules/store/csf/normalizeProjectAnnotations.ts index 60cca0023352..99bb7054ea31 100644 --- a/code/lib/preview-api/src/modules/store/csf/normalizeProjectAnnotations.ts +++ b/code/core/src/preview-api/modules/store/csf/normalizeProjectAnnotations.ts @@ -3,7 +3,7 @@ import type { ArgTypes, ProjectAnnotations, NormalizedProjectAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { inferArgTypes } from '../inferArgTypes'; import { inferControls } from '../inferControls'; diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeStory.test.ts b/code/core/src/preview-api/modules/store/csf/normalizeStory.test.ts similarity index 99% rename from code/lib/preview-api/src/modules/store/csf/normalizeStory.test.ts rename to code/core/src/preview-api/modules/store/csf/normalizeStory.test.ts index f9e4b9cdca92..1c6aef6ab467 100644 --- a/code/lib/preview-api/src/modules/store/csf/normalizeStory.test.ts +++ b/code/core/src/preview-api/modules/store/csf/normalizeStory.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, vi } from 'vitest'; -import type { Renderer, StoryAnnotationsOrFn } from '@storybook/types'; +import type { Renderer, StoryAnnotationsOrFn } from '@storybook/core/dist/types'; import { normalizeStory } from './normalizeStory'; diff --git a/code/lib/preview-api/src/modules/store/csf/normalizeStory.ts b/code/core/src/preview-api/modules/store/csf/normalizeStory.ts similarity index 96% rename from code/lib/preview-api/src/modules/store/csf/normalizeStory.ts rename to code/core/src/preview-api/modules/store/csf/normalizeStory.ts index fc228251d82e..826a81558b0a 100644 --- a/code/lib/preview-api/src/modules/store/csf/normalizeStory.ts +++ b/code/core/src/preview-api/modules/store/csf/normalizeStory.ts @@ -7,10 +7,10 @@ import type { StoryAnnotations, StoryFn, StoryId, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { storyNameFromExport, toId } from '@storybook/csf'; import { dedent } from 'ts-dedent'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import deprecate from 'util-deprecate'; import { normalizeInputTypes } from './normalizeInputTypes'; import { normalizeArrays } from './normalizeArrays'; diff --git a/code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts b/code/core/src/preview-api/modules/store/csf/portable-stories.test.ts similarity index 99% rename from code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts rename to code/core/src/preview-api/modules/store/csf/portable-stories.test.ts index 832ad437139f..46d92cde13b6 100644 --- a/code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts +++ b/code/core/src/preview-api/modules/store/csf/portable-stories.test.ts @@ -4,7 +4,7 @@ import type { ComponentAnnotations as Meta, StoryAnnotationsOrFn as Story, Store_CSFExports, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { composeStory, composeStories, setProjectAnnotations } from './portable-stories'; import * as defaultExportAnnotations from './__mocks__/defaultExportAnnotations.mockfile'; diff --git a/code/lib/preview-api/src/modules/store/csf/portable-stories.ts b/code/core/src/preview-api/modules/store/csf/portable-stories.ts similarity index 99% rename from code/lib/preview-api/src/modules/store/csf/portable-stories.ts rename to code/core/src/preview-api/modules/store/csf/portable-stories.ts index c4aa34874040..42f8bc0e43c1 100644 --- a/code/lib/preview-api/src/modules/store/csf/portable-stories.ts +++ b/code/core/src/preview-api/modules/store/csf/portable-stories.ts @@ -17,7 +17,7 @@ import type { StrictArgTypes, PlayFunctionContext, ProjectAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { HooksContext } from '../../../addons'; import { composeConfigs } from './composeConfigs'; diff --git a/code/lib/preview-api/src/modules/store/csf/prepareStory.test.ts b/code/core/src/preview-api/modules/store/csf/prepareStory.test.ts similarity index 99% rename from code/lib/preview-api/src/modules/store/csf/prepareStory.test.ts rename to code/core/src/preview-api/modules/store/csf/prepareStory.test.ts index 5d5389beeb36..b7601c86e20e 100644 --- a/code/lib/preview-api/src/modules/store/csf/prepareStory.test.ts +++ b/code/core/src/preview-api/modules/store/csf/prepareStory.test.ts @@ -1,6 +1,11 @@ import { describe, beforeEach, it, expect, vi } from 'vitest'; import { global } from '@storybook/global'; -import type { Renderer, ArgsEnhancer, PlayFunctionContext, SBScalarType } from '@storybook/types'; +import type { + Renderer, + ArgsEnhancer, + PlayFunctionContext, + SBScalarType, +} from '@storybook/core/dist/types'; import { addons, HooksContext } from '../../addons'; import { UNTARGETED } from '../args'; diff --git a/code/lib/preview-api/src/modules/store/csf/prepareStory.ts b/code/core/src/preview-api/modules/store/csf/prepareStory.ts similarity index 99% rename from code/lib/preview-api/src/modules/store/csf/prepareStory.ts rename to code/core/src/preview-api/modules/store/csf/prepareStory.ts index 84439187c4de..ea16640ca1be 100644 --- a/code/lib/preview-api/src/modules/store/csf/prepareStory.ts +++ b/code/core/src/preview-api/modules/store/csf/prepareStory.ts @@ -19,7 +19,7 @@ import type { StoryContextForEnhancers, StoryContextForLoaders, StrictArgTypes, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { type CleanupCallback, includeConditionalArg } from '@storybook/csf'; import { applyHooks } from '../../addons'; diff --git a/code/lib/preview-api/src/modules/store/csf/processCSFFile.test.ts b/code/core/src/preview-api/modules/store/csf/processCSFFile.test.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/csf/processCSFFile.test.ts rename to code/core/src/preview-api/modules/store/csf/processCSFFile.test.ts diff --git a/code/lib/preview-api/src/modules/store/csf/processCSFFile.ts b/code/core/src/preview-api/modules/store/csf/processCSFFile.ts similarity index 95% rename from code/lib/preview-api/src/modules/store/csf/processCSFFile.ts rename to code/core/src/preview-api/modules/store/csf/processCSFFile.ts index c29322a25277..916fb45ee34f 100644 --- a/code/lib/preview-api/src/modules/store/csf/processCSFFile.ts +++ b/code/core/src/preview-api/modules/store/csf/processCSFFile.ts @@ -6,9 +6,9 @@ import type { CSFFile, ModuleExports, NormalizedComponentAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { isExportStory } from '@storybook/csf'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import { normalizeStory } from './normalizeStory'; import { normalizeComponentAnnotations } from './normalizeComponentAnnotations'; diff --git a/code/lib/preview-api/src/modules/store/csf/stepRunners.test.ts b/code/core/src/preview-api/modules/store/csf/stepRunners.test.ts similarity index 99% rename from code/lib/preview-api/src/modules/store/csf/stepRunners.test.ts rename to code/core/src/preview-api/modules/store/csf/stepRunners.test.ts index 4858cfa7e995..e69043b085a7 100644 --- a/code/lib/preview-api/src/modules/store/csf/stepRunners.test.ts +++ b/code/core/src/preview-api/modules/store/csf/stepRunners.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, vi } from 'vitest'; -import type { PlayFunctionContext, StepRunner } from '@storybook/types'; +import type { PlayFunctionContext, StepRunner } from '@storybook/core/dist/types'; import { composeStepRunners } from './stepRunners'; describe('stepRunners', () => { diff --git a/code/lib/preview-api/src/modules/store/csf/stepRunners.ts b/code/core/src/preview-api/modules/store/csf/stepRunners.ts similarity index 94% rename from code/lib/preview-api/src/modules/store/csf/stepRunners.ts rename to code/core/src/preview-api/modules/store/csf/stepRunners.ts index efc2d583bf31..cda75f91d837 100644 --- a/code/lib/preview-api/src/modules/store/csf/stepRunners.ts +++ b/code/core/src/preview-api/modules/store/csf/stepRunners.ts @@ -1,4 +1,4 @@ -import type { Renderer, StepRunner } from '@storybook/types'; +import type { Renderer, StepRunner } from '@storybook/core/dist/types'; /** * Compose step runners to create a single step runner that applies each step runner in order. diff --git a/code/lib/preview-api/src/modules/store/decorators.test.ts b/code/core/src/preview-api/modules/store/decorators.test.ts similarity index 98% rename from code/lib/preview-api/src/modules/store/decorators.test.ts rename to code/core/src/preview-api/modules/store/decorators.test.ts index c187fb2b5d8b..4937f9b2ace6 100644 --- a/code/lib/preview-api/src/modules/store/decorators.test.ts +++ b/code/core/src/preview-api/modules/store/decorators.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import type { Renderer, StoryContext } from '@storybook/types'; +import type { Renderer, StoryContext } from '@storybook/core/dist/types'; import { defaultDecorateStory } from './decorators'; diff --git a/code/lib/preview-api/src/modules/store/decorators.ts b/code/core/src/preview-api/modules/store/decorators.ts similarity index 98% rename from code/lib/preview-api/src/modules/store/decorators.ts rename to code/core/src/preview-api/modules/store/decorators.ts index fbb77c0f9277..02ef5eabc1b8 100644 --- a/code/lib/preview-api/src/modules/store/decorators.ts +++ b/code/core/src/preview-api/modules/store/decorators.ts @@ -5,7 +5,7 @@ import type { PartialStoryFn, StoryContextUpdate, StoryContext, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; export function decorateStory( storyFn: LegacyStoryFn, diff --git a/code/lib/preview-api/src/modules/store/filterArgTypes.ts b/code/core/src/preview-api/modules/store/filterArgTypes.ts similarity index 90% rename from code/lib/preview-api/src/modules/store/filterArgTypes.ts rename to code/core/src/preview-api/modules/store/filterArgTypes.ts index a9deb2d11e6b..1720f29b2151 100644 --- a/code/lib/preview-api/src/modules/store/filterArgTypes.ts +++ b/code/core/src/preview-api/modules/store/filterArgTypes.ts @@ -1,4 +1,4 @@ -import type { StrictArgTypes } from '@storybook/types'; +import type { StrictArgTypes } from '@storybook/core/dist/types'; import pickBy from 'lodash/pickBy.js'; export type PropDescriptor = string[] | RegExp; diff --git a/code/lib/preview-api/src/modules/store/hooks.test.ts b/code/core/src/preview-api/modules/store/hooks.test.ts similarity index 99% rename from code/lib/preview-api/src/modules/store/hooks.test.ts rename to code/core/src/preview-api/modules/store/hooks.test.ts index 1b82b26de6c4..770c09ba9462 100644 --- a/code/lib/preview-api/src/modules/store/hooks.test.ts +++ b/code/core/src/preview-api/modules/store/hooks.test.ts @@ -6,7 +6,7 @@ import { RESET_STORY_ARGS, UPDATE_GLOBALS, } from '@storybook/core-events'; -import type { DecoratorFunction, StoryContext } from '@storybook/types'; +import type { DecoratorFunction, StoryContext } from '@storybook/core/dist/types'; import { addons, applyHooks, diff --git a/code/lib/preview-api/src/modules/store/hooks.ts b/code/core/src/preview-api/modules/store/hooks.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/hooks.ts rename to code/core/src/preview-api/modules/store/hooks.ts diff --git a/code/lib/preview-api/src/modules/store/index.ts b/code/core/src/preview-api/modules/store/index.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/index.ts rename to code/core/src/preview-api/modules/store/index.ts diff --git a/code/lib/preview-api/src/modules/store/inferArgTypes.test.ts b/code/core/src/preview-api/modules/store/inferArgTypes.test.ts similarity index 98% rename from code/lib/preview-api/src/modules/store/inferArgTypes.test.ts rename to code/core/src/preview-api/modules/store/inferArgTypes.test.ts index 09e6bc4712cc..d257fd06bd96 100644 --- a/code/lib/preview-api/src/modules/store/inferArgTypes.test.ts +++ b/code/core/src/preview-api/modules/store/inferArgTypes.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, vi } from 'vitest'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import { inferArgTypes } from './inferArgTypes'; diff --git a/code/lib/preview-api/src/modules/store/inferArgTypes.ts b/code/core/src/preview-api/modules/store/inferArgTypes.ts similarity index 95% rename from code/lib/preview-api/src/modules/store/inferArgTypes.ts rename to code/core/src/preview-api/modules/store/inferArgTypes.ts index 46cd93dc9024..417956f6ccd3 100644 --- a/code/lib/preview-api/src/modules/store/inferArgTypes.ts +++ b/code/core/src/preview-api/modules/store/inferArgTypes.ts @@ -1,7 +1,7 @@ import mapValues from 'lodash/mapValues.js'; import { dedent } from 'ts-dedent'; -import { logger } from '@storybook/client-logger'; -import type { Renderer, SBType, ArgTypesEnhancer } from '@storybook/types'; +import { logger } from '@storybook/core/dist/client-logger'; +import type { Renderer, SBType, ArgTypesEnhancer } from '@storybook/core/dist/types'; import { combineParameters } from './parameters'; const inferType = (value: any, name: string, visited: Set): SBType => { diff --git a/code/lib/preview-api/src/modules/store/inferControls.test.ts b/code/core/src/preview-api/modules/store/inferControls.test.ts similarity index 96% rename from code/lib/preview-api/src/modules/store/inferControls.test.ts rename to code/core/src/preview-api/modules/store/inferControls.test.ts index 9293bf771e69..eb32d494fe44 100644 --- a/code/lib/preview-api/src/modules/store/inferControls.test.ts +++ b/code/core/src/preview-api/modules/store/inferControls.test.ts @@ -1,7 +1,7 @@ import type { MockInstance } from 'vitest'; import { describe, beforeEach, afterEach, it, expect, vi } from 'vitest'; -import { logger } from '@storybook/client-logger'; -import type { StoryContextForEnhancers } from '@storybook/types'; +import { logger } from '@storybook/core/dist/client-logger'; +import type { StoryContextForEnhancers } from '@storybook/core/dist/types'; import { argTypesEnhancers } from './inferControls'; diff --git a/code/lib/preview-api/src/modules/store/inferControls.ts b/code/core/src/preview-api/modules/store/inferControls.ts similarity index 92% rename from code/lib/preview-api/src/modules/store/inferControls.ts rename to code/core/src/preview-api/modules/store/inferControls.ts index 6deffa912fd7..cd8baafad8b4 100644 --- a/code/lib/preview-api/src/modules/store/inferControls.ts +++ b/code/core/src/preview-api/modules/store/inferControls.ts @@ -1,6 +1,11 @@ import mapValues from 'lodash/mapValues.js'; -import { logger } from '@storybook/client-logger'; -import type { Renderer, ArgTypesEnhancer, SBEnumType, StrictInputType } from '@storybook/types'; +import { logger } from '@storybook/core/dist/client-logger'; +import type { + Renderer, + ArgTypesEnhancer, + SBEnumType, + StrictInputType, +} from '@storybook/core/dist/types'; import { filterArgTypes } from './filterArgTypes'; import { combineParameters } from './parameters'; diff --git a/code/lib/preview-api/src/modules/store/parameters.test.ts b/code/core/src/preview-api/modules/store/parameters.test.ts similarity index 100% rename from code/lib/preview-api/src/modules/store/parameters.test.ts rename to code/core/src/preview-api/modules/store/parameters.test.ts diff --git a/code/lib/preview-api/src/modules/store/parameters.ts b/code/core/src/preview-api/modules/store/parameters.ts similarity index 96% rename from code/lib/preview-api/src/modules/store/parameters.ts rename to code/core/src/preview-api/modules/store/parameters.ts index 872a0d2bd38d..c206a5b7f223 100644 --- a/code/lib/preview-api/src/modules/store/parameters.ts +++ b/code/core/src/preview-api/modules/store/parameters.ts @@ -1,5 +1,5 @@ // Utilities for handling parameters -import type { Parameters } from '@storybook/types'; +import type { Parameters } from '@storybook/core/dist/types'; import isPlainObject from 'lodash/isPlainObject.js'; /** diff --git a/code/lib/preview-api/src/modules/store/sortStories.ts b/code/core/src/preview-api/modules/store/sortStories.ts similarity index 98% rename from code/lib/preview-api/src/modules/store/sortStories.ts rename to code/core/src/preview-api/modules/store/sortStories.ts index 8fc6950fbd40..1034f131edc9 100644 --- a/code/lib/preview-api/src/modules/store/sortStories.ts +++ b/code/core/src/preview-api/modules/store/sortStories.ts @@ -10,7 +10,7 @@ import type { Path, PreparedStory, Renderer, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { storySort } from './storySort'; const sortStoriesCommon = ( diff --git a/code/lib/preview-api/src/modules/store/storySort.test.ts b/code/core/src/preview-api/modules/store/storySort.test.ts similarity index 98% rename from code/lib/preview-api/src/modules/store/storySort.test.ts rename to code/core/src/preview-api/modules/store/storySort.test.ts index 2c9041f5b8f1..133b3b7b0a30 100644 --- a/code/lib/preview-api/src/modules/store/storySort.test.ts +++ b/code/core/src/preview-api/modules/store/storySort.test.ts @@ -1,5 +1,5 @@ import { expect, describe, it } from 'vitest'; -import type { StoryId, StoryIndexEntry } from '@storybook/types'; +import type { StoryId, StoryIndexEntry } from '@storybook/core/dist/types'; import { storySort } from './storySort'; diff --git a/code/lib/preview-api/src/modules/store/storySort.ts b/code/core/src/preview-api/modules/store/storySort.ts similarity index 98% rename from code/lib/preview-api/src/modules/store/storySort.ts rename to code/core/src/preview-api/modules/store/storySort.ts index 21d6368764fd..b7a8d57acd12 100644 --- a/code/lib/preview-api/src/modules/store/storySort.ts +++ b/code/core/src/preview-api/modules/store/storySort.ts @@ -2,7 +2,7 @@ import type { Addon_StorySortComparatorV7, Addon_StorySortObjectParameter, IndexEntry, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; const STORY_KIND_PATH_SEPARATOR = /\s*\/\s*/; diff --git a/code/core/src/preview-api/preview-web.ts b/code/core/src/preview-api/preview-web.ts new file mode 100644 index 000000000000..d2e857f18393 --- /dev/null +++ b/code/core/src/preview-api/preview-web.ts @@ -0,0 +1,3 @@ +/// + +export * from './modules/preview-web'; diff --git a/code/core/src/preview-api/store.ts b/code/core/src/preview-api/store.ts new file mode 100644 index 000000000000..e0b609d35b72 --- /dev/null +++ b/code/core/src/preview-api/store.ts @@ -0,0 +1,3 @@ +/// + +export * from './modules/store'; diff --git a/code/lib/core-events/src/errors/preview-errors.ts b/code/core/src/preview-errors.ts similarity index 100% rename from code/lib/core-events/src/errors/preview-errors.ts rename to code/core/src/preview-errors.ts diff --git a/code/lib/router/README.md b/code/core/src/router/README.md similarity index 100% rename from code/lib/router/README.md rename to code/core/src/router/README.md diff --git a/code/lib/router/src/index.ts b/code/core/src/router/index.ts similarity index 100% rename from code/lib/router/src/index.ts rename to code/core/src/router/index.ts diff --git a/code/lib/router/src/router.tsx b/code/core/src/router/router.tsx similarity index 100% rename from code/lib/router/src/router.tsx rename to code/core/src/router/router.tsx diff --git a/code/lib/router/src/types.ts b/code/core/src/router/types.ts similarity index 100% rename from code/lib/router/src/types.ts rename to code/core/src/router/types.ts diff --git a/code/lib/router/src/utils.test.ts b/code/core/src/router/utils.test.ts similarity index 100% rename from code/lib/router/src/utils.test.ts rename to code/core/src/router/utils.test.ts diff --git a/code/lib/router/src/utils.ts b/code/core/src/router/utils.ts similarity index 99% rename from code/lib/router/src/utils.ts rename to code/core/src/router/utils.ts index c7cefd89bad3..5169d3992852 100644 --- a/code/lib/router/src/utils.ts +++ b/code/core/src/router/utils.ts @@ -1,4 +1,4 @@ -import { once } from '@storybook/client-logger'; +import { once } from '@storybook/core/dist/client-logger'; import { dequal as deepEqual } from 'dequal'; import isPlainObject from 'lodash/isPlainObject.js'; import memoize from 'memoizerific'; diff --git a/code/lib/router/src/visibility.tsx b/code/core/src/router/visibility.tsx similarity index 100% rename from code/lib/router/src/visibility.tsx rename to code/core/src/router/visibility.tsx diff --git a/code/lib/core-events/src/errors/server-errors.ts b/code/core/src/server-errors.ts similarity index 97% rename from code/lib/core-events/src/errors/server-errors.ts rename to code/core/src/server-errors.ts index efd3c929de0c..d19ecb346392 100644 --- a/code/lib/core-events/src/errors/server-errors.ts +++ b/code/core/src/server-errors.ts @@ -1,4 +1,4 @@ -import { bold, gray, grey, white, yellow, underline } from 'chalk'; +import chalk from 'chalk'; import dedent from 'ts-dedent'; import { StorybookError } from './storybook-error'; @@ -420,19 +420,21 @@ export class MainFileESMOnlyImportError extends StorybookError { ]; if (this.data.line) { message.push( - white( - `In your ${yellow(this.data.location)} file, line ${bold.cyan( + chalk.white( + `In your ${chalk.yellow(this.data.location)} file, line ${chalk.bold.cyan( this.data.num )} threw an error:` ), - grey(this.data.line) + chalk.grey(this.data.line) ); } message.push( '', - white(`Convert the static import to a dynamic import ${underline('where they are used')}.`), - white(`Example:`) + ' ' + gray(`await import();`), + chalk.white( + `Convert the static import to a dynamic import ${chalk.underline('where they are used')}.` + ), + chalk.white(`Example:`) + ' ' + chalk.gray(`await import();`), '' ); @@ -455,7 +457,7 @@ export class MainFileMissingError extends StorybookError { template() { return dedent` - No configuration files have been found in your configDir: ${yellow(this.data.location)}. + No configuration files have been found in your configDir: ${chalk.yellow(this.data.location)}. Storybook needs a "main.js" file, please add it. You can pass a --config-dir flag to tell Storybook, where your main.js file is located at). @@ -475,12 +477,12 @@ export class MainFileEvaluationError extends StorybookError { } template() { - const errorText = white( + const errorText = chalk.white( (this.data.error.stack || this.data.error.message).replaceAll(process.cwd(), '') ); return dedent` - Storybook couldn't evaluate your ${yellow(this.data.location)} file. + Storybook couldn't evaluate your ${chalk.yellow(this.data.location)} file. ${errorText} `; diff --git a/code/lib/core-events/src/errors/storybook-error.ts b/code/core/src/storybook-error.ts similarity index 100% rename from code/lib/core-events/src/errors/storybook-error.ts rename to code/core/src/storybook-error.ts diff --git a/code/lib/telemetry/README.md b/code/core/src/telemetry/README.md similarity index 100% rename from code/lib/telemetry/README.md rename to code/core/src/telemetry/README.md diff --git a/code/lib/telemetry/src/anonymous-id.test.ts b/code/core/src/telemetry/anonymous-id.test.ts similarity index 100% rename from code/lib/telemetry/src/anonymous-id.test.ts rename to code/core/src/telemetry/anonymous-id.test.ts diff --git a/code/lib/telemetry/src/anonymous-id.ts b/code/core/src/telemetry/anonymous-id.ts similarity index 95% rename from code/lib/telemetry/src/anonymous-id.ts rename to code/core/src/telemetry/anonymous-id.ts index 6c4dfb8b3148..ae6823ed8a40 100644 --- a/code/lib/telemetry/src/anonymous-id.ts +++ b/code/core/src/telemetry/anonymous-id.ts @@ -1,6 +1,6 @@ import path from 'path'; import { execSync } from 'child_process'; -import { getProjectRoot } from '@storybook/core-common'; +import { getProjectRoot } from '@storybook/core/dist/common'; import { oneWayHash } from './one-way-hash'; diff --git a/code/lib/telemetry/src/event-cache.test.ts b/code/core/src/telemetry/event-cache.test.ts similarity index 100% rename from code/lib/telemetry/src/event-cache.test.ts rename to code/core/src/telemetry/event-cache.test.ts diff --git a/code/lib/telemetry/src/event-cache.ts b/code/core/src/telemetry/event-cache.ts similarity index 97% rename from code/lib/telemetry/src/event-cache.ts rename to code/core/src/telemetry/event-cache.ts index 4e511d3b644b..3e183ab39999 100644 --- a/code/lib/telemetry/src/event-cache.ts +++ b/code/core/src/telemetry/event-cache.ts @@ -1,4 +1,4 @@ -import { cache } from '@storybook/core-common'; +import { cache } from '@storybook/core/dist/common'; import type { EventType } from './types'; interface UpgradeSummary { diff --git a/code/lib/telemetry/src/get-chromatic-version.test.ts b/code/core/src/telemetry/get-chromatic-version.test.ts similarity index 100% rename from code/lib/telemetry/src/get-chromatic-version.test.ts rename to code/core/src/telemetry/get-chromatic-version.test.ts diff --git a/code/lib/telemetry/src/get-chromatic-version.ts b/code/core/src/telemetry/get-chromatic-version.ts similarity index 88% rename from code/lib/telemetry/src/get-chromatic-version.ts rename to code/core/src/telemetry/get-chromatic-version.ts index c9f8db06cfeb..25676146c925 100644 --- a/code/lib/telemetry/src/get-chromatic-version.ts +++ b/code/core/src/telemetry/get-chromatic-version.ts @@ -1,4 +1,4 @@ -import type { PackageJson } from '@storybook/types'; +import type { PackageJson } from '@storybook/core/dist/types'; export function getChromaticVersionSpecifier(packageJson: PackageJson) { const dependency = diff --git a/code/lib/telemetry/src/get-framework-info.test.ts b/code/core/src/telemetry/get-framework-info.test.ts similarity index 96% rename from code/lib/telemetry/src/get-framework-info.test.ts rename to code/core/src/telemetry/get-framework-info.test.ts index 770f81e2b240..045515aa1e9c 100644 --- a/code/lib/telemetry/src/get-framework-info.test.ts +++ b/code/core/src/telemetry/get-framework-info.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, vi } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; +import type { StorybookConfig } from '@storybook/core/dist/types'; import path from 'path'; import { getFrameworkInfo } from './get-framework-info'; import { getActualPackageJson } from './package-json'; diff --git a/code/lib/telemetry/src/get-framework-info.ts b/code/core/src/telemetry/get-framework-info.ts similarity index 93% rename from code/lib/telemetry/src/get-framework-info.ts rename to code/core/src/telemetry/get-framework-info.ts index 6716aa314510..5a0e12f59b85 100644 --- a/code/lib/telemetry/src/get-framework-info.ts +++ b/code/core/src/telemetry/get-framework-info.ts @@ -1,6 +1,6 @@ -import type { PackageJson, StorybookConfig } from '@storybook/types'; +import type { PackageJson, StorybookConfig } from '@storybook/core/dist/types'; import path from 'path'; -import { frameworkPackages } from '@storybook/core-common'; +import { frameworkPackages } from '@storybook/core/dist/common'; import { cleanPaths } from './sanitize'; import { getActualPackageJson } from './package-json'; diff --git a/code/lib/telemetry/src/get-monorepo-type.test.ts b/code/core/src/telemetry/get-monorepo-type.test.ts similarity index 91% rename from code/lib/telemetry/src/get-monorepo-type.test.ts rename to code/core/src/telemetry/get-monorepo-type.test.ts index 83ed70e23b0e..8a7de1bfee6e 100644 --- a/code/lib/telemetry/src/get-monorepo-type.test.ts +++ b/code/core/src/telemetry/get-monorepo-type.test.ts @@ -7,9 +7,9 @@ import { getMonorepoType, monorepoConfigs } from './get-monorepo-type'; vi.mock('fs-extra', async () => import('../../../__mocks__/fs-extra')); -vi.mock('@storybook/core-common', async (importOriginal) => { +vi.mock('@storybook/core/dist/common', async (importOriginal) => { return { - ...(await importOriginal()), + ...(await importOriginal()), getProjectRoot: () => 'root', }; }); diff --git a/code/lib/telemetry/src/get-monorepo-type.ts b/code/core/src/telemetry/get-monorepo-type.ts similarity index 89% rename from code/lib/telemetry/src/get-monorepo-type.ts rename to code/core/src/telemetry/get-monorepo-type.ts index 52de41e40dfb..7bfb0ab0fd78 100644 --- a/code/lib/telemetry/src/get-monorepo-type.ts +++ b/code/core/src/telemetry/get-monorepo-type.ts @@ -1,7 +1,7 @@ import fs from 'fs-extra'; import path from 'path'; -import type { PackageJson } from '@storybook/types'; -import { getProjectRoot } from '@storybook/core-common'; +import type { PackageJson } from '@storybook/core/dist/types'; +import { getProjectRoot } from '@storybook/core/dist/common'; export const monorepoConfigs = { Nx: 'nx.json', diff --git a/code/lib/telemetry/src/index.ts b/code/core/src/telemetry/index.ts similarity index 96% rename from code/lib/telemetry/src/index.ts rename to code/core/src/telemetry/index.ts index 5a318cd91b64..233b8e0eb138 100644 --- a/code/lib/telemetry/src/index.ts +++ b/code/core/src/telemetry/index.ts @@ -1,4 +1,4 @@ -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import type { EventType, Payload, Options, TelemetryData } from './types'; import { getStorybookMetadata } from './storybook-metadata'; import { sendTelemetry } from './telemetry'; diff --git a/code/lib/telemetry/src/notify.ts b/code/core/src/telemetry/notify.ts similarity index 95% rename from code/lib/telemetry/src/notify.ts rename to code/core/src/telemetry/notify.ts index dc57c7ff0003..347168bcc8d0 100644 --- a/code/lib/telemetry/src/notify.ts +++ b/code/core/src/telemetry/notify.ts @@ -1,5 +1,5 @@ import chalk from 'chalk'; -import { cache } from '@storybook/core-common'; +import { cache } from '@storybook/core/dist/common'; const TELEMETRY_KEY_NOTIFY_DATE = 'telemetry-notification-date'; diff --git a/code/lib/telemetry/src/one-way-hash.ts b/code/core/src/telemetry/one-way-hash.ts similarity index 100% rename from code/lib/telemetry/src/one-way-hash.ts rename to code/core/src/telemetry/one-way-hash.ts diff --git a/code/lib/telemetry/src/package-json.ts b/code/core/src/telemetry/package-json.ts similarity index 100% rename from code/lib/telemetry/src/package-json.ts rename to code/core/src/telemetry/package-json.ts diff --git a/code/lib/telemetry/src/sanitize.test.ts b/code/core/src/telemetry/sanitize.test.ts similarity index 100% rename from code/lib/telemetry/src/sanitize.test.ts rename to code/core/src/telemetry/sanitize.test.ts diff --git a/code/lib/telemetry/src/sanitize.ts b/code/core/src/telemetry/sanitize.ts similarity index 100% rename from code/lib/telemetry/src/sanitize.ts rename to code/core/src/telemetry/sanitize.ts diff --git a/code/lib/telemetry/src/session-id.test.ts b/code/core/src/telemetry/session-id.test.ts similarity index 94% rename from code/lib/telemetry/src/session-id.test.ts rename to code/core/src/telemetry/session-id.test.ts index c0c04fcafad8..35aaaee2c7b4 100644 --- a/code/lib/telemetry/src/session-id.test.ts +++ b/code/core/src/telemetry/session-id.test.ts @@ -1,11 +1,11 @@ import type { MockInstance } from 'vitest'; import { describe, it, beforeEach, expect, vi } from 'vitest'; import { nanoid } from 'nanoid'; -import { cache } from '@storybook/core-common'; +import { cache } from '@storybook/core/dist/common'; import { resetSessionIdForTest, getSessionId, SESSION_TIMEOUT } from './session-id'; -vi.mock('@storybook/core-common', async (importOriginal) => ({ - ...(await importOriginal()), +vi.mock('@storybook/core/dist/common', async (importOriginal) => ({ + ...(await importOriginal()), cache: { get: vi.fn(), set: vi.fn(), diff --git a/code/lib/telemetry/src/session-id.ts b/code/core/src/telemetry/session-id.ts similarity index 92% rename from code/lib/telemetry/src/session-id.ts rename to code/core/src/telemetry/session-id.ts index 7adee3fedde9..30e5574dab01 100644 --- a/code/lib/telemetry/src/session-id.ts +++ b/code/core/src/telemetry/session-id.ts @@ -1,5 +1,5 @@ import { nanoid } from 'nanoid'; -import { cache } from '@storybook/core-common'; +import { cache } from '@storybook/core/dist/common'; export const SESSION_TIMEOUT = 1000 * 60 * 60 * 2; // 2h diff --git a/code/lib/telemetry/src/storybook-metadata.test.ts b/code/core/src/telemetry/storybook-metadata.test.ts similarity index 98% rename from code/lib/telemetry/src/storybook-metadata.test.ts rename to code/core/src/telemetry/storybook-metadata.test.ts index da9a37e368d0..5a1329628c85 100644 --- a/code/lib/telemetry/src/storybook-metadata.test.ts +++ b/code/core/src/telemetry/storybook-metadata.test.ts @@ -1,6 +1,6 @@ import type { MockInstance } from 'vitest'; import { describe, beforeEach, afterEach, expect, vi, it } from 'vitest'; -import type { PackageJson, StorybookConfig } from '@storybook/types'; +import type { PackageJson, StorybookConfig } from '@storybook/core/dist/types'; import path from 'path'; import { computeStorybookMetadata, metaFrameworks, sanitizeAddonName } from './storybook-metadata'; @@ -49,9 +49,9 @@ vi.mock('detect-package-manager', () => ({ getNpmVersion: () => '3.1.1', })); -vi.mock('@storybook/core-common', async (importOriginal) => { +vi.mock('@storybook/core/dist/common', async (importOriginal) => { return { - ...(await importOriginal()), + ...(await importOriginal()), getProjectRoot: () => process.cwd(), }; }); diff --git a/code/lib/telemetry/src/storybook-metadata.ts b/code/core/src/telemetry/storybook-metadata.ts similarity index 95% rename from code/lib/telemetry/src/storybook-metadata.ts rename to code/core/src/telemetry/storybook-metadata.ts index e9ff8d844954..ac8d4b94530f 100644 --- a/code/lib/telemetry/src/storybook-metadata.ts +++ b/code/core/src/telemetry/storybook-metadata.ts @@ -1,13 +1,13 @@ -import readPkgUp from 'read-pkg-up'; +import { readPackageUpSync } from 'read-pkg-up'; import { detect, getNpmVersion } from 'detect-package-manager'; import { loadMainConfig, getStorybookInfo, getStorybookConfiguration, getProjectRoot, -} from '@storybook/core-common'; -import type { StorybookConfig, PackageJson } from '@storybook/types'; -import { readConfig } from '@storybook/csf-tools'; +} from '@storybook/core/dist/common'; +import type { StorybookConfig, PackageJson } from '@storybook/core/dist/types'; +import { readConfig } from '@storybook/core/dist/csf-tools'; import type { StorybookMetadata, Dependency, StorybookAddon } from './types'; import { getActualPackageVersion, getActualPackageVersions } from './package-json'; @@ -196,7 +196,7 @@ export const getStorybookMetadata = async (_configDir?: string) => { return cachedMetadata; } - const { packageJson = {} } = readPkgUp.sync({ cwd: process.cwd(), normalize: false }) || {}; + const { packageJson = {} } = readPackageUpSync({ cwd: process.cwd(), normalize: false }) || {}; // TODO: improve the way configDir is extracted, as a "storybook" script might not be present // Scenarios: // 1. user changed it to something else e.g. "storybook:dev" diff --git a/code/lib/telemetry/src/telemetry.test.ts b/code/core/src/telemetry/telemetry.test.ts similarity index 100% rename from code/lib/telemetry/src/telemetry.test.ts rename to code/core/src/telemetry/telemetry.test.ts diff --git a/code/lib/telemetry/src/telemetry.ts b/code/core/src/telemetry/telemetry.ts similarity index 98% rename from code/lib/telemetry/src/telemetry.ts rename to code/core/src/telemetry/telemetry.ts index 15899abbd323..d23142c6c40e 100644 --- a/code/lib/telemetry/src/telemetry.ts +++ b/code/core/src/telemetry/telemetry.ts @@ -11,7 +11,7 @@ import { getSessionId } from './session-id'; const URL = process.env.STORYBOOK_TELEMETRY_URL || 'https://storybook.js.org/event-log'; -const fetch = retry(originalFetch as any); +const fetch = retry(originalFetch); let tasks: Promise[] = []; diff --git a/code/lib/telemetry/src/types.ts b/code/core/src/telemetry/types.ts similarity index 98% rename from code/lib/telemetry/src/types.ts rename to code/core/src/telemetry/types.ts index c6372084c2c8..5bbcd3719bb1 100644 --- a/code/lib/telemetry/src/types.ts +++ b/code/core/src/telemetry/types.ts @@ -1,4 +1,4 @@ -import type { StorybookConfig, TypescriptOptions } from '@storybook/types'; +import type { StorybookConfig, TypescriptOptions } from '@storybook/core/dist/types'; import type { PM } from 'detect-package-manager'; import type { MonorepoType } from './get-monorepo-type'; diff --git a/code/core/src/test.ts b/code/core/src/test.ts new file mode 100644 index 000000000000..82c1d6914368 --- /dev/null +++ b/code/core/src/test.ts @@ -0,0 +1,3 @@ +export const noDTS = 3; + +export {}; diff --git a/code/lib/core-events/src/errors/preview-errors.test.ts b/code/core/src/tests/preview-errors.test.ts similarity index 94% rename from code/lib/core-events/src/errors/preview-errors.test.ts rename to code/core/src/tests/preview-errors.test.ts index fec373b143ee..bed672437ce9 100644 --- a/code/lib/core-events/src/errors/preview-errors.test.ts +++ b/code/core/src/tests/preview-errors.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import { UnknownArgTypesError } from './preview-errors'; +import { UnknownArgTypesError } from '../preview-errors'; describe('UnknownFlowArgTypesError', () => { it('should correctly handle error with convertSig', () => { diff --git a/code/lib/core-events/src/errors/server-errors.test.ts b/code/core/src/tests/server-errors.test.ts similarity index 89% rename from code/lib/core-events/src/errors/server-errors.test.ts rename to code/core/src/tests/server-errors.test.ts index 184323e0cdfd..e5a23d7054c5 100644 --- a/code/lib/core-events/src/errors/server-errors.test.ts +++ b/code/core/src/tests/server-errors.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import { WebpackCompilationError } from './server-errors'; +import { WebpackCompilationError } from '../server-errors'; describe('WebpackCompilationError', () => { it('should correctly handle error with stats.compilation.errors', () => { diff --git a/code/lib/core-events/src/errors/storybook-error.test.ts b/code/core/src/tests/storybook-error.test.ts similarity index 97% rename from code/lib/core-events/src/errors/storybook-error.test.ts rename to code/core/src/tests/storybook-error.test.ts index c448c96e7ee4..8a0c5c81f2af 100644 --- a/code/lib/core-events/src/errors/storybook-error.test.ts +++ b/code/core/src/tests/storybook-error.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import { StorybookError } from './storybook-error'; +import { StorybookError } from '../storybook-error'; describe('StorybookError', () => { class TestError extends StorybookError { diff --git a/code/lib/types/README.md b/code/core/src/types/README.md similarity index 100% rename from code/lib/types/README.md rename to code/core/src/types/README.md diff --git a/code/lib/types/src/index.ts b/code/core/src/types/index.ts similarity index 100% rename from code/lib/types/src/index.ts rename to code/core/src/types/index.ts diff --git a/code/lib/types/src/modules/addons.ts b/code/core/src/types/modules/addons.ts similarity index 98% rename from code/lib/types/src/modules/addons.ts rename to code/core/src/types/modules/addons.ts index c1325e3f07ec..d9ed79d9e4b5 100644 --- a/code/lib/types/src/modules/addons.ts +++ b/code/core/src/types/modules/addons.ts @@ -1,8 +1,8 @@ /* eslint-disable @typescript-eslint/naming-convention */ import type { FC, PropsWithChildren, ReactElement, ReactNode } from 'react'; -import type { RenderData as RouterData } from '../../../router/src/types'; -import type { ThemeVars } from '../../../theming/src/types'; +import type { RenderData as RouterData } from '../../router/types'; +import type { ThemeVars } from '../../../../lib/theming/src/types'; import type { API_SidebarOptions } from './api'; import type { Args, @@ -398,7 +398,7 @@ export interface Addon_PageType { * * If you want to render your component only when the URL matches, use the `Route` component. * @example - * import { Route } from '@storybook/router'; + * import { Route } from '@storybook/core/dist/router'; * * render: () => { * return ( diff --git a/code/lib/types/src/modules/api-stories.ts b/code/core/src/types/modules/api-stories.ts similarity index 100% rename from code/lib/types/src/modules/api-stories.ts rename to code/core/src/types/modules/api-stories.ts diff --git a/code/lib/types/src/modules/api.ts b/code/core/src/types/modules/api.ts similarity index 96% rename from code/lib/types/src/modules/api.ts rename to code/core/src/types/modules/api.ts index 481139e71792..d5233bd3a6a8 100644 --- a/code/lib/types/src/modules/api.ts +++ b/code/core/src/types/modules/api.ts @@ -1,9 +1,9 @@ /* eslint-disable @typescript-eslint/naming-convention */ import type { ReactElement } from 'react'; -import type { RenderData } from '../../../router/src/types'; -import type { Channel } from '../../../channels/src'; -import type { ThemeVars } from '../../../theming/src/types'; +import type { RenderData } from '../../router/types'; +import type { Channel } from '@storybook/core/dist/channels'; +import type { ThemeVars } from '../../../../lib/theming/src/types'; import type { DocsOptions } from './core-common'; import type { API_FilterFunction, API_HashEntry, API_IndexHash } from './api-stories'; import type { SetStoriesStory, SetStoriesStoryData } from './channelApi'; diff --git a/code/lib/types/src/modules/builder.ts b/code/core/src/types/modules/builder.ts similarity index 100% rename from code/lib/types/src/modules/builder.ts rename to code/core/src/types/modules/builder.ts diff --git a/code/lib/types/src/modules/channelApi.ts b/code/core/src/types/modules/channelApi.ts similarity index 100% rename from code/lib/types/src/modules/channelApi.ts rename to code/core/src/types/modules/channelApi.ts diff --git a/code/lib/types/src/modules/composedStory.ts b/code/core/src/types/modules/composedStory.ts similarity index 100% rename from code/lib/types/src/modules/composedStory.ts rename to code/core/src/types/modules/composedStory.ts diff --git a/code/lib/types/src/modules/core-common.ts b/code/core/src/types/modules/core-common.ts similarity index 99% rename from code/lib/types/src/modules/core-common.ts rename to code/core/src/types/modules/core-common.ts index c4aeeacbcf1f..d5c1b122ae48 100644 --- a/code/lib/types/src/modules/core-common.ts +++ b/code/core/src/types/modules/core-common.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ import type { FileSystemCache } from 'file-system-cache'; -import type { Options as TelejsonOptions } from 'telejson'; +import type * as telejson from 'telejson'; import type { Router } from 'express'; import type { Server } from 'http'; import type { PackageJson as PackageJsonFromTypeFest } from 'type-fest'; @@ -27,7 +27,7 @@ export interface CoreConfig { }; renderer?: RendererName; disableWebpackDefaults?: boolean; - channelOptions?: Partial; + channelOptions?: Partial; /** * Disables the generation of project.json, a file containing Storybook metadata */ diff --git a/code/lib/types/src/modules/csf.ts b/code/core/src/types/modules/csf.ts similarity index 100% rename from code/lib/types/src/modules/csf.ts rename to code/core/src/types/modules/csf.ts diff --git a/code/lib/types/src/modules/docs.ts b/code/core/src/types/modules/docs.ts similarity index 98% rename from code/lib/types/src/modules/docs.ts rename to code/core/src/types/modules/docs.ts index 4e8e1c2f3a7f..a679bd73521f 100644 --- a/code/lib/types/src/modules/docs.ts +++ b/code/core/src/types/modules/docs.ts @@ -1,4 +1,4 @@ -import type { Channel } from '@storybook/channels'; +import type { Channel } from '@storybook/core/dist/channels'; import type { Renderer, StoryContextForLoaders, StoryId, StoryName, Parameters } from './csf'; import type { ModuleExport, diff --git a/code/core/src/types/modules/frameworks.ts b/code/core/src/types/modules/frameworks.ts new file mode 100644 index 000000000000..49663f91cf5a --- /dev/null +++ b/code/core/src/types/modules/frameworks.ts @@ -0,0 +1,21 @@ +// auto generated file, do not edit +export type SupportedFrameworks = + | 'html-webpack5' + | 'svelte-vite' + | 'preact-webpack5' + | 'web-components-webpack5' + | 'react-webpack5' + | 'angular' + | 'vue3-vite' + | 'sveltekit' + | 'web-components-vite' + | 'react-vite' + | 'svelte-webpack5' + | 'ember' + | 'nextjs' + | 'preact-vite' + | 'vue3-webpack5' + | 'html-vite' + | 'server-webpack5' + | 'qwik' + | 'solid'; diff --git a/code/lib/types/src/modules/indexer.ts b/code/core/src/types/modules/indexer.ts similarity index 100% rename from code/lib/types/src/modules/indexer.ts rename to code/core/src/types/modules/indexer.ts diff --git a/code/lib/types/src/modules/renderers.ts b/code/core/src/types/modules/renderers.ts similarity index 100% rename from code/lib/types/src/modules/renderers.ts rename to code/core/src/types/modules/renderers.ts diff --git a/code/lib/types/src/modules/story.ts b/code/core/src/types/modules/story.ts similarity index 100% rename from code/lib/types/src/modules/story.ts rename to code/core/src/types/modules/story.ts diff --git a/code/core/src/typings.d.ts b/code/core/src/typings.d.ts new file mode 100644 index 000000000000..cd413cd84d90 --- /dev/null +++ b/code/core/src/typings.d.ts @@ -0,0 +1,65 @@ +/* eslint-disable no-underscore-dangle, @typescript-eslint/naming-convention */ + +declare var CONFIG_TYPE: 'DEVELOPMENT' | 'PRODUCTION'; +declare var FEATURES: import('./types/index.ts').StorybookConfigRaw['features']; +declare var LOGLEVEL: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent' | undefined; +declare var REFS: any; +declare var VERSIONCHECK: any; + +declare var STORYBOOK_ADDON_STATE: Record; +declare var STORYBOOK_BUILDER: string | undefined; +declare var STORYBOOK_FRAMEWORK: string | undefined; +declare var STORYBOOK_HOOKS_CONTEXT: any; +declare var STORYBOOK_RENDERER: string | undefined; + +declare var __STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__: any; +declare var __STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__: any; +declare var __STORYBOOK_ADDONS_CHANNEL__: any; +declare var __STORYBOOK_ADDONS_MANAGER: any; +declare var __STORYBOOK_ADDONS_PREVIEW: any; +declare var __STORYBOOK_PREVIEW__: import('./preview-api/modules/preview-web/PreviewWeb').PreviewWeb; +declare var __STORYBOOK_STORY_STORE__: any; + +declare module '@aw-web-design/x-default-browser'; +declare module '@storybook/manager/paths'; +declare module 'ansi-to-html'; +declare module 'better-opn'; +declare module 'lazy-universal-dotenv'; +declare module 'open'; +declare module 'pnp-webpack-plugin'; +// declare module 'detect-package-manager' { +// // copied from https://www.npmjs.com/package/detect-package-manager?activeTab=code +// // because +// declare type PM = 'npm' | 'yarn' | 'pnpm' | 'bun'; +// declare const detect: ({ +// cwd, +// includeGlobalBun, +// }?: { +// cwd?: string | undefined; +// includeGlobalBun?: boolean | undefined; +// }) => Promise; + +// declare function getNpmVersion(pm: PM): Promise; +// declare function clearCache(): void; + +// export { PM, clearCache, detect, getNpmVersion }; +// } + +declare var STORIES: any; + +declare var CHANNEL_OPTIONS: any; +declare var DOCS_OPTIONS: any; +declare var TAGS_OPTIONS: import('./types/index.ts').StorybookConfigRaw['tags']; + +// To enable user code to detect if it is running in Storybook +declare var IS_STORYBOOK: boolean; + +// ClientApi (and StoreStore) are really singletons. However they are not created until the +// relevant framework instantiates them via `start.js`. The good news is this happens right away. +declare var sendTelemetryError: (error: any) => void; + +declare class AnsiToHtml { + constructor(options: { escapeHtml: boolean }); + + toHtml: (ansi: string) => string; +} diff --git a/code/lib/preview-api/template/stories/argMapping.stories.ts b/code/core/template/stories/argMapping.stories.ts similarity index 97% rename from code/lib/preview-api/template/stories/argMapping.stories.ts rename to code/core/template/stories/argMapping.stories.ts index 11322e8b22d7..2f4c6b27145e 100644 --- a/code/lib/preview-api/template/stories/argMapping.stories.ts +++ b/code/core/template/stories/argMapping.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/core/dist/types'; import { within, expect } from '@storybook/test'; const arrows = { diff --git a/code/lib/preview-api/template/stories/argTypes.stories.ts b/code/core/template/stories/argTypes.stories.ts similarity index 98% rename from code/lib/preview-api/template/stories/argTypes.stories.ts rename to code/core/template/stories/argTypes.stories.ts index 3998ce68f8ad..3b64312647f9 100644 --- a/code/lib/preview-api/template/stories/argTypes.stories.ts +++ b/code/core/template/stories/argTypes.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/core/dist/types'; import { expect, within } from '@storybook/test'; export default { diff --git a/code/lib/preview-api/template/stories/args.stories.ts b/code/core/template/stories/args.stories.ts similarity index 98% rename from code/lib/preview-api/template/stories/args.stories.ts rename to code/core/template/stories/args.stories.ts index 68e601c350e6..d66ea821abed 100644 --- a/code/lib/preview-api/template/stories/args.stories.ts +++ b/code/core/template/stories/args.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/core/dist/types'; import { within, expect } from '@storybook/test'; import pick from 'lodash/pick'; import { STORY_ARGS_UPDATED, UPDATE_STORY_ARGS, RESET_STORY_ARGS } from '@storybook/core-events'; diff --git a/code/lib/preview-api/template/stories/autotitle.stories.ts b/code/core/template/stories/autotitle.stories.ts similarity index 82% rename from code/lib/preview-api/template/stories/autotitle.stories.ts rename to code/core/template/stories/autotitle.stories.ts index 6b96efbfb767..d44e01194b58 100644 --- a/code/lib/preview-api/template/stories/autotitle.stories.ts +++ b/code/core/template/stories/autotitle.stories.ts @@ -1,6 +1,6 @@ import { global as globalThis } from '@storybook/global'; import { expect } from '@storybook/test'; -import type { PlayFunctionContext } from '@storybook/types'; +import type { PlayFunctionContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/lib/preview-api/template/stories/component-play.stories.ts b/code/core/template/stories/component-play.stories.ts similarity index 95% rename from code/lib/preview-api/template/stories/component-play.stories.ts rename to code/core/template/stories/component-play.stories.ts index f4611d7219ce..4934645450fa 100644 --- a/code/lib/preview-api/template/stories/component-play.stories.ts +++ b/code/core/template/stories/component-play.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/core/dist/types'; import { within, expect } from '@storybook/test'; export default { diff --git a/code/lib/preview-api/template/stories/decorators.stories.ts b/code/core/template/stories/decorators.stories.ts similarity index 92% rename from code/lib/preview-api/template/stories/decorators.stories.ts rename to code/core/template/stories/decorators.stories.ts index 467f7245f383..ba7daf448412 100644 --- a/code/lib/preview-api/template/stories/decorators.stories.ts +++ b/code/core/template/stories/decorators.stories.ts @@ -4,9 +4,9 @@ import type { PartialStoryFn, PlayFunctionContext, StoryContext, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { within, expect } from '@storybook/test'; -import { useEffect } from '@storybook/preview-api'; +import { useEffect } from '@storybook/core/dist/preview-api'; import { STORY_ARGS_UPDATED, UPDATE_STORY_ARGS, RESET_STORY_ARGS } from '@storybook/core-events'; export default { @@ -14,14 +14,14 @@ export default { parameters: { useProjectDecorator: true }, decorators: [ (storyFn: PartialStoryFn, context: StoryContext) => - storyFn({ args: { ...context.args, text: `component ${context.args['text']}` } }), + storyFn({ args: { ...context.args, text: `component ${context.args.text}` } }), ], }; export const Inheritance = { decorators: [ (storyFn: PartialStoryFn, context: StoryContext) => - storyFn({ args: { ...context.args, text: `story ${context.args['text']}` } }), + storyFn({ args: { ...context.args, text: `story ${context.args.text}` } }), ], args: { text: 'starting', @@ -39,7 +39,7 @@ export const Hooks = { // decorator that uses hooks (storyFn: PartialStoryFn, context: StoryContext) => { useEffect(() => {}); - return storyFn({ args: { ...context.args, text: `story ${context.args['text']}` } }); + return storyFn({ args: { ...context.args, text: `story ${context.args.text}` } }); }, // conditional decorator, runs before the above (storyFn: PartialStoryFn, context: StoryContext) => diff --git a/code/lib/preview-api/template/stories/exportOrder.stories.ts b/code/core/template/stories/exportOrder.stories.ts similarity index 100% rename from code/lib/preview-api/template/stories/exportOrder.stories.ts rename to code/core/template/stories/exportOrder.stories.ts diff --git a/code/lib/preview-api/template/stories/global.d.ts b/code/core/template/stories/global.d.ts similarity index 100% rename from code/lib/preview-api/template/stories/global.d.ts rename to code/core/template/stories/global.d.ts diff --git a/code/lib/preview-api/template/stories/globals.stories.ts b/code/core/template/stories/globals.stories.ts similarity index 94% rename from code/lib/preview-api/template/stories/globals.stories.ts rename to code/core/template/stories/globals.stories.ts index 8e49f4b0095d..2cb9a5fd6335 100644 --- a/code/lib/preview-api/template/stories/globals.stories.ts +++ b/code/core/template/stories/globals.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/core/dist/types'; import { within, expect } from '@storybook/test'; export default { @@ -25,7 +25,7 @@ export const Events = { // Just pass the "foo" global to the pre decorators: [ (storyFn: PartialStoryFn, context: StoryContext) => - storyFn({ args: { text: context.globals['foo'] } }), + storyFn({ args: { text: context.globals.foo } }), ], play: async ({ canvasElement }: PlayFunctionContext) => { const channel = globalThis.__STORYBOOK_ADDONS_CHANNEL__; diff --git a/code/lib/preview-api/template/stories/hooks.stories.ts b/code/core/template/stories/hooks.stories.ts similarity index 93% rename from code/lib/preview-api/template/stories/hooks.stories.ts rename to code/core/template/stories/hooks.stories.ts index b2c31429359e..f5288502f4a6 100644 --- a/code/lib/preview-api/template/stories/hooks.stories.ts +++ b/code/core/template/stories/hooks.stories.ts @@ -1,6 +1,6 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, PlayFunctionContext } from '@storybook/types'; -import { useEffect, useState } from '@storybook/preview-api'; +import type { PartialStoryFn, PlayFunctionContext } from '@storybook/core/dist/types'; +import { useEffect, useState } from '@storybook/core/dist/preview-api'; import { within, userEvent } from '@storybook/test'; export default { diff --git a/code/lib/preview-api/template/stories/import.js b/code/core/template/stories/import.js similarity index 100% rename from code/lib/preview-api/template/stories/import.js rename to code/core/template/stories/import.js diff --git a/code/lib/preview-api/template/stories/indexer.stories.ts b/code/core/template/stories/indexer.stories.ts similarity index 89% rename from code/lib/preview-api/template/stories/indexer.stories.ts rename to code/core/template/stories/indexer.stories.ts index 1bddb814bf80..4a0c5f51028d 100644 --- a/code/lib/preview-api/template/stories/indexer.stories.ts +++ b/code/core/template/stories/indexer.stories.ts @@ -1,6 +1,6 @@ import { expect } from '@storybook/test'; import { global as globalThis } from '@storybook/global'; -import type { PlayFunctionContext } from '@storybook/types'; +import type { PlayFunctionContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/lib/preview-api/template/stories/interleavedExports.stories.ts b/code/core/template/stories/interleavedExports.stories.ts similarity index 100% rename from code/lib/preview-api/template/stories/interleavedExports.stories.ts rename to code/core/template/stories/interleavedExports.stories.ts diff --git a/code/lib/preview-api/template/stories/layout.stories.ts b/code/core/template/stories/layout.stories.ts similarity index 100% rename from code/lib/preview-api/template/stories/layout.stories.ts rename to code/core/template/stories/layout.stories.ts diff --git a/code/lib/preview-api/template/stories/loaders.stories.ts b/code/core/template/stories/loaders.stories.ts similarity index 96% rename from code/lib/preview-api/template/stories/loaders.stories.ts rename to code/core/template/stories/loaders.stories.ts index dadb82a236f2..f4048d8f8313 100644 --- a/code/lib/preview-api/template/stories/loaders.stories.ts +++ b/code/core/template/stories/loaders.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/core/dist/types'; import { within, expect } from '@storybook/test'; export default { diff --git a/code/lib/preview-api/template/stories/names.stories.ts b/code/core/template/stories/names.stories.ts similarity index 89% rename from code/lib/preview-api/template/stories/names.stories.ts rename to code/core/template/stories/names.stories.ts index 1740c8744f1b..61fbb57e7340 100644 --- a/code/lib/preview-api/template/stories/names.stories.ts +++ b/code/core/template/stories/names.stories.ts @@ -1,6 +1,6 @@ import { global as globalThis } from '@storybook/global'; import { expect } from '@storybook/test'; -import type { PlayFunctionContext } from '@storybook/types'; +import type { PlayFunctionContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/lib/preview-api/template/stories/parameters.stories.ts b/code/core/template/stories/parameters.stories.ts similarity index 97% rename from code/lib/preview-api/template/stories/parameters.stories.ts rename to code/core/template/stories/parameters.stories.ts index 06e9b94ae84b..e9f3a5bbe8c5 100644 --- a/code/lib/preview-api/template/stories/parameters.stories.ts +++ b/code/core/template/stories/parameters.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/core/dist/types'; import { within, expect } from '@storybook/test'; export default { diff --git a/code/lib/preview-api/template/stories/preview.ts b/code/core/template/stories/preview.ts similarity index 82% rename from code/lib/preview-api/template/stories/preview.ts rename to code/core/template/stories/preview.ts index edd7ad4ba335..c55a1103e2cd 100644 --- a/code/lib/preview-api/template/stories/preview.ts +++ b/code/core/template/stories/preview.ts @@ -1,4 +1,4 @@ -import type { PartialStoryFn, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, StoryContext } from '@storybook/core/dist/types'; export const parameters = { projectParameter: 'projectParameter', @@ -13,7 +13,7 @@ export const loaders = [async () => ({ projectValue: 2 })]; export const decorators = [ (storyFn: PartialStoryFn, context: StoryContext) => { - if (context.parameters['useProjectDecorator']) + if (context.parameters.useProjectDecorator) return storyFn({ args: { ...context.args, text: `project ${context.args.text}` } }); return storyFn(); }, diff --git a/code/lib/preview-api/template/stories/rendering.stories.ts b/code/core/template/stories/rendering.stories.ts similarity index 98% rename from code/lib/preview-api/template/stories/rendering.stories.ts rename to code/core/template/stories/rendering.stories.ts index aa521c6fed91..56c3fb0a4bb9 100644 --- a/code/lib/preview-api/template/stories/rendering.stories.ts +++ b/code/core/template/stories/rendering.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PlayFunctionContext } from '@storybook/types'; +import type { PlayFunctionContext } from '@storybook/core/dist/types'; import { within, waitFor, expect } from '@storybook/test'; import { FORCE_REMOUNT, diff --git a/code/lib/preview-api/template/stories/shortcuts.stories.ts b/code/core/template/stories/shortcuts.stories.ts similarity index 100% rename from code/lib/preview-api/template/stories/shortcuts.stories.ts rename to code/core/template/stories/shortcuts.stories.ts diff --git a/code/lib/preview-api/template/stories/tags.stories.ts b/code/core/template/stories/tags.stories.ts similarity index 96% rename from code/lib/preview-api/template/stories/tags.stories.ts rename to code/core/template/stories/tags.stories.ts index 61ffe8811429..c8e4c37a264c 100644 --- a/code/lib/preview-api/template/stories/tags.stories.ts +++ b/code/core/template/stories/tags.stories.ts @@ -1,5 +1,5 @@ import { global as globalThis } from '@storybook/global'; -import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/types'; +import type { PartialStoryFn, PlayFunctionContext, StoryContext } from '@storybook/core/dist/types'; import { within, expect } from '@storybook/test'; export default { diff --git a/code/lib/preview-api/template/stories/test-only-tag.stories.ts b/code/core/template/stories/test-only-tag.stories.ts similarity index 100% rename from code/lib/preview-api/template/stories/test-only-tag.stories.ts rename to code/core/template/stories/test-only-tag.stories.ts diff --git a/code/lib/preview-api/template/stories/title.stories.ts b/code/core/template/stories/title.stories.ts similarity index 83% rename from code/lib/preview-api/template/stories/title.stories.ts rename to code/core/template/stories/title.stories.ts index 50ede5cc39be..ae65e39d2d31 100644 --- a/code/lib/preview-api/template/stories/title.stories.ts +++ b/code/core/template/stories/title.stories.ts @@ -1,6 +1,6 @@ import { global as globalThis } from '@storybook/global'; import { expect } from '@storybook/test'; -import type { PlayFunctionContext } from '@storybook/types'; +import type { PlayFunctionContext } from '@storybook/core/dist/types'; export default { component: globalThis.Components.Pre, diff --git a/code/lib/preview-api/template/stories/unicode.stories.ts b/code/core/template/stories/unicode.stories.ts similarity index 100% rename from code/lib/preview-api/template/stories/unicode.stories.ts rename to code/core/template/stories/unicode.stories.ts diff --git a/code/core/tsconfig.build.json b/code/core/tsconfig.build.json new file mode 100644 index 000000000000..7f0e2a8bf6f6 --- /dev/null +++ b/code/core/tsconfig.build.json @@ -0,0 +1,13 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "skipLibCheck": true, + "strict": true, + "skipDefaultLibCheck": true, + "moduleResolution": "Bundler", + "resolveJsonModule":true, + "target": "ES2022", + "module": "ES2022" + }, + "include": ["src/**/*"], +} diff --git a/code/core/tsconfig.check.json b/code/core/tsconfig.check.json new file mode 100644 index 000000000000..91a2ee6744ba --- /dev/null +++ b/code/core/tsconfig.check.json @@ -0,0 +1,13 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "skipLibCheck": true, + "strict": true, + "skipDefaultLibCheck": true, + "moduleResolution": "Bundler", + "resolveJsonModule": true, + "target": "ES2022", + "module": "ES2022" + }, + "include": ["src/**/*", "*.d.ts"] +} diff --git a/code/core/tsconfig.json b/code/core/tsconfig.json new file mode 100644 index 000000000000..abdc7834b511 --- /dev/null +++ b/code/core/tsconfig.json @@ -0,0 +1,13 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "skipLibCheck": true, + "strict": true, + "skipDefaultLibCheck": true, + "moduleResolution": "Bundler", + "resolveJsonModule": true, + "target": "ES2022", + "module": "ES2022" + }, + "include": ["src/**/*", "scripts/**/*", "*.d.ts"] +} diff --git a/code/lib/channels/vitest.config.ts b/code/core/vitest.config.ts similarity index 74% rename from code/lib/channels/vitest.config.ts rename to code/core/vitest.config.ts index 86a9dd454025..a773dc9aa8f7 100644 --- a/code/lib/channels/vitest.config.ts +++ b/code/core/vitest.config.ts @@ -1,5 +1,5 @@ import { defineConfig, mergeConfig } from 'vitest/config'; -import { vitestCommonConfig } from '../../vitest.workspace'; +import { vitestCommonConfig } from '../vitest.workspace'; export default mergeConfig( vitestCommonConfig, diff --git a/code/lib/core-common/vitest.d.ts b/code/core/vitest.d.ts similarity index 100% rename from code/lib/core-common/vitest.d.ts rename to code/core/vitest.d.ts diff --git a/code/deprecated/channels/package.json b/code/deprecated/channels/package.json new file mode 100644 index 000000000000..e66a6e345297 --- /dev/null +++ b/code/deprecated/channels/package.json @@ -0,0 +1,47 @@ +{ + "name": "@storybook/channels", + "version": "8.1.0-alpha.7", + "description": "", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/channels", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/channels" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "sideEffects": false, + "exports": { + ".": { + "types": "./shim.d.ts", + "require": "./shim.js", + "import": "./shim.mjs" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "module": "./shim.mjs", + "types": "./shim.d.ts", + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/channels/shim.d.ts b/code/deprecated/channels/shim.d.ts new file mode 100644 index 000000000000..af7b25e3bcf4 --- /dev/null +++ b/code/deprecated/channels/shim.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/channels'; diff --git a/code/deprecated/channels/shim.js b/code/deprecated/channels/shim.js new file mode 100644 index 000000000000..8e8ca3f82591 --- /dev/null +++ b/code/deprecated/channels/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/channels'); diff --git a/code/deprecated/channels/shim.mjs b/code/deprecated/channels/shim.mjs new file mode 100644 index 000000000000..af7b25e3bcf4 --- /dev/null +++ b/code/deprecated/channels/shim.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/channels'; diff --git a/code/deprecated/client-logger/package.json b/code/deprecated/client-logger/package.json new file mode 100644 index 000000000000..bdf0174dab50 --- /dev/null +++ b/code/deprecated/client-logger/package.json @@ -0,0 +1,47 @@ +{ + "name": "@storybook/client-logger", + "version": "8.1.0-alpha.7", + "description": "", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/client-logger", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/client-logger" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "sideEffects": false, + "exports": { + ".": { + "types": "./shim.d.ts", + "require": "./shim.js", + "import": "./shim.mjs" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "module": "./shim.mjs", + "types": "./shim.d.ts", + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/client-logger/shim.d.ts b/code/deprecated/client-logger/shim.d.ts new file mode 100644 index 000000000000..8d19d959015a --- /dev/null +++ b/code/deprecated/client-logger/shim.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/core-events'; diff --git a/code/deprecated/client-logger/shim.js b/code/deprecated/client-logger/shim.js new file mode 100644 index 000000000000..0e561b46be75 --- /dev/null +++ b/code/deprecated/client-logger/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/client-logger'); diff --git a/code/deprecated/client-logger/shim.mjs b/code/deprecated/client-logger/shim.mjs new file mode 100644 index 000000000000..41ac5a0d2659 --- /dev/null +++ b/code/deprecated/client-logger/shim.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/client-logger'; diff --git a/code/deprecated/core-common/package.json b/code/deprecated/core-common/package.json new file mode 100644 index 000000000000..a943ac7320b7 --- /dev/null +++ b/code/deprecated/core-common/package.json @@ -0,0 +1,46 @@ +{ + "name": "@storybook/core-common", + "version": "8.1.0-alpha.7", + "description": "Storybook framework-agnostic API", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/core-common", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/core-common" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "exports": { + ".": { + "types": "./shim.d.ts", + "require": "./shim.js", + "import": "./shim.mjs" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "module": "./shim.mjs", + "types": "./shim.d.ts", + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/core-common/shim.d.ts b/code/deprecated/core-common/shim.d.ts new file mode 100644 index 000000000000..685af122cc2c --- /dev/null +++ b/code/deprecated/core-common/shim.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/common'; diff --git a/code/deprecated/core-common/shim.js b/code/deprecated/core-common/shim.js new file mode 100644 index 000000000000..eb5d9a0492fe --- /dev/null +++ b/code/deprecated/core-common/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/common'); diff --git a/code/deprecated/core-common/shim.mjs b/code/deprecated/core-common/shim.mjs new file mode 100644 index 000000000000..685af122cc2c --- /dev/null +++ b/code/deprecated/core-common/shim.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/common'; diff --git a/code/deprecated/core-events/manager-errors.d.ts b/code/deprecated/core-events/manager-errors.d.ts new file mode 100644 index 000000000000..d24180cb7ead --- /dev/null +++ b/code/deprecated/core-events/manager-errors.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/manager-errors'; diff --git a/code/lib/core-events/manager-errors.js b/code/deprecated/core-events/manager-errors.js similarity index 85% rename from code/lib/core-events/manager-errors.js rename to code/deprecated/core-events/manager-errors.js index f94cf725de3c..6bf6c27d6e0e 100644 --- a/code/lib/core-events/manager-errors.js +++ b/code/deprecated/core-events/manager-errors.js @@ -3,4 +3,4 @@ // An error like this will occur: // ENOENT: no such file or directory, open '/xyz/node_modules/@storybook/core-events/manager-errors.js' // https://github.com/storybookjs/storybook/pull/24038#issuecomment-1704684432 -module.exports = require('./dist/errors/manager-errors'); +module.exports = require('@storybook/core/dist/manager-errors'); diff --git a/code/deprecated/core-events/manager-errors.mjs b/code/deprecated/core-events/manager-errors.mjs new file mode 100644 index 000000000000..d24180cb7ead --- /dev/null +++ b/code/deprecated/core-events/manager-errors.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/manager-errors'; diff --git a/code/deprecated/core-events/package.json b/code/deprecated/core-events/package.json new file mode 100644 index 000000000000..1246a368a6fb --- /dev/null +++ b/code/deprecated/core-events/package.json @@ -0,0 +1,78 @@ +{ + "name": "@storybook/core-events", + "version": "8.1.0-alpha.7", + "description": "Event names used in storybook core", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/core-events", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/core-events" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "sideEffects": false, + "exports": { + ".": { + "types": "./shim.d.ts", + "require": "./shim.js", + "import": "./shim.mjs" + }, + "./preview-errors": { + "types": "./preview-errors.d.ts", + "require": "./preview-errors.js", + "import": "./preview-errors.mjs" + }, + "./manager-errors": { + "types": "./manager-errors.d.ts", + "require": "./manager-errors.js", + "import": "./manager-errors.mjs" + }, + "./server-errors": { + "types": "./server-errors.d.ts", + "require": "./server-errors.js", + "import": "./server-errors.mjs" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "module": "./shim.mjs", + "types": "./shim.d.ts", + "typesVersions": { + "*": { + "*": [ + "./shim.d.ts" + ], + "preview-errors": [ + "./preview-errors.d.ts" + ], + "manager-errors": [ + "./manager-errors.d.ts" + ], + "server-errors": [ + "./server-errors.d.ts" + ] + } + }, + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/core-events/preview-errors.d.ts b/code/deprecated/core-events/preview-errors.d.ts new file mode 100644 index 000000000000..6ecb4eab36e7 --- /dev/null +++ b/code/deprecated/core-events/preview-errors.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/preview-errors'; diff --git a/code/lib/core-events/preview-errors.js b/code/deprecated/core-events/preview-errors.js similarity index 85% rename from code/lib/core-events/preview-errors.js rename to code/deprecated/core-events/preview-errors.js index 1a144b6c7e20..935365b7398f 100644 --- a/code/lib/core-events/preview-errors.js +++ b/code/deprecated/core-events/preview-errors.js @@ -3,4 +3,4 @@ // An error like this will occur: // ENOENT: no such file or directory, open '/xyz/node_modules/@storybook/core-events/preview-errors.js' // https://github.com/storybookjs/storybook/pull/24038#issuecomment-1704684432 -module.exports = require('./dist/errors/preview-errors'); +module.exports = require('@storybook/core/dist/preview-errors'); diff --git a/code/deprecated/core-events/preview-errors.mjs b/code/deprecated/core-events/preview-errors.mjs new file mode 100644 index 000000000000..6ecb4eab36e7 --- /dev/null +++ b/code/deprecated/core-events/preview-errors.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/preview-errors'; diff --git a/code/deprecated/core-events/server-errors.d.ts b/code/deprecated/core-events/server-errors.d.ts new file mode 100644 index 000000000000..c202ea448257 --- /dev/null +++ b/code/deprecated/core-events/server-errors.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/server-errors'; diff --git a/code/lib/core-events/server-errors.js b/code/deprecated/core-events/server-errors.js similarity index 86% rename from code/lib/core-events/server-errors.js rename to code/deprecated/core-events/server-errors.js index 6aa7a95fd223..e3856cf823b2 100644 --- a/code/lib/core-events/server-errors.js +++ b/code/deprecated/core-events/server-errors.js @@ -3,4 +3,4 @@ // An error like this will occur: // ENOENT: no such file or directory, open '/xyz/node_modules/@storybook/core-events/server-errors.js' // https://github.com/storybookjs/storybook/pull/24038#issuecomment-1704684432 -module.exports = require('./dist/errors/server-errors'); +module.exports = require('@storybook/core/dist/server-errors'); diff --git a/code/deprecated/core-events/server-errors.mjs b/code/deprecated/core-events/server-errors.mjs new file mode 100644 index 000000000000..c202ea448257 --- /dev/null +++ b/code/deprecated/core-events/server-errors.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/server-errors'; diff --git a/code/deprecated/core-events/shim.d.ts b/code/deprecated/core-events/shim.d.ts new file mode 100644 index 000000000000..8d19d959015a --- /dev/null +++ b/code/deprecated/core-events/shim.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/core-events'; diff --git a/code/deprecated/core-events/shim.js b/code/deprecated/core-events/shim.js new file mode 100644 index 000000000000..a4e01a1e1249 --- /dev/null +++ b/code/deprecated/core-events/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/core-events'); diff --git a/code/deprecated/core-events/shim.mjs b/code/deprecated/core-events/shim.mjs new file mode 100644 index 000000000000..8d19d959015a --- /dev/null +++ b/code/deprecated/core-events/shim.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/core-events'; diff --git a/code/deprecated/csf-tools/package.json b/code/deprecated/csf-tools/package.json new file mode 100644 index 000000000000..b9292ae3191c --- /dev/null +++ b/code/deprecated/csf-tools/package.json @@ -0,0 +1,46 @@ +{ + "name": "@storybook/csf-tools", + "version": "8.1.0-alpha.7", + "description": "Parse and manipulate CSF and Storybook config files", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/csf-tools", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/csf-tools" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "sideEffects": false, + "exports": { + ".": { + "types": "./shim.d.ts", + "node": "./shim.js", + "require": "./shim.js" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "types": "./shim.d.ts", + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/csf-tools/shim.d.ts b/code/deprecated/csf-tools/shim.d.ts new file mode 100644 index 000000000000..c5bf7d687806 --- /dev/null +++ b/code/deprecated/csf-tools/shim.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/csf-tools'; diff --git a/code/deprecated/csf-tools/shim.js b/code/deprecated/csf-tools/shim.js new file mode 100644 index 000000000000..1cb66b268735 --- /dev/null +++ b/code/deprecated/csf-tools/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/csf-tools'); diff --git a/code/deprecated/csf-tools/shim.mjs b/code/deprecated/csf-tools/shim.mjs new file mode 100644 index 000000000000..c5bf7d687806 --- /dev/null +++ b/code/deprecated/csf-tools/shim.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/csf-tools'; diff --git a/code/deprecated/instrumenter/package.json b/code/deprecated/instrumenter/package.json new file mode 100644 index 000000000000..e9dfdc9e523c --- /dev/null +++ b/code/deprecated/instrumenter/package.json @@ -0,0 +1,48 @@ +{ + "name": "@storybook/instrumenter", + "version": "8.1.0-alpha.7", + "description": "", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/instrumenter", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/instrumenter" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "sideEffects": false, + "exports": { + ".": { + "types": "./shim.d.ts", + "node": "./shim.js", + "require": "./shim.js", + "import": "./shim.mjs" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "module": "./shim.mjs", + "types": "./shim.d.ts", + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/instrumenter/shim.d.ts b/code/deprecated/instrumenter/shim.d.ts new file mode 100644 index 000000000000..32a77f783f8b --- /dev/null +++ b/code/deprecated/instrumenter/shim.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/instrumenter'; diff --git a/code/deprecated/instrumenter/shim.js b/code/deprecated/instrumenter/shim.js new file mode 100644 index 000000000000..5d5baad10f28 --- /dev/null +++ b/code/deprecated/instrumenter/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/instrumenter'); diff --git a/code/deprecated/instrumenter/shim.mjs b/code/deprecated/instrumenter/shim.mjs new file mode 100644 index 000000000000..32a77f783f8b --- /dev/null +++ b/code/deprecated/instrumenter/shim.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/instrumenter'; diff --git a/code/deprecated/node-logger/package.json b/code/deprecated/node-logger/package.json new file mode 100644 index 000000000000..ac6dfc082605 --- /dev/null +++ b/code/deprecated/node-logger/package.json @@ -0,0 +1,45 @@ +{ + "name": "@storybook/node-logger", + "version": "8.1.0-alpha.7", + "description": "", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/node-logger", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/node-logger" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "sideEffects": false, + "exports": { + ".": { + "types": "./shim.d.ts", + "require": "./shim.js" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "types": "./shim.d.ts", + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/node-logger/shim.d.ts b/code/deprecated/node-logger/shim.d.ts new file mode 100644 index 000000000000..8ac15bd0b73e --- /dev/null +++ b/code/deprecated/node-logger/shim.d.ts @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/node-logger'); diff --git a/code/deprecated/node-logger/shim.js b/code/deprecated/node-logger/shim.js new file mode 100644 index 000000000000..8ac15bd0b73e --- /dev/null +++ b/code/deprecated/node-logger/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/node-logger'); diff --git a/code/deprecated/preview-api/package.json b/code/deprecated/preview-api/package.json new file mode 100644 index 000000000000..73250f98e764 --- /dev/null +++ b/code/deprecated/preview-api/package.json @@ -0,0 +1,48 @@ +{ + "name": "@storybook/preview-api", + "version": "8.1.0-alpha.7", + "description": "", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/preview-api", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/preview-api" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "sideEffects": false, + "exports": { + ".": { + "types": "./shim.d.ts", + "import": "./shim.mjs", + "require": "./shim.js" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "module": "./shim.mjs", + "react-native": "./shim.mjs", + "types": "./shim.d.ts", + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/preview-api/shim.d.ts b/code/deprecated/preview-api/shim.d.ts new file mode 100644 index 000000000000..194994ddcdf1 --- /dev/null +++ b/code/deprecated/preview-api/shim.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/preview-api'; diff --git a/code/deprecated/preview-api/shim.js b/code/deprecated/preview-api/shim.js new file mode 100644 index 000000000000..b12424637079 --- /dev/null +++ b/code/deprecated/preview-api/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/preview-api'); diff --git a/code/deprecated/preview-api/shim.mjs b/code/deprecated/preview-api/shim.mjs new file mode 100644 index 000000000000..194994ddcdf1 --- /dev/null +++ b/code/deprecated/preview-api/shim.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/preview-api'; diff --git a/code/deprecated/router/package.json b/code/deprecated/router/package.json new file mode 100644 index 000000000000..fa48a7f1e9c5 --- /dev/null +++ b/code/deprecated/router/package.json @@ -0,0 +1,53 @@ +{ + "name": "@storybook/router", + "version": "8.1.0-alpha.7", + "description": "Core Storybook Router", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/router", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/router" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "sideEffects": false, + "exports": { + ".": { + "types": "./shim.d.ts", + "node": "./shim.js", + "require": "./shim.js", + "import": "./shim.mjs" + }, + "./utils": { + "types": "./utils.d.ts", + "require": "./utils.js", + "import": "./shim.mjs" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "module": "./shim.mjs", + "types": "./shim.d.ts", + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/router/shim.d.ts b/code/deprecated/router/shim.d.ts new file mode 100644 index 000000000000..e60febc3f936 --- /dev/null +++ b/code/deprecated/router/shim.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/router'; diff --git a/code/deprecated/router/shim.js b/code/deprecated/router/shim.js new file mode 100644 index 000000000000..f15e0e6adcac --- /dev/null +++ b/code/deprecated/router/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/router'); diff --git a/code/deprecated/router/shim.mjs b/code/deprecated/router/shim.mjs new file mode 100644 index 000000000000..e60febc3f936 --- /dev/null +++ b/code/deprecated/router/shim.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/router'; diff --git a/code/lib/router/utils.d.ts b/code/deprecated/router/utils.d.ts similarity index 100% rename from code/lib/router/utils.d.ts rename to code/deprecated/router/utils.d.ts diff --git a/code/deprecated/router/utils.js b/code/deprecated/router/utils.js new file mode 100644 index 000000000000..e60febc3f936 --- /dev/null +++ b/code/deprecated/router/utils.js @@ -0,0 +1 @@ +export * from '@storybook/core/dist/router'; diff --git a/code/deprecated/telemetry/package.json b/code/deprecated/telemetry/package.json new file mode 100644 index 000000000000..273b88e5fa2a --- /dev/null +++ b/code/deprecated/telemetry/package.json @@ -0,0 +1,47 @@ +{ + "name": "@storybook/telemetry", + "version": "8.1.0-alpha.7", + "description": "Telemetry logging for crash reports and usage statistics", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/telemetry", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/telemetry" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "sideEffects": false, + "exports": { + ".": { + "types": "./shim.d.ts", + "require": "./shim.js", + "import": "./shim.mjs" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "module": "./shim.mjs", + "types": "./shim.d.ts", + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/telemetry/shim.d.ts b/code/deprecated/telemetry/shim.d.ts new file mode 100644 index 000000000000..2d8a9772a9a0 --- /dev/null +++ b/code/deprecated/telemetry/shim.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/telemetry'; diff --git a/code/deprecated/telemetry/shim.js b/code/deprecated/telemetry/shim.js new file mode 100644 index 000000000000..1cb66b268735 --- /dev/null +++ b/code/deprecated/telemetry/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/csf-tools'); diff --git a/code/deprecated/telemetry/shim.mjs b/code/deprecated/telemetry/shim.mjs new file mode 100644 index 000000000000..c5bf7d687806 --- /dev/null +++ b/code/deprecated/telemetry/shim.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/csf-tools'; diff --git a/code/deprecated/types/package.json b/code/deprecated/types/package.json new file mode 100644 index 000000000000..b24d663d8ec9 --- /dev/null +++ b/code/deprecated/types/package.json @@ -0,0 +1,47 @@ +{ + "name": "@storybook/types", + "version": "8.1.0-alpha.7", + "description": "Core Storybook TS Types", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/types", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/types" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "sideEffects": false, + "exports": { + ".": { + "types": "./shim.d.ts", + "require": "./shim.js", + "import": "./shim.mjs" + }, + "./package.json": "./package.json" + }, + "main": "./shim.js", + "module": "./shim.mjs", + "types": "./shim.d.ts", + "files": [ + "README.md", + "*.js", + "*.mjs", + "*.cjs", + "*.d.ts" + ], + "peerDependencies": { + "@storybook/core": "*" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/code/deprecated/types/shim.d.ts b/code/deprecated/types/shim.d.ts new file mode 100644 index 000000000000..846577a2a5bc --- /dev/null +++ b/code/deprecated/types/shim.d.ts @@ -0,0 +1 @@ +export * from '@storybook/core/dist/types'; diff --git a/code/deprecated/types/shim.js b/code/deprecated/types/shim.js new file mode 100644 index 000000000000..e5af50944b0f --- /dev/null +++ b/code/deprecated/types/shim.js @@ -0,0 +1 @@ +module.exports = require('@storybook/core/dist/types'); diff --git a/code/deprecated/types/shim.mjs b/code/deprecated/types/shim.mjs new file mode 100644 index 000000000000..846577a2a5bc --- /dev/null +++ b/code/deprecated/types/shim.mjs @@ -0,0 +1 @@ +export * from '@storybook/core/dist/types'; diff --git a/code/frameworks/angular/package.json b/code/frameworks/angular/package.json index 6e6317037950..c54a4ed0b928 100644 --- a/code/frameworks/angular/package.json +++ b/code/frameworks/angular/package.json @@ -38,17 +38,10 @@ }, "dependencies": { "@storybook/builder-webpack5": "workspace:*", - "@storybook/client-logger": "workspace:*", - "@storybook/core-common": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/core-server": "workspace:*", "@storybook/core-webpack": "workspace:*", "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", - "@storybook/node-logger": "workspace:*", - "@storybook/preview-api": "workspace:*", - "@storybook/telemetry": "workspace:*", - "@storybook/types": "workspace:*", "@types/node": "^18.0.0", "@types/react": "^18.0.37", "@types/react-dom": "^18.0.11", @@ -98,6 +91,7 @@ "@angular/forms": ">=15.0.0 < 18.0.0", "@angular/platform-browser": ">=15.0.0 < 18.0.0", "@angular/platform-browser-dynamic": ">=15.0.0 < 18.0.0", + "@storybook/core": "workspace:*", "rxjs": "^6.0.0 || ^7.4.0", "typescript": "^4.0.0 || ^5.0.0", "zone.js": ">= 0.11.1 < 1.0.0" diff --git a/code/frameworks/angular/src/builders/build-storybook/index.spec.ts b/code/frameworks/angular/src/builders/build-storybook/index.spec.ts index 3c8960195611..fb0245ce401d 100644 --- a/code/frameworks/angular/src/builders/build-storybook/index.spec.ts +++ b/code/frameworks/angular/src/builders/build-storybook/index.spec.ts @@ -19,7 +19,7 @@ const buildMock = { }; vi.doMock('@storybook/core-server', () => buildMock); -vi.doMock('@storybook/core-common', () => ({ +vi.doMock('@storybook/core/dist/common', () => ({ JsPackageManagerFactory: { getPackageManager: () => ({ runPackageCommand: mockRunScript, diff --git a/code/frameworks/angular/src/builders/build-storybook/index.ts b/code/frameworks/angular/src/builders/build-storybook/index.ts index 25f7faeb5268..cec945c6a5af 100644 --- a/code/frameworks/angular/src/builders/build-storybook/index.ts +++ b/code/frameworks/angular/src/builders/build-storybook/index.ts @@ -14,9 +14,9 @@ import { sync as findUpSync } from 'find-up'; import { sync as readUpSync } from 'read-pkg-up'; import { BrowserBuilderOptions, StylePreprocessorOptions } from '@angular-devkit/build-angular'; -import { CLIOptions } from '@storybook/types'; -import { getEnvConfig, versions } from '@storybook/core-common'; -import { addToGlobalContext } from '@storybook/telemetry'; +import { CLIOptions } from '@storybook/core/dist/types'; +import { getEnvConfig, versions } from '@storybook/core/dist/common'; +import { addToGlobalContext } from '@storybook/core/dist/telemetry'; import { buildStaticStandalone, withTelemetry } from '@storybook/core-server'; import { diff --git a/code/frameworks/angular/src/builders/start-storybook/index.spec.ts b/code/frameworks/angular/src/builders/start-storybook/index.spec.ts index f37547bcf3dd..c8ae36d1109b 100644 --- a/code/frameworks/angular/src/builders/start-storybook/index.spec.ts +++ b/code/frameworks/angular/src/builders/start-storybook/index.spec.ts @@ -21,7 +21,7 @@ vi.doMock('find-up', () => ({ sync: () => './storybook/tsconfig.ts' })); const mockRunScript = vi.fn(); -vi.mock('@storybook/core-common', () => ({ +vi.mock('@storybook/core/dist/common', () => ({ getEnvConfig: (options: any) => options, versions: { storybook: 'x.x.x', diff --git a/code/frameworks/angular/src/builders/start-storybook/index.ts b/code/frameworks/angular/src/builders/start-storybook/index.ts index 2ecbb63c8a0f..89e839c57652 100644 --- a/code/frameworks/angular/src/builders/start-storybook/index.ts +++ b/code/frameworks/angular/src/builders/start-storybook/index.ts @@ -13,9 +13,9 @@ import { map, switchMap, mapTo } from 'rxjs/operators'; import { sync as findUpSync } from 'find-up'; import { sync as readUpSync } from 'read-pkg-up'; -import { CLIOptions } from '@storybook/types'; -import { getEnvConfig, versions } from '@storybook/core-common'; -import { addToGlobalContext } from '@storybook/telemetry'; +import { CLIOptions } from '@storybook/core/dist/types'; +import { getEnvConfig, versions } from '@storybook/core/dist/common'; +import { addToGlobalContext } from '@storybook/core/dist/telemetry'; import { buildDevStandalone, withTelemetry } from '@storybook/core-server'; import { AssetPattern, diff --git a/code/frameworks/angular/src/builders/utils/error-handler.ts b/code/frameworks/angular/src/builders/utils/error-handler.ts index f2ff150495cf..9a71992d9f07 100644 --- a/code/frameworks/angular/src/builders/utils/error-handler.ts +++ b/code/frameworks/angular/src/builders/utils/error-handler.ts @@ -1,4 +1,4 @@ -import { logger, instance as npmLog } from '@storybook/node-logger'; +import { logger, instance as npmLog } from '@storybook/core/dist/node-logger'; import { dedent } from 'ts-dedent'; export const printErrorDetails = (error: any): void => { diff --git a/code/frameworks/angular/src/builders/utils/run-compodoc.spec.ts b/code/frameworks/angular/src/builders/utils/run-compodoc.spec.ts index cf0686b11b1d..9588f4d5f09d 100644 --- a/code/frameworks/angular/src/builders/utils/run-compodoc.spec.ts +++ b/code/frameworks/angular/src/builders/utils/run-compodoc.spec.ts @@ -8,7 +8,7 @@ import { runCompodoc } from './run-compodoc'; const mockRunScript = vi.fn(); -vi.mock('@storybook/core-common', () => ({ +vi.mock('@storybook/core/dist/common', () => ({ JsPackageManagerFactory: { getPackageManager: () => ({ runPackageCommandSync: mockRunScript, diff --git a/code/frameworks/angular/src/builders/utils/run-compodoc.ts b/code/frameworks/angular/src/builders/utils/run-compodoc.ts index e926c041bfa8..10b777e1f524 100644 --- a/code/frameworks/angular/src/builders/utils/run-compodoc.ts +++ b/code/frameworks/angular/src/builders/utils/run-compodoc.ts @@ -1,7 +1,7 @@ import { BuilderContext } from '@angular-devkit/architect'; import { Observable } from 'rxjs'; import * as path from 'path'; -import { JsPackageManagerFactory } from '@storybook/core-common'; +import { JsPackageManagerFactory } from '@storybook/core/dist/common'; const hasTsConfigArg = (args: string[]) => args.indexOf('-p') !== -1; const hasOutputArg = (args: string[]) => diff --git a/code/frameworks/angular/src/builders/utils/standalone-options.ts b/code/frameworks/angular/src/builders/utils/standalone-options.ts index ef73d78f01b5..263242040569 100644 --- a/code/frameworks/angular/src/builders/utils/standalone-options.ts +++ b/code/frameworks/angular/src/builders/utils/standalone-options.ts @@ -5,7 +5,7 @@ import { StyleElement, StylePreprocessorOptions, } from '@angular-devkit/build-angular/src/builders/browser/schema'; -import { LoadOptions, CLIOptions, BuilderOptions } from '@storybook/types'; +import { LoadOptions, CLIOptions, BuilderOptions } from '@storybook/core/dist/types'; export type StandaloneOptions = CLIOptions & LoadOptions & diff --git a/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.test.ts b/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.test.ts index 6e6335e45c94..33f0f5434475 100644 --- a/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.test.ts +++ b/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.test.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { ArgTypes } from '@storybook/types'; +import { ArgTypes } from '@storybook/core/dist/types'; import { describe, it, expect } from 'vitest'; import { computesTemplateSourceFromComponent } from './ComputesTemplateFromComponent'; import { ISomeInterface, ButtonAccent, InputComponent } from './__testfixtures__/input.component'; diff --git a/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.ts b/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.ts index e75354a4bf9c..51aa92c01608 100644 --- a/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.ts +++ b/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.ts @@ -1,5 +1,5 @@ import { Type } from '@angular/core'; -import { ArgTypes } from '@storybook/types'; +import { ArgTypes } from '@storybook/core/dist/types'; import { ICollection } from '../types'; import { ComponentInputsOutputs, diff --git a/code/frameworks/angular/src/client/angular-beta/DocsRenderer.ts b/code/frameworks/angular/src/client/angular-beta/DocsRenderer.ts index 788d6283cc1e..066c425ee2c6 100644 --- a/code/frameworks/angular/src/client/angular-beta/DocsRenderer.ts +++ b/code/frameworks/angular/src/client/angular-beta/DocsRenderer.ts @@ -1,5 +1,5 @@ -import { addons } from '@storybook/preview-api'; -import { DOCS_RENDERED, STORY_CHANGED } from '@storybook/core-events'; +import { addons } from '@storybook/core/dist/preview-api'; +import { DOCS_RENDERED, STORY_CHANGED } from '@storybook/core/dist/core-events'; import { getNextStoryUID } from './utils/StoryUID'; import { AbstractRenderer, STORY_UID_ATTRIBUTE } from './AbstractRenderer'; diff --git a/code/frameworks/angular/src/client/decorateStory.test.ts b/code/frameworks/angular/src/client/decorateStory.test.ts index 11578c42bcb6..8808e4f63b25 100644 --- a/code/frameworks/angular/src/client/decorateStory.test.ts +++ b/code/frameworks/angular/src/client/decorateStory.test.ts @@ -1,5 +1,5 @@ import { Component, Input, Output } from '@angular/core'; -import { DecoratorFunction, StoryContext } from '@storybook/types'; +import { DecoratorFunction, StoryContext } from '@storybook/core/dist/types'; import { describe, expect, it } from 'vitest'; import { componentWrapperDecorator } from './decorators'; diff --git a/code/frameworks/angular/src/client/decorateStory.ts b/code/frameworks/angular/src/client/decorateStory.ts index 83620080a625..a12368374a48 100644 --- a/code/frameworks/angular/src/client/decorateStory.ts +++ b/code/frameworks/angular/src/client/decorateStory.ts @@ -1,5 +1,5 @@ -import { DecoratorFunction, LegacyStoryFn, StoryContext } from '@storybook/types'; -import { sanitizeStoryContextUpdate } from '@storybook/preview-api'; +import { DecoratorFunction, LegacyStoryFn, StoryContext } from '@storybook/core/dist/types'; +import { sanitizeStoryContextUpdate } from '@storybook/core/dist/preview-api'; import { computesTemplateFromComponent } from './angular-beta/ComputesTemplateFromComponent'; import { AngularRenderer } from './types'; diff --git a/code/frameworks/angular/src/client/decorators.test.ts b/code/frameworks/angular/src/client/decorators.test.ts index 72a6f6836713..60edf6ab2d27 100644 --- a/code/frameworks/angular/src/client/decorators.test.ts +++ b/code/frameworks/angular/src/client/decorators.test.ts @@ -1,4 +1,4 @@ -import { Addon_StoryContext } from '@storybook/types'; +import { Addon_StoryContext } from '@storybook/core/dist/types'; import { vi, expect, describe, it } from 'vitest'; import { Component } from '@angular/core'; diff --git a/code/frameworks/angular/src/client/decorators.ts b/code/frameworks/angular/src/client/decorators.ts index bd09b7270ac6..9399d0fd548f 100644 --- a/code/frameworks/angular/src/client/decorators.ts +++ b/code/frameworks/angular/src/client/decorators.ts @@ -1,6 +1,6 @@ import { Type } from '@angular/core'; import { ApplicationConfig } from '@angular/platform-browser'; -import { DecoratorFunction, StoryContext } from '@storybook/types'; +import { DecoratorFunction, StoryContext } from '@storybook/core/dist/types'; import { computesTemplateFromComponent } from './angular-beta/ComputesTemplateFromComponent'; import { isComponent } from './angular-beta/utils/NgComponentAnalyzer'; import { ICollection, NgModuleMetadata, AngularRenderer } from './types'; diff --git a/code/frameworks/angular/src/client/docs/compodoc.ts b/code/frameworks/angular/src/client/docs/compodoc.ts index cc6425c6e545..656e69f8b410 100644 --- a/code/frameworks/angular/src/client/docs/compodoc.ts +++ b/code/frameworks/angular/src/client/docs/compodoc.ts @@ -1,8 +1,8 @@ /* eslint-disable no-underscore-dangle */ import { global } from '@storybook/global'; -import { InputType, ArgTypes, SBType } from '@storybook/types'; -import { logger } from '@storybook/client-logger'; +import { InputType, ArgTypes, SBType } from '@storybook/core/dist/types'; +import { logger } from '@storybook/core/dist/client-logger'; import { Argument, Class, diff --git a/code/frameworks/angular/src/client/docs/config.ts b/code/frameworks/angular/src/client/docs/config.ts index c4cf85fad75f..77b5a8cdb15c 100644 --- a/code/frameworks/angular/src/client/docs/config.ts +++ b/code/frameworks/angular/src/client/docs/config.ts @@ -1,5 +1,5 @@ import { SourceType, enhanceArgTypes } from '@storybook/docs-tools'; -import { Parameters, DecoratorFunction, ArgTypesEnhancer } from '@storybook/types'; +import { Parameters, DecoratorFunction, ArgTypesEnhancer } from '@storybook/core/dist/types'; import { extractArgTypes, extractComponentDescription } from './compodoc'; import { sourceDecorator } from './sourceDecorator'; diff --git a/code/frameworks/angular/src/client/docs/sourceDecorator.ts b/code/frameworks/angular/src/client/docs/sourceDecorator.ts index 8a80008cbfee..cc2ed2c3eab1 100644 --- a/code/frameworks/angular/src/client/docs/sourceDecorator.ts +++ b/code/frameworks/angular/src/client/docs/sourceDecorator.ts @@ -1,5 +1,5 @@ -import { addons, useEffect } from '@storybook/preview-api'; -import { PartialStoryFn } from '@storybook/types'; +import { addons, useEffect } from '@storybook/core/dist/preview-api'; +import { PartialStoryFn } from '@storybook/core/dist/types'; import { SNIPPET_RENDERED, SourceType } from '@storybook/docs-tools'; import { StoryContext, AngularRenderer } from '../types'; import { computesTemplateSourceFromComponent } from '../../renderer'; diff --git a/code/frameworks/angular/src/client/public-types.ts b/code/frameworks/angular/src/client/public-types.ts index 9469cfda489e..a82da1ea24d9 100644 --- a/code/frameworks/angular/src/client/public-types.ts +++ b/code/frameworks/angular/src/client/public-types.ts @@ -10,11 +10,11 @@ import { StoryContext as GenericStoryContext, StrictArgs, ProjectAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import * as AngularCore from '@angular/core'; import { AngularRenderer } from './types'; -export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/types'; +export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/core/dist/types'; export type { Parameters as AngularParameters } from './types'; export type { AngularRenderer }; diff --git a/code/frameworks/angular/src/client/render.ts b/code/frameworks/angular/src/client/render.ts index 2b8b7f83a42e..3ddfa2b2345b 100644 --- a/code/frameworks/angular/src/client/render.ts +++ b/code/frameworks/angular/src/client/render.ts @@ -1,6 +1,6 @@ import '@angular/compiler'; -import { RenderContext, ArgsStoryFn } from '@storybook/types'; +import { RenderContext, ArgsStoryFn } from '@storybook/core/dist/types'; import { AngularRenderer } from './types'; diff --git a/code/frameworks/angular/src/client/types.ts b/code/frameworks/angular/src/client/types.ts index 100b3e912312..1790001555da 100644 --- a/code/frameworks/angular/src/client/types.ts +++ b/code/frameworks/angular/src/client/types.ts @@ -4,7 +4,7 @@ import { Parameters as DefaultParameters, StoryContext as DefaultStoryContext, WebRenderer, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; export interface NgModuleMetadata { /** diff --git a/code/frameworks/angular/src/preset.ts b/code/frameworks/angular/src/preset.ts index 139b5477110e..37724aeafe19 100644 --- a/code/frameworks/angular/src/preset.ts +++ b/code/frameworks/angular/src/preset.ts @@ -1,5 +1,5 @@ import { dirname, join } from 'path'; -import { PresetProperty } from '@storybook/types'; +import { PresetProperty } from '@storybook/core/dist/types'; import { StorybookConfig } from './types'; import { StandaloneOptions } from './builders/utils/standalone-options'; diff --git a/code/frameworks/angular/src/server/framework-preset-angular-cli.ts b/code/frameworks/angular/src/server/framework-preset-angular-cli.ts index 059d8b30f4d1..da76220909e7 100644 --- a/code/frameworks/angular/src/server/framework-preset-angular-cli.ts +++ b/code/frameworks/angular/src/server/framework-preset-angular-cli.ts @@ -1,6 +1,6 @@ import webpack from 'webpack'; -import { logger } from '@storybook/node-logger'; -import { AngularLegacyBuildOptionsError } from '@storybook/core-events/server-errors'; +import { logger } from '@storybook/core/dist/node-logger'; +import { AngularLegacyBuildOptionsError } from '@storybook/core/dist/server-errors'; import { BuilderContext, targetFromTargetString } from '@angular-devkit/architect'; import { sync as findUpSync } from 'find-up'; import { JsonObject, logging } from '@angular-devkit/core'; diff --git a/code/frameworks/angular/src/server/framework-preset-angular-docs.ts b/code/frameworks/angular/src/server/framework-preset-angular-docs.ts index 0b31ffe9c12e..f9490c7ca3af 100644 --- a/code/frameworks/angular/src/server/framework-preset-angular-docs.ts +++ b/code/frameworks/angular/src/server/framework-preset-angular-docs.ts @@ -1,4 +1,4 @@ -import { PresetProperty } from '@storybook/types'; +import { PresetProperty } from '@storybook/core/dist/types'; import { hasDocsOrControls } from '@storybook/docs-tools'; export const previewAnnotations: PresetProperty<'previewAnnotations'> = (entry = [], options) => { diff --git a/code/frameworks/angular/src/server/framework-preset-angular-ivy.ts b/code/frameworks/angular/src/server/framework-preset-angular-ivy.ts index 6d27821b3fb1..1cff0c6f0b78 100644 --- a/code/frameworks/angular/src/server/framework-preset-angular-ivy.ts +++ b/code/frameworks/angular/src/server/framework-preset-angular-ivy.ts @@ -1,6 +1,6 @@ import { Configuration } from 'webpack'; import * as path from 'path'; -import { Preset } from '@storybook/types'; +import { Preset } from '@storybook/core/dist/types'; import fs from 'fs'; import { PresetOptions } from './preset-options'; diff --git a/code/frameworks/angular/src/server/preset-options.ts b/code/frameworks/angular/src/server/preset-options.ts index 5412d5a19482..abdd4be727e1 100644 --- a/code/frameworks/angular/src/server/preset-options.ts +++ b/code/frameworks/angular/src/server/preset-options.ts @@ -1,4 +1,4 @@ -import { Options as CoreOptions } from '@storybook/types'; +import { Options as CoreOptions } from '@storybook/core/dist/types'; import { BuilderContext } from '@angular-devkit/architect'; import { StylePreprocessorOptions } from '@angular-devkit/build-angular'; diff --git a/code/frameworks/angular/src/typings.d.ts b/code/frameworks/angular/src/typings.d.ts index 6a0f8787a192..467456d99149 100644 --- a/code/frameworks/angular/src/typings.d.ts +++ b/code/frameworks/angular/src/typings.d.ts @@ -11,7 +11,7 @@ declare var __STORYBOOK_STORY_STORE__: any; declare var CHANNEL_OPTIONS: any; declare var DOCS_OPTIONS: any; -declare var FEATURES: import('@storybook/types').StorybookConfigRaw['features']; +declare var FEATURES: import('@storybook/core/dist/types').StorybookConfigRaw['features']; declare var IS_STORYBOOK: any; declare var LOGLEVEL: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent' | undefined; diff --git a/code/frameworks/ember/package.json b/code/frameworks/ember/package.json index d1f6b92bfa41..0c8673d66536 100644 --- a/code/frameworks/ember/package.json +++ b/code/frameworks/ember/package.json @@ -33,11 +33,8 @@ }, "dependencies": { "@storybook/builder-webpack5": "workspace:*", - "@storybook/core-common": "workspace:*", "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "babel-loader": "9.1.3", "find-up": "^5.0.0", "ts-dedent": "^2.0.0" @@ -49,6 +46,7 @@ }, "peerDependencies": { "@babel/core": "*", + "@storybook/core": "workspace:*", "babel-plugin-ember-modules-api-polyfill": "^3.5.0", "babel-plugin-htmlbars-inline-precompile": "^5.3.1", "ember-source": "~3.28.1 || ^4.0.0", diff --git a/code/frameworks/ember/src/client/preview/docs/config.ts b/code/frameworks/ember/src/client/preview/docs/config.ts index c1ac3a894012..1c5c8ad31217 100644 --- a/code/frameworks/ember/src/client/preview/docs/config.ts +++ b/code/frameworks/ember/src/client/preview/docs/config.ts @@ -1,4 +1,4 @@ -import type { ArgTypesEnhancer } from '@storybook/types'; +import type { ArgTypesEnhancer } from '@storybook/core/dist/types'; import { enhanceArgTypes } from '@storybook/docs-tools'; import { extractArgTypes, extractComponentDescription } from './jsondoc'; diff --git a/code/frameworks/ember/src/client/preview/render.ts b/code/frameworks/ember/src/client/preview/render.ts index 030314d910f8..5960f8e9029d 100644 --- a/code/frameworks/ember/src/client/preview/render.ts +++ b/code/frameworks/ember/src/client/preview/render.ts @@ -1,6 +1,6 @@ import { global } from '@storybook/global'; import { dedent } from 'ts-dedent'; -import type { RenderContext } from '@storybook/types'; +import type { RenderContext } from '@storybook/core/dist/types'; import type { OptionsArgs, EmberRenderer } from './types'; const { document } = global; diff --git a/code/frameworks/ember/src/client/preview/types.ts b/code/frameworks/ember/src/client/preview/types.ts index 147f4928f240..12fb6ce273c0 100644 --- a/code/frameworks/ember/src/client/preview/types.ts +++ b/code/frameworks/ember/src/client/preview/types.ts @@ -1,6 +1,6 @@ -import type { WebRenderer } from '@storybook/types'; +import type { WebRenderer } from '@storybook/core/dist/types'; -export type { RenderContext } from '@storybook/types'; +export type { RenderContext } from '@storybook/core/dist/types'; export interface ShowErrorArgs { title: string; diff --git a/code/frameworks/ember/src/preset.ts b/code/frameworks/ember/src/preset.ts index 7f0a07ce7cbb..8107a8479d9e 100644 --- a/code/frameworks/ember/src/preset.ts +++ b/code/frameworks/ember/src/preset.ts @@ -1,7 +1,7 @@ import { dirname, join } from 'path'; -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { getVirtualModules } from '@storybook/builder-webpack5'; -import { getProjectRoot, resolvePathInStorybookCache } from '@storybook/core-common'; +import { getProjectRoot, resolvePathInStorybookCache } from '@storybook/core/dist/common'; import type { StorybookConfig } from './types'; const getAbsolutePath = (input: I): I => diff --git a/code/frameworks/ember/src/server/framework-preset-babel-ember.ts b/code/frameworks/ember/src/server/framework-preset-babel-ember.ts index 89741b92440c..03ff0ab9f45c 100644 --- a/code/frameworks/ember/src/server/framework-preset-babel-ember.ts +++ b/code/frameworks/ember/src/server/framework-preset-babel-ember.ts @@ -1,5 +1,5 @@ import { precompile } from 'ember-source/dist/ember-template-compiler'; -import type { PresetProperty, PresetPropertyFn } from '@storybook/types'; +import type { PresetProperty, PresetPropertyFn } from '@storybook/core/dist/types'; import type { TransformOptions } from '@babel/core'; import { findDistFile } from '../util'; diff --git a/code/frameworks/ember/src/server/framework-preset-ember-docs.ts b/code/frameworks/ember/src/server/framework-preset-ember-docs.ts index 577978ef8652..d07792c62c6e 100644 --- a/code/frameworks/ember/src/server/framework-preset-ember-docs.ts +++ b/code/frameworks/ember/src/server/framework-preset-ember-docs.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { hasDocsOrControls } from '@storybook/docs-tools'; import { findDistFile } from '../util'; diff --git a/code/frameworks/html-vite/package.json b/code/frameworks/html-vite/package.json index 6fd46099d127..0e42a8fc4e33 100644 --- a/code/frameworks/html-vite/package.json +++ b/code/frameworks/html-vite/package.json @@ -50,13 +50,15 @@ "@storybook/builder-vite": "workspace:*", "@storybook/core-server": "workspace:*", "@storybook/html": "workspace:*", - "@storybook/node-logger": "workspace:*", "magic-string": "^0.30.0" }, "devDependencies": { "@types/node": "^18.0.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "engines": { "node": ">=18.0.0" }, diff --git a/code/frameworks/html-vite/src/preset.ts b/code/frameworks/html-vite/src/preset.ts index 965ba77956a0..b229940cd893 100644 --- a/code/frameworks/html-vite/src/preset.ts +++ b/code/frameworks/html-vite/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { dirname, join } from 'path'; function getAbsolutePath(value: I): I { diff --git a/code/frameworks/html-vite/src/types.ts b/code/frameworks/html-vite/src/types.ts index db508a143b53..d717aae77643 100644 --- a/code/frameworks/html-vite/src/types.ts +++ b/code/frameworks/html-vite/src/types.ts @@ -1,4 +1,4 @@ -import type { StorybookConfig as StorybookConfigBase } from '@storybook/types'; +import type { StorybookConfig as StorybookConfigBase } from '@storybook/core/dist/types'; import type { StorybookConfigVite, BuilderOptions } from '@storybook/builder-vite'; type FrameworkName = '@storybook/html-vite'; diff --git a/code/frameworks/html-webpack5/package.json b/code/frameworks/html-webpack5/package.json index 6582c99aac3a..ff80d54e4379 100644 --- a/code/frameworks/html-webpack5/package.json +++ b/code/frameworks/html-webpack5/package.json @@ -48,7 +48,6 @@ }, "dependencies": { "@storybook/builder-webpack5": "workspace:*", - "@storybook/core-common": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/html": "workspace:*", "@storybook/preset-html-webpack": "workspace:*", @@ -57,6 +56,9 @@ "devDependencies": { "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "engines": { "node": ">=18.0.0" }, diff --git a/code/frameworks/html-webpack5/src/preset.ts b/code/frameworks/html-webpack5/src/preset.ts index b2f0058627e2..85f9e3dd3c0a 100644 --- a/code/frameworks/html-webpack5/src/preset.ts +++ b/code/frameworks/html-webpack5/src/preset.ts @@ -1,5 +1,5 @@ import { dirname, join } from 'path'; -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; const getAbsolutePath = (input: I): I => dirname(require.resolve(join(input, 'package.json'))) as any; diff --git a/code/frameworks/nextjs/package.json b/code/frameworks/nextjs/package.json index 5d4153a44fb9..2474d0c1a963 100644 --- a/code/frameworks/nextjs/package.json +++ b/code/frameworks/nextjs/package.json @@ -130,14 +130,9 @@ "@babel/runtime": "^7.24.4", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", "@storybook/builder-webpack5": "workspace:*", - "@storybook/core-common": "workspace:*", - "@storybook/core-events": "workspace:*", - "@storybook/node-logger": "workspace:*", "@storybook/preset-react-webpack": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/react": "workspace:*", "@storybook/test": "workspace:*", - "@storybook/types": "workspace:*", "@types/node": "^18.0.0", "@types/semver": "^7.3.4", "babel-loader": "^9.1.3", @@ -172,6 +167,7 @@ "webpack": "^5.65.0" }, "peerDependencies": { + "@storybook/core": "workspace:*", "next": "^13.5.0 || ^14.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", diff --git a/code/frameworks/nextjs/src/babel/loader.ts b/code/frameworks/nextjs/src/babel/loader.ts index 25ff56890588..96f07d52cf00 100644 --- a/code/frameworks/nextjs/src/babel/loader.ts +++ b/code/frameworks/nextjs/src/babel/loader.ts @@ -1,6 +1,6 @@ -import { getProjectRoot, resolvePathInStorybookCache } from '@storybook/core-common'; +import { getProjectRoot, resolvePathInStorybookCache } from '@storybook/core/dist/common'; import { getVirtualModules } from '@storybook/builder-webpack5'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; export const configureBabelLoader = async (baseConfig: any, options: Options) => { const { virtualModules } = await getVirtualModules(options); diff --git a/code/frameworks/nextjs/src/export-mocks/navigation/index.ts b/code/frameworks/nextjs/src/export-mocks/navigation/index.ts index f55ee86c36ca..f692d201e5ff 100644 --- a/code/frameworks/nextjs/src/export-mocks/navigation/index.ts +++ b/code/frameworks/nextjs/src/export-mocks/navigation/index.ts @@ -1,7 +1,7 @@ import type { Mock } from '@storybook/test'; import { fn } from '@storybook/test'; import * as actual from 'next/dist/client/components/navigation'; -import { NextjsRouterMocksNotAvailable } from '@storybook/core-events/preview-errors'; +import { NextjsRouterMocksNotAvailable } from '@storybook/core/dist/preview-errors'; import { RedirectStatusCode } from 'next/dist/client/components/redirect-status-code'; import { getRedirectError } from 'next/dist/client/components/redirect'; diff --git a/code/frameworks/nextjs/src/export-mocks/router/index.ts b/code/frameworks/nextjs/src/export-mocks/router/index.ts index b3c5e37faa43..3b88fefc2f5d 100644 --- a/code/frameworks/nextjs/src/export-mocks/router/index.ts +++ b/code/frameworks/nextjs/src/export-mocks/router/index.ts @@ -1,6 +1,6 @@ import type { Mock } from '@storybook/test'; import { fn } from '@storybook/test'; -import { NextjsRouterMocksNotAvailable } from '@storybook/core-events/preview-errors'; +import { NextjsRouterMocksNotAvailable } from '@storybook/core/dist/preview-errors'; import type { NextRouter, SingletonRouter } from 'next/router'; import singletonRouter, * as originalRouter from 'next/dist/client/router'; diff --git a/code/frameworks/nextjs/src/font/webpack/loader/google/get-font-face-declarations.ts b/code/frameworks/nextjs/src/font/webpack/loader/google/get-font-face-declarations.ts index 3f9db77ebb16..b8f0c724ba70 100644 --- a/code/frameworks/nextjs/src/font/webpack/loader/google/get-font-face-declarations.ts +++ b/code/frameworks/nextjs/src/font/webpack/loader/google/get-font-face-declarations.ts @@ -4,7 +4,7 @@ import loaderUtils from 'next/dist/compiled/loader-utils3'; import { GoogleFontsDownloadError, GoogleFontsLoadingError, -} from '@storybook/core-events/server-errors'; +} from '@storybook/core/dist/server-errors'; import { validateGoogleFontFunctionCall } from 'next/dist/compiled/@next/font/dist/google/validate-google-font-function-call'; import { getGoogleFontsUrl } from 'next/dist/compiled/@next/font/dist/google/get-google-fonts-url'; import { getFontAxes } from 'next/dist/compiled/@next/font/dist/google/get-font-axes'; diff --git a/code/frameworks/nextjs/src/font/webpack/loader/local/get-font-face-declarations.ts b/code/frameworks/nextjs/src/font/webpack/loader/local/get-font-face-declarations.ts index e980d15b0e3d..95f5d08d3c7e 100644 --- a/code/frameworks/nextjs/src/font/webpack/loader/local/get-font-face-declarations.ts +++ b/code/frameworks/nextjs/src/font/webpack/loader/local/get-font-face-declarations.ts @@ -1,7 +1,7 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-expect-error import loaderUtils from 'next/dist/compiled/loader-utils3'; -import { getProjectRoot } from '@storybook/core-common'; +import { getProjectRoot } from '@storybook/core/dist/common'; import { validateLocalFontFunctionCall } from 'next/dist/compiled/@next/font/dist/local/validate-local-font-function-call'; import path from 'path'; diff --git a/code/frameworks/nextjs/src/images/decorator.tsx b/code/frameworks/nextjs/src/images/decorator.tsx index 342f49d32b9a..775f60513afd 100644 --- a/code/frameworks/nextjs/src/images/decorator.tsx +++ b/code/frameworks/nextjs/src/images/decorator.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import type { Addon_StoryContext } from '@storybook/types'; +import type { Addon_StoryContext } from '@storybook/core/dist/types'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore-error (this only errors during compilation for production) diff --git a/code/frameworks/nextjs/src/next-image-loader-stub.ts b/code/frameworks/nextjs/src/next-image-loader-stub.ts index dbc65b8fde63..ba12f6848d7f 100644 --- a/code/frameworks/nextjs/src/next-image-loader-stub.ts +++ b/code/frameworks/nextjs/src/next-image-loader-stub.ts @@ -3,7 +3,7 @@ import imageSizeOf from 'image-size'; import type { RawLoaderDefinition } from 'webpack'; import type { NextConfig } from 'next'; import { cpus } from 'os'; -import { NextJsSharpError } from '@storybook/core-events/preview-errors'; +import { NextJsSharpError } from '@storybook/core/dist/preview-errors'; interface LoaderOptions { filename: string; diff --git a/code/frameworks/nextjs/src/portable-stories.ts b/code/frameworks/nextjs/src/portable-stories.ts index 01948d524c2c..08fc1723cf4b 100644 --- a/code/frameworks/nextjs/src/portable-stories.ts +++ b/code/frameworks/nextjs/src/portable-stories.ts @@ -3,14 +3,14 @@ import { composeStories as originalComposeStories, setProjectAnnotations as originalSetProjectAnnotations, composeConfigs, -} from '@storybook/preview-api'; +} from '@storybook/core/dist/preview-api'; import type { Args, ProjectAnnotations, StoryAnnotationsOrFn, Store_CSFExports, StoriesWithPartialProps, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; // ! ATTENTION: This needs to be a relative import so it gets prebundled. This is to avoid ESM issues in Nextjs + Jest setups import { INTERNAL_DEFAULT_PROJECT_ANNOTATIONS as reactAnnotations } from '../../../renderers/react/src/portable-stories'; diff --git a/code/frameworks/nextjs/src/preset.ts b/code/frameworks/nextjs/src/preset.ts index 0eb9abed9b04..241f189dbf5b 100644 --- a/code/frameworks/nextjs/src/preset.ts +++ b/code/frameworks/nextjs/src/preset.ts @@ -1,9 +1,9 @@ // https://storybook.js.org/docs/react/addons/writing-presets import { dirname, join } from 'path'; -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import type { ConfigItem, PluginItem, TransformOptions } from '@babel/core'; import { loadPartialConfig } from '@babel/core'; -import { getProjectRoot } from '@storybook/core-common'; +import { getProjectRoot } from '@storybook/core/dist/common'; import fs from 'fs'; import semver from 'semver'; import { configureConfig } from './config/webpack'; @@ -22,7 +22,7 @@ import { configureSWCLoader } from './swc/loader'; import { configureBabelLoader } from './babel/loader'; import { configureFastRefresh } from './fastRefresh/webpack'; import { configureAliases } from './aliases/webpack'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { configureNextExportMocks } from './export-mocks/webpack'; export const addons: PresetProperty<'addons'> = [ diff --git a/code/frameworks/nextjs/src/preview.tsx b/code/frameworks/nextjs/src/preview.tsx index 9a46a56c6918..3675195bcc45 100644 --- a/code/frameworks/nextjs/src/preview.tsx +++ b/code/frameworks/nextjs/src/preview.tsx @@ -1,4 +1,4 @@ -import type { Addon_DecoratorFunction, Addon_LoaderFunction } from '@storybook/types'; +import type { Addon_DecoratorFunction, Addon_LoaderFunction } from '@storybook/core/dist/types'; import './config/preview'; import { ImageDecorator } from './images/decorator'; import { RouterDecorator } from './routing/decorator'; diff --git a/code/frameworks/nextjs/src/routing/decorator.tsx b/code/frameworks/nextjs/src/routing/decorator.tsx index 6c3f66ba6778..a833740f6594 100644 --- a/code/frameworks/nextjs/src/routing/decorator.tsx +++ b/code/frameworks/nextjs/src/routing/decorator.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import type { Addon_StoryContext } from '@storybook/types'; +import type { Addon_StoryContext } from '@storybook/core/dist/types'; import { AppRouterProvider } from './app-router-provider'; import { PageRouterProvider } from './page-router-provider'; import type { RouteParams, NextAppDirectory } from './types'; diff --git a/code/frameworks/nextjs/src/swc/loader.ts b/code/frameworks/nextjs/src/swc/loader.ts index d1b5c6e7ab98..31c6ed8aab68 100644 --- a/code/frameworks/nextjs/src/swc/loader.ts +++ b/code/frameworks/nextjs/src/swc/loader.ts @@ -1,6 +1,6 @@ -import { getProjectRoot } from '@storybook/core-common'; +import { getProjectRoot } from '@storybook/core/dist/common'; import { getVirtualModules } from '@storybook/builder-webpack5'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import type { NextConfig } from 'next'; import path from 'path'; import loadJsConfig from 'next/dist/build/load-jsconfig'; diff --git a/code/frameworks/nextjs/src/utils.ts b/code/frameworks/nextjs/src/utils.ts index 6429ed718759..59b79ddc6216 100644 --- a/code/frameworks/nextjs/src/utils.ts +++ b/code/frameworks/nextjs/src/utils.ts @@ -4,7 +4,7 @@ import { PHASE_DEVELOPMENT_SERVER } from 'next/constants'; import type { Configuration as WebpackConfig } from 'webpack'; import type { NextConfig } from 'next'; import loadConfig from 'next/dist/server/config'; -import { getProjectRoot } from '@storybook/core-common'; +import { getProjectRoot } from '@storybook/core/dist/common'; export const configureRuntimeNextjsVersionResolution = (baseConfig: WebpackConfig): void => { baseConfig.plugins?.push( diff --git a/code/frameworks/preact-vite/package.json b/code/frameworks/preact-vite/package.json index 8f9dae800337..3f881d05ed2b 100644 --- a/code/frameworks/preact-vite/package.json +++ b/code/frameworks/preact-vite/package.json @@ -56,8 +56,8 @@ "vite": "^4.0.0" }, "peerDependencies": { - "preact": ">=10", - "vite": "^4.0.0 || ^5.0.0" + "@storybook/core": "workspace:*", + "preact": ">=10" }, "engines": { "node": ">=18.0.0" diff --git a/code/frameworks/preact-vite/src/preset.ts b/code/frameworks/preact-vite/src/preset.ts index 768ef8a60924..82fe7717d6dd 100644 --- a/code/frameworks/preact-vite/src/preset.ts +++ b/code/frameworks/preact-vite/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { dirname, join } from 'path'; import type { StorybookConfig } from './types'; diff --git a/code/frameworks/preact-vite/src/types.ts b/code/frameworks/preact-vite/src/types.ts index d654f5e13bbc..7043a84882cd 100644 --- a/code/frameworks/preact-vite/src/types.ts +++ b/code/frameworks/preact-vite/src/types.ts @@ -1,4 +1,4 @@ -import type { StorybookConfig as StorybookConfigBase } from '@storybook/types'; +import type { StorybookConfig as StorybookConfigBase } from '@storybook/core/dist/types'; import type { StorybookConfigVite, BuilderOptions } from '@storybook/builder-vite'; type FrameworkName = '@storybook/preact-vite'; diff --git a/code/frameworks/preact-webpack5/package.json b/code/frameworks/preact-webpack5/package.json index dccfa9aa93d3..2e6d927f22f9 100644 --- a/code/frameworks/preact-webpack5/package.json +++ b/code/frameworks/preact-webpack5/package.json @@ -48,7 +48,6 @@ }, "dependencies": { "@storybook/builder-webpack5": "workspace:*", - "@storybook/core-common": "workspace:*", "@storybook/preact": "workspace:*", "@storybook/preset-preact-webpack": "workspace:*", "@types/node": "^18.0.0" @@ -58,6 +57,7 @@ "typescript": "^5.3.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "preact": ">=10.0.0" }, "engines": { diff --git a/code/frameworks/preact-webpack5/src/preset.ts b/code/frameworks/preact-webpack5/src/preset.ts index 0d90ce796e79..17a85e9aeb7b 100644 --- a/code/frameworks/preact-webpack5/src/preset.ts +++ b/code/frameworks/preact-webpack5/src/preset.ts @@ -1,5 +1,5 @@ import { dirname, join } from 'path'; -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; const getAbsolutePath = (input: I): I => dirname(require.resolve(join(input, 'package.json'))) as any; diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json index 02a50462eace..72176e87c2f9 100644 --- a/code/frameworks/react-vite/package.json +++ b/code/frameworks/react-vite/package.json @@ -50,7 +50,6 @@ "@joshwooding/vite-plugin-react-docgen-typescript": "0.3.0", "@rollup/pluginutils": "^5.0.2", "@storybook/builder-vite": "workspace:*", - "@storybook/node-logger": "workspace:*", "@storybook/react": "workspace:*", "find-up": "^5.0.0", "magic-string": "^0.30.0", @@ -64,6 +63,7 @@ "vite": "^4.0.0" }, "peerDependencies": { + "@storybook/core": "workspace:*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "vite": "^4.0.0 || ^5.0.0" diff --git a/code/frameworks/react-vite/src/plugins/react-docgen.ts b/code/frameworks/react-vite/src/plugins/react-docgen.ts index c59861e4ff43..48abb2a69503 100644 --- a/code/frameworks/react-vite/src/plugins/react-docgen.ts +++ b/code/frameworks/react-vite/src/plugins/react-docgen.ts @@ -18,7 +18,7 @@ import { ReactDocgenResolveError, defaultLookupModule, } from './docgen-resolver'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; type DocObj = Documentation & { actualName: string }; diff --git a/code/frameworks/react-vite/src/preset.ts b/code/frameworks/react-vite/src/preset.ts index cbdde0f61a07..ae36b84649fa 100644 --- a/code/frameworks/react-vite/src/preset.ts +++ b/code/frameworks/react-vite/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { dirname, join } from 'path'; import type { StorybookConfig } from './types'; diff --git a/code/frameworks/react-vite/src/types.ts b/code/frameworks/react-vite/src/types.ts index 2499ae4bf93a..290d37f4f7c4 100644 --- a/code/frameworks/react-vite/src/types.ts +++ b/code/frameworks/react-vite/src/types.ts @@ -1,7 +1,7 @@ import type { StorybookConfig as StorybookConfigBase, TypescriptOptions as TypescriptOptionsBase, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { StorybookConfigVite, BuilderOptions } from '@storybook/builder-vite'; import type docgenTypescript from '@joshwooding/vite-plugin-react-docgen-typescript'; diff --git a/code/frameworks/react-webpack5/package.json b/code/frameworks/react-webpack5/package.json index 4ef8b479e4f6..24fc8f840fb7 100644 --- a/code/frameworks/react-webpack5/package.json +++ b/code/frameworks/react-webpack5/package.json @@ -53,6 +53,7 @@ "@types/node": "^18.0.0" }, "peerDependencies": { + "@storybook/core": "workspace:*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "typescript": ">= 4.2.x" diff --git a/code/frameworks/react-webpack5/src/preset.ts b/code/frameworks/react-webpack5/src/preset.ts index eae5bc696986..4054e50bc2f4 100644 --- a/code/frameworks/react-webpack5/src/preset.ts +++ b/code/frameworks/react-webpack5/src/preset.ts @@ -1,5 +1,5 @@ import { dirname, join } from 'path'; -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import type { StorybookConfig } from './types'; const getAbsolutePath = (input: I): I => diff --git a/code/frameworks/server-webpack5/package.json b/code/frameworks/server-webpack5/package.json index c8966b299cbf..2c1d945226ee 100644 --- a/code/frameworks/server-webpack5/package.json +++ b/code/frameworks/server-webpack5/package.json @@ -48,7 +48,6 @@ }, "dependencies": { "@storybook/builder-webpack5": "workspace:*", - "@storybook/core-common": "workspace:*", "@storybook/preset-server-webpack": "workspace:*", "@storybook/server": "workspace:*", "@types/node": "^18.0.0" @@ -56,6 +55,9 @@ "devDependencies": { "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "engines": { "node": ">=18.0.0" }, diff --git a/code/frameworks/server-webpack5/src/preset.ts b/code/frameworks/server-webpack5/src/preset.ts index 5dc0b94b30ad..285c27c9df24 100644 --- a/code/frameworks/server-webpack5/src/preset.ts +++ b/code/frameworks/server-webpack5/src/preset.ts @@ -1,5 +1,5 @@ import { dirname, join } from 'path'; -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; const getAbsolutePath = (input: I): I => dirname(require.resolve(join(input, 'package.json'))) as any; diff --git a/code/frameworks/svelte-vite/package.json b/code/frameworks/svelte-vite/package.json index 173162058c00..1dfa6218b3b2 100644 --- a/code/frameworks/svelte-vite/package.json +++ b/code/frameworks/svelte-vite/package.json @@ -48,7 +48,6 @@ }, "dependencies": { "@storybook/builder-vite": "workspace:*", - "@storybook/node-logger": "workspace:*", "@storybook/svelte": "workspace:*", "magic-string": "^0.30.0", "svelte-preprocess": "^5.1.1", @@ -63,6 +62,7 @@ "vite": "^4.0.0" }, "peerDependencies": { + "@storybook/core": "workspace:*", "@sveltejs/vite-plugin-svelte": "^2.0.0 || ^3.0.0", "svelte": "^4.0.0 || ^5.0.0-next.65", "vite": "^4.0.0 || ^5.0.0" diff --git a/code/frameworks/svelte-vite/src/plugins/svelte-docgen.ts b/code/frameworks/svelte-vite/src/plugins/svelte-docgen.ts index 1e33174e11a5..ac55064ec8f9 100644 --- a/code/frameworks/svelte-vite/src/plugins/svelte-docgen.ts +++ b/code/frameworks/svelte-vite/src/plugins/svelte-docgen.ts @@ -4,7 +4,7 @@ import path from 'path'; import fs from 'fs'; import svelteDoc from 'sveltedoc-parser'; import type { SvelteComponentDoc, SvelteParserOptions } from 'sveltedoc-parser'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { preprocess } from 'svelte/compiler'; import { replace, typescript } from 'svelte-preprocess'; diff --git a/code/frameworks/svelte-vite/src/preset.ts b/code/frameworks/svelte-vite/src/preset.ts index e487cc2a1c58..4df6a0cdc1d8 100644 --- a/code/frameworks/svelte-vite/src/preset.ts +++ b/code/frameworks/svelte-vite/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { dirname, join } from 'path'; import type { StorybookConfig } from './types'; import { handleSvelteKit } from './utils'; diff --git a/code/frameworks/svelte-vite/src/types.ts b/code/frameworks/svelte-vite/src/types.ts index 8d4ccb8cc9cb..5a302e0e5ea1 100644 --- a/code/frameworks/svelte-vite/src/types.ts +++ b/code/frameworks/svelte-vite/src/types.ts @@ -1,4 +1,4 @@ -import type { StorybookConfig as StorybookConfigBase } from '@storybook/types'; +import type { StorybookConfig as StorybookConfigBase } from '@storybook/core/dist/types'; import type { StorybookConfigVite, BuilderOptions } from '@storybook/builder-vite'; type FrameworkName = '@storybook/svelte-vite'; diff --git a/code/frameworks/svelte-vite/src/utils.ts b/code/frameworks/svelte-vite/src/utils.ts index 514dada509a3..63fddf3b7301 100644 --- a/code/frameworks/svelte-vite/src/utils.ts +++ b/code/frameworks/svelte-vite/src/utils.ts @@ -1,5 +1,5 @@ import type { PluginOption } from 'vite'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import dedent from 'ts-dedent'; import { hasVitePlugins } from '@storybook/builder-vite'; diff --git a/code/frameworks/svelte-webpack5/package.json b/code/frameworks/svelte-webpack5/package.json index 362fd576e7d3..a291a308b596 100644 --- a/code/frameworks/svelte-webpack5/package.json +++ b/code/frameworks/svelte-webpack5/package.json @@ -48,7 +48,6 @@ }, "dependencies": { "@storybook/builder-webpack5": "workspace:*", - "@storybook/core-common": "workspace:*", "@storybook/preset-svelte-webpack": "workspace:*", "@storybook/svelte": "workspace:*" }, @@ -58,6 +57,7 @@ "typescript": "^5.3.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "svelte": "^4.0.0 || ^5.0.0-next.65", "svelte-loader": "*" }, diff --git a/code/frameworks/svelte-webpack5/src/preset.ts b/code/frameworks/svelte-webpack5/src/preset.ts index 8b4500023010..a1e23753c405 100644 --- a/code/frameworks/svelte-webpack5/src/preset.ts +++ b/code/frameworks/svelte-webpack5/src/preset.ts @@ -1,5 +1,5 @@ import { dirname, join } from 'path'; -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; const getAbsolutePath = (input: I): I => dirname(require.resolve(join(input, 'package.json'))) as any; diff --git a/code/frameworks/sveltekit/package.json b/code/frameworks/sveltekit/package.json index 3a9f86ae03de..3c7c0e01c966 100644 --- a/code/frameworks/sveltekit/package.json +++ b/code/frameworks/sveltekit/package.json @@ -64,6 +64,7 @@ "vite": "^4.0.0" }, "peerDependencies": { + "@storybook/core": "workspace:*", "svelte": "^4.0.0 || ^5.0.0-next.65", "vite": "^4.0.0 || ^5.0.0" }, diff --git a/code/frameworks/sveltekit/src/preset.ts b/code/frameworks/sveltekit/src/preset.ts index 53d616c18913..93af903851f5 100644 --- a/code/frameworks/sveltekit/src/preset.ts +++ b/code/frameworks/sveltekit/src/preset.ts @@ -1,6 +1,6 @@ // @ts-expect-error -- TS picks up the type from preset.js instead of dist/preset.d.ts import { viteFinal as svelteViteFinal } from '@storybook/svelte-vite/preset'; -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { withoutVitePlugins } from '@storybook/builder-vite'; import { dirname, join } from 'path'; import { configOverrides } from './plugins/config-overrides'; diff --git a/code/frameworks/sveltekit/src/types.ts b/code/frameworks/sveltekit/src/types.ts index c3f04a22bc82..24b2145a596a 100644 --- a/code/frameworks/sveltekit/src/types.ts +++ b/code/frameworks/sveltekit/src/types.ts @@ -1,5 +1,5 @@ import type { BuilderOptions, StorybookConfigVite } from '@storybook/builder-vite'; -import type { StorybookConfig as StorybookConfigBase } from '@storybook/types'; +import type { StorybookConfig as StorybookConfigBase } from '@storybook/core/dist/types'; import type { enhance } from './mocks/app/forms'; import type { goto, invalidate, invalidateAll } from './mocks/app/navigation'; diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json index a6d9e80ce048..d3eac966b16b 100644 --- a/code/frameworks/vue3-vite/package.json +++ b/code/frameworks/vue3-vite/package.json @@ -63,6 +63,7 @@ "vite": "^4.0.0" }, "peerDependencies": { + "@storybook/core": "workspace:*", "vite": "^4.0.0 || ^5.0.0" }, "engines": { diff --git a/code/frameworks/vue3-vite/src/preset.ts b/code/frameworks/vue3-vite/src/preset.ts index 69173e6e767c..11b9a7bda10c 100644 --- a/code/frameworks/vue3-vite/src/preset.ts +++ b/code/frameworks/vue3-vite/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { dirname, join } from 'path'; import type { PluginOption } from 'vite'; import { vueComponentMeta } from './plugins/vue-component-meta'; diff --git a/code/frameworks/vue3-vite/src/types.ts b/code/frameworks/vue3-vite/src/types.ts index 4b77d28e7a94..f024ac84edaa 100644 --- a/code/frameworks/vue3-vite/src/types.ts +++ b/code/frameworks/vue3-vite/src/types.ts @@ -1,5 +1,5 @@ import type { BuilderOptions, StorybookConfigVite } from '@storybook/builder-vite'; -import type { StorybookConfig as StorybookConfigBase } from '@storybook/types'; +import type { StorybookConfig as StorybookConfigBase } from '@storybook/core/dist/types'; import type { ComponentMeta } from 'vue-component-meta'; import type { ComponentDoc } from 'vue-docgen-api'; diff --git a/code/frameworks/vue3-webpack5/package.json b/code/frameworks/vue3-webpack5/package.json index 6df4545ccb84..c2e6d47aaa40 100644 --- a/code/frameworks/vue3-webpack5/package.json +++ b/code/frameworks/vue3-webpack5/package.json @@ -48,7 +48,6 @@ }, "dependencies": { "@storybook/builder-webpack5": "workspace:*", - "@storybook/core-common": "workspace:*", "@storybook/preset-vue3-webpack": "workspace:*", "@storybook/vue3": "workspace:*", "@types/node": "^18.0.0" @@ -59,6 +58,7 @@ "vue": "3.0.0" }, "peerDependencies": { + "@storybook/core": "workspace:*", "@vue/compiler-sfc": "^3.0.0", "vue": "^3.0.0" }, diff --git a/code/frameworks/vue3-webpack5/src/preset.ts b/code/frameworks/vue3-webpack5/src/preset.ts index a19cb8e0d8ee..dab29a795330 100644 --- a/code/frameworks/vue3-webpack5/src/preset.ts +++ b/code/frameworks/vue3-webpack5/src/preset.ts @@ -1,5 +1,5 @@ import { dirname, join } from 'path'; -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; const getAbsolutePath = (input: I): I => dirname(require.resolve(join(input, 'package.json'))) as any; diff --git a/code/frameworks/web-components-vite/package.json b/code/frameworks/web-components-vite/package.json index bca9dda246e9..412dcdbe66a0 100644 --- a/code/frameworks/web-components-vite/package.json +++ b/code/frameworks/web-components-vite/package.json @@ -49,7 +49,6 @@ "dependencies": { "@storybook/builder-vite": "workspace:*", "@storybook/core-server": "workspace:*", - "@storybook/node-logger": "workspace:*", "@storybook/web-components": "workspace:*", "magic-string": "^0.30.0" }, @@ -57,6 +56,9 @@ "@types/node": "^18.0.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "engines": { "node": ">=18.0.0" }, diff --git a/code/frameworks/web-components-vite/src/preset.ts b/code/frameworks/web-components-vite/src/preset.ts index 2edf8f450c75..1d7791db6873 100644 --- a/code/frameworks/web-components-vite/src/preset.ts +++ b/code/frameworks/web-components-vite/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { dirname, join } from 'path'; const getAbsolutePath = (input: I): I => diff --git a/code/frameworks/web-components-vite/src/types.ts b/code/frameworks/web-components-vite/src/types.ts index 25fd697cb4b3..187f3e84b8c4 100644 --- a/code/frameworks/web-components-vite/src/types.ts +++ b/code/frameworks/web-components-vite/src/types.ts @@ -1,4 +1,4 @@ -import type { StorybookConfig as StorybookConfigBase } from '@storybook/types'; +import type { StorybookConfig as StorybookConfigBase } from '@storybook/core/dist/types'; import type { StorybookConfigVite, BuilderOptions } from '@storybook/builder-vite'; type FrameworkName = '@storybook/web-components-vite'; diff --git a/code/frameworks/web-components-webpack5/package.json b/code/frameworks/web-components-webpack5/package.json index 2d0642ecbdd4..6b69d8a1b69a 100644 --- a/code/frameworks/web-components-webpack5/package.json +++ b/code/frameworks/web-components-webpack5/package.json @@ -51,7 +51,6 @@ }, "dependencies": { "@storybook/builder-webpack5": "workspace:*", - "@storybook/core-common": "workspace:*", "@storybook/web-components": "workspace:*", "@types/node": "^18.0.0" }, @@ -60,6 +59,7 @@ "typescript": "^5.3.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "lit": "^2.0.0 || ^3.0.0" }, "engines": { diff --git a/code/frameworks/web-components-webpack5/src/preset.ts b/code/frameworks/web-components-webpack5/src/preset.ts index c613796aa3d0..3a9c92c8903f 100644 --- a/code/frameworks/web-components-webpack5/src/preset.ts +++ b/code/frameworks/web-components-webpack5/src/preset.ts @@ -1,5 +1,5 @@ import { dirname, join } from 'path'; -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; const getAbsolutePath = (input: I): I => dirname(require.resolve(join(input, 'package.json'))) as any; diff --git a/code/frameworks/web-components-webpack5/src/types.ts b/code/frameworks/web-components-webpack5/src/types.ts index 01442d08f08a..24a86c38537f 100644 --- a/code/frameworks/web-components-webpack5/src/types.ts +++ b/code/frameworks/web-components-webpack5/src/types.ts @@ -1,7 +1,7 @@ import type { StorybookConfig as StorybookConfigBase, TypescriptOptions as TypescriptOptionsWebComponents, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { BuilderOptions, StorybookConfigWebpack, diff --git a/code/lib/channels/package.json b/code/lib/channels/package.json deleted file mode 100644 index 57a8c53ab2e1..000000000000 --- a/code/lib/channels/package.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "name": "@storybook/channels", - "version": "8.1.0-alpha.7", - "description": "", - "keywords": [ - "storybook" - ], - "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/channels", - "bugs": { - "url": "https://github.com/storybookjs/storybook/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/storybookjs/storybook.git", - "directory": "code/lib/channels" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "license": "MIT", - "sideEffects": false, - "exports": { - ".": { - "types": "./dist/index.d.ts", - "node": "./dist/index.js", - "require": "./dist/index.js", - "import": "./dist/index.mjs" - }, - "./package.json": "./package.json" - }, - "main": "dist/index.js", - "module": "dist/index.mjs", - "types": "dist/index.d.ts", - "files": [ - "dist/**/*", - "README.md", - "*.js", - "*.d.ts", - "!src/**/*" - ], - "scripts": { - "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts", - "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" - }, - "dependencies": { - "@storybook/client-logger": "workspace:*", - "@storybook/core-events": "workspace:*", - "@storybook/global": "^5.0.0", - "telejson": "^7.2.0", - "tiny-invariant": "^1.3.1" - }, - "devDependencies": { - "typescript": "^5.3.2" - }, - "publishConfig": { - "access": "public" - }, - "bundler": { - "entries": [ - "./src/index.ts" - ] - }, - "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17" -} diff --git a/code/lib/channels/project.json b/code/lib/channels/project.json deleted file mode 100644 index 3ecdad88a0dd..000000000000 --- a/code/lib/channels/project.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "targets": { - "build": {} - } -} diff --git a/code/lib/channels/src/typings.d.ts b/code/lib/channels/src/typings.d.ts deleted file mode 100644 index 459ea6f109e6..000000000000 --- a/code/lib/channels/src/typings.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare var CHANNEL_OPTIONS: any; -declare var CONFIG_TYPE: 'DEVELOPMENT' | 'PRODUCTION'; diff --git a/code/lib/channels/tsconfig.json b/code/lib/channels/tsconfig.json deleted file mode 100644 index b5a2f9a70918..000000000000 --- a/code/lib/channels/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"], - "compilerOptions": { - "strict": true - } -} diff --git a/code/lib/cli-sb/package.json b/code/lib/cli-sb/package.json index 9b6527789309..1b5272fecb43 100644 --- a/code/lib/cli-sb/package.json +++ b/code/lib/cli-sb/package.json @@ -23,6 +23,9 @@ "dependencies": { "@storybook/cli": "workspace:*" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/lib/cli-storybook/package.json b/code/lib/cli-storybook/package.json index 363550761022..9b189ffe5cb7 100644 --- a/code/lib/cli-storybook/package.json +++ b/code/lib/cli-storybook/package.json @@ -26,6 +26,9 @@ "dependencies": { "@storybook/cli": "workspace:*" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/lib/cli/package.json b/code/lib/cli/package.json index 1ea9d9ca1181..39c551f3d56c 100644 --- a/code/lib/cli/package.json +++ b/code/lib/cli/package.json @@ -60,13 +60,7 @@ "@babel/types": "^7.24.0", "@ndelangen/get-tarball": "^3.0.7", "@storybook/codemod": "workspace:*", - "@storybook/core-common": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/core-server": "workspace:*", - "@storybook/csf-tools": "workspace:*", - "@storybook/node-logger": "workspace:*", - "@storybook/telemetry": "workspace:*", - "@storybook/types": "workspace:*", "@types/semver": "^7.3.4", "@yarnpkg/fslib": "2.10.3", "@yarnpkg/libzip": "2.3.0", @@ -103,6 +97,9 @@ "strip-json-comments": "^3.1.1", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/lib/cli/src/add.test.ts b/code/lib/cli/src/add.test.ts index 3025da275e49..8a9f9367d489 100644 --- a/code/lib/cli/src/add.test.ts +++ b/code/lib/cli/src/add.test.ts @@ -25,7 +25,7 @@ const MockedConsole = { error: vi.fn(), } as any as Console; -vi.mock('@storybook/csf-tools', () => { +vi.mock('@storybook/core/dist/csf-tools', () => { return { readConfig: vi.fn(() => MockedConfig), writeConfig: vi.fn(), @@ -34,7 +34,7 @@ vi.mock('@storybook/csf-tools', () => { vi.mock('./postinstallAddon', () => { return MockedPostInstall; }); -vi.mock('@storybook/core-common', () => { +vi.mock('@storybook/core/dist/common', () => { return { getStorybookInfo: vi.fn(() => ({ mainConfig: {}, configDir: '' })), serverRequire: vi.fn(() => ({})), diff --git a/code/lib/cli/src/add.ts b/code/lib/cli/src/add.ts index c0bb071dda5b..2e1886da2a72 100644 --- a/code/lib/cli/src/add.ts +++ b/code/lib/cli/src/add.ts @@ -5,8 +5,8 @@ import { getCoercedStorybookVersion, type PackageManagerName, versions, -} from '@storybook/core-common'; -import { readConfig, writeConfig } from '@storybook/csf-tools'; +} from '@storybook/core/dist/common'; +import { readConfig, writeConfig } from '@storybook/core/dist/csf-tools'; import { isAbsolute, join } from 'path'; import SemVer from 'semver'; import dedent from 'ts-dedent'; diff --git a/code/lib/cli/src/autoblock/block-storystorev6.ts b/code/lib/cli/src/autoblock/block-storystorev6.ts index d284584c9fbc..c1ed4e549bc9 100644 --- a/code/lib/cli/src/autoblock/block-storystorev6.ts +++ b/code/lib/cli/src/autoblock/block-storystorev6.ts @@ -1,6 +1,6 @@ import { createBlocker } from './types'; import { dedent } from 'ts-dedent'; -import type { StorybookConfigRaw } from '@storybook/types'; +import type { StorybookConfigRaw } from '@storybook/core/dist/types'; import chalk from 'chalk'; export const blocker = createBlocker({ diff --git a/code/lib/cli/src/autoblock/index.test.ts b/code/lib/cli/src/autoblock/index.test.ts index d6b5ea1a4a23..3784e1a58b4e 100644 --- a/code/lib/cli/src/autoblock/index.test.ts +++ b/code/lib/cli/src/autoblock/index.test.ts @@ -1,8 +1,8 @@ import { expect, test, vi } from 'vitest'; import { autoblock } from './index'; -import { JsPackageManagerFactory } from '@storybook/core-common'; +import { JsPackageManagerFactory } from '@storybook/core/dist/common'; import { createBlocker } from './types'; -import { logger as loggerRaw } from '@storybook/node-logger'; +import { logger as loggerRaw } from '@storybook/core/dist/node-logger'; import stripAnsi from 'strip-ansi'; vi.mock('node:fs/promises', () => ({ @@ -11,7 +11,7 @@ vi.mock('node:fs/promises', () => ({ vi.mock('boxen', () => ({ default: vi.fn((x) => x), })); -vi.mock('@storybook/node-logger', () => ({ +vi.mock('@storybook/core/dist/node-logger', () => ({ logger: { info: vi.fn(), line: vi.fn(), diff --git a/code/lib/cli/src/autoblock/index.ts b/code/lib/cli/src/autoblock/index.ts index 6e71266926f6..c6f883439383 100644 --- a/code/lib/cli/src/autoblock/index.ts +++ b/code/lib/cli/src/autoblock/index.ts @@ -1,5 +1,5 @@ import type { AutoblockOptions, Blocker } from './types'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import chalk from 'chalk'; import boxen from 'boxen'; diff --git a/code/lib/cli/src/autoblock/types.ts b/code/lib/cli/src/autoblock/types.ts index 39e6c728921a..9c08cbaccf3d 100644 --- a/code/lib/cli/src/autoblock/types.ts +++ b/code/lib/cli/src/autoblock/types.ts @@ -1,5 +1,5 @@ -import type { JsPackageManager, PackageJson } from '@storybook/core-common'; -import type { StorybookConfig } from '@storybook/types'; +import type { JsPackageManager, PackageJson } from '@storybook/core/dist/common'; +import type { StorybookConfig } from '@storybook/core/dist/types'; export interface AutoblockOptions { packageManager: JsPackageManager; diff --git a/code/lib/cli/src/automigrate/fixes/addon-postcss.test.ts b/code/lib/cli/src/automigrate/fixes/addon-postcss.test.ts index f9b77cab4110..10643fbdb4a6 100644 --- a/code/lib/cli/src/automigrate/fixes/addon-postcss.test.ts +++ b/code/lib/cli/src/automigrate/fixes/addon-postcss.test.ts @@ -1,6 +1,6 @@ import { addonPostCSS } from './addon-postcss'; -import type { StorybookConfig } from '@storybook/types'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { StorybookConfig } from '@storybook/core/dist/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { expect, describe, it } from 'vitest'; const checkAddonPostCSS = async ({ diff --git a/code/lib/cli/src/automigrate/fixes/addons-api.test.ts b/code/lib/cli/src/automigrate/fixes/addons-api.test.ts index 2bae14386d3b..5ac7fbd62180 100644 --- a/code/lib/cli/src/automigrate/fixes/addons-api.test.ts +++ b/code/lib/cli/src/automigrate/fixes/addons-api.test.ts @@ -1,6 +1,6 @@ import { addonsAPI } from './addons-api'; -import type { StorybookConfig } from '@storybook/types'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { StorybookConfig } from '@storybook/core/dist/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { expect, describe, it } from 'vitest'; const checkAddonsAPI = async ({ diff --git a/code/lib/cli/src/automigrate/fixes/angular-builders-multiproject.test.ts b/code/lib/cli/src/automigrate/fixes/angular-builders-multiproject.test.ts index 91d4f9ca1556..3d2e8b5d43b7 100644 --- a/code/lib/cli/src/automigrate/fixes/angular-builders-multiproject.test.ts +++ b/code/lib/cli/src/automigrate/fixes/angular-builders-multiproject.test.ts @@ -1,6 +1,6 @@ import { describe, beforeEach, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { StorybookConfig } from '@storybook/core/dist/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { angularBuildersMultiproject } from './angular-builders-multiproject'; import * as helpers from '../../helpers'; import * as angularHelpers from '../../generators/ANGULAR/helpers'; diff --git a/code/lib/cli/src/automigrate/fixes/angular-builders.test.ts b/code/lib/cli/src/automigrate/fixes/angular-builders.test.ts index e3825b0dae65..b009b213448e 100644 --- a/code/lib/cli/src/automigrate/fixes/angular-builders.test.ts +++ b/code/lib/cli/src/automigrate/fixes/angular-builders.test.ts @@ -1,9 +1,9 @@ import { describe, beforeEach, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; +import type { StorybookConfig } from '@storybook/core/dist/types'; import { angularBuilders } from './angular-builders'; import * as helpers from '../../helpers'; import * as angularHelpers from '../../generators/ANGULAR/helpers'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; const checkAngularBuilders = async ({ packageManager, diff --git a/code/lib/cli/src/automigrate/fixes/angular-builders.ts b/code/lib/cli/src/automigrate/fixes/angular-builders.ts index ac2f2af99d2e..1cfeb3c700b6 100644 --- a/code/lib/cli/src/automigrate/fixes/angular-builders.ts +++ b/code/lib/cli/src/automigrate/fixes/angular-builders.ts @@ -1,11 +1,11 @@ import { dedent } from 'ts-dedent'; -import type { StorybookConfig } from '@storybook/types'; +import type { StorybookConfig } from '@storybook/core/dist/types'; import chalk from 'chalk'; import prompts from 'prompts'; import type { Fix } from '../types'; import { isNxProject } from '../../helpers'; import { AngularJSON } from '../../generators/ANGULAR/helpers'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { getFrameworkPackageName } from '../helpers/mainConfigFile'; interface AngularBuildersRunOptions { diff --git a/code/lib/cli/src/automigrate/fixes/autodocs-true.test.ts b/code/lib/cli/src/automigrate/fixes/autodocs-true.test.ts index af9a14a3e56e..4f37c591a4ab 100644 --- a/code/lib/cli/src/automigrate/fixes/autodocs-true.test.ts +++ b/code/lib/cli/src/automigrate/fixes/autodocs-true.test.ts @@ -1,6 +1,6 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfigRaw } from '@storybook/types'; -import type { PackageJson } from '@storybook/core-common'; +import type { StorybookConfigRaw } from '@storybook/core/dist/types'; +import type { PackageJson } from '@storybook/core/dist/common'; import { makePackageManager } from '../helpers/testing-helpers'; import { autodocsTrue } from './autodocs-true'; diff --git a/code/lib/cli/src/automigrate/fixes/builder-vite.test.ts b/code/lib/cli/src/automigrate/fixes/builder-vite.test.ts index 450e770635e1..60753b1d1bcd 100644 --- a/code/lib/cli/src/automigrate/fixes/builder-vite.test.ts +++ b/code/lib/cli/src/automigrate/fixes/builder-vite.test.ts @@ -1,7 +1,7 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfigRaw } from '@storybook/types'; +import type { StorybookConfigRaw } from '@storybook/core/dist/types'; import { makePackageManager } from '../helpers/testing-helpers'; -import type { PackageJson } from '@storybook/core-common'; +import type { PackageJson } from '@storybook/core/dist/common'; import { builderVite } from './builder-vite'; const checkBuilderVite = async ({ diff --git a/code/lib/cli/src/automigrate/fixes/builder-vite.ts b/code/lib/cli/src/automigrate/fixes/builder-vite.ts index b38cf9ccb677..7a52d75975b4 100644 --- a/code/lib/cli/src/automigrate/fixes/builder-vite.ts +++ b/code/lib/cli/src/automigrate/fixes/builder-vite.ts @@ -1,10 +1,10 @@ import chalk from 'chalk'; import { dedent } from 'ts-dedent'; -import { writeConfig } from '@storybook/csf-tools'; +import { writeConfig } from '@storybook/core/dist/csf-tools'; import type { Fix } from '../types'; -import type { PackageJson } from '@storybook/core-common'; +import type { PackageJson } from '@storybook/core/dist/common'; import { updateMainConfig } from '../helpers/mainConfigFile'; import { getStorybookVersionSpecifier } from '../../helpers'; diff --git a/code/lib/cli/src/automigrate/fixes/cra5.test.ts b/code/lib/cli/src/automigrate/fixes/cra5.test.ts index 47a3afe13eb7..985282a37c8f 100644 --- a/code/lib/cli/src/automigrate/fixes/cra5.test.ts +++ b/code/lib/cli/src/automigrate/fixes/cra5.test.ts @@ -1,6 +1,6 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfigRaw } from '@storybook/types'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { StorybookConfigRaw } from '@storybook/core/dist/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { cra5 } from './cra5'; const checkCra5 = async ({ diff --git a/code/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts b/code/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts index 735dc57c8cc4..f7d834777cab 100644 --- a/code/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts +++ b/code/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts @@ -2,7 +2,7 @@ import { describe, it, expect, vi } from 'vitest'; import { dedent } from 'ts-dedent'; import * as fsExtra from 'fs-extra'; -import type { PackageJson } from '@storybook/core-common'; +import type { PackageJson } from '@storybook/core/dist/common'; import { eslintPlugin } from './eslint-plugin'; import { makePackageManager } from '../helpers/testing-helpers'; diff --git a/code/lib/cli/src/automigrate/fixes/mdx-gfm.test.ts b/code/lib/cli/src/automigrate/fixes/mdx-gfm.test.ts index 6131d84553ab..ab027f5253c2 100644 --- a/code/lib/cli/src/automigrate/fixes/mdx-gfm.test.ts +++ b/code/lib/cli/src/automigrate/fixes/mdx-gfm.test.ts @@ -1,5 +1,5 @@ import { describe, expect, vi, it } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; +import type { StorybookConfig } from '@storybook/core/dist/types'; import { mdxgfm } from './mdx-gfm'; vi.mock('globby', () => ({ diff --git a/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts b/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts index 605b66a824f5..87a91d9d8fb0 100644 --- a/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts +++ b/code/lib/cli/src/automigrate/fixes/mdx-gfm.ts @@ -1,7 +1,7 @@ import { dedent } from 'ts-dedent'; import { join } from 'path'; import slash from 'slash'; -import { commonGlobOptions } from '@storybook/core-common'; +import { commonGlobOptions } from '@storybook/core/dist/common'; import { updateMainConfig } from '../helpers/mainConfigFile'; import type { Fix } from '../types'; import { getStorybookVersionSpecifier } from '../../helpers'; diff --git a/code/lib/cli/src/automigrate/fixes/mdx-to-csf.test.ts b/code/lib/cli/src/automigrate/fixes/mdx-to-csf.test.ts index 226ac6976363..c160220bbd36 100644 --- a/code/lib/cli/src/automigrate/fixes/mdx-to-csf.test.ts +++ b/code/lib/cli/src/automigrate/fixes/mdx-to-csf.test.ts @@ -1,7 +1,7 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfigRaw } from '@storybook/types'; -import type { PackageJson } from '@storybook/core-common'; +import type { StorybookConfigRaw } from '@storybook/core/dist/types'; +import type { PackageJson } from '@storybook/core/dist/common'; import { ansiRegex } from '../helpers/cleanLog'; import { makePackageManager } from '../helpers/testing-helpers'; import type { BareMdxStoriesGlobRunOptions } from './mdx-to-csf'; diff --git a/code/lib/cli/src/automigrate/fixes/mdx-to-csf.ts b/code/lib/cli/src/automigrate/fixes/mdx-to-csf.ts index 72dc4ddbde00..bed375947527 100644 --- a/code/lib/cli/src/automigrate/fixes/mdx-to-csf.ts +++ b/code/lib/cli/src/automigrate/fixes/mdx-to-csf.ts @@ -1,6 +1,6 @@ import chalk from 'chalk'; import dedent from 'ts-dedent'; -import type { StoriesEntry } from '@storybook/types'; +import type { StoriesEntry } from '@storybook/core/dist/types'; import { updateMainConfig } from '../helpers/mainConfigFile'; import type { Fix } from '../types'; import { runCodemod } from '@storybook/codemod'; diff --git a/code/lib/cli/src/automigrate/fixes/new-frameworks.test.ts b/code/lib/cli/src/automigrate/fixes/new-frameworks.test.ts index 96099855df73..738c040add9a 100644 --- a/code/lib/cli/src/automigrate/fixes/new-frameworks.test.ts +++ b/code/lib/cli/src/automigrate/fixes/new-frameworks.test.ts @@ -1,9 +1,9 @@ import { describe, it, expect, vi } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; +import type { StorybookConfig } from '@storybook/core/dist/types'; import * as findUp from 'find-up'; import * as rendererHelpers from '../helpers/detectRenderer'; import { newFrameworks } from './new-frameworks'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; vi.mock('find-up'); vi.mock('../helpers/detectRenderer', async (importOriginal) => ({ diff --git a/code/lib/cli/src/automigrate/fixes/new-frameworks.ts b/code/lib/cli/src/automigrate/fixes/new-frameworks.ts index 97ace48c8ee9..512dec21be35 100644 --- a/code/lib/cli/src/automigrate/fixes/new-frameworks.ts +++ b/code/lib/cli/src/automigrate/fixes/new-frameworks.ts @@ -1,9 +1,9 @@ import chalk from 'chalk'; import dedent from 'ts-dedent'; import semver from 'semver'; -import { frameworkPackages, rendererPackages } from '@storybook/core-common'; +import { frameworkPackages, rendererPackages } from '@storybook/core/dist/common'; -import type { Preset } from '@storybook/types'; +import type { Preset } from '@storybook/core/dist/types'; import invariant from 'tiny-invariant'; import type { Fix } from '../types'; import { getStorybookVersionSpecifier } from '../../helpers'; diff --git a/code/lib/cli/src/automigrate/fixes/prompt-remove-react.test.ts b/code/lib/cli/src/automigrate/fixes/prompt-remove-react.test.ts index baf9922b5f0f..4e124c578e4c 100644 --- a/code/lib/cli/src/automigrate/fixes/prompt-remove-react.test.ts +++ b/code/lib/cli/src/automigrate/fixes/prompt-remove-react.test.ts @@ -1,8 +1,8 @@ import { vi, describe, it, expect } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; +import type { StorybookConfig } from '@storybook/core/dist/types'; import { glob } from 'glob'; import { removeReactDependency } from './prompt-remove-react'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; const check = async ({ packageManagerContent, diff --git a/code/lib/cli/src/automigrate/fixes/react-docgen.test.ts b/code/lib/cli/src/automigrate/fixes/react-docgen.test.ts index 22461bc18aeb..1c6949ac77eb 100644 --- a/code/lib/cli/src/automigrate/fixes/react-docgen.test.ts +++ b/code/lib/cli/src/automigrate/fixes/react-docgen.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; +import type { StorybookConfig } from '@storybook/core/dist/types'; import { reactDocgen } from './react-docgen'; const check = async ({ diff --git a/code/lib/cli/src/automigrate/fixes/remove-argtypes-regex.ts b/code/lib/cli/src/automigrate/fixes/remove-argtypes-regex.ts index 3220bbeeec9d..dabf1d84c4bf 100644 --- a/code/lib/cli/src/automigrate/fixes/remove-argtypes-regex.ts +++ b/code/lib/cli/src/automigrate/fixes/remove-argtypes-regex.ts @@ -2,7 +2,7 @@ import type { Fix } from '../types'; import * as fs from 'node:fs/promises'; import * as babel from '@babel/core'; import type { BabelFile, NodePath } from '@babel/core'; -import { babelParse } from '@storybook/csf-tools'; +import { babelParse } from '@storybook/core/dist/csf-tools'; import dedent from 'ts-dedent'; import chalk from 'chalk'; diff --git a/code/lib/cli/src/automigrate/fixes/remove-global-client-apis.test.ts b/code/lib/cli/src/automigrate/fixes/remove-global-client-apis.test.ts index 895a69ba3b90..d118f39ac198 100644 --- a/code/lib/cli/src/automigrate/fixes/remove-global-client-apis.test.ts +++ b/code/lib/cli/src/automigrate/fixes/remove-global-client-apis.test.ts @@ -3,7 +3,7 @@ import { describe, it, expect, vi } from 'vitest'; import path from 'path'; import * as fsExtra from 'fs-extra'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { RemovedAPIs, removedGlobalClientAPIs as migration } from './remove-global-client-apis'; vi.mock('fs-extra', async () => import('../../../../../__mocks__/fs-extra')); diff --git a/code/lib/cli/src/automigrate/fixes/remove-jest-testing-library.test.ts b/code/lib/cli/src/automigrate/fixes/remove-jest-testing-library.test.ts index 468992c259e1..cd10cf2e8c9b 100644 --- a/code/lib/cli/src/automigrate/fixes/remove-jest-testing-library.test.ts +++ b/code/lib/cli/src/automigrate/fixes/remove-jest-testing-library.test.ts @@ -1,7 +1,7 @@ import { expect, it } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { StorybookConfig } from '@storybook/core/dist/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { removeJestTestingLibrary } from './remove-jest-testing-library'; import ansiRegex from 'ansi-regex'; diff --git a/code/lib/cli/src/automigrate/fixes/remove-legacymdx1.ts b/code/lib/cli/src/automigrate/fixes/remove-legacymdx1.ts index e934c09b7f9c..e1ed00bfb11e 100644 --- a/code/lib/cli/src/automigrate/fixes/remove-legacymdx1.ts +++ b/code/lib/cli/src/automigrate/fixes/remove-legacymdx1.ts @@ -1,6 +1,6 @@ import { dedent } from 'ts-dedent'; -import { writeConfig } from '@storybook/csf-tools'; +import { writeConfig } from '@storybook/core/dist/csf-tools'; import type { Fix } from '../types'; import { updateMainConfig } from '../helpers/mainConfigFile'; diff --git a/code/lib/cli/src/automigrate/fixes/sb-binary.test.ts b/code/lib/cli/src/automigrate/fixes/sb-binary.test.ts index bb5250179a89..1cdcbedd5cf5 100644 --- a/code/lib/cli/src/automigrate/fixes/sb-binary.test.ts +++ b/code/lib/cli/src/automigrate/fixes/sb-binary.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { sbBinary } from './sb-binary'; const checkStorybookBinary = async ({ diff --git a/code/lib/cli/src/automigrate/fixes/sb-binary.ts b/code/lib/cli/src/automigrate/fixes/sb-binary.ts index 53b583b8a58f..f874b4bacdb7 100644 --- a/code/lib/cli/src/automigrate/fixes/sb-binary.ts +++ b/code/lib/cli/src/automigrate/fixes/sb-binary.ts @@ -2,7 +2,7 @@ import chalk from 'chalk'; import { dedent } from 'ts-dedent'; import type { Fix } from '../types'; import { getStorybookVersionSpecifier } from '../../helpers'; -import type { PackageJsonWithDepsAndDevDeps } from '@storybook/core-common'; +import type { PackageJsonWithDepsAndDevDeps } from '@storybook/core/dist/common'; interface SbBinaryRunOptions { storybookVersion: string; diff --git a/code/lib/cli/src/automigrate/fixes/sb-scripts.test.ts b/code/lib/cli/src/automigrate/fixes/sb-scripts.test.ts index 0c989b761d40..b04339af5aaa 100644 --- a/code/lib/cli/src/automigrate/fixes/sb-scripts.test.ts +++ b/code/lib/cli/src/automigrate/fixes/sb-scripts.test.ts @@ -1,5 +1,5 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { getStorybookScripts, sbScripts } from './sb-scripts'; const checkSbScripts = async ({ diff --git a/code/lib/cli/src/automigrate/fixes/sb-scripts.ts b/code/lib/cli/src/automigrate/fixes/sb-scripts.ts index aad1796b9a38..feecfd47e0f9 100644 --- a/code/lib/cli/src/automigrate/fixes/sb-scripts.ts +++ b/code/lib/cli/src/automigrate/fixes/sb-scripts.ts @@ -1,9 +1,9 @@ import chalk from 'chalk'; import { dedent } from 'ts-dedent'; import semver from 'semver'; -import type { PackageJson } from '@storybook/types'; +import type { PackageJson } from '@storybook/core/dist/types'; import type { Fix } from '../types'; -import type { PackageJsonWithDepsAndDevDeps } from '@storybook/core-common'; +import type { PackageJsonWithDepsAndDevDeps } from '@storybook/core/dist/common'; interface SbScriptsRunOptions { storybookScripts: Record; diff --git a/code/lib/cli/src/automigrate/fixes/storyshots-migration.test.ts b/code/lib/cli/src/automigrate/fixes/storyshots-migration.test.ts index 66003509ee5d..a919baa9c5b1 100644 --- a/code/lib/cli/src/automigrate/fixes/storyshots-migration.test.ts +++ b/code/lib/cli/src/automigrate/fixes/storyshots-migration.test.ts @@ -1,8 +1,8 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; +import type { StorybookConfig } from '@storybook/core/dist/types'; import { storyshotsMigration } from './storyshots-migration'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; const check = async ({ packageManager, diff --git a/code/lib/cli/src/automigrate/fixes/upgrade-storybook-related-dependencies.test.ts b/code/lib/cli/src/automigrate/fixes/upgrade-storybook-related-dependencies.test.ts index 7a8beeba0f76..da74a3ddaa29 100644 --- a/code/lib/cli/src/automigrate/fixes/upgrade-storybook-related-dependencies.test.ts +++ b/code/lib/cli/src/automigrate/fixes/upgrade-storybook-related-dependencies.test.ts @@ -1,6 +1,6 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { StorybookConfig } from '@storybook/core/dist/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import * as docsUtils from '../../doctor/getIncompatibleStorybookPackages'; import { upgradeStorybookRelatedDependencies } from './upgrade-storybook-related-dependencies'; diff --git a/code/lib/cli/src/automigrate/fixes/upgrade-storybook-related-dependencies.ts b/code/lib/cli/src/automigrate/fixes/upgrade-storybook-related-dependencies.ts index c5a9d4218bb5..3933053b93ac 100644 --- a/code/lib/cli/src/automigrate/fixes/upgrade-storybook-related-dependencies.ts +++ b/code/lib/cli/src/automigrate/fixes/upgrade-storybook-related-dependencies.ts @@ -1,8 +1,8 @@ import { dedent } from 'ts-dedent'; import { cyan, yellow } from 'chalk'; import { gt } from 'semver'; -import type { JsPackageManager } from '@storybook/core-common'; -import { isCorePackage } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; +import { isCorePackage } from '@storybook/core/dist/common'; import type { Fix } from '../types'; import { getIncompatibleStorybookPackages } from '../../doctor/getIncompatibleStorybookPackages'; diff --git a/code/lib/cli/src/automigrate/fixes/vite-config-file.ts b/code/lib/cli/src/automigrate/fixes/vite-config-file.ts index 3334fd958169..1460bdbb5a1a 100644 --- a/code/lib/cli/src/automigrate/fixes/vite-config-file.ts +++ b/code/lib/cli/src/automigrate/fixes/vite-config-file.ts @@ -3,7 +3,7 @@ import type { Fix } from '../types'; import findUp from 'find-up'; import { getFrameworkPackageName } from '../helpers/mainConfigFile'; import { frameworkToRenderer } from '../../helpers'; -import { frameworkPackages } from '@storybook/core-common'; +import { frameworkPackages } from '@storybook/core/dist/common'; import path from 'path'; interface ViteConfigFileRunOptions { diff --git a/code/lib/cli/src/automigrate/fixes/vta.test.ts b/code/lib/cli/src/automigrate/fixes/vta.test.ts index ff1cc2109470..247bafe3d560 100644 --- a/code/lib/cli/src/automigrate/fixes/vta.test.ts +++ b/code/lib/cli/src/automigrate/fixes/vta.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; +import type { StorybookConfig } from '@storybook/core/dist/types'; import { vta } from './vta'; const check = async ({ diff --git a/code/lib/cli/src/automigrate/fixes/vue3.test.ts b/code/lib/cli/src/automigrate/fixes/vue3.test.ts index a578b707fa74..e20ab8d18015 100644 --- a/code/lib/cli/src/automigrate/fixes/vue3.test.ts +++ b/code/lib/cli/src/automigrate/fixes/vue3.test.ts @@ -1,6 +1,6 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { StorybookConfig } from '@storybook/core/dist/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { vue3 } from './vue3'; const checkVue3 = async ({ diff --git a/code/lib/cli/src/automigrate/fixes/webpack5-compiler-setup.test.ts b/code/lib/cli/src/automigrate/fixes/webpack5-compiler-setup.test.ts index dcebc1f28b8b..fd2b725caa89 100644 --- a/code/lib/cli/src/automigrate/fixes/webpack5-compiler-setup.test.ts +++ b/code/lib/cli/src/automigrate/fixes/webpack5-compiler-setup.test.ts @@ -1,6 +1,6 @@ import { vi, describe, it, expect } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { StorybookConfig } from '@storybook/core/dist/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { webpack5CompilerSetup } from './webpack5-compiler-setup'; import { CoreWebpackCompilers } from '../../project_types'; diff --git a/code/lib/cli/src/automigrate/fixes/webpack5-compiler-setup.ts b/code/lib/cli/src/automigrate/fixes/webpack5-compiler-setup.ts index d899ee5df3dd..1fffc1fa0aec 100644 --- a/code/lib/cli/src/automigrate/fixes/webpack5-compiler-setup.ts +++ b/code/lib/cli/src/automigrate/fixes/webpack5-compiler-setup.ts @@ -1,6 +1,6 @@ import prompts from 'prompts'; -import type { SupportedFrameworks } from '@storybook/types'; -import { frameworkPackages } from '@storybook/core-common'; +import type { SupportedFrameworks } from '@storybook/core/dist/types'; +import { frameworkPackages } from '@storybook/core/dist/common'; import type { Fix } from '../types'; import { getAddonNames, diff --git a/code/lib/cli/src/automigrate/fixes/webpack5.test.ts b/code/lib/cli/src/automigrate/fixes/webpack5.test.ts index 1076d89714d0..e5763aa4b00c 100644 --- a/code/lib/cli/src/automigrate/fixes/webpack5.test.ts +++ b/code/lib/cli/src/automigrate/fixes/webpack5.test.ts @@ -1,6 +1,6 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfig } from '@storybook/types'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { StorybookConfig } from '@storybook/core/dist/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { webpack5 } from './webpack5'; const checkWebpack5 = async ({ diff --git a/code/lib/cli/src/automigrate/fixes/wrap-require-utils.ts b/code/lib/cli/src/automigrate/fixes/wrap-require-utils.ts index 2e3d2102fbc0..64bb1a572a18 100644 --- a/code/lib/cli/src/automigrate/fixes/wrap-require-utils.ts +++ b/code/lib/cli/src/automigrate/fixes/wrap-require-utils.ts @@ -1,5 +1,5 @@ import * as t from '@babel/types'; -import type { ConfigFile } from '@storybook/csf-tools'; +import type { ConfigFile } from '@storybook/core/dist/csf-tools'; const defaultRequireWrapperName = 'getAbsolutePath'; diff --git a/code/lib/cli/src/automigrate/fixes/wrap-require.ts b/code/lib/cli/src/automigrate/fixes/wrap-require.ts index e241f05858ab..c8c84a388583 100644 --- a/code/lib/cli/src/automigrate/fixes/wrap-require.ts +++ b/code/lib/cli/src/automigrate/fixes/wrap-require.ts @@ -1,6 +1,6 @@ import chalk from 'chalk'; import { dedent } from 'ts-dedent'; -import { readConfig } from '@storybook/csf-tools'; +import { readConfig } from '@storybook/core/dist/csf-tools'; import type { Fix } from '../types'; import { detectPnp } from '../../detect'; import { updateMainConfig } from '../helpers/mainConfigFile'; diff --git a/code/lib/cli/src/automigrate/helpers/checkWebpack5Builder.test.ts b/code/lib/cli/src/automigrate/helpers/checkWebpack5Builder.test.ts index 9dfba1122e87..d7f0ac836559 100644 --- a/code/lib/cli/src/automigrate/helpers/checkWebpack5Builder.test.ts +++ b/code/lib/cli/src/automigrate/helpers/checkWebpack5Builder.test.ts @@ -1,6 +1,6 @@ import type { MockInstance } from 'vitest'; import { describe, beforeEach, afterEach, it, expect, vi } from 'vitest'; -import type { StorybookConfigRaw } from '@storybook/types'; +import type { StorybookConfigRaw } from '@storybook/core/dist/types'; import { checkWebpack5Builder } from './checkWebpack5Builder'; import { getBuilderPackageName } from './mainConfigFile'; diff --git a/code/lib/cli/src/automigrate/helpers/checkWebpack5Builder.ts b/code/lib/cli/src/automigrate/helpers/checkWebpack5Builder.ts index a350b23fd82b..3d2ac6422b14 100644 --- a/code/lib/cli/src/automigrate/helpers/checkWebpack5Builder.ts +++ b/code/lib/cli/src/automigrate/helpers/checkWebpack5Builder.ts @@ -1,7 +1,7 @@ import chalk from 'chalk'; import semver from 'semver'; import dedent from 'ts-dedent'; -import type { StorybookConfigRaw } from '@storybook/types'; +import type { StorybookConfigRaw } from '@storybook/core/dist/types'; import { getBuilderPackageName } from './mainConfigFile'; const logger = console; diff --git a/code/lib/cli/src/automigrate/helpers/detectRenderer.ts b/code/lib/cli/src/automigrate/helpers/detectRenderer.ts index 95d10180c011..730cd8d64613 100644 --- a/code/lib/cli/src/automigrate/helpers/detectRenderer.ts +++ b/code/lib/cli/src/automigrate/helpers/detectRenderer.ts @@ -1,5 +1,5 @@ -import type { PackageJson } from '@storybook/types'; -import { rendererPackages } from '@storybook/core-common'; +import type { PackageJson } from '@storybook/core/dist/types'; +import { rendererPackages } from '@storybook/core/dist/common'; import prompts from 'prompts'; export const detectRenderer = async (packageJson: PackageJson) => { diff --git a/code/lib/cli/src/automigrate/helpers/eslintPlugin.ts b/code/lib/cli/src/automigrate/helpers/eslintPlugin.ts index 3090de3ef89c..55b8025d8281 100644 --- a/code/lib/cli/src/automigrate/helpers/eslintPlugin.ts +++ b/code/lib/cli/src/automigrate/helpers/eslintPlugin.ts @@ -4,9 +4,9 @@ import detectIndent from 'detect-indent'; import prompts from 'prompts'; import chalk from 'chalk'; -import { readConfig, writeConfig } from '@storybook/csf-tools'; -import type { JsPackageManager } from '@storybook/core-common'; -import { paddedLog } from '@storybook/core-common'; +import { readConfig, writeConfig } from '@storybook/core/dist/csf-tools'; +import type { JsPackageManager } from '@storybook/core/dist/common'; +import { paddedLog } from '@storybook/core/dist/common'; export const SUPPORTED_ESLINT_EXTENSIONS = ['js', 'cjs', 'json']; const UNSUPPORTED_ESLINT_EXTENSIONS = ['yaml', 'yml']; diff --git a/code/lib/cli/src/automigrate/helpers/getMigrationSummary.test.ts b/code/lib/cli/src/automigrate/helpers/getMigrationSummary.test.ts index 92c9c91c9f04..d6f43f42f4ea 100644 --- a/code/lib/cli/src/automigrate/helpers/getMigrationSummary.test.ts +++ b/code/lib/cli/src/automigrate/helpers/getMigrationSummary.test.ts @@ -1,7 +1,7 @@ import { describe, expect, vi, it } from 'vitest'; import { getMigrationSummary } from './getMigrationSummary'; import { FixStatus } from '../types'; -import type { InstallationMetadata } from '@storybook/core-common'; +import type { InstallationMetadata } from '@storybook/core/dist/common'; vi.mock('boxen', () => ({ default: vi.fn((str, { title = '' }) => `${title}\n\n${str.replace(/\x1b\[[0-9;]*[mG]/g, '')}`), @@ -25,8 +25,8 @@ describe('getMigrationSummary', () => { const installationMetadata: InstallationMetadata = { duplicatedDependencies: { - '@storybook/instrumenter': ['6.0.0', '7.1.0'], - '@storybook/core-common': ['6.0.0', '7.1.0'], + '@storybook/core/dist/instrumenter': ['6.0.0', '7.1.0'], + '@storybook/core/dist/common': ['6.0.0', '7.1.0'], '@storybook/addon-essentials': ['7.0.0', '7.1.0'], }, dependencies: {}, diff --git a/code/lib/cli/src/automigrate/helpers/getMigrationSummary.ts b/code/lib/cli/src/automigrate/helpers/getMigrationSummary.ts index e0f708543bef..9ba3cca939b3 100644 --- a/code/lib/cli/src/automigrate/helpers/getMigrationSummary.ts +++ b/code/lib/cli/src/automigrate/helpers/getMigrationSummary.ts @@ -1,7 +1,7 @@ import chalk from 'chalk'; import boxen from 'boxen'; import dedent from 'ts-dedent'; -import { type InstallationMetadata } from '@storybook/core-common'; +import { type InstallationMetadata } from '@storybook/core/dist/common'; import type { FixSummary } from '../types'; import { FixStatus } from '../types'; diff --git a/code/lib/cli/src/automigrate/helpers/mainConfigFile.ts b/code/lib/cli/src/automigrate/helpers/mainConfigFile.ts index 11a13c127e0e..94e4c52de91d 100644 --- a/code/lib/cli/src/automigrate/helpers/mainConfigFile.ts +++ b/code/lib/cli/src/automigrate/helpers/mainConfigFile.ts @@ -5,15 +5,15 @@ import { frameworkPackages, builderPackages, extractProperFrameworkName, -} from '@storybook/core-common'; -import type { StorybookConfigRaw, StorybookConfig } from '@storybook/types'; -import type { ConfigFile } from '@storybook/csf-tools'; -import { readConfig, writeConfig as writeConfigFile } from '@storybook/csf-tools'; +} from '@storybook/core/dist/common'; +import type { StorybookConfigRaw, StorybookConfig } from '@storybook/core/dist/types'; +import type { ConfigFile } from '@storybook/core/dist/csf-tools'; +import { readConfig, writeConfig as writeConfigFile } from '@storybook/core/dist/csf-tools'; import chalk from 'chalk'; import dedent from 'ts-dedent'; import path from 'path'; -import type { JsPackageManager } from '@storybook/core-common'; -import { getCoercedStorybookVersion } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; +import { getCoercedStorybookVersion } from '@storybook/core/dist/common'; import { frameworkToRenderer } from '../../helpers'; const logger = console; diff --git a/code/lib/cli/src/automigrate/helpers/new-frameworks-utils.test.ts b/code/lib/cli/src/automigrate/helpers/new-frameworks-utils.test.ts index eda179500c26..ab09b1c1e8dc 100644 --- a/code/lib/cli/src/automigrate/helpers/new-frameworks-utils.test.ts +++ b/code/lib/cli/src/automigrate/helpers/new-frameworks-utils.test.ts @@ -4,7 +4,7 @@ import { detectBuilderInfo as _getBuilderInfo, getNextjsAddonOptions, } from './new-frameworks-utils'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; vi.mock('find-up'); diff --git a/code/lib/cli/src/automigrate/helpers/new-frameworks-utils.ts b/code/lib/cli/src/automigrate/helpers/new-frameworks-utils.ts index a981d7c1ce61..b383e9932381 100644 --- a/code/lib/cli/src/automigrate/helpers/new-frameworks-utils.ts +++ b/code/lib/cli/src/automigrate/helpers/new-frameworks-utils.ts @@ -1,7 +1,7 @@ -import { frameworkPackages } from '@storybook/core-common'; -import type { Preset, StorybookConfigRaw } from '@storybook/types'; +import { frameworkPackages } from '@storybook/core/dist/common'; +import type { Preset, StorybookConfigRaw } from '@storybook/core/dist/types'; import findUp from 'find-up'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import { getBuilderPackageName, getFrameworkPackageName } from './mainConfigFile'; const logger = console; diff --git a/code/lib/cli/src/automigrate/helpers/testing-helpers.ts b/code/lib/cli/src/automigrate/helpers/testing-helpers.ts index 9e681b21f564..b18dc090aa5e 100644 --- a/code/lib/cli/src/automigrate/helpers/testing-helpers.ts +++ b/code/lib/cli/src/automigrate/helpers/testing-helpers.ts @@ -1,13 +1,13 @@ import { vi } from 'vitest'; -import type { JsPackageManager, PackageJson } from '@storybook/core-common'; +import type { JsPackageManager, PackageJson } from '@storybook/core/dist/common'; vi.mock('./mainConfigFile', async (importOriginal) => ({ ...(await importOriginal()), getStorybookData: vi.fn(), })); -vi.mock('@storybook/core-common', async (importOriginal) => ({ - ...(await importOriginal()), +vi.mock('@storybook/core/dist/common', async (importOriginal) => ({ + ...(await importOriginal()), loadMainConfig: vi.fn(), })); diff --git a/code/lib/cli/src/automigrate/index.test.ts b/code/lib/cli/src/automigrate/index.test.ts index 11824e58d8a3..c8f9c82393b4 100644 --- a/code/lib/cli/src/automigrate/index.test.ts +++ b/code/lib/cli/src/automigrate/index.test.ts @@ -1,7 +1,7 @@ import { vi, it, expect, describe, beforeEach } from 'vitest'; import { runFixes } from './index'; import type { Fix } from './types'; -import type { JsPackageManager, PackageJsonWithDepsAndDevDeps } from '@storybook/core-common'; +import type { JsPackageManager, PackageJsonWithDepsAndDevDeps } from '@storybook/core/dist/common'; import { afterEach } from 'node:test'; const check1 = vi.fn(); @@ -38,8 +38,8 @@ const coreCommonMock = vi.hoisted(() => { }; }); -vi.mock('@storybook/core-common', async (importOriginal) => ({ - ...(await importOriginal()), +vi.mock('@storybook/core/dist/common', async (importOriginal) => ({ + ...(await importOriginal()), loadMainConfig: coreCommonMock.loadMainConfig, })); diff --git a/code/lib/cli/src/automigrate/index.ts b/code/lib/cli/src/automigrate/index.ts index 340a90f7ec38..bf699ba796eb 100644 --- a/code/lib/cli/src/automigrate/index.ts +++ b/code/lib/cli/src/automigrate/index.ts @@ -12,7 +12,7 @@ import { type JsPackageManager, getCoercedStorybookVersion, getStorybookInfo, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import type { Fix, diff --git a/code/lib/cli/src/automigrate/types.ts b/code/lib/cli/src/automigrate/types.ts index 43447102162f..17db0a511f40 100644 --- a/code/lib/cli/src/automigrate/types.ts +++ b/code/lib/cli/src/automigrate/types.ts @@ -1,5 +1,5 @@ -import type { JsPackageManager, PackageManagerName } from '@storybook/core-common'; -import type { StorybookConfigRaw } from '@storybook/types'; +import type { JsPackageManager, PackageManagerName } from '@storybook/core/dist/common'; +import type { StorybookConfigRaw } from '@storybook/core/dist/types'; export interface CheckOptions { packageManager: JsPackageManager; diff --git a/code/lib/cli/src/build.ts b/code/lib/cli/src/build.ts index 1f5f423e3ba5..0052fef36c38 100644 --- a/code/lib/cli/src/build.ts +++ b/code/lib/cli/src/build.ts @@ -1,6 +1,6 @@ import { sync as readUpSync } from 'read-pkg-up'; import { buildStaticStandalone, withTelemetry } from '@storybook/core-server'; -import { cache } from '@storybook/core-common'; +import { cache } from '@storybook/core/dist/common'; import invariant from 'tiny-invariant'; export const build = async (cliOptions: any) => { diff --git a/code/lib/cli/src/detect.test.ts b/code/lib/cli/src/detect.test.ts index c5140c46a1e3..b0ce6e093718 100644 --- a/code/lib/cli/src/detect.test.ts +++ b/code/lib/cli/src/detect.test.ts @@ -1,9 +1,9 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; import * as fs from 'fs'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { detect, detectFrameworkPreset, detectLanguage } from './detect'; import { ProjectType, SupportedLanguage } from './project_types'; -import type { JsPackageManager, PackageJsonWithMaybeDeps } from '@storybook/core-common'; +import type { JsPackageManager, PackageJsonWithMaybeDeps } from '@storybook/core/dist/common'; vi.mock('./helpers', () => ({ isNxProject: vi.fn(), @@ -25,7 +25,7 @@ vi.mock('path', () => ({ join: vi.fn((_, p) => p), })); -vi.mock('@storybook/node-logger'); +vi.mock('@storybook/core/dist/node-logger'); const MOCK_FRAMEWORK_FILES: { name: string; diff --git a/code/lib/cli/src/detect.ts b/code/lib/cli/src/detect.ts index 16c592236909..ae394c8594e0 100644 --- a/code/lib/cli/src/detect.ts +++ b/code/lib/cli/src/detect.ts @@ -1,7 +1,7 @@ import * as fs from 'fs'; import findUp from 'find-up'; import semver from 'semver'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { resolve } from 'path'; import prompts from 'prompts'; @@ -14,8 +14,8 @@ import { CoreBuilder, } from './project_types'; import { isNxProject } from './helpers'; -import type { JsPackageManager, PackageJsonWithMaybeDeps } from '@storybook/core-common'; -import { commandLog, HandledError } from '@storybook/core-common'; +import type { JsPackageManager, PackageJsonWithMaybeDeps } from '@storybook/core/dist/common'; +import { commandLog, HandledError } from '@storybook/core/dist/common'; const viteConfigFiles = ['vite.config.ts', 'vite.config.js', 'vite.config.mjs']; const webpackConfigFiles = ['webpack.config.js']; @@ -114,13 +114,13 @@ export async function detectBuilder(packageManager: JsPackageManager, projectTyp const webpackConfig = findUp.sync(webpackConfigFiles); const dependencies = await packageManager.getAllDependencies(); - if (viteConfig || (dependencies['vite'] && dependencies['webpack'] === undefined)) { + if (viteConfig || (dependencies.vite && dependencies.webpack === undefined)) { commandLog('Detected Vite project. Setting builder to Vite')(); return CoreBuilder.Vite; } // REWORK - if (webpackConfig || (dependencies['webpack'] && dependencies['vite'] !== undefined)) { + if (webpackConfig || (dependencies.webpack && dependencies.vite !== undefined)) { commandLog('Detected webpack project. Setting builder to webpack')(); return CoreBuilder.Webpack5; } @@ -173,7 +173,7 @@ export async function detectLanguage(packageManager: JsPackageManager) { const isTypescriptDirectDependency = await packageManager .getAllDependencies() - .then((deps) => Boolean(deps['typescript'])); + .then((deps) => Boolean(deps.typescript)); const typescriptVersion = await packageManager.getPackageVersion('typescript'); const prettierVersion = await packageManager.getPackageVersion('prettier'); diff --git a/code/lib/cli/src/dev.ts b/code/lib/cli/src/dev.ts index ee82ae2cb7c4..904b424a0f50 100644 --- a/code/lib/cli/src/dev.ts +++ b/code/lib/cli/src/dev.ts @@ -1,9 +1,9 @@ import { dedent } from 'ts-dedent'; import { sync as readUpSync } from 'read-pkg-up'; -import { logger, instance as npmLog } from '@storybook/node-logger'; +import { logger, instance as npmLog } from '@storybook/core/dist/node-logger'; import { buildDevStandalone, withTelemetry } from '@storybook/core-server'; -import { cache } from '@storybook/core-common'; -import type { CLIOptions } from '@storybook/types'; +import { cache } from '@storybook/core/dist/common'; +import type { CLIOptions } from '@storybook/core/dist/types'; import invariant from 'tiny-invariant'; function printError(error: any) { diff --git a/code/lib/cli/src/dirs.ts b/code/lib/cli/src/dirs.ts index 1f41620b4ea6..63fa08f90939 100644 --- a/code/lib/cli/src/dirs.ts +++ b/code/lib/cli/src/dirs.ts @@ -7,9 +7,9 @@ import * as tempy from 'tempy'; import invariant from 'tiny-invariant'; import { externalFrameworks } from './project_types'; import type { SupportedRenderers } from './project_types'; -import type { JsPackageManager } from '@storybook/core-common'; -import { versions } from '@storybook/core-common'; -import type { SupportedFrameworks } from '@storybook/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; +import { versions } from '@storybook/core/dist/common'; +import type { SupportedFrameworks } from '@storybook/core/dist/types'; export function getCliDir() { return dirname(require.resolve('@storybook/cli/package.json')); diff --git a/code/lib/cli/src/doctor/getDuplicatedDepsWarnings.ts b/code/lib/cli/src/doctor/getDuplicatedDepsWarnings.ts index 272313300728..97d686d02d1c 100644 --- a/code/lib/cli/src/doctor/getDuplicatedDepsWarnings.ts +++ b/code/lib/cli/src/doctor/getDuplicatedDepsWarnings.ts @@ -1,6 +1,6 @@ import chalk from 'chalk'; -import { frameworkPackages, rendererPackages } from '@storybook/core-common'; -import type { InstallationMetadata } from '@storybook/core-common'; +import { frameworkPackages, rendererPackages } from '@storybook/core/dist/common'; +import type { InstallationMetadata } from '@storybook/core/dist/common'; import { hasMultipleVersions } from './hasMultipleVersions'; export const messageDivider = '\n\n'; @@ -16,12 +16,12 @@ export const allowList = [ '@storybook/client-logger', '@storybook/core-client', '@storybook/preview-web', - '@storybook/preview-api', + '@storybook/core/dist/preview-api', '@storybook/store', // see this file for more info: code/ui/manager/src/globals/types.ts '@storybook/components', - '@storybook/router', + '@storybook/core/dist/router', '@storybook/theming', '@storybook/api', '@storybook/manager-api', @@ -31,9 +31,9 @@ export const allowList = [ export const disallowList = [ Object.keys(rendererPackages), Object.keys(frameworkPackages), - '@storybook/core-events', - '@storybook/instrumenter', - '@storybook/core-common', + '@storybook/core/dist/core-events', + '@storybook/core/dist/instrumenter', + '@storybook/core/dist/common', '@storybook/core-server', '@storybook/manager', '@storybook/preview', diff --git a/code/lib/cli/src/doctor/getIncompatibleStorybookPackages.test.ts b/code/lib/cli/src/doctor/getIncompatibleStorybookPackages.test.ts index 5d5a2d8a6e87..4593697dec86 100644 --- a/code/lib/cli/src/doctor/getIncompatibleStorybookPackages.test.ts +++ b/code/lib/cli/src/doctor/getIncompatibleStorybookPackages.test.ts @@ -5,7 +5,7 @@ import { getIncompatiblePackagesSummary, checkPackageCompatibility, } from './getIncompatibleStorybookPackages'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; vi.mock('chalk', () => { return { @@ -39,7 +39,7 @@ describe('checkPackageCompatibility', () => { name: packageName, version: '1.0.0', dependencies: { - '@storybook/core-common': '7.0.0', + '@storybook/core/dist/common': '7.0.0', }, }); const result = await checkPackageCompatibility(packageName, { @@ -61,7 +61,7 @@ describe('checkPackageCompatibility', () => { name: packageName, version: '1.0.0', dependencies: { - '@storybook/core-common': '8.0.0', + '@storybook/core/dist/common': '8.0.0', }, }); const result = await checkPackageCompatibility(packageName, { @@ -84,7 +84,7 @@ describe('checkPackageCompatibility', () => { name: packageName, version: '7.0.0', dependencies: { - '@storybook/core-common': '7.0.0', + '@storybook/core/dist/common': '7.0.0', }, }); @@ -110,7 +110,7 @@ describe('getIncompatibleStorybookPackages', () => { name: '@storybook/addon-essentials', version: '7.0.0', dependencies: { - '@storybook/core-common': '7.0.0', + '@storybook/core/dist/common': '7.0.0', }, }); diff --git a/code/lib/cli/src/doctor/getIncompatibleStorybookPackages.ts b/code/lib/cli/src/doctor/getIncompatibleStorybookPackages.ts index 09f0c40d5bb9..281495fc1694 100644 --- a/code/lib/cli/src/doctor/getIncompatibleStorybookPackages.ts +++ b/code/lib/cli/src/doctor/getIncompatibleStorybookPackages.ts @@ -1,8 +1,11 @@ /* eslint-disable local-rules/no-uncategorized-errors */ import chalk from 'chalk'; import semver from 'semver'; -import type { JsPackageManager } from '@storybook/core-common'; -import { JsPackageManagerFactory, versions as storybookCorePackages } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; +import { + JsPackageManagerFactory, + versions as storybookCorePackages, +} from '@storybook/core/dist/common'; export type AnalysedPackage = { packageName: string; diff --git a/code/lib/cli/src/doctor/getMismatchingVersionsWarning.ts b/code/lib/cli/src/doctor/getMismatchingVersionsWarning.ts index f8c9e0874a0f..3a03f6d48b69 100644 --- a/code/lib/cli/src/doctor/getMismatchingVersionsWarning.ts +++ b/code/lib/cli/src/doctor/getMismatchingVersionsWarning.ts @@ -1,7 +1,7 @@ import chalk from 'chalk'; import semver from 'semver'; -import { frameworkPackages, versions as storybookCorePackages } from '@storybook/core-common'; -import type { InstallationMetadata } from '@storybook/core-common'; +import { frameworkPackages, versions as storybookCorePackages } from '@storybook/core/dist/common'; +import type { InstallationMetadata } from '@storybook/core/dist/common'; function getPrimaryVersion(name: string | undefined, installationMetadata?: InstallationMetadata) { if (!name) { diff --git a/code/lib/cli/src/doctor/index.ts b/code/lib/cli/src/doctor/index.ts index 2dfecaa96d17..1e92918cf500 100644 --- a/code/lib/cli/src/doctor/index.ts +++ b/code/lib/cli/src/doctor/index.ts @@ -5,8 +5,8 @@ import tempy from 'tempy'; import dedent from 'ts-dedent'; import { join } from 'path'; -import { JsPackageManagerFactory } from '@storybook/core-common'; -import type { PackageManagerName } from '@storybook/core-common'; +import { JsPackageManagerFactory } from '@storybook/core/dist/common'; +import type { PackageManagerName } from '@storybook/core/dist/common'; import { getStorybookData } from '../automigrate/helpers/mainConfigFile'; import { cleanLog } from '../automigrate/helpers/cleanLog'; import { getMismatchingVersionsWarnings } from './getMismatchingVersionsWarning'; diff --git a/code/lib/cli/src/generate.ts b/code/lib/cli/src/generate.ts index b5aa64f7f77d..11c366ebb0b9 100644 --- a/code/lib/cli/src/generate.ts +++ b/code/lib/cli/src/generate.ts @@ -5,15 +5,15 @@ import leven from 'leven'; import { sync as readUpSync } from 'read-pkg-up'; import invariant from 'tiny-invariant'; -import { logger } from '@storybook/node-logger'; -import { addToGlobalContext, telemetry } from '@storybook/telemetry'; +import { logger } from '@storybook/core/dist/node-logger'; +import { addToGlobalContext, telemetry } from '@storybook/core/dist/telemetry'; import { parseList, getEnvConfig, JsPackageManagerFactory, versions, removeAddon as remove, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import { withTelemetry } from '@storybook/core-server'; import type { CommandOptions } from './generators/types'; diff --git a/code/lib/cli/src/generators/ANGULAR/helpers.ts b/code/lib/cli/src/generators/ANGULAR/helpers.ts index 33b79bb7339c..6028da6d7cab 100644 --- a/code/lib/cli/src/generators/ANGULAR/helpers.ts +++ b/code/lib/cli/src/generators/ANGULAR/helpers.ts @@ -2,9 +2,9 @@ import fs from 'fs'; import { join } from 'path'; import prompts from 'prompts'; import dedent from 'ts-dedent'; -import { MissingAngularJsonError } from '@storybook/core-events/server-errors'; +import { MissingAngularJsonError } from '@storybook/core/dist/server-errors'; import boxen from 'boxen'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; export const ANGULAR_JSON_PATH = 'angular.json'; diff --git a/code/lib/cli/src/generators/ANGULAR/index.ts b/code/lib/cli/src/generators/ANGULAR/index.ts index 6a770ef1922c..44f680b79cea 100644 --- a/code/lib/cli/src/generators/ANGULAR/index.ts +++ b/code/lib/cli/src/generators/ANGULAR/index.ts @@ -1,5 +1,5 @@ import { join } from 'path'; -import { commandLog } from '@storybook/core-common'; +import { commandLog } from '@storybook/core/dist/common'; import { baseGenerator } from '../baseGenerator'; import type { Generator } from '../types'; import { CoreBuilder } from '../../project_types'; diff --git a/code/lib/cli/src/generators/REACT_NATIVE/index.ts b/code/lib/cli/src/generators/REACT_NATIVE/index.ts index c8e4582382dd..ab651076747d 100644 --- a/code/lib/cli/src/generators/REACT_NATIVE/index.ts +++ b/code/lib/cli/src/generators/REACT_NATIVE/index.ts @@ -1,5 +1,5 @@ import { copyTemplateFiles, getBabelDependencies } from '../../helpers'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import type { NpmOptions } from '../../NpmOptions'; import { SupportedLanguage } from '../../project_types'; diff --git a/code/lib/cli/src/generators/baseGenerator.ts b/code/lib/cli/src/generators/baseGenerator.ts index 2f85d0af4549..2be6456df04a 100644 --- a/code/lib/cli/src/generators/baseGenerator.ts +++ b/code/lib/cli/src/generators/baseGenerator.ts @@ -3,9 +3,9 @@ import fse from 'fs-extra'; import { dedent } from 'ts-dedent'; import ora from 'ora'; import invariant from 'tiny-invariant'; -import type { JsPackageManager } from '@storybook/core-common'; -import { getPackageDetails, versions as packageVersions } from '@storybook/core-common'; -import type { SupportedFrameworks } from '@storybook/types'; +import type { JsPackageManager } from '@storybook/core/dist/common'; +import { getPackageDetails, versions as packageVersions } from '@storybook/core/dist/common'; +import type { SupportedFrameworks } from '@storybook/core/dist/types'; import type { NpmOptions } from '../NpmOptions'; import type { SupportedRenderers, Builder } from '../project_types'; import { SupportedLanguage, externalFrameworks } from '../project_types'; diff --git a/code/lib/cli/src/generators/configure.ts b/code/lib/cli/src/generators/configure.ts index 2d0a3e1f5fc8..b5c095d6095d 100644 --- a/code/lib/cli/src/generators/configure.ts +++ b/code/lib/cli/src/generators/configure.ts @@ -1,7 +1,7 @@ import fse from 'fs-extra'; import path from 'path'; import { dedent } from 'ts-dedent'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { externalFrameworks, SupportedLanguage } from '../project_types'; interface ConfigureMainOptions { diff --git a/code/lib/cli/src/generators/types.ts b/code/lib/cli/src/generators/types.ts index 763df2c4d1a6..338f5e10537c 100644 --- a/code/lib/cli/src/generators/types.ts +++ b/code/lib/cli/src/generators/types.ts @@ -1,6 +1,6 @@ import type { NpmOptions } from '../NpmOptions'; import type { SupportedLanguage, Builder, ProjectType } from '../project_types'; -import type { JsPackageManager, PackageManagerName } from '@storybook/core-common'; +import type { JsPackageManager, PackageManagerName } from '@storybook/core/dist/common'; import type { FrameworkPreviewParts } from './configure'; export type GeneratorOptions = { diff --git a/code/lib/cli/src/helpers.test.ts b/code/lib/cli/src/helpers.test.ts index 35cdeb0c3150..924cfdefe51a 100644 --- a/code/lib/cli/src/helpers.test.ts +++ b/code/lib/cli/src/helpers.test.ts @@ -4,7 +4,7 @@ import fse from 'fs-extra'; import { sep } from 'path'; import * as helpers from './helpers'; import { IS_WINDOWS } from '../../../vitest.helpers'; -import type { JsPackageManager } from '@storybook/core-common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import type { SupportedRenderers } from './project_types'; import { SupportedLanguage } from './project_types'; diff --git a/code/lib/cli/src/helpers.ts b/code/lib/cli/src/helpers.ts index 5c8351cca7b0..9a657fd82f34 100644 --- a/code/lib/cli/src/helpers.ts +++ b/code/lib/cli/src/helpers.ts @@ -13,11 +13,11 @@ import { type PackageJson, type PackageJsonWithDepsAndDevDeps, frameworkToRenderer as CoreFrameworkToRenderer, -} from '@storybook/core-common'; -import type { SupportedFrameworks, SupportedRenderers } from '@storybook/types'; +} from '@storybook/core/dist/common'; +import type { SupportedFrameworks, SupportedRenderers } from '@storybook/core/dist/types'; import { CoreBuilder } from './project_types'; import { SupportedLanguage } from './project_types'; -import { versions as storybookMonorepoPackages } from '@storybook/core-common'; +import { versions as storybookMonorepoPackages } from '@storybook/core/dist/common'; const logger = console; diff --git a/code/lib/cli/src/index.ts b/code/lib/cli/src/index.ts index 5d093178b5b4..2a091c05a24d 100644 --- a/code/lib/cli/src/index.ts +++ b/code/lib/cli/src/index.ts @@ -1,4 +1,4 @@ -import { deprecate } from '@storybook/node-logger'; +import { deprecate } from '@storybook/core/dist/node-logger'; deprecate( 'Exports from @storybook/cli are removed. Please import from @storybook/core-common instead.' diff --git a/code/lib/cli/src/initiate.ts b/code/lib/cli/src/initiate.ts index 4d83666780b2..4f3c426c3ebe 100644 --- a/code/lib/cli/src/initiate.ts +++ b/code/lib/cli/src/initiate.ts @@ -2,9 +2,9 @@ import { appendFile, readFile } from 'fs/promises'; import findUp from 'find-up'; import chalk from 'chalk'; import prompts from 'prompts'; -import { telemetry } from '@storybook/telemetry'; +import { telemetry } from '@storybook/core/dist/telemetry'; import { withTelemetry } from '@storybook/core-server'; -import { NxProjectDetectedError } from '@storybook/core-events/server-errors'; +import { NxProjectDetectedError } from '@storybook/core/dist/server-errors'; import { versions, HandledError, @@ -12,8 +12,8 @@ import { commandLog, paddedLog, getProjectRoot, -} from '@storybook/core-common'; -import type { JsPackageManager } from '@storybook/core-common'; +} from '@storybook/core/dist/common'; +import type { JsPackageManager } from '@storybook/core/dist/common'; import dedent from 'ts-dedent'; import boxen from 'boxen'; @@ -284,7 +284,7 @@ export async function doInitiate(options: CommandOptions): Promise< if (process.env.IN_STORYBOOK_SANDBOX === 'true' || process.env.CI === 'true') { packageManager.addPackageResolutions({ - '@storybook/telemetry': versions['@storybook/telemetry'], + '@storybook/core/dist/telemetry': versions['@storybook/core/dist/telemetry'], }); } } diff --git a/code/lib/cli/src/link.ts b/code/lib/cli/src/link.ts index 3af08643874b..a4d3041c3a03 100644 --- a/code/lib/cli/src/link.ts +++ b/code/lib/cli/src/link.ts @@ -1,7 +1,7 @@ import fse from 'fs-extra'; import path from 'path'; import { sync as spawnSync, spawn as spawnAsync } from 'cross-spawn'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import chalk from 'chalk'; type ExecOptions = Parameters[2]; diff --git a/code/lib/cli/src/migrate.ts b/code/lib/cli/src/migrate.ts index fc85c75d9609..038ae1eadc6b 100644 --- a/code/lib/cli/src/migrate.ts +++ b/code/lib/cli/src/migrate.ts @@ -3,7 +3,7 @@ import { JsPackageManagerFactory, getCoercedStorybookVersion, getStorybookInfo, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import { runFixes } from './automigrate'; import { mdxToCSF } from './automigrate/fixes/mdx-to-csf'; diff --git a/code/lib/cli/src/project_types.ts b/code/lib/cli/src/project_types.ts index f8f6973ab31a..13d8da3ab4b8 100644 --- a/code/lib/cli/src/project_types.ts +++ b/code/lib/cli/src/project_types.ts @@ -2,7 +2,7 @@ import { minVersion, validRange } from 'semver'; import type { SupportedFrameworks, SupportedRenderers as CoreSupportedFrameworks, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; function eqMajor(versionRange: string, major: number) { // Uses validRange to avoid a throw from minVersion if an invalid range gets passed diff --git a/code/lib/cli/src/sandbox-templates.ts b/code/lib/cli/src/sandbox-templates.ts index 9d8a839bfcce..179048e3dd7a 100644 --- a/code/lib/cli/src/sandbox-templates.ts +++ b/code/lib/cli/src/sandbox-templates.ts @@ -1,4 +1,4 @@ -import type { StorybookConfigRaw } from '@storybook/types'; +import type { StorybookConfigRaw } from '@storybook/core/dist/types'; export type SkippableTask = | 'smoke-test' diff --git a/code/lib/cli/src/sandbox.ts b/code/lib/cli/src/sandbox.ts index d06c633c1a4d..fe6bbcce2198 100644 --- a/code/lib/cli/src/sandbox.ts +++ b/code/lib/cli/src/sandbox.ts @@ -10,9 +10,9 @@ import invariant from 'tiny-invariant'; import { lt, prerelease } from 'semver'; import type { Template, TemplateKey } from './sandbox-templates'; import { allTemplates as TEMPLATES } from './sandbox-templates'; -import type { PackageManagerName } from '@storybook/core-common'; -import { JsPackageManagerFactory } from '@storybook/core-common'; -import { versions } from '@storybook/core-common'; +import type { PackageManagerName } from '@storybook/core/dist/common'; +import { JsPackageManagerFactory } from '@storybook/core/dist/common'; +import { versions } from '@storybook/core/dist/common'; import { doInitiate } from './initiate'; const logger = console; diff --git a/code/lib/cli/src/scaffold-new-project.ts b/code/lib/cli/src/scaffold-new-project.ts index 16ca8b7d444c..945c8828d02f 100644 --- a/code/lib/cli/src/scaffold-new-project.ts +++ b/code/lib/cli/src/scaffold-new-project.ts @@ -5,12 +5,12 @@ import { readdirSync, remove } from 'fs-extra'; import prompts from 'prompts'; import dedent from 'ts-dedent'; -import { telemetry } from '@storybook/telemetry'; +import { telemetry } from '@storybook/core/dist/telemetry'; -import { GenerateNewProjectOnInitError } from '@storybook/core-events/server-errors'; -import { logger } from '@storybook/node-logger'; +import { GenerateNewProjectOnInitError } from '@storybook/core/dist/server-errors'; +import { logger } from '@storybook/core/dist/node-logger'; -import type { PackageManagerName } from '@storybook/core-common'; +import type { PackageManagerName } from '@storybook/core/dist/common'; import type { CommandOptions } from './generators/types'; type CoercedPackageManagerName = 'npm' | 'yarn' | 'pnpm'; diff --git a/code/lib/cli/src/upgrade.test.ts b/code/lib/cli/src/upgrade.test.ts index c64bf35a9399..8d632c6967ac 100644 --- a/code/lib/cli/src/upgrade.test.ts +++ b/code/lib/cli/src/upgrade.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, vi } from 'vitest'; -import * as sbcc from '@storybook/core-common'; +import * as sbcc from '@storybook/core/dist/common'; import { UpgradeStorybookToLowerVersionError, UpgradeStorybookToSameVersionError, @@ -8,8 +8,8 @@ import { doUpgrade, getStorybookVersion } from './upgrade'; const findInstallationsMock = vi.fn>(); -vi.mock('@storybook/telemetry'); -vi.mock('@storybook/core-common', async (importOriginal) => { +vi.mock('@storybook/core/dist/telemetry'); +vi.mock('@storybook/core/dist/common', async (importOriginal) => { const originalModule = (await importOriginal()) as typeof sbcc; return { ...originalModule, @@ -39,7 +39,10 @@ describe.each([ '├─┬ @storybook/preset-create-react-app@3.1.2', { package: '@storybook/preset-create-react-app', version: '3.1.2' }, ], - ['│ ├─┬ @storybook/node-logger@5.3.19', { package: '@storybook/node-logger', version: '5.3.19' }], + [ + '│ ├─┬ @storybook/node-logger@5.3.19', + { package: '@storybook/core/dist/node-logger', version: '5.3.19' }, + ], [ 'npm ERR! peer dep missing: @storybook/react@>=5.2, required by @storybook/preset-create-react-app@3.1.2', null, diff --git a/code/lib/cli/src/upgrade.ts b/code/lib/cli/src/upgrade.ts index 4483bdb0f2e3..820d0de11bf0 100644 --- a/code/lib/cli/src/upgrade.ts +++ b/code/lib/cli/src/upgrade.ts @@ -1,26 +1,26 @@ import { sync as spawnSync } from 'cross-spawn'; -import { telemetry } from '@storybook/telemetry'; +import { telemetry } from '@storybook/core/dist/telemetry'; import semver, { eq, lt, prerelease } from 'semver'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { withTelemetry } from '@storybook/core-server'; import { UpgradeStorybookInWrongWorkingDirectory, UpgradeStorybookToLowerVersionError, UpgradeStorybookToSameVersionError, UpgradeStorybookUnknownCurrentVersionError, -} from '@storybook/core-events/server-errors'; +} from '@storybook/core/dist/server-errors'; import chalk from 'chalk'; import dedent from 'ts-dedent'; import boxen from 'boxen'; -import type { JsPackageManager, PackageManagerName } from '@storybook/core-common'; +import type { JsPackageManager, PackageManagerName } from '@storybook/core/dist/common'; import { isCorePackage, versions, getStorybookInfo, loadMainConfig, JsPackageManagerFactory, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import { automigrate } from './automigrate/index'; import { autoblock } from './autoblock/index'; import { hasStorybookDependencies } from './helpers'; diff --git a/code/lib/cli/src/warn.test.ts b/code/lib/cli/src/warn.test.ts index ef2de3d331d7..237c9325a002 100644 --- a/code/lib/cli/src/warn.test.ts +++ b/code/lib/cli/src/warn.test.ts @@ -1,8 +1,8 @@ import { describe, beforeEach, it, expect, vi } from 'vitest'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { warn } from './warn'; -vi.mock('@storybook/node-logger'); +vi.mock('@storybook/core/dist/node-logger'); const mocks = vi.hoisted(() => { return { diff --git a/code/lib/cli/src/warn.ts b/code/lib/cli/src/warn.ts index 9d4fe08df997..f7082dda5112 100644 --- a/code/lib/cli/src/warn.ts +++ b/code/lib/cli/src/warn.ts @@ -1,4 +1,4 @@ -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; interface Options { hasTSDependency: boolean; diff --git a/code/lib/cli/src/window.d.ts b/code/lib/cli/src/window.d.ts index 19d7aba81c0e..29043c46ac3a 100644 --- a/code/lib/cli/src/window.d.ts +++ b/code/lib/cli/src/window.d.ts @@ -1,5 +1,5 @@ -import type { Renderer } from '@storybook/types'; -import type { StoryStore } from '@storybook/preview-api'; +import type { Renderer } from '@storybook/core/dist/types'; +import type { StoryStore } from '@storybook/core/dist/preview-api'; declare global { interface Window { diff --git a/code/lib/client-logger/package.json b/code/lib/client-logger/package.json deleted file mode 100644 index 80545b22643b..000000000000 --- a/code/lib/client-logger/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "@storybook/client-logger", - "version": "8.1.0-alpha.7", - "description": "", - "keywords": [ - "storybook" - ], - "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/client-logger", - "bugs": { - "url": "https://github.com/storybookjs/storybook/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/storybookjs/storybook.git", - "directory": "code/lib/client-logger" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "license": "MIT", - "sideEffects": false, - "exports": { - ".": { - "types": "./dist/index.d.ts", - "node": "./dist/index.js", - "require": "./dist/index.js", - "import": "./dist/index.mjs" - }, - "./package.json": "./package.json" - }, - "main": "dist/index.js", - "module": "dist/index.mjs", - "types": "dist/index.d.ts", - "files": [ - "dist/**/*", - "README.md", - "*.js", - "*.d.ts", - "!src/**/*" - ], - "scripts": { - "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts", - "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" - }, - "dependencies": { - "@storybook/global": "^5.0.0" - }, - "devDependencies": { - "typescript": "^5.3.2" - }, - "publishConfig": { - "access": "public" - }, - "bundler": { - "entries": [ - "./src/index.ts" - ] - }, - "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17" -} diff --git a/code/lib/client-logger/project.json b/code/lib/client-logger/project.json deleted file mode 100644 index 3ecdad88a0dd..000000000000 --- a/code/lib/client-logger/project.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "targets": { - "build": {} - } -} diff --git a/code/lib/client-logger/src/typings.d.ts b/code/lib/client-logger/src/typings.d.ts deleted file mode 100644 index bfd9e55123ff..000000000000 --- a/code/lib/client-logger/src/typings.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare var LOGLEVEL: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent' | undefined; diff --git a/code/lib/client-logger/tsconfig.json b/code/lib/client-logger/tsconfig.json deleted file mode 100644 index 7378641b0d33..000000000000 --- a/code/lib/client-logger/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "strict": true, - "types": ["node"] - }, - "include": ["src/**/*"] -} diff --git a/code/lib/client-logger/vitest.config.ts b/code/lib/client-logger/vitest.config.ts deleted file mode 100644 index 12fa8dbe147f..000000000000 --- a/code/lib/client-logger/vitest.config.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defineConfig, mergeConfig } from 'vitest/config'; -import { vitestCommonConfig } from '../../vitest.workspace'; - -export default mergeConfig( - vitestCommonConfig, - defineConfig({ - test: { - environment: 'jsdom', - }, - }) -); diff --git a/code/lib/codemod/package.json b/code/lib/codemod/package.json index e1d2fdff65b5..ac98b0012d5c 100644 --- a/code/lib/codemod/package.json +++ b/code/lib/codemod/package.json @@ -58,9 +58,6 @@ "@babel/preset-env": "^7.24.4", "@babel/types": "^7.24.0", "@storybook/csf": "^0.1.6", - "@storybook/csf-tools": "workspace:*", - "@storybook/node-logger": "workspace:*", - "@storybook/types": "workspace:*", "@types/cross-spawn": "^6.0.2", "cross-spawn": "^7.0.3", "globby": "^14.0.1", @@ -85,6 +82,9 @@ "util": "^0.12.4", "vfile": "^5.3.7" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/lib/codemod/src/transforms/__testfixtures__/update-organisation-name/update-organisation-name.output.snapshot b/code/lib/codemod/src/transforms/__testfixtures__/update-organisation-name/update-organisation-name.output.snapshot index 5d16d1cc5724..bef29b551097 100644 --- a/code/lib/codemod/src/transforms/__testfixtures__/update-organisation-name/update-organisation-name.output.snapshot +++ b/code/lib/codemod/src/transforms/__testfixtures__/update-organisation-name/update-organisation-name.output.snapshot @@ -2,7 +2,7 @@ exports[`update-organisation-name transforms correctly using "update-organisation-name.input.js" data 1`] = ` "/* eslint-disable */ -import '@storybook/preview-api'; +import '@storybook/core/dist/preview-api'; import '@storybook/addon-comments'; import '@storybook/addon-centered'; import '@storybook/addon-graphql'; @@ -12,7 +12,7 @@ import '@storybook/addon-links'; import '@storybook/addon-notes'; import '@storybook/addon-options'; import '@storybook/addon-storyshots'; -import '@storybook/channels'; +import '@storybook/core/dist/channels'; import '@storybook/channel-postmessage'; import '@storybook/channel-websocket'; import '@storybook/cli'; diff --git a/code/lib/codemod/src/transforms/__tests__/transforms.tests.js b/code/lib/codemod/src/transforms/__tests__/transforms.tests.js index 835c18b4d342..5d3109ed692b 100644 --- a/code/lib/codemod/src/transforms/__tests__/transforms.tests.js +++ b/code/lib/codemod/src/transforms/__tests__/transforms.tests.js @@ -3,7 +3,7 @@ import path from 'path'; import fs from 'fs'; import { applyTransform } from 'jscodeshift/dist/testUtils'; -vi.mock('@storybook/node-logger'); +vi.mock('@storybook/core/dist/node-logger'); const inputRegExp = /\.input\.js$/; diff --git a/code/lib/codemod/src/transforms/csf-2-to-3.ts b/code/lib/codemod/src/transforms/csf-2-to-3.ts index 507c38999c88..fbe005afc89a 100644 --- a/code/lib/codemod/src/transforms/csf-2-to-3.ts +++ b/code/lib/codemod/src/transforms/csf-2-to-3.ts @@ -2,8 +2,8 @@ import prettier from 'prettier'; import * as t from '@babel/types'; import { isIdentifier, isTSTypeAnnotation, isTSTypeReference } from '@babel/types'; -import type { CsfFile } from '@storybook/csf-tools'; -import { loadCsf, printCsf } from '@storybook/csf-tools'; +import type { CsfFile } from '@storybook/core/dist/csf-tools'; +import { loadCsf, printCsf } from '@storybook/core/dist/csf-tools'; import type { API, FileInfo } from 'jscodeshift'; import type { BabelFile, NodePath } from '@babel/core'; import * as babel from '@babel/core'; diff --git a/code/lib/codemod/src/transforms/find-implicit-spies.ts b/code/lib/codemod/src/transforms/find-implicit-spies.ts index 558cde383aa7..8a11c401bcd4 100644 --- a/code/lib/codemod/src/transforms/find-implicit-spies.ts +++ b/code/lib/codemod/src/transforms/find-implicit-spies.ts @@ -1,6 +1,6 @@ /* eslint-disable no-underscore-dangle */ import type { FileInfo } from 'jscodeshift'; -import { loadCsf } from '@storybook/csf-tools'; +import { loadCsf } from '@storybook/core/dist/csf-tools'; import type { BabelFile } from '@babel/core'; import * as babel from '@babel/core'; import { isIdentifier, isObjectExpression, isObjectProperty } from '@babel/types'; diff --git a/code/lib/codemod/src/transforms/mdx-to-csf.ts b/code/lib/codemod/src/transforms/mdx-to-csf.ts index 765331e40b2e..b3c963d5bbe9 100644 --- a/code/lib/codemod/src/transforms/mdx-to-csf.ts +++ b/code/lib/codemod/src/transforms/mdx-to-csf.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/ban-ts-comment,@typescript-eslint/no-shadow */ import type { FileInfo } from 'jscodeshift'; -import { babelParse, babelParseExpression } from '@storybook/csf-tools'; +import { babelParse, babelParseExpression } from '@storybook/core/dist/csf-tools'; import { remark } from 'remark'; import remarkMdx from 'remark-mdx'; import { SKIP, visit } from 'unist-util-visit'; diff --git a/code/lib/codemod/src/transforms/migrate-to-test-package.ts b/code/lib/codemod/src/transforms/migrate-to-test-package.ts index 02545aae06af..8bbdc5fea0f0 100644 --- a/code/lib/codemod/src/transforms/migrate-to-test-package.ts +++ b/code/lib/codemod/src/transforms/migrate-to-test-package.ts @@ -1,6 +1,6 @@ /* eslint-disable no-underscore-dangle */ import type { FileInfo } from 'jscodeshift'; -import { loadCsf, printCsf } from '@storybook/csf-tools'; +import { loadCsf, printCsf } from '@storybook/core/dist/csf-tools'; import type { BabelFile } from '@babel/core'; import * as babel from '@babel/core'; import * as t from '@babel/types'; diff --git a/code/lib/codemod/src/transforms/storiesof-to-csf.js b/code/lib/codemod/src/transforms/storiesof-to-csf.js index 993e9ff8c35b..93a254947976 100644 --- a/code/lib/codemod/src/transforms/storiesof-to-csf.js +++ b/code/lib/codemod/src/transforms/storiesof-to-csf.js @@ -1,5 +1,5 @@ import prettier from 'prettier'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { storyNameFromExport } from '@storybook/csf'; import { sanitizeName, jscodeshiftToPrettierParser } from '../lib/utils'; diff --git a/code/lib/codemod/src/transforms/update-organisation-name.js b/code/lib/codemod/src/transforms/update-organisation-name.js index 6e355bb700a3..f47e71d90f4c 100644 --- a/code/lib/codemod/src/transforms/update-organisation-name.js +++ b/code/lib/codemod/src/transforms/update-organisation-name.js @@ -1,6 +1,6 @@ export const packageNames = { '@kadira/react-storybook-decorator-centered': '@storybook/addon-centered', - '@kadira/storybook-addons': '@storybook/preview-api', + '@kadira/storybook-addons': '@storybook/core/dist/preview-api', '@kadira/storybook-addon-actions': '@storybook/addon-actions', '@kadira/storybook-addon-comments': '@storybook/addon-comments', '@kadira/storybook-addon-graphql': '@storybook/addon-graphql', @@ -9,7 +9,7 @@ export const packageNames = { '@kadira/storybook-addon-links': '@storybook/addon-links', '@kadira/storybook-addon-notes': '@storybook/addon-notes', '@kadira/storybook-addon-options': '@storybook/addon-options', - '@kadira/storybook-channels': '@storybook/channels', + '@kadira/storybook-channels': '@storybook/core/dist/channels', '@kadira/storybook-channel-postmsg': '@storybook/channel-postmessage', '@kadira/storybook-channel-websocket': '@storybook/channel-websocket', '@kadira/storybook-ui': '@storybook/manager', diff --git a/code/lib/codemod/src/transforms/upgrade-deprecated-types.ts b/code/lib/codemod/src/transforms/upgrade-deprecated-types.ts index 5751d139ba97..0d4dca6197f7 100644 --- a/code/lib/codemod/src/transforms/upgrade-deprecated-types.ts +++ b/code/lib/codemod/src/transforms/upgrade-deprecated-types.ts @@ -3,7 +3,7 @@ import prettier from 'prettier'; import type { API, FileInfo } from 'jscodeshift'; import type { BabelFile, NodePath } from '@babel/core'; import * as babel from '@babel/core'; -import { loadCsf, printCsf } from '@storybook/csf-tools'; +import { loadCsf, printCsf } from '@storybook/core/dist/csf-tools'; import * as t from '@babel/types'; const logger = console; diff --git a/code/lib/core-common/package.json b/code/lib/core-common/package.json deleted file mode 100644 index 2cef151d5e0e..000000000000 --- a/code/lib/core-common/package.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "name": "@storybook/core-common", - "version": "8.1.0-alpha.7", - "description": "Storybook framework-agnostic API", - "keywords": [ - "storybook" - ], - "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/core-common", - "bugs": { - "url": "https://github.com/storybookjs/storybook/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/storybookjs/storybook.git", - "directory": "code/lib/core-common" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "license": "MIT", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "node": "./dist/index.js", - "require": "./dist/index.js", - "import": "./dist/index.mjs" - }, - "./package.json": "./package.json" - }, - "main": "dist/index.js", - "module": "dist/index.mjs", - "types": "dist/index.d.ts", - "files": [ - "dist/**/*", - "templates/**/*", - "README.md", - "*.js", - "*.d.ts", - "!src/**/*" - ], - "scripts": { - "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts", - "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" - }, - "dependencies": { - "@storybook/core-events": "workspace:*", - "@storybook/csf-tools": "workspace:*", - "@storybook/node-logger": "workspace:*", - "@storybook/types": "workspace:*", - "@yarnpkg/fslib": "2.10.3", - "@yarnpkg/libzip": "2.3.0", - "chalk": "^4.1.0", - "cross-spawn": "^7.0.3", - "esbuild": "^0.18.0 || ^0.19.0 || ^0.20.0", - "esbuild-register": "^3.5.0", - "execa": "^5.0.0", - "file-system-cache": "2.3.0", - "find-cache-dir": "^3.0.0", - "find-up": "^5.0.0", - "fs-extra": "^11.1.0", - "glob": "^10.0.0", - "handlebars": "^4.7.7", - "lazy-universal-dotenv": "^4.0.0", - "node-fetch": "^2.0.0", - "picomatch": "^2.3.0", - "pkg-dir": "^5.0.0", - "prettier-fallback": "npm:prettier@^3", - "pretty-hrtime": "^1.0.3", - "resolve-from": "^5.0.0", - "semver": "^7.3.7", - "tempy": "^1.0.1", - "tiny-invariant": "^1.3.1", - "ts-dedent": "^2.0.0", - "util": "^0.12.4" - }, - "devDependencies": { - "@types/find-cache-dir": "^3.2.1", - "@types/fs-extra": "^11.0.1", - "@types/mock-fs": "^4.13.1", - "@types/node": "^18.0.0", - "@types/node-fetch": "^2.6.4", - "@types/picomatch": "^2.3.0", - "@types/prettier-v2": "npm:@types/prettier@^2", - "@types/pretty-hrtime": "^1.0.0", - "mock-fs": "^5.2.0", - "prettier-v2": "npm:prettier@^2", - "prettier-v3": "npm:prettier@^3", - "slash": "^5.0.0", - "type-fest": "~2.19", - "typescript": "^5.3.2" - }, - "peerDependencies": { - "prettier": "^2 || ^3" - }, - "peerDependenciesMeta": { - "prettier": { - "optional": true - } - }, - "publishConfig": { - "access": "public" - }, - "bundler": { - "pre": "./scripts/generate-sb-packages-versions.js", - "entries": [ - "./src/index.ts" - ], - "platform": "node" - }, - "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17" -} diff --git a/code/lib/core-common/project.json b/code/lib/core-common/project.json deleted file mode 100644 index 3ecdad88a0dd..000000000000 --- a/code/lib/core-common/project.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "targets": { - "build": {} - } -} diff --git a/code/lib/core-common/scripts/generate-sb-packages-versions.js b/code/lib/core-common/scripts/generate-sb-packages-versions.js deleted file mode 100644 index 72c97fcf7abc..000000000000 --- a/code/lib/core-common/scripts/generate-sb-packages-versions.js +++ /dev/null @@ -1,72 +0,0 @@ -#!/usr/bin/env node - -const { promisify } = require('util'); -const { readJson, writeFile } = require('fs-extra'); -const { exec } = require('child_process'); -const path = require('path'); -const semver = require('semver'); -const { default: dedent } = require('ts-dedent'); - -const rootDirectory = path.join(__dirname, '..', '..', '..'); - -const logger = console; - -const getMonorepoPackages = async () => { - const process = promisify(exec); - const contents = await process('yarn workspaces list --json --no-private', { - cwd: rootDirectory, - }); - - return JSON.parse(`[${contents.stdout.trim().split('\n').join(',')}]`).map((w) => w.location); -}; - -const run = async () => { - let updatedVersion = process.argv[process.argv.length - 1]; - - if (!semver.valid(updatedVersion)) { - updatedVersion = (await readJson(path.join(rootDirectory, 'package.json'))).version; - } - - const storybookPackages = await getMonorepoPackages(); - - const packageToVersionMap = ( - await Promise.all( - storybookPackages.map(async (location) => { - const { name, version } = await readJson( - path.join(rootDirectory, location, 'package.json') - ); - - return { - name, - version, - }; - }) - ) - ) - .filter(({ name }) => /^(@storybook|sb$|storybook$)/.test(name)) - // As some previous steps are asynchronous order is not always the same so sort them to avoid that - .sort((package1, package2) => package1.name.localeCompare(package2.name)) - .reduce((acc, { name }) => ({ ...acc, [name]: updatedVersion }), {}); - - const versionsPath = path.join(__dirname, '..', 'src', 'versions.ts'); - - await writeFile( - versionsPath, - dedent` - // auto generated file, do not edit - export default ${JSON.stringify(packageToVersionMap, null, 2)} - ` - ); - - logger.log(`Updating versions and formatting results at: ${versionsPath}`); - - const prettierBin = path.join(rootDirectory, '..', 'scripts', 'node_modules', '.bin', 'prettier'); - exec(`${prettierBin} --write ${versionsPath}`, { - cwd: path.join(rootDirectory), - }); -}; - -run().catch((e) => { - logger.error(e); - process.exit(1); -}); diff --git a/code/lib/core-common/src/js-package-manager/fixtures/multiple-lockfiles/yarn.lock b/code/lib/core-common/src/js-package-manager/fixtures/multiple-lockfiles/yarn.lock deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/code/lib/core-common/src/js-package-manager/fixtures/yarn.lock b/code/lib/core-common/src/js-package-manager/fixtures/yarn.lock deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/code/lib/core-common/src/typings.d.ts b/code/lib/core-common/src/typings.d.ts deleted file mode 100644 index 3221f4786e51..000000000000 --- a/code/lib/core-common/src/typings.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare module 'pnp-webpack-plugin'; -declare module 'lazy-universal-dotenv'; diff --git a/code/lib/core-common/tsconfig.json b/code/lib/core-common/tsconfig.json deleted file mode 100644 index 09ecf1df9db0..000000000000 --- a/code/lib/core-common/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "strict": true - }, - "include": ["src/**/*", "*.d.ts"] -} diff --git a/code/lib/core-common/vitest.config.ts b/code/lib/core-common/vitest.config.ts deleted file mode 100644 index 86a9dd454025..000000000000 --- a/code/lib/core-common/vitest.config.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defineConfig, mergeConfig } from 'vitest/config'; -import { vitestCommonConfig } from '../../vitest.workspace'; - -export default mergeConfig( - vitestCommonConfig, - defineConfig({ - test: { - environment: 'node', - }, - }) -); diff --git a/code/lib/core-events/package.json b/code/lib/core-events/package.json deleted file mode 100644 index 8f8cff87bce0..000000000000 --- a/code/lib/core-events/package.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "name": "@storybook/core-events", - "version": "8.1.0-alpha.7", - "description": "Event names used in storybook core", - "keywords": [ - "storybook" - ], - "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/core-events", - "bugs": { - "url": "https://github.com/storybookjs/storybook/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/storybookjs/storybook.git", - "directory": "code/lib/core-events" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "license": "MIT", - "sideEffects": false, - "exports": { - ".": { - "types": "./dist/index.d.ts", - "node": "./dist/index.js", - "require": "./dist/index.js", - "import": "./dist/index.mjs" - }, - "./preview-errors": { - "types": "./dist/errors/preview-errors.d.ts", - "node": "./dist/errors/preview-errors.js", - "require": "./dist/errors/preview-errors.js", - "import": "./dist/errors/preview-errors.mjs" - }, - "./manager-errors": { - "types": "./dist/errors/manager-errors.d.ts", - "node": "./dist/errors/manager-errors.js", - "require": "./dist/errors/manager-errors.js", - "import": "./dist/errors/manager-errors.mjs" - }, - "./server-errors": { - "types": "./dist/errors/server-errors.d.ts", - "node": "./dist/errors/server-errors.js", - "require": "./dist/errors/server-errors.js", - "import": "./dist/errors/server-errors.mjs" - }, - "./package.json": "./package.json" - }, - "main": "./dist/index.js", - "module": "./dist/index.mjs", - "types": "./dist/index.d.ts", - "typesVersions": { - "*": { - "*": [ - "dist/index.d.ts" - ], - "preview-errors": [ - "dist/errors/preview-errors.d.ts" - ], - "manager-errors": [ - "dist/errors/manager-errors.d.ts" - ], - "server-errors": [ - "dist/errors/server-errors.d.ts" - ] - } - }, - "files": [ - "dist/**/*", - "README.md", - "*.js", - "*.d.ts", - "!src/**/*" - ], - "scripts": { - "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts", - "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" - }, - "dependencies": { - "@storybook/csf": "^0.1.5", - "ts-dedent": "^2.0.0" - }, - "devDependencies": { - "chalk": "^4.1.0", - "typescript": "^5.3.2" - }, - "publishConfig": { - "access": "public" - }, - "bundler": { - "entries": [ - "./src/index.ts", - "./src/errors/preview-errors.ts", - "./src/errors/manager-errors.ts", - "./src/errors/server-errors.ts" - ] - }, - "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17" -} diff --git a/code/lib/core-events/project.json b/code/lib/core-events/project.json deleted file mode 100644 index 3ecdad88a0dd..000000000000 --- a/code/lib/core-events/project.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "targets": { - "build": {} - } -} diff --git a/code/lib/core-events/tsconfig.json b/code/lib/core-events/tsconfig.json deleted file mode 100644 index b5a2f9a70918..000000000000 --- a/code/lib/core-events/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"], - "compilerOptions": { - "strict": true - } -} diff --git a/code/lib/core-events/vitest.config.ts b/code/lib/core-events/vitest.config.ts deleted file mode 100644 index 86a9dd454025..000000000000 --- a/code/lib/core-events/vitest.config.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defineConfig, mergeConfig } from 'vitest/config'; -import { vitestCommonConfig } from '../../vitest.workspace'; - -export default mergeConfig( - vitestCommonConfig, - defineConfig({ - test: { - environment: 'node', - }, - }) -); diff --git a/code/lib/core-server/package.json b/code/lib/core-server/package.json index baaabbbfb69b..d5193a5e99b1 100644 --- a/code/lib/core-server/package.json +++ b/code/lib/core-server/package.json @@ -60,19 +60,11 @@ "@babel/parser": "^7.24.4", "@discoveryjs/json-ext": "^0.5.3", "@storybook/builder-manager": "workspace:*", - "@storybook/channels": "workspace:*", - "@storybook/core-common": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/csf": "^0.1.6", - "@storybook/csf-tools": "workspace:*", "@storybook/docs-mdx": "3.0.0", "@storybook/global": "^5.0.0", "@storybook/manager": "workspace:*", "@storybook/manager-api": "workspace:*", - "@storybook/node-logger": "workspace:*", - "@storybook/preview-api": "workspace:*", - "@storybook/telemetry": "workspace:*", - "@storybook/types": "workspace:*", "@types/detect-port": "^1.3.0", "@types/diff": "^5.0.9", "@types/node": "^18.0.0", @@ -114,6 +106,9 @@ "slash": "^5.0.0", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/lib/core-server/src/build-dev.ts b/code/lib/core-server/src/build-dev.ts index de47bcd7a575..9d42982aad1a 100644 --- a/code/lib/core-server/src/build-dev.ts +++ b/code/lib/core-server/src/build-dev.ts @@ -1,4 +1,4 @@ -import type { BuilderOptions, CLIOptions, LoadOptions, Options } from '@storybook/types'; +import type { BuilderOptions, CLIOptions, LoadOptions, Options } from '@storybook/core/dist/types'; import { getProjectRoot, loadAllPresets, @@ -7,17 +7,17 @@ import { resolvePathInStorybookCache, serverResolve, validateFrameworkName, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import prompts from 'prompts'; import invariant from 'tiny-invariant'; import { global } from '@storybook/global'; -import { oneWayHash, telemetry } from '@storybook/telemetry'; +import { oneWayHash, telemetry } from '@storybook/core/dist/telemetry'; import { join, relative, resolve } from 'path'; -import { deprecate } from '@storybook/node-logger'; +import { deprecate } from '@storybook/core/dist/node-logger'; import { dedent } from 'ts-dedent'; import { readFile } from 'fs-extra'; -import { MissingBuilderError, NoStatsForViteDevError } from '@storybook/core-events/server-errors'; +import { MissingBuilderError, NoStatsForViteDevError } from '@storybook/core/dist/server-errors'; import { storybookDevServer } from './dev-server'; import { outputStats } from './utils/output-stats'; import { outputStartupInformation } from './utils/output-startup-information'; diff --git a/code/lib/core-server/src/build-static.ts b/code/lib/core-server/src/build-static.ts index f1f842eaea28..fcf553f91d05 100644 --- a/code/lib/core-server/src/build-static.ts +++ b/code/lib/core-server/src/build-static.ts @@ -2,16 +2,16 @@ import chalk from 'chalk'; import { copy, emptyDir, ensureDir } from 'fs-extra'; import { dirname, join, relative, resolve } from 'path'; import { global } from '@storybook/global'; -import { logger } from '@storybook/node-logger'; -import { getPrecedingUpgrade, telemetry } from '@storybook/telemetry'; -import type { BuilderOptions, CLIOptions, LoadOptions, Options } from '@storybook/types'; +import { logger } from '@storybook/core/dist/node-logger'; +import { getPrecedingUpgrade, telemetry } from '@storybook/core/dist/telemetry'; +import type { BuilderOptions, CLIOptions, LoadOptions, Options } from '@storybook/core/dist/types'; import { loadAllPresets, loadMainConfig, logConfig, normalizeStories, resolveAddonName, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import { outputStats } from './utils/output-stats'; import { copyAllStaticFilesRelativeToMain } from './utils/copy-all-static-files'; diff --git a/code/lib/core-server/src/dev-server.ts b/code/lib/core-server/src/dev-server.ts index f8805a75a690..76d07929d42a 100644 --- a/code/lib/core-server/src/dev-server.ts +++ b/code/lib/core-server/src/dev-server.ts @@ -2,12 +2,12 @@ import express from 'express'; import compression from 'compression'; import invariant from 'tiny-invariant'; -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; -import { logConfig } from '@storybook/core-common'; -import { logger } from '@storybook/node-logger'; +import { logConfig } from '@storybook/core/dist/common'; +import { logger } from '@storybook/core/dist/node-logger'; -import { MissingBuilderError } from '@storybook/core-events/server-errors'; +import { MissingBuilderError } from '@storybook/core/dist/server-errors'; import { getMiddleware } from './utils/middleware'; import { getServerAddresses } from './utils/server-address'; import { getServer } from './utils/server-init'; diff --git a/code/lib/core-server/src/index.ts b/code/lib/core-server/src/index.ts index 2bbd8ed13b3f..8664944bc391 100644 --- a/code/lib/core-server/src/index.ts +++ b/code/lib/core-server/src/index.ts @@ -1,7 +1,7 @@ // eslint-disable-next-line @typescript-eslint/triple-slash-reference /// -export { getPreviewHeadTemplate, getPreviewBodyTemplate } from '@storybook/core-common'; +export { getPreviewHeadTemplate, getPreviewBodyTemplate } from '@storybook/core/dist/common'; export * from './build-static'; export * from './build-dev'; diff --git a/code/lib/core-server/src/presets/common-override-preset.ts b/code/lib/core-server/src/presets/common-override-preset.ts index 51d1af8998d4..5ea9ed9f8b1f 100644 --- a/code/lib/core-server/src/presets/common-override-preset.ts +++ b/code/lib/core-server/src/presets/common-override-preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty, TestBuildFlags } from '@storybook/types'; +import type { PresetProperty, TestBuildFlags } from '@storybook/core/dist/types'; import { removeMDXEntries } from '../utils/remove-mdx-entries'; export const framework: PresetProperty<'framework'> = async (config) => { diff --git a/code/lib/core-server/src/presets/common-preset.ts b/code/lib/core-server/src/presets/common-preset.ts index 0089a4a74fa7..3ee3aca70769 100644 --- a/code/lib/core-server/src/presets/common-preset.ts +++ b/code/lib/core-server/src/presets/common-preset.ts @@ -1,13 +1,13 @@ import { pathExists, readFile } from 'fs-extra'; -import { logger } from '@storybook/node-logger'; -import { telemetry } from '@storybook/telemetry'; +import { logger } from '@storybook/core/dist/node-logger'; +import { telemetry } from '@storybook/core/dist/telemetry'; import { getDirectoryFromWorkingDir, getPreviewBodyTemplate, getPreviewHeadTemplate, loadEnvs, removeAddon as removeAddonBase, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import type { CLIOptions, CoreConfig, @@ -15,11 +15,11 @@ import type { Options, PresetPropertyFn, PresetProperty, -} from '@storybook/types'; -import { readCsf } from '@storybook/csf-tools'; +} from '@storybook/core/dist/types'; +import { readCsf } from '@storybook/core/dist/csf-tools'; import { join, dirname, isAbsolute } from 'path'; import { dedent } from 'ts-dedent'; -import type { Channel } from '@storybook/channels'; +import type { Channel } from '@storybook/core/dist/channels'; import { parseStaticDir } from '../utils/server-statics'; import { defaultStaticDirs } from '../utils/constants'; import { initializeWhatsNew, type OptionsWithRequiredCache } from '../utils/whats-new'; diff --git a/code/lib/core-server/src/presets/favicon.test.ts b/code/lib/core-server/src/presets/favicon.test.ts index fec09b755b56..0fecfa698e28 100644 --- a/code/lib/core-server/src/presets/favicon.test.ts +++ b/code/lib/core-server/src/presets/favicon.test.ts @@ -2,7 +2,7 @@ import { expect, vi, it } from 'vitest'; import { join } from 'path'; import * as fs from 'fs-extra'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import * as m from './common-preset'; const defaultFavicon = require.resolve('@storybook/core-server/public/favicon.svg'); @@ -35,7 +35,7 @@ vi.mock('fs-extra', () => { }; }); -vi.mock('@storybook/node-logger', () => { +vi.mock('@storybook/core/dist/node-logger', () => { return { logger: { warn: vi.fn(() => {}), diff --git a/code/lib/core-server/src/server-channel/create-new-story-channel.test.ts b/code/lib/core-server/src/server-channel/create-new-story-channel.test.ts index dc3763cb2d6b..f63bcf0b1fc3 100644 --- a/code/lib/core-server/src/server-channel/create-new-story-channel.test.ts +++ b/code/lib/core-server/src/server-channel/create-new-story-channel.test.ts @@ -9,8 +9,8 @@ import { CREATE_NEW_STORYFILE_RESPONSE, } from '@storybook/core-events'; -vi.mock('@storybook/core-common', async (importOriginal) => { - const actual = await importOriginal(); +vi.mock('@storybook/core/dist/common', async (importOriginal) => { + const actual = await importOriginal(); return { ...actual, getProjectRoot: vi.fn().mockReturnValue(process.cwd()), diff --git a/code/lib/core-server/src/server-channel/create-new-story-channel.ts b/code/lib/core-server/src/server-channel/create-new-story-channel.ts index 18d755afbd44..6799900c014b 100644 --- a/code/lib/core-server/src/server-channel/create-new-story-channel.ts +++ b/code/lib/core-server/src/server-channel/create-new-story-channel.ts @@ -1,17 +1,17 @@ -import type { CoreConfig, Options } from '@storybook/types'; -import type { Channel } from '@storybook/channels'; -import { telemetry } from '@storybook/telemetry'; +import type { CoreConfig, Options } from '@storybook/core/dist/types'; +import type { Channel } from '@storybook/core/dist/channels'; +import { telemetry } from '@storybook/core/dist/telemetry'; import type { CreateNewStoryErrorPayload, CreateNewStoryRequestPayload, CreateNewStoryResponsePayload, RequestData, ResponseData, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import { CREATE_NEW_STORYFILE_REQUEST, CREATE_NEW_STORYFILE_RESPONSE, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import fs from 'node:fs/promises'; import { existsSync } from 'node:fs'; import { getNewStoryFile } from '../utils/get-new-story-file'; diff --git a/code/lib/core-server/src/server-channel/file-search-channel.test.ts b/code/lib/core-server/src/server-channel/file-search-channel.test.ts index d12af10ca261..378676a1dd61 100644 --- a/code/lib/core-server/src/server-channel/file-search-channel.test.ts +++ b/code/lib/core-server/src/server-channel/file-search-channel.test.ts @@ -21,8 +21,8 @@ vi.mock('../utils/search-files', () => { }; }); -vi.mock('@storybook/core-common', async (importOriginal) => { - const actual = await importOriginal(); +vi.mock('@storybook/core/dist/common', async (importOriginal) => { + const actual = await importOriginal(); return { ...actual, getFrameworkName: vi.fn().mockResolvedValue('@storybook/react'), diff --git a/code/lib/core-server/src/server-channel/file-search-channel.ts b/code/lib/core-server/src/server-channel/file-search-channel.ts index 58e94fdfcc77..c87e3ddc43af 100644 --- a/code/lib/core-server/src/server-channel/file-search-channel.ts +++ b/code/lib/core-server/src/server-channel/file-search-channel.ts @@ -1,10 +1,10 @@ -import type { CoreConfig, Options, SupportedRenderers } from '@storybook/types'; -import type { Channel } from '@storybook/channels'; +import type { CoreConfig, Options, SupportedRenderers } from '@storybook/core/dist/types'; +import type { Channel } from '@storybook/core/dist/channels'; import { extractProperRendererNameFromFramework, getFrameworkName, getProjectRoot, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import path from 'path'; import fs from 'fs/promises'; @@ -15,13 +15,13 @@ import type { FileComponentSearchResponsePayload, RequestData, ResponseData, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import { FILE_COMPONENT_SEARCH_REQUEST, FILE_COMPONENT_SEARCH_RESPONSE, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import { doesStoryFileExist, getStoryMetadata } from '../utils/get-new-story-file'; -import { telemetry } from '@storybook/telemetry'; +import { telemetry } from '@storybook/core/dist/telemetry'; export async function initFileSearchChannel( channel: Channel, diff --git a/code/lib/core-server/src/typings.d.ts b/code/lib/core-server/src/typings.d.ts index e6d9fc7e10a2..d634121e8c4e 100644 --- a/code/lib/core-server/src/typings.d.ts +++ b/code/lib/core-server/src/typings.d.ts @@ -6,5 +6,5 @@ declare module '@aw-web-design/x-default-browser'; declare module '@discoveryjs/json-ext'; declare module 'watchpack'; -declare var FEATURES: import('@storybook/types').StorybookConfigRaw['features']; -declare var TAGS_OPTIONS: import('@storybook/types').TagsOptions; +declare var FEATURES: import('@storybook/core/dist/types').StorybookConfigRaw['features']; +declare var TAGS_OPTIONS: import('@storybook/core/dist/types').TagsOptions; diff --git a/code/lib/core-server/src/utils/StoryIndexGenerator.test.ts b/code/lib/core-server/src/utils/StoryIndexGenerator.test.ts index ad4aafd4a26e..3c9e4485b673 100644 --- a/code/lib/core-server/src/utils/StoryIndexGenerator.test.ts +++ b/code/lib/core-server/src/utils/StoryIndexGenerator.test.ts @@ -6,11 +6,11 @@ import { describe, beforeEach, it, expect, vi } from 'vitest'; import path from 'path'; -import { normalizeStoriesEntry } from '@storybook/core-common'; -import type { NormalizedStoriesSpecifier, StoryIndexEntry } from '@storybook/types'; -import { readCsf, getStorySortParameter } from '@storybook/csf-tools'; +import { normalizeStoriesEntry } from '@storybook/core/dist/common'; +import type { NormalizedStoriesSpecifier, StoryIndexEntry } from '@storybook/core/dist/types'; +import { readCsf, getStorySortParameter } from '@storybook/core/dist/csf-tools'; import { toId } from '@storybook/csf'; -import { logger, once } from '@storybook/node-logger'; +import { logger, once } from '@storybook/core/dist/node-logger'; import type { StoryIndexGeneratorOptions } from './StoryIndexGenerator'; import { StoryIndexGenerator } from './StoryIndexGenerator'; @@ -24,11 +24,11 @@ vi.mock('@storybook/csf', async (importOriginal) => { }; }); -vi.mock('@storybook/node-logger'); +vi.mock('@storybook/core/dist/node-logger'); const toIdMock = vi.mocked(toId); -vi.mock('@storybook/csf-tools', async (importOriginal) => { - const csfTools = await importOriginal(); +vi.mock('@storybook/core/dist/csf-tools', async (importOriginal) => { + const csfTools = await importOriginal(); return { ...csfTools, readCsf: vi.fn(csfTools.readCsf), diff --git a/code/lib/core-server/src/utils/StoryIndexGenerator.ts b/code/lib/core-server/src/utils/StoryIndexGenerator.ts index 9f2c147c9a1f..10093d24bf12 100644 --- a/code/lib/core-server/src/utils/StoryIndexGenerator.ts +++ b/code/lib/core-server/src/utils/StoryIndexGenerator.ts @@ -17,11 +17,11 @@ import type { StoryName, Indexer, StorybookConfigRaw, -} from '@storybook/types'; -import { userOrAutoTitleFromSpecifier, sortStoriesV7 } from '@storybook/preview-api'; -import { commonGlobOptions, normalizeStoryPath } from '@storybook/core-common'; -import { logger, once } from '@storybook/node-logger'; -import { getStorySortParameter } from '@storybook/csf-tools'; +} from '@storybook/core/dist/types'; +import { userOrAutoTitleFromSpecifier, sortStoriesV7 } from '@storybook/core/dist/preview-api'; +import { commonGlobOptions, normalizeStoryPath } from '@storybook/core/dist/common'; +import { logger, once } from '@storybook/core/dist/node-logger'; +import { getStorySortParameter } from '@storybook/core/dist/csf-tools'; import { storyNameFromExport, toId } from '@storybook/csf'; import { analyze } from '@storybook/docs-mdx'; import dedent from 'ts-dedent'; diff --git a/code/lib/core-server/src/utils/__tests__/index-extraction.test.ts b/code/lib/core-server/src/utils/__tests__/index-extraction.test.ts index a1936c6719dd..25efa25ebcb7 100644 --- a/code/lib/core-server/src/utils/__tests__/index-extraction.test.ts +++ b/code/lib/core-server/src/utils/__tests__/index-extraction.test.ts @@ -4,13 +4,13 @@ import { describe, it, expect, vi } from 'vitest'; import path from 'path'; -import { normalizeStoriesEntry } from '@storybook/core-common'; -import type { NormalizedStoriesSpecifier } from '@storybook/types'; +import { normalizeStoriesEntry } from '@storybook/core/dist/common'; +import type { NormalizedStoriesSpecifier } from '@storybook/core/dist/types'; import type { StoryIndexGeneratorOptions } from '../StoryIndexGenerator'; import { AUTODOCS_TAG, STORIES_MDX_TAG, StoryIndexGenerator } from '../StoryIndexGenerator'; -vi.mock('@storybook/node-logger'); +vi.mock('@storybook/core/dist/node-logger'); const options: StoryIndexGeneratorOptions = { configDir: path.join(__dirname, '..', '__mockdata__'), diff --git a/code/lib/core-server/src/utils/__tests__/remove-mdx-stories.test.ts b/code/lib/core-server/src/utils/__tests__/remove-mdx-stories.test.ts index ab0dbe1e0e6c..3613511d5015 100644 --- a/code/lib/core-server/src/utils/__tests__/remove-mdx-stories.test.ts +++ b/code/lib/core-server/src/utils/__tests__/remove-mdx-stories.test.ts @@ -1,6 +1,6 @@ import { glob as globOriginal } from 'glob'; -import { type StoriesEntry } from '@storybook/types'; -import { normalizeStoriesEntry } from '@storybook/core-common'; +import { type StoriesEntry } from '@storybook/core/dist/types'; +import { normalizeStoriesEntry } from '@storybook/core/dist/common'; import { join } from 'path'; import slash from 'slash'; import { vi, it, describe, expect } from 'vitest'; diff --git a/code/lib/core-server/src/utils/autoName.ts b/code/lib/core-server/src/utils/autoName.ts index 414d21c3783e..cc5641d5642f 100644 --- a/code/lib/core-server/src/utils/autoName.ts +++ b/code/lib/core-server/src/utils/autoName.ts @@ -1,4 +1,4 @@ -import type { Path } from '@storybook/types'; +import type { Path } from '@storybook/core/dist/types'; import { basename } from 'path'; /** diff --git a/code/lib/core-server/src/utils/build-or-throw.ts b/code/lib/core-server/src/utils/build-or-throw.ts index ead45e5a4e37..cca34e9d96c0 100644 --- a/code/lib/core-server/src/utils/build-or-throw.ts +++ b/code/lib/core-server/src/utils/build-or-throw.ts @@ -1,4 +1,4 @@ -import { NoMatchingExportError } from '@storybook/core-events/server-errors'; +import { NoMatchingExportError } from '@storybook/core/dist/server-errors'; export async function buildOrThrow(callback: () => Promise): Promise { try { diff --git a/code/lib/core-server/src/utils/copy-all-static-files.ts b/code/lib/core-server/src/utils/copy-all-static-files.ts index 5b0fb5227353..913908aab538 100644 --- a/code/lib/core-server/src/utils/copy-all-static-files.ts +++ b/code/lib/core-server/src/utils/copy-all-static-files.ts @@ -1,8 +1,8 @@ import chalk from 'chalk'; import fs from 'fs-extra'; import { join, relative } from 'path'; -import { logger } from '@storybook/node-logger'; -import { getDirectoryFromWorkingDir } from '@storybook/core-common'; +import { logger } from '@storybook/core/dist/node-logger'; +import { getDirectoryFromWorkingDir } from '@storybook/core/dist/common'; import { parseStaticDir } from './server-statics'; export async function copyAllStaticFiles(staticDirs: any[] | undefined, outputDir: string) { diff --git a/code/lib/core-server/src/utils/doTelemetry.ts b/code/lib/core-server/src/utils/doTelemetry.ts index ecb494fc45f5..db22e7b40d2f 100644 --- a/code/lib/core-server/src/utils/doTelemetry.ts +++ b/code/lib/core-server/src/utils/doTelemetry.ts @@ -1,6 +1,6 @@ import invariant from 'tiny-invariant'; -import type { CoreConfig, Options, StoryIndex } from '@storybook/types'; -import { telemetry, getPrecedingUpgrade } from '@storybook/telemetry'; +import type { CoreConfig, Options, StoryIndex } from '@storybook/core/dist/types'; +import { telemetry, getPrecedingUpgrade } from '@storybook/core/dist/telemetry'; import { useStorybookMetadata } from './metadata'; import type { StoryIndexGenerator } from './StoryIndexGenerator'; import { summarizeIndex } from './summarizeIndex'; diff --git a/code/lib/core-server/src/utils/get-builders.ts b/code/lib/core-server/src/utils/get-builders.ts index 9d6535559deb..a6dd010f64ef 100644 --- a/code/lib/core-server/src/utils/get-builders.ts +++ b/code/lib/core-server/src/utils/get-builders.ts @@ -1,5 +1,5 @@ -import type { Builder, Options } from '@storybook/types'; -import { MissingBuilderError } from '@storybook/core-events/server-errors'; +import type { Builder, Options } from '@storybook/core/dist/types'; +import { MissingBuilderError } from '@storybook/core/dist/server-errors'; import { pathToFileURL } from 'node:url'; export async function getManagerBuilder(): Promise> { diff --git a/code/lib/core-server/src/utils/get-new-story-file.test.ts b/code/lib/core-server/src/utils/get-new-story-file.test.ts index 91b06d9027b0..9b19a0b7aa67 100644 --- a/code/lib/core-server/src/utils/get-new-story-file.test.ts +++ b/code/lib/core-server/src/utils/get-new-story-file.test.ts @@ -2,8 +2,8 @@ import { describe, expect, it, vi } from 'vitest'; import { getNewStoryFile } from './get-new-story-file'; import path from 'path'; -vi.mock('@storybook/core-common', async (importOriginal) => { - const actual = await importOriginal(); +vi.mock('@storybook/core/dist/common', async (importOriginal) => { + const actual = await importOriginal(); return { ...actual, getProjectRoot: vi.fn().mockReturnValue(require('path').join(__dirname)), diff --git a/code/lib/core-server/src/utils/get-new-story-file.ts b/code/lib/core-server/src/utils/get-new-story-file.ts index 32c50c2e5009..755982a126d7 100644 --- a/code/lib/core-server/src/utils/get-new-story-file.ts +++ b/code/lib/core-server/src/utils/get-new-story-file.ts @@ -1,15 +1,15 @@ -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import { extractProperRendererNameFromFramework, getFrameworkName, getProjectRoot, rendererPackages, -} from '@storybook/core-common'; +} from '@storybook/core/dist/common'; import path from 'node:path'; import fs from 'node:fs'; import { getTypeScriptTemplateForNewStoryFile } from './new-story-templates/typescript'; import { getJavaScriptTemplateForNewStoryFile } from './new-story-templates/javascript'; -import type { CreateNewStoryRequestPayload } from '@storybook/core-events'; +import type { CreateNewStoryRequestPayload } from '@storybook/core/dist/core-events'; export async function getNewStoryFile( { 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 1a488afb06c9..d6304de45b09 100644 --- a/code/lib/core-server/src/utils/get-server-channel.ts +++ b/code/lib/core-server/src/utils/get-server-channel.ts @@ -1,7 +1,7 @@ import WebSocket, { WebSocketServer } from 'ws'; import { isJSON, parse, stringify } from 'telejson'; -import type { ChannelHandler } from '@storybook/channels'; -import { Channel } from '@storybook/channels'; +import type { ChannelHandler } from '@storybook/core/dist/channels'; +import { Channel } from '@storybook/core/dist/channels'; type Server = NonNullable[0]>['server']>; diff --git a/code/lib/core-server/src/utils/get-story-id.ts b/code/lib/core-server/src/utils/get-story-id.ts index eb73a52ae58a..3fa200dc813f 100644 --- a/code/lib/core-server/src/utils/get-story-id.ts +++ b/code/lib/core-server/src/utils/get-story-id.ts @@ -1,9 +1,9 @@ -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import dedent from 'ts-dedent'; -import { normalizeStories, normalizeStoryPath } from '@storybook/core-common'; +import { normalizeStories, normalizeStoryPath } from '@storybook/core/dist/common'; import path from 'path'; import { sanitize, storyNameFromExport, toId } from '@storybook/csf'; -import { userOrAutoTitleFromSpecifier } from '@storybook/preview-api'; +import { userOrAutoTitleFromSpecifier } from '@storybook/core/dist/preview-api'; import { posix } from './posix'; interface StoryIdData { diff --git a/code/lib/core-server/src/utils/getStoryIndexGenerator.ts b/code/lib/core-server/src/utils/getStoryIndexGenerator.ts index f8c1bc97f615..605e36437520 100644 --- a/code/lib/core-server/src/utils/getStoryIndexGenerator.ts +++ b/code/lib/core-server/src/utils/getStoryIndexGenerator.ts @@ -1,5 +1,5 @@ -import type { DocsOptions, Options } from '@storybook/types'; -import { normalizeStories } from '@storybook/core-common'; +import type { DocsOptions, Options } from '@storybook/core/dist/types'; +import { normalizeStories } from '@storybook/core/dist/common'; import { useStoriesJson } from './stories-json'; import type { ServerChannel } from './get-server-channel'; import { StoryIndexGenerator } from './StoryIndexGenerator'; diff --git a/code/lib/core-server/src/utils/metadata.ts b/code/lib/core-server/src/utils/metadata.ts index 319b001ea7b9..048ea8707396 100644 --- a/code/lib/core-server/src/utils/metadata.ts +++ b/code/lib/core-server/src/utils/metadata.ts @@ -1,6 +1,6 @@ import { writeJSON } from 'fs-extra'; import type { Request, Response, Router } from 'express'; -import { getStorybookMetadata } from '@storybook/telemetry'; +import { getStorybookMetadata } from '@storybook/core/dist/telemetry'; export async function extractStorybookMetadata(outputFile: string, configDir: string) { const storybookMetadata = await getStorybookMetadata(configDir); diff --git a/code/lib/core-server/src/utils/open-in-browser.ts b/code/lib/core-server/src/utils/open-in-browser.ts index ef798cd5242f..fc60ad75500c 100644 --- a/code/lib/core-server/src/utils/open-in-browser.ts +++ b/code/lib/core-server/src/utils/open-in-browser.ts @@ -1,4 +1,4 @@ -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import betterOpn from 'better-opn'; // betterOpn alias used because also loading open import open from 'open'; import getDefaultBrowser from '@aw-web-design/x-default-browser'; diff --git a/code/lib/core-server/src/utils/output-startup-information.ts b/code/lib/core-server/src/utils/output-startup-information.ts index bc4af06174ca..487b3b438dfc 100644 --- a/code/lib/core-server/src/utils/output-startup-information.ts +++ b/code/lib/core-server/src/utils/output-startup-information.ts @@ -1,10 +1,10 @@ import chalk from 'chalk'; -import { colors } from '@storybook/node-logger'; +import { colors } from '@storybook/core/dist/node-logger'; import boxen from 'boxen'; import { dedent } from 'ts-dedent'; import Table from 'cli-table3'; import prettyTime from 'pretty-hrtime'; -import type { VersionCheck } from '@storybook/types'; +import type { VersionCheck } from '@storybook/core/dist/types'; import { createUpdateMessage } from './update-check'; export function outputStartupInformation(options: { diff --git a/code/lib/core-server/src/utils/output-stats.ts b/code/lib/core-server/src/utils/output-stats.ts index dd560c661bb5..afacc6ab76ea 100644 --- a/code/lib/core-server/src/utils/output-stats.ts +++ b/code/lib/core-server/src/utils/output-stats.ts @@ -1,6 +1,6 @@ import { stringifyStream } from '@discoveryjs/json-ext'; -import { logger } from '@storybook/node-logger'; -import type { Stats } from '@storybook/types'; +import { logger } from '@storybook/core/dist/node-logger'; +import type { Stats } from '@storybook/core/dist/types'; import chalk from 'chalk'; import fs from 'fs-extra'; import path from 'path'; diff --git a/code/lib/core-server/src/utils/parser/index.ts b/code/lib/core-server/src/utils/parser/index.ts index 8f5183a49538..849103f83921 100644 --- a/code/lib/core-server/src/utils/parser/index.ts +++ b/code/lib/core-server/src/utils/parser/index.ts @@ -1,4 +1,4 @@ -import type { SupportedRenderers } from '@storybook/types'; +import type { SupportedRenderers } from '@storybook/core/dist/types'; import { GenericParser } from './generic-parser'; import type { Parser } from './types'; diff --git a/code/lib/core-server/src/utils/remove-mdx-entries.ts b/code/lib/core-server/src/utils/remove-mdx-entries.ts index ed93c1bc8d64..4edbcef2faec 100644 --- a/code/lib/core-server/src/utils/remove-mdx-entries.ts +++ b/code/lib/core-server/src/utils/remove-mdx-entries.ts @@ -1,5 +1,5 @@ -import type { Options, StoriesEntry } from '@storybook/types'; -import { normalizeStories, commonGlobOptions } from '@storybook/core-common'; +import type { Options, StoriesEntry } from '@storybook/core/dist/types'; +import { normalizeStories, commonGlobOptions } from '@storybook/core/dist/common'; import { isAbsolute, join, relative } from 'path'; import slash from 'slash'; import { glob } from 'glob'; diff --git a/code/lib/core-server/src/utils/save-story/duplicate-story-with-new-name.test.ts b/code/lib/core-server/src/utils/save-story/duplicate-story-with-new-name.test.ts index 59250060f5d2..2c930d510584 100644 --- a/code/lib/core-server/src/utils/save-story/duplicate-story-with-new-name.test.ts +++ b/code/lib/core-server/src/utils/save-story/duplicate-story-with-new-name.test.ts @@ -1,6 +1,6 @@ /* eslint-disable no-underscore-dangle */ import { describe, test, expect } from 'vitest'; -import { readCsf, printCsf } from '@storybook/csf-tools'; +import { readCsf, printCsf } from '@storybook/core/dist/csf-tools'; import { duplicateStoryWithNewName } from './duplicate-story-with-new-name'; import { readFile } from 'fs/promises'; diff --git a/code/lib/core-server/src/utils/save-story/duplicate-story-with-new-name.ts b/code/lib/core-server/src/utils/save-story/duplicate-story-with-new-name.ts index 3ab01043752d..0c20c0d49bdf 100644 --- a/code/lib/core-server/src/utils/save-story/duplicate-story-with-new-name.ts +++ b/code/lib/core-server/src/utils/save-story/duplicate-story-with-new-name.ts @@ -1,9 +1,12 @@ /* eslint-disable no-underscore-dangle */ -import type { CsfFile } from '@storybook/csf-tools'; -import * as traverse from '@babel/traverse'; +import type { CsfFile } from '@storybook/core/dist/csf-tools'; import * as t from '@babel/types'; +import bt from '@babel/traverse'; import { SaveStoryError } from './utils'; +// @ts-expect-error (needed due to it's use of `exports.default`) +const traverse = bt.default as typeof bt; + type In = ReturnType; export const duplicateStoryWithNewName = (csfFile: In, storyName: string, newStoryName: string) => { @@ -15,7 +18,7 @@ export const duplicateStoryWithNewName = (csfFile: In, storyName: string, newSto } let found = false; - traverse.default(cloned, { + traverse(cloned, { Identifier(path) { if (found) { return; @@ -41,7 +44,7 @@ export const duplicateStoryWithNewName = (csfFile: In, storyName: string, newSto throw new SaveStoryError(`Creating a new story based on a CSF2 story is not supported`); } - traverse.default(csfFile._ast, { + traverse(csfFile._ast, { Program(path) { path.pushContainer( 'body', diff --git a/code/lib/core-server/src/utils/save-story/save-story.ts b/code/lib/core-server/src/utils/save-story/save-story.ts index 03e359e85c03..fde432b127c8 100644 --- a/code/lib/core-server/src/utils/save-story/save-story.ts +++ b/code/lib/core-server/src/utils/save-story/save-story.ts @@ -1,23 +1,27 @@ /* eslint-disable no-underscore-dangle */ import fs from 'node:fs/promises'; -import type { Channel } from '@storybook/channels'; +import type { Channel } from '@storybook/core/dist/channels'; import type { RequestData, ResponseData, SaveStoryRequestPayload, SaveStoryResponsePayload, -} from '@storybook/core-events'; -import { SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, STORY_RENDERED } from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; +import { + SAVE_STORY_REQUEST, + SAVE_STORY_RESPONSE, + STORY_RENDERED, +} from '@storybook/core/dist/core-events'; import { storyNameFromExport, toId } from '@storybook/csf'; -import { printCsf, readCsf } from '@storybook/csf-tools'; -import { logger } from '@storybook/node-logger'; -import type { CoreConfig, Options } from '@storybook/types'; -import { telemetry } from '@storybook/telemetry'; +import { printCsf, readCsf } from '@storybook/core/dist/csf-tools'; +import { logger } from '@storybook/core/dist/node-logger'; +import type { CoreConfig, Options } from '@storybook/core/dist/types'; +import { telemetry } from '@storybook/core/dist/telemetry'; import { basename, join } from 'path'; import { updateArgsInCsfFile } from './update-args-in-csf-file'; import { duplicateStoryWithNewName } from './duplicate-story-with-new-name'; -import { formatFileContent } from '@storybook/core-common'; +import { formatFileContent } from '@storybook/core/dist/common'; import { SaveStoryError } from './utils'; const parseArgs = (args: string): Record => diff --git a/code/lib/core-server/src/utils/save-story/update-args-in-csf-file.test.ts b/code/lib/core-server/src/utils/save-story/update-args-in-csf-file.test.ts index 8f0f2fb6b737..f113160e6f1b 100644 --- a/code/lib/core-server/src/utils/save-story/update-args-in-csf-file.test.ts +++ b/code/lib/core-server/src/utils/save-story/update-args-in-csf-file.test.ts @@ -1,6 +1,6 @@ /* eslint-disable no-underscore-dangle */ import { describe, test, expect } from 'vitest'; -import { readCsf, printCsf } from '@storybook/csf-tools'; +import { readCsf, printCsf } from '@storybook/core/dist/csf-tools'; import { updateArgsInCsfFile } from './update-args-in-csf-file'; import { readFile } from 'fs/promises'; diff --git a/code/lib/core-server/src/utils/save-story/update-args-in-csf-file.ts b/code/lib/core-server/src/utils/save-story/update-args-in-csf-file.ts index f32db42f7978..553e904bf517 100644 --- a/code/lib/core-server/src/utils/save-story/update-args-in-csf-file.ts +++ b/code/lib/core-server/src/utils/save-story/update-args-in-csf-file.ts @@ -1,8 +1,11 @@ import * as t from '@babel/types'; -import * as traverse from '@babel/traverse'; +import bt from '@babel/traverse'; import { valueToAST } from './valueToAST'; import { SaveStoryError } from './utils'; +// @ts-expect-error (needed due to it's use of `exports.default`) +const traverse = bt.default as typeof bt; + export const updateArgsInCsfFile = async (node: t.Node, input: Record) => { let found = false; const args = Object.fromEntries( @@ -61,7 +64,7 @@ export const updateArgsInCsfFile = async (node: t.Node, input: Record { const port = 3000; diff --git a/code/lib/core-server/src/utils/server-address.ts b/code/lib/core-server/src/utils/server-address.ts index bfcb2ba969d9..350f8e2f7fce 100644 --- a/code/lib/core-server/src/utils/server-address.ts +++ b/code/lib/core-server/src/utils/server-address.ts @@ -1,6 +1,6 @@ import ip from 'ip'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import detectFreePort from 'detect-port'; export function getServerAddresses( diff --git a/code/lib/core-server/src/utils/server-init.ts b/code/lib/core-server/src/utils/server-init.ts index 176c1e6bfd69..8dbbd5f0406f 100644 --- a/code/lib/core-server/src/utils/server-init.ts +++ b/code/lib/core-server/src/utils/server-init.ts @@ -1,4 +1,4 @@ -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import type { Express } from 'express'; import { readFile } from 'fs-extra'; import http from 'http'; diff --git a/code/lib/core-server/src/utils/server-statics.ts b/code/lib/core-server/src/utils/server-statics.ts index 2a0b93e1ca41..d8a6eec47c7a 100644 --- a/code/lib/core-server/src/utils/server-statics.ts +++ b/code/lib/core-server/src/utils/server-statics.ts @@ -1,6 +1,6 @@ -import { logger } from '@storybook/node-logger'; -import type { Options } from '@storybook/types'; -import { getDirectoryFromWorkingDir } from '@storybook/core-common'; +import { logger } from '@storybook/core/dist/node-logger'; +import type { Options } from '@storybook/core/dist/types'; +import { getDirectoryFromWorkingDir } from '@storybook/core/dist/common'; import chalk from 'chalk'; import type { Router } from 'express'; import express from 'express'; diff --git a/code/lib/core-server/src/utils/stories-json.test.ts b/code/lib/core-server/src/utils/stories-json.test.ts index a621f5443ce3..0ce290b3ee18 100644 --- a/code/lib/core-server/src/utils/stories-json.test.ts +++ b/code/lib/core-server/src/utils/stories-json.test.ts @@ -5,7 +5,7 @@ import Watchpack from 'watchpack'; import path from 'path'; import debounce from 'lodash/debounce.js'; import { STORY_INDEX_INVALIDATED } from '@storybook/core-events'; -import { normalizeStoriesEntry } from '@storybook/core-common'; +import { normalizeStoriesEntry } from '@storybook/core/dist/common'; import { useStoriesJson, DEBOUNCE } from './stories-json'; import type { ServerChannel } from './get-server-channel'; @@ -15,7 +15,7 @@ import { csfIndexer } from '../presets/common-preset'; vi.mock('watchpack'); vi.mock('lodash/debounce'); -vi.mock('@storybook/node-logger'); +vi.mock('@storybook/core/dist/node-logger'); const workingDir = path.join(__dirname, '__mockdata__'); const normalizedStories = [ diff --git a/code/lib/core-server/src/utils/stories-json.ts b/code/lib/core-server/src/utils/stories-json.ts index 074c0248cb0c..4223c6153a75 100644 --- a/code/lib/core-server/src/utils/stories-json.ts +++ b/code/lib/core-server/src/utils/stories-json.ts @@ -1,10 +1,10 @@ import type { Router, Request, Response } from 'express'; import { writeJSON } from 'fs-extra'; -import type { NormalizedStoriesSpecifier, StoryIndex } from '@storybook/types'; +import type { NormalizedStoriesSpecifier, StoryIndex } from '@storybook/core/dist/types'; import debounce from 'lodash/debounce.js'; -import { STORY_INDEX_INVALIDATED } from '@storybook/core-events'; +import { STORY_INDEX_INVALIDATED } from '@storybook/core/dist/core-events'; import type { StoryIndexGenerator } from './StoryIndexGenerator'; import { watchStorySpecifiers } from './watch-story-specifiers'; import type { ServerChannel } from './get-server-channel'; diff --git a/code/lib/core-server/src/utils/summarizeIndex.ts b/code/lib/core-server/src/utils/summarizeIndex.ts index 091038cdaccf..ee062a85a7fa 100644 --- a/code/lib/core-server/src/utils/summarizeIndex.ts +++ b/code/lib/core-server/src/utils/summarizeIndex.ts @@ -1,4 +1,4 @@ -import type { IndexEntry, StoryIndex } from '@storybook/types'; +import type { IndexEntry, StoryIndex } from '@storybook/core/dist/types'; import { STORIES_MDX_TAG, isMdxEntry, AUTODOCS_TAG, PLAY_FN_TAG } from './StoryIndexGenerator'; diff --git a/code/lib/core-server/src/utils/update-check.ts b/code/lib/core-server/src/utils/update-check.ts index bb387e6e75f2..40ae9f11ad3e 100644 --- a/code/lib/core-server/src/utils/update-check.ts +++ b/code/lib/core-server/src/utils/update-check.ts @@ -1,10 +1,10 @@ import fetch from 'node-fetch'; import chalk from 'chalk'; -import { colors } from '@storybook/node-logger'; +import { colors } from '@storybook/core/dist/node-logger'; import semver from 'semver'; import { dedent } from 'ts-dedent'; -import { cache } from '@storybook/core-common'; -import type { VersionCheck } from '@storybook/types'; +import { cache } from '@storybook/core/dist/common'; +import type { VersionCheck } from '@storybook/core/dist/types'; const { STORYBOOK_VERSION_BASE = 'https://storybook.js.org', CI } = process.env; diff --git a/code/lib/core-server/src/utils/versionStatus.ts b/code/lib/core-server/src/utils/versionStatus.ts index e268f64fc945..d3c7e2cf3695 100644 --- a/code/lib/core-server/src/utils/versionStatus.ts +++ b/code/lib/core-server/src/utils/versionStatus.ts @@ -1,4 +1,4 @@ -import type { VersionCheck } from '@storybook/types'; +import type { VersionCheck } from '@storybook/core/dist/types'; export const versionStatus = (versionCheck: VersionCheck) => { if (versionCheck.error) return 'error'; diff --git a/code/lib/core-server/src/utils/warnOnIncompatibleAddons.ts b/code/lib/core-server/src/utils/warnOnIncompatibleAddons.ts index 6d7359a21edb..46dc8a91f5f1 100644 --- a/code/lib/core-server/src/utils/warnOnIncompatibleAddons.ts +++ b/code/lib/core-server/src/utils/warnOnIncompatibleAddons.ts @@ -1,4 +1,4 @@ -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { getIncompatibleStorybookPackages, getIncompatiblePackagesSummary, diff --git a/code/lib/core-server/src/utils/warnWhenUsingArgTypesRegex.ts b/code/lib/core-server/src/utils/warnWhenUsingArgTypesRegex.ts index fa336373a8a4..d81f4960d8e0 100644 --- a/code/lib/core-server/src/utils/warnWhenUsingArgTypesRegex.ts +++ b/code/lib/core-server/src/utils/warnWhenUsingArgTypesRegex.ts @@ -1,9 +1,9 @@ -import type { PackageJson, StorybookConfig } from '@storybook/types'; -import { getConfigInfo } from '@storybook/core-common'; +import type { PackageJson, StorybookConfig } from '@storybook/core/dist/types'; +import { getConfigInfo } from '@storybook/core/dist/common'; import { readFile } from 'fs-extra'; import * as babel from '@babel/core'; import type { BabelFile } from '@babel/core'; -import { babelParse } from '@storybook/csf-tools'; +import { babelParse } from '@storybook/core/dist/csf-tools'; import dedent from 'ts-dedent'; import chalk from 'chalk'; diff --git a/code/lib/core-server/src/utils/watch-story-specifiers.test.ts b/code/lib/core-server/src/utils/watch-story-specifiers.test.ts index 22d3e0901de8..5eb0fcecbf5f 100644 --- a/code/lib/core-server/src/utils/watch-story-specifiers.test.ts +++ b/code/lib/core-server/src/utils/watch-story-specifiers.test.ts @@ -1,5 +1,5 @@ import { describe, afterEach, it, expect, vi } from 'vitest'; -import { normalizeStoriesEntry } from '@storybook/core-common'; +import { normalizeStoriesEntry } from '@storybook/core/dist/common'; import path from 'path'; import Watchpack from 'watchpack'; 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 70ec0d4eb7fb..7bbd29c2f1bb 100644 --- a/code/lib/core-server/src/utils/watch-story-specifiers.ts +++ b/code/lib/core-server/src/utils/watch-story-specifiers.ts @@ -4,8 +4,8 @@ import fs from 'fs'; import path from 'path'; import uniq from 'lodash/uniq.js'; -import type { NormalizedStoriesSpecifier, Path } from '@storybook/types'; -import { commonGlobOptions } from '@storybook/core-common'; +import type { NormalizedStoriesSpecifier, Path } from '@storybook/core/dist/types'; +import { commonGlobOptions } from '@storybook/core/dist/common'; const isDirectory = (directory: Path) => { try { diff --git a/code/lib/core-server/src/utils/whats-new.ts b/code/lib/core-server/src/utils/whats-new.ts index 3392c93d201f..9ff1e534e773 100644 --- a/code/lib/core-server/src/utils/whats-new.ts +++ b/code/lib/core-server/src/utils/whats-new.ts @@ -1,19 +1,19 @@ import fs from 'fs-extra'; -import { logger } from '@storybook/node-logger'; -import { telemetry } from '@storybook/telemetry'; -import { findConfigFile } from '@storybook/core-common'; -import type { CoreConfig, Options } from '@storybook/types'; -import { printConfig, readConfig } from '@storybook/csf-tools'; +import { logger } from '@storybook/core/dist/node-logger'; +import { telemetry } from '@storybook/core/dist/telemetry'; +import { findConfigFile } from '@storybook/core/dist/common'; +import type { CoreConfig, Options } from '@storybook/core/dist/types'; +import { printConfig, readConfig } from '@storybook/core/dist/csf-tools'; import fetch from 'node-fetch'; -import type { Channel } from '@storybook/channels'; -import type { WhatsNewCache, WhatsNewData } from '@storybook/core-events'; +import type { Channel } from '@storybook/core/dist/channels'; +import type { WhatsNewCache, WhatsNewData } from '@storybook/core/dist/core-events'; import { REQUEST_WHATS_NEW_DATA, RESULT_WHATS_NEW_DATA, TELEMETRY_ERROR, SET_WHATS_NEW_CACHE, TOGGLE_WHATS_NEW_NOTIFICATIONS, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import invariant from 'tiny-invariant'; import { sendTelemetryError } from '../withTelemetry'; diff --git a/code/lib/core-server/src/withTelemetry.test.ts b/code/lib/core-server/src/withTelemetry.test.ts index 99b6d99e1177..baace717a1e3 100644 --- a/code/lib/core-server/src/withTelemetry.test.ts +++ b/code/lib/core-server/src/withTelemetry.test.ts @@ -1,13 +1,13 @@ import prompts from 'prompts'; import { describe, beforeEach, it, expect, vi } from 'vitest'; -import { loadAllPresets, cache } from '@storybook/core-common'; -import { telemetry, oneWayHash } from '@storybook/telemetry'; +import { loadAllPresets, cache } from '@storybook/core/dist/common'; +import { telemetry, oneWayHash } from '@storybook/core/dist/telemetry'; import { getErrorLevel, sendTelemetryError, withTelemetry } from './withTelemetry'; vi.mock('prompts'); -vi.mock('@storybook/core-common'); -vi.mock('@storybook/telemetry'); +vi.mock('@storybook/core/dist/common'); +vi.mock('@storybook/core/dist/telemetry'); const cliOptions = {}; diff --git a/code/lib/core-server/src/withTelemetry.ts b/code/lib/core-server/src/withTelemetry.ts index aca04a2c417b..626df06ab217 100644 --- a/code/lib/core-server/src/withTelemetry.ts +++ b/code/lib/core-server/src/withTelemetry.ts @@ -1,9 +1,9 @@ import prompts from 'prompts'; -import type { CLIOptions } from '@storybook/types'; -import { loadAllPresets, cache } from '@storybook/core-common'; -import { telemetry, getPrecedingUpgrade, oneWayHash } from '@storybook/telemetry'; -import type { EventType } from '@storybook/telemetry'; -import { logger } from '@storybook/node-logger'; +import type { CLIOptions } from '@storybook/core/dist/types'; +import { loadAllPresets, cache } from '@storybook/core/dist/common'; +import { telemetry, getPrecedingUpgrade, oneWayHash } from '@storybook/core/dist/telemetry'; +import type { EventType } from '@storybook/core/dist/telemetry'; +import { logger } from '@storybook/core/dist/node-logger'; type TelemetryOptions = { cliOptions: CLIOptions; diff --git a/code/lib/core-webpack/package.json b/code/lib/core-webpack/package.json index 48b4c79c4d48..cd371fa1bc75 100644 --- a/code/lib/core-webpack/package.json +++ b/code/lib/core-webpack/package.json @@ -44,9 +44,6 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-common": "workspace:*", - "@storybook/node-logger": "workspace:*", - "@storybook/types": "workspace:*", "@types/node": "^18.0.0", "ts-dedent": "^2.0.0" }, @@ -55,6 +52,9 @@ "typescript": "^5.3.2", "webpack": "5" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/lib/core-webpack/src/check-webpack-version.ts b/code/lib/core-webpack/src/check-webpack-version.ts index 72e424295fdd..0c8e9821f61a 100644 --- a/code/lib/core-webpack/src/check-webpack-version.ts +++ b/code/lib/core-webpack/src/check-webpack-version.ts @@ -1,4 +1,4 @@ -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { dedent } from 'ts-dedent'; export const checkWebpackVersion = ( diff --git a/code/lib/core-webpack/src/load-custom-webpack-config.ts b/code/lib/core-webpack/src/load-custom-webpack-config.ts index 52a74eccb1ea..6bdbc3792fd8 100644 --- a/code/lib/core-webpack/src/load-custom-webpack-config.ts +++ b/code/lib/core-webpack/src/load-custom-webpack-config.ts @@ -1,5 +1,5 @@ import path from 'path'; -import { serverRequire } from '@storybook/core-common'; +import { serverRequire } from '@storybook/core/dist/common'; const webpackConfigs = ['webpack.config', 'webpackfile']; diff --git a/code/lib/core-webpack/src/to-importFn.test.ts b/code/lib/core-webpack/src/to-importFn.test.ts index d6cd4f8a0905..7c31a6666231 100644 --- a/code/lib/core-webpack/src/to-importFn.test.ts +++ b/code/lib/core-webpack/src/to-importFn.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from 'vitest'; -import { normalizeStoriesEntry } from '@storybook/core-common'; +import { normalizeStoriesEntry } from '@storybook/core/dist/common'; import { webpackIncludeRegexp } from './to-importFn'; diff --git a/code/lib/core-webpack/src/to-importFn.ts b/code/lib/core-webpack/src/to-importFn.ts index 83455c66cb6b..905b68055c5a 100644 --- a/code/lib/core-webpack/src/to-importFn.ts +++ b/code/lib/core-webpack/src/to-importFn.ts @@ -1,6 +1,6 @@ import { dedent } from 'ts-dedent'; -import type { NormalizedStoriesSpecifier } from '@storybook/types'; -import { globToRegexp } from '@storybook/core-common'; +import type { NormalizedStoriesSpecifier } from '@storybook/core/dist/types'; +import { globToRegexp } from '@storybook/core/dist/common'; import { importPipeline } from './importPipeline'; diff --git a/code/lib/core-webpack/src/to-require-context.test.ts b/code/lib/core-webpack/src/to-require-context.test.ts index 90fab1d15f97..1e5ade825105 100644 --- a/code/lib/core-webpack/src/to-require-context.test.ts +++ b/code/lib/core-webpack/src/to-require-context.test.ts @@ -1,6 +1,6 @@ import { describe, it, expect } from 'vitest'; import path from 'path'; -import { normalizeStoriesEntry } from '@storybook/core-common'; +import { normalizeStoriesEntry } from '@storybook/core/dist/common'; import { toRequireContext } from './to-require-context'; diff --git a/code/lib/core-webpack/src/to-require-context.ts b/code/lib/core-webpack/src/to-require-context.ts index 247094f649f1..5a3f51eb4c0c 100644 --- a/code/lib/core-webpack/src/to-require-context.ts +++ b/code/lib/core-webpack/src/to-require-context.ts @@ -1,5 +1,5 @@ -import type { NormalizedStoriesSpecifier } from '@storybook/types'; -import { globToRegexp } from '@storybook/core-common'; +import type { NormalizedStoriesSpecifier } from '@storybook/core/dist/types'; +import { globToRegexp } from '@storybook/core/dist/common'; export const toRequireContext = (specifier: NormalizedStoriesSpecifier) => { const { directory, files } = specifier; diff --git a/code/lib/core-webpack/src/types.ts b/code/lib/core-webpack/src/types.ts index bb7be85ffa5d..6710980c2fd8 100644 --- a/code/lib/core-webpack/src/types.ts +++ b/code/lib/core-webpack/src/types.ts @@ -1,6 +1,6 @@ -import type { Options, StorybookConfig as StorybookConfigBase } from '@storybook/types'; +import type { Options, StorybookConfig as StorybookConfigBase } from '@storybook/core/dist/types'; -export type { Options, Preset, BuilderResult, TypescriptOptions } from '@storybook/types'; +export type { Options, Preset, BuilderResult, TypescriptOptions } from '@storybook/core/dist/types'; export type RulesConfig = any; diff --git a/code/lib/csf-plugin/package.json b/code/lib/csf-plugin/package.json index 2635decf0e3a..95a1bd895db9 100644 --- a/code/lib/csf-plugin/package.json +++ b/code/lib/csf-plugin/package.json @@ -44,12 +44,14 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/csf-tools": "workspace:*", "unplugin": "^1.3.1" }, "devDependencies": { "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/lib/csf-plugin/src/index.ts b/code/lib/csf-plugin/src/index.ts index 6cc9cfcd594b..3f16f607d648 100644 --- a/code/lib/csf-plugin/src/index.ts +++ b/code/lib/csf-plugin/src/index.ts @@ -1,7 +1,7 @@ import { createUnplugin } from 'unplugin'; import fs from 'fs/promises'; -import { loadCsf, enrichCsf, formatCsf } from '@storybook/csf-tools'; -import type { EnrichCsfOptions } from '@storybook/csf-tools'; +import { loadCsf, enrichCsf, formatCsf } from '@storybook/core/dist/csf-tools'; +import type { EnrichCsfOptions } from '@storybook/core/dist/csf-tools'; export type CsfPluginOptions = EnrichCsfOptions; diff --git a/code/lib/csf-tools/package.json b/code/lib/csf-tools/package.json deleted file mode 100644 index 219ac1c3788e..000000000000 --- a/code/lib/csf-tools/package.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "name": "@storybook/csf-tools", - "version": "8.1.0-alpha.7", - "description": "Parse and manipulate CSF and Storybook config files", - "keywords": [ - "storybook" - ], - "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/csf-tools", - "bugs": { - "url": "https://github.com/storybookjs/storybook/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/storybookjs/storybook.git", - "directory": "code/lib/csf-tools" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "license": "MIT", - "sideEffects": false, - "exports": { - ".": { - "types": "./dist/index.d.ts", - "node": "./dist/index.js", - "require": "./dist/index.js" - }, - "./package.json": "./package.json" - }, - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist/**/*", - "README.md", - "*.js", - "*.d.ts", - "!src/**/*" - ], - "scripts": { - "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts", - "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" - }, - "dependencies": { - "@babel/generator": "^7.24.4", - "@babel/parser": "^7.24.4", - "@babel/traverse": "^7.24.1", - "@babel/types": "^7.24.0", - "@storybook/csf": "^0.1.6", - "@storybook/types": "workspace:*", - "fs-extra": "^11.1.0", - "recast": "^0.23.5", - "ts-dedent": "^2.0.0" - }, - "devDependencies": { - "@types/fs-extra": "^11.0.1", - "@types/js-yaml": "^4.0.5", - "js-yaml": "^4.1.0", - "typescript": "^5.3.2" - }, - "publishConfig": { - "access": "public" - }, - "bundler": { - "entries": [ - "./src/index.ts" - ], - "formats": [ - "cjs" - ] - }, - "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17" -} diff --git a/code/lib/csf-tools/project.json b/code/lib/csf-tools/project.json deleted file mode 100644 index 3ecdad88a0dd..000000000000 --- a/code/lib/csf-tools/project.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "targets": { - "build": {} - } -} diff --git a/code/lib/csf-tools/tsconfig.json b/code/lib/csf-tools/tsconfig.json deleted file mode 100644 index a4429176e35f..000000000000 --- a/code/lib/csf-tools/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "strict": true - }, - "include": ["src/**/*"] -} diff --git a/code/lib/csf-tools/vitest.config.ts b/code/lib/csf-tools/vitest.config.ts deleted file mode 100644 index 86a9dd454025..000000000000 --- a/code/lib/csf-tools/vitest.config.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defineConfig, mergeConfig } from 'vitest/config'; -import { vitestCommonConfig } from '../../vitest.workspace'; - -export default mergeConfig( - vitestCommonConfig, - defineConfig({ - test: { - environment: 'node', - }, - }) -); diff --git a/code/lib/docs-tools/package.json b/code/lib/docs-tools/package.json index 5af72a730ae4..f5f03458c4b4 100644 --- a/code/lib/docs-tools/package.json +++ b/code/lib/docs-tools/package.json @@ -44,10 +44,6 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/core-common": "workspace:*", - "@storybook/core-events": "workspace:*", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "@types/doctrine": "^0.0.3", "assert": "^2.1.0", "doctrine": "^3.0.0", @@ -59,6 +55,9 @@ "require-from-string": "^2.0.2", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/lib/docs-tools/src/argTypes/convert/flow/convert.ts b/code/lib/docs-tools/src/argTypes/convert/flow/convert.ts index a6906589da75..f1fe8808c8ca 100644 --- a/code/lib/docs-tools/src/argTypes/convert/flow/convert.ts +++ b/code/lib/docs-tools/src/argTypes/convert/flow/convert.ts @@ -1,5 +1,5 @@ -import { UnknownArgTypesError } from '@storybook/core-events/preview-errors'; -import type { SBType } from '@storybook/types'; +import { UnknownArgTypesError } from '@storybook/core/dist/preview-errors'; +import type { SBType } from '@storybook/core/dist/types'; import type { FlowType, FlowSigType, FlowLiteralType } from './types'; const isLiteral = (type: FlowType): type is FlowLiteralType => type.name === 'literal'; diff --git a/code/lib/docs-tools/src/argTypes/convert/proptypes/convert.ts b/code/lib/docs-tools/src/argTypes/convert/proptypes/convert.ts index f3c3edd92c09..a272293dc983 100644 --- a/code/lib/docs-tools/src/argTypes/convert/proptypes/convert.ts +++ b/code/lib/docs-tools/src/argTypes/convert/proptypes/convert.ts @@ -1,5 +1,5 @@ import mapValues from 'lodash/mapValues.js'; -import type { SBType } from '@storybook/types'; +import type { SBType } from '@storybook/core/dist/types'; import type { PTType } from './types'; import { parseLiteral } from '../utils'; diff --git a/code/lib/docs-tools/src/argTypes/convert/typescript/convert.ts b/code/lib/docs-tools/src/argTypes/convert/typescript/convert.ts index def09e92a305..dcce430617ea 100644 --- a/code/lib/docs-tools/src/argTypes/convert/typescript/convert.ts +++ b/code/lib/docs-tools/src/argTypes/convert/typescript/convert.ts @@ -1,5 +1,5 @@ -import { UnknownArgTypesError } from '@storybook/core-events/preview-errors'; -import type { SBType } from '@storybook/types'; +import { UnknownArgTypesError } from '@storybook/core/dist/preview-errors'; +import type { SBType } from '@storybook/core/dist/types'; import type { TSType, TSSigType } from './types'; import { parseLiteral } from '../utils'; diff --git a/code/lib/docs-tools/src/argTypes/docgen/types.ts b/code/lib/docs-tools/src/argTypes/docgen/types.ts index ae8269a9838b..8ea67660f6e2 100644 --- a/code/lib/docs-tools/src/argTypes/docgen/types.ts +++ b/code/lib/docs-tools/src/argTypes/docgen/types.ts @@ -1,4 +1,4 @@ -import type { StrictArgTypes } from '@storybook/types'; +import type { StrictArgTypes } from '@storybook/core/dist/types'; import type { PropDef } from './PropDef'; import type { Component } from '../types'; diff --git a/code/lib/docs-tools/src/argTypes/enhanceArgTypes.test.ts b/code/lib/docs-tools/src/argTypes/enhanceArgTypes.test.ts index 5cae300b49e8..ca4a1d3c5b7c 100644 --- a/code/lib/docs-tools/src/argTypes/enhanceArgTypes.test.ts +++ b/code/lib/docs-tools/src/argTypes/enhanceArgTypes.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import type { ArgTypes, StrictInputType } from '@storybook/types'; +import type { ArgTypes, StrictInputType } from '@storybook/core/dist/types'; import { enhanceArgTypes } from './enhanceArgTypes'; expect.addSnapshotSerializer({ diff --git a/code/lib/docs-tools/src/argTypes/enhanceArgTypes.ts b/code/lib/docs-tools/src/argTypes/enhanceArgTypes.ts index 09d82058a387..78fdea7a447b 100644 --- a/code/lib/docs-tools/src/argTypes/enhanceArgTypes.ts +++ b/code/lib/docs-tools/src/argTypes/enhanceArgTypes.ts @@ -1,5 +1,5 @@ -import type { Renderer, StoryContextForEnhancers } from '@storybook/types'; -import { combineParameters } from '@storybook/preview-api'; +import type { Renderer, StoryContextForEnhancers } from '@storybook/core/dist/types'; +import { combineParameters } from '@storybook/core/dist/preview-api'; export const enhanceArgTypes = ( context: StoryContextForEnhancers diff --git a/code/lib/docs-tools/src/hasDocsOrControls.ts b/code/lib/docs-tools/src/hasDocsOrControls.ts index b1585ee534d7..b1673847b58c 100644 --- a/code/lib/docs-tools/src/hasDocsOrControls.ts +++ b/code/lib/docs-tools/src/hasDocsOrControls.ts @@ -1,4 +1,4 @@ -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; // `addons/x` is for the monorepo, `addon-x` is for normal usage const packageRe = /(addons\/|addon-|addon-essentials\/)(docs|controls)/; diff --git a/code/lib/instrumenter/package.json b/code/lib/instrumenter/package.json deleted file mode 100644 index 48fc836d9fdf..000000000000 --- a/code/lib/instrumenter/package.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "name": "@storybook/instrumenter", - "version": "8.1.0-alpha.7", - "description": "", - "keywords": [ - "storybook" - ], - "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/instrumenter", - "bugs": { - "url": "https://github.com/storybookjs/storybook/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/storybookjs/storybook.git", - "directory": "code/lib/instrumenter" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "license": "MIT", - "sideEffects": false, - "exports": { - ".": { - "types": "./dist/index.d.ts", - "node": "./dist/index.js", - "require": "./dist/index.js", - "import": "./dist/index.mjs" - }, - "./package.json": "./package.json" - }, - "main": "dist/index.js", - "module": "dist/index.mjs", - "types": "dist/index.d.ts", - "files": [ - "dist/**/*", - "README.md", - "*.js", - "*.d.ts", - "!src/**/*" - ], - "scripts": { - "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts", - "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" - }, - "dependencies": { - "@storybook/channels": "workspace:*", - "@storybook/client-logger": "workspace:*", - "@storybook/core-events": "workspace:*", - "@storybook/global": "^5.0.0", - "@storybook/preview-api": "workspace:*", - "@vitest/utils": "^1.3.1", - "util": "^0.12.4" - }, - "devDependencies": { - "typescript": "^5.3.2" - }, - "publishConfig": { - "access": "public" - }, - "bundler": { - "entries": [ - "./src/index.ts" - ] - }, - "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17" -} diff --git a/code/lib/instrumenter/project.json b/code/lib/instrumenter/project.json deleted file mode 100644 index 3ecdad88a0dd..000000000000 --- a/code/lib/instrumenter/project.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "targets": { - "build": {} - } -} diff --git a/code/lib/instrumenter/src/typings.d.ts b/code/lib/instrumenter/src/typings.d.ts deleted file mode 100644 index 63361b8ef85b..000000000000 --- a/code/lib/instrumenter/src/typings.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* eslint-disable no-underscore-dangle, @typescript-eslint/naming-convention */ - -declare var FEATURES: import('@storybook/types').StorybookConfigRaw['features']; - -declare var __STORYBOOK_PREVIEW__: any; -declare var __STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__: any; -declare var __STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__: any; -declare var LOGLEVEL: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent' | undefined; diff --git a/code/lib/instrumenter/tsconfig.json b/code/lib/instrumenter/tsconfig.json deleted file mode 100644 index b5a2f9a70918..000000000000 --- a/code/lib/instrumenter/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"], - "compilerOptions": { - "strict": true - } -} diff --git a/code/lib/instrumenter/vitest.config.ts b/code/lib/instrumenter/vitest.config.ts deleted file mode 100644 index 12fa8dbe147f..000000000000 --- a/code/lib/instrumenter/vitest.config.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defineConfig, mergeConfig } from 'vitest/config'; -import { vitestCommonConfig } from '../../vitest.workspace'; - -export default mergeConfig( - vitestCommonConfig, - defineConfig({ - test: { - environment: 'jsdom', - }, - }) -); diff --git a/code/lib/manager-api/package.json b/code/lib/manager-api/package.json index 0a68b927b820..4466c27f147e 100644 --- a/code/lib/manager-api/package.json +++ b/code/lib/manager-api/package.json @@ -44,15 +44,10 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "workspace:*", - "@storybook/client-logger": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/csf": "^0.1.6", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", - "@storybook/router": "workspace:*", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "dequal": "^2.0.2", "lodash": "^4.17.21", "memoizerific": "^1.11.3", @@ -70,6 +65,9 @@ "semver": "^7.3.7", "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "publishConfig": { "access": "public" }, diff --git a/code/lib/manager-api/src/index.tsx b/code/lib/manager-api/src/index.tsx index 4e946fa5d618..6415cfeec440 100644 --- a/code/lib/manager-api/src/index.tsx +++ b/code/lib/manager-api/src/index.tsx @@ -28,17 +28,17 @@ import type { API_StoryEntry, Parameters, StoryId, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { STORY_CHANGED, SHARED_STATE_CHANGED, SHARED_STATE_SET, SET_STORIES, -} from '@storybook/core-events'; -import type { RouterData } from '@storybook/router'; -import type { Listener } from '@storybook/channels'; -import { deprecate } from '@storybook/client-logger'; +} from '@storybook/core/dist/core-events'; +import type { RouterData } from '@storybook/core/dist/router'; +import type { Listener } from '@storybook/core/dist/channels'; +import { deprecate } from '@storybook/core/dist/client-logger'; import { createContext } from './context'; import type { Options } from './store'; diff --git a/code/lib/manager-api/src/lib/addons.ts b/code/lib/manager-api/src/lib/addons.ts index 179e8441622c..1e2d013ac4b2 100644 --- a/code/lib/manager-api/src/lib/addons.ts +++ b/code/lib/manager-api/src/lib/addons.ts @@ -1,7 +1,7 @@ import { global } from '@storybook/global'; -import type { Channel } from '@storybook/channels'; -import { SET_CONFIG } from '@storybook/core-events'; +import type { Channel } from '@storybook/core/dist/channels'; +import { SET_CONFIG } from '@storybook/core/dist/core-events'; import type { Addon_Collection, Addon_Config, @@ -15,9 +15,9 @@ import type { Addon_WrapperType, Addon_SidebarBottomType, Addon_SidebarTopType, -} from '@storybook/types'; -import { Addon_TypesEnum } from '@storybook/types'; -import { logger } from '@storybook/client-logger'; +} from '@storybook/core/dist/types'; +import { Addon_TypesEnum } from '@storybook/core/dist/types'; +import { logger } from '@storybook/core/dist/client-logger'; import type { API } from '../index'; import { mockChannel } from './storybook-channel-mock'; diff --git a/code/lib/manager-api/src/lib/events.ts b/code/lib/manager-api/src/lib/events.ts index 1892d71ed57a..3c1603527636 100644 --- a/code/lib/manager-api/src/lib/events.ts +++ b/code/lib/manager-api/src/lib/events.ts @@ -1,6 +1,6 @@ -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; -import type { API_ComposedRef } from '@storybook/types'; +import type { API_ComposedRef } from '@storybook/core/dist/types'; import { getSourceType } from '../modules/refs'; import type { API } from '../index'; diff --git a/code/lib/manager-api/src/lib/merge.ts b/code/lib/manager-api/src/lib/merge.ts index 8ad0c203d7bb..49693cd9dd15 100644 --- a/code/lib/manager-api/src/lib/merge.ts +++ b/code/lib/manager-api/src/lib/merge.ts @@ -1,7 +1,7 @@ import mergeWith from 'lodash/mergeWith.js'; import isEqual from 'lodash/isEqual.js'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; export default (a: TObj, b: Partial) => mergeWith({}, a, b, (objValue: TObj, srcValue: Partial) => { diff --git a/code/lib/manager-api/src/lib/request-response.ts b/code/lib/manager-api/src/lib/request-response.ts index bed05f576461..b213946d5e04 100644 --- a/code/lib/manager-api/src/lib/request-response.ts +++ b/code/lib/manager-api/src/lib/request-response.ts @@ -1,5 +1,5 @@ -import type { Channel } from '@storybook/channels'; -import type { RequestData, ResponseData } from '@storybook/core-events'; +import type { Channel } from '@storybook/core/dist/channels'; +import type { RequestData, ResponseData } from '@storybook/core/dist/core-events'; export class RequestResponseError | void> extends Error { payload: Payload | undefined = undefined; diff --git a/code/lib/manager-api/src/lib/stories.test.ts b/code/lib/manager-api/src/lib/stories.test.ts index fcce4a94d874..710b5b8e7267 100644 --- a/code/lib/manager-api/src/lib/stories.test.ts +++ b/code/lib/manager-api/src/lib/stories.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest'; -import type { StoryIndexV2, StoryIndexV3 } from '@storybook/types'; +import type { StoryIndexV2, StoryIndexV3 } from '@storybook/core/dist/types'; import { transformStoryIndexV2toV3, transformStoryIndexV3toV4 } from './stories'; const baseV2: StoryIndexV2['stories'][0] = { diff --git a/code/lib/manager-api/src/lib/stories.ts b/code/lib/manager-api/src/lib/stories.ts index 9d6b1817e677..aace0279117b 100644 --- a/code/lib/manager-api/src/lib/stories.ts +++ b/code/lib/manager-api/src/lib/stories.ts @@ -21,7 +21,7 @@ import type { API_HashEntry, SetStoriesPayload, StoryIndexV2, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { type API, combineParameters, type State } from '../index'; import merge from './merge'; diff --git a/code/lib/manager-api/src/lib/storybook-channel-mock.ts b/code/lib/manager-api/src/lib/storybook-channel-mock.ts index cde396320da0..88865107d3a8 100644 --- a/code/lib/manager-api/src/lib/storybook-channel-mock.ts +++ b/code/lib/manager-api/src/lib/storybook-channel-mock.ts @@ -1,4 +1,4 @@ -import { Channel } from '@storybook/channels'; +import { Channel } from '@storybook/core/dist/channels'; export function mockChannel() { const transport = { diff --git a/code/lib/manager-api/src/lib/types.tsx b/code/lib/manager-api/src/lib/types.tsx index a195f514999e..e1803291cf12 100644 --- a/code/lib/manager-api/src/lib/types.tsx +++ b/code/lib/manager-api/src/lib/types.tsx @@ -1,5 +1,5 @@ -import type { API_ProviderData } from '@storybook/types'; -import type { RouterData } from '@storybook/router'; +import type { API_ProviderData } from '@storybook/core/dist/types'; +import type { RouterData } from '@storybook/core/dist/router'; import type { API, State } from '../index'; import type Store from '../store'; diff --git a/code/lib/manager-api/src/modules/addons.ts b/code/lib/manager-api/src/modules/addons.ts index 99a1a359599c..f594fa6e4076 100644 --- a/code/lib/manager-api/src/modules/addons.ts +++ b/code/lib/manager-api/src/modules/addons.ts @@ -4,8 +4,8 @@ import type { Addon_Types, Addon_TypesMapping, API_StateMerger, -} from '@storybook/types'; -import { Addon_TypesEnum } from '@storybook/types'; +} from '@storybook/core/dist/types'; +import { Addon_TypesEnum } from '@storybook/core/dist/types'; import type { ModuleFn } from '../lib/types'; import type { Options } from '../store'; diff --git a/code/lib/manager-api/src/modules/channel.ts b/code/lib/manager-api/src/modules/channel.ts index 16084cfdd042..649d5a313802 100644 --- a/code/lib/manager-api/src/modules/channel.ts +++ b/code/lib/manager-api/src/modules/channel.ts @@ -1,6 +1,6 @@ -import type { Listener } from '@storybook/channels'; +import type { Listener } from '@storybook/core/dist/channels'; -import type { API_Provider } from '@storybook/types'; +import type { API_Provider } from '@storybook/core/dist/types'; import type { API } from '../index'; import type { ModuleFn } from '../lib/types'; diff --git a/code/lib/manager-api/src/modules/globals.ts b/code/lib/manager-api/src/modules/globals.ts index fd0c45514548..b9cf8c4c03e8 100644 --- a/code/lib/manager-api/src/modules/globals.ts +++ b/code/lib/manager-api/src/modules/globals.ts @@ -1,7 +1,7 @@ -import { SET_GLOBALS, UPDATE_GLOBALS, GLOBALS_UPDATED } from '@storybook/core-events'; -import { logger } from '@storybook/client-logger'; +import { SET_GLOBALS, UPDATE_GLOBALS, GLOBALS_UPDATED } from '@storybook/core/dist/core-events'; +import { logger } from '@storybook/core/dist/client-logger'; import { dequal as deepEqual } from 'dequal'; -import type { SetGlobalsPayload, Globals, GlobalTypes } from '@storybook/types'; +import type { SetGlobalsPayload, Globals, GlobalTypes } from '@storybook/core/dist/types'; import type { ModuleFn } from '../lib/types'; diff --git a/code/lib/manager-api/src/modules/layout.ts b/code/lib/manager-api/src/modules/layout.ts index 7c8401e3c173..15a92b113700 100644 --- a/code/lib/manager-api/src/modules/layout.ts +++ b/code/lib/manager-api/src/modules/layout.ts @@ -2,10 +2,10 @@ import { global } from '@storybook/global'; import pick from 'lodash/pick.js'; import { dequal as deepEqual } from 'dequal'; import { create } from '@storybook/theming/create'; -import { SET_CONFIG } from '@storybook/core-events'; +import { SET_CONFIG } from '@storybook/core/dist/core-events'; import type { ThemeVars } from '@storybook/theming'; -import type { API_Layout, API_PanelPositions, API_UI } from '@storybook/types'; +import type { API_Layout, API_PanelPositions, API_UI } from '@storybook/core/dist/types'; import merge from '../lib/merge'; import type { State } from '../index'; import type { ModuleFn } from '../lib/types'; diff --git a/code/lib/manager-api/src/modules/notifications.ts b/code/lib/manager-api/src/modules/notifications.ts index a8ee3195b6b7..899ae08c794a 100644 --- a/code/lib/manager-api/src/modules/notifications.ts +++ b/code/lib/manager-api/src/modules/notifications.ts @@ -1,4 +1,4 @@ -import type { API_Notification } from '@storybook/types'; +import type { API_Notification } from '@storybook/core/dist/types'; import partition from 'lodash/partition.js'; import type { ModuleFn } from '../lib/types'; diff --git a/code/lib/manager-api/src/modules/provider.ts b/code/lib/manager-api/src/modules/provider.ts index c150bf90bf8b..aff16dacb6c5 100644 --- a/code/lib/manager-api/src/modules/provider.ts +++ b/code/lib/manager-api/src/modules/provider.ts @@ -1,4 +1,4 @@ -import type { API_IframeRenderer } from '@storybook/types'; +import type { API_IframeRenderer } from '@storybook/core/dist/types'; import type { ModuleFn } from '../lib/types'; export interface SubAPI { diff --git a/code/lib/manager-api/src/modules/refs.ts b/code/lib/manager-api/src/modules/refs.ts index 4a5fca881f48..581ae3bec028 100644 --- a/code/lib/manager-api/src/modules/refs.ts +++ b/code/lib/manager-api/src/modules/refs.ts @@ -9,7 +9,7 @@ import type { API_IndexHash, API_StoryMapper, StoryIndex, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { transformSetStoriesStoryDataToPreparedStoryIndex, diff --git a/code/lib/manager-api/src/modules/settings.ts b/code/lib/manager-api/src/modules/settings.ts index 34a06c6c6dcd..279992f23e45 100644 --- a/code/lib/manager-api/src/modules/settings.ts +++ b/code/lib/manager-api/src/modules/settings.ts @@ -1,4 +1,4 @@ -import type { API_Settings, StoryId } from '@storybook/types'; +import type { API_Settings, StoryId } from '@storybook/core/dist/types'; import type { ModuleFn } from '../lib/types'; export interface SubAPI { diff --git a/code/lib/manager-api/src/modules/shortcuts.ts b/code/lib/manager-api/src/modules/shortcuts.ts index 892afa652ab7..58cdcb8f6ad3 100644 --- a/code/lib/manager-api/src/modules/shortcuts.ts +++ b/code/lib/manager-api/src/modules/shortcuts.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ import { global } from '@storybook/global'; -import { FORCE_REMOUNT, PREVIEW_KEYDOWN } from '@storybook/core-events'; +import { FORCE_REMOUNT, PREVIEW_KEYDOWN } from '@storybook/core/dist/core-events'; import type { ModuleFn } from '../lib/types'; diff --git a/code/lib/manager-api/src/modules/stories.ts b/code/lib/manager-api/src/modules/stories.ts index 19ea80ce41f4..fee3d3b80b6c 100644 --- a/code/lib/manager-api/src/modules/stories.ts +++ b/code/lib/manager-api/src/modules/stories.ts @@ -22,7 +22,7 @@ import type { API_StatusState, API_StatusUpdate, API_FilterFunction, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { PRELOAD_ENTRIES, STORY_PREPARED, @@ -41,8 +41,8 @@ import { DOCS_PREPARED, SET_CURRENT_STORY, SET_CONFIG, -} from '@storybook/core-events'; -import { logger } from '@storybook/client-logger'; +} from '@storybook/core/dist/core-events'; +import { logger } from '@storybook/core/dist/client-logger'; import { getEventMetadata } from '../lib/events'; diff --git a/code/lib/manager-api/src/modules/url.ts b/code/lib/manager-api/src/modules/url.ts index 8896ab272899..4bef7782f2f0 100644 --- a/code/lib/manager-api/src/modules/url.ts +++ b/code/lib/manager-api/src/modules/url.ts @@ -4,13 +4,13 @@ import { SET_CURRENT_STORY, GLOBALS_UPDATED, UPDATE_QUERY_PARAMS, -} from '@storybook/core-events'; -import type { NavigateOptions } from '@storybook/router'; -import { queryFromLocation, buildArgsParam } from '@storybook/router'; +} from '@storybook/core/dist/core-events'; +import type { NavigateOptions } from '@storybook/core/dist/router'; +import { queryFromLocation, buildArgsParam } from '@storybook/core/dist/router'; import { dequal as deepEqual } from 'dequal'; import { global } from '@storybook/global'; -import type { API_Layout, API_UI, Args } from '@storybook/types'; +import type { API_Layout, API_UI, Args } from '@storybook/core/dist/types'; import type { ModuleArgs, ModuleFn } from '../lib/types'; import { defaultLayoutState } from './layout'; diff --git a/code/lib/manager-api/src/modules/versions.ts b/code/lib/manager-api/src/modules/versions.ts index 8305523f2f0d..84a5a054e040 100644 --- a/code/lib/manager-api/src/modules/versions.ts +++ b/code/lib/manager-api/src/modules/versions.ts @@ -2,7 +2,7 @@ import { global } from '@storybook/global'; import semver from 'semver'; import memoize from 'memoizerific'; -import type { API_UnknownEntries, API_Version, API_Versions } from '@storybook/types'; +import type { API_UnknownEntries, API_Version, API_Versions } from '@storybook/core/dist/types'; import { version as currentVersion } from '../version'; import type { ModuleFn } from '../lib/types'; diff --git a/code/lib/manager-api/src/modules/whatsnew.tsx b/code/lib/manager-api/src/modules/whatsnew.tsx index abdda88d6b10..5b6dd51b6ae5 100644 --- a/code/lib/manager-api/src/modules/whatsnew.tsx +++ b/code/lib/manager-api/src/modules/whatsnew.tsx @@ -1,12 +1,12 @@ import React from 'react'; import { global } from '@storybook/global'; -import type { WhatsNewCache, WhatsNewData } from '@storybook/core-events'; +import type { WhatsNewCache, WhatsNewData } from '@storybook/core/dist/core-events'; import { REQUEST_WHATS_NEW_DATA, RESULT_WHATS_NEW_DATA, SET_WHATS_NEW_CACHE, TOGGLE_WHATS_NEW_NOTIFICATIONS, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import type { ModuleFn } from '../lib/types'; import { StorybookIcon } from '@storybook/icons'; diff --git a/code/lib/manager-api/src/tests/globals.test.ts b/code/lib/manager-api/src/tests/globals.test.ts index 26574fed38c1..b7aaafa5178b 100644 --- a/code/lib/manager-api/src/tests/globals.test.ts +++ b/code/lib/manager-api/src/tests/globals.test.ts @@ -2,7 +2,7 @@ import { describe, beforeEach, it, expect, vi } from 'vitest'; import { EventEmitter } from 'events'; import { SET_STORIES, SET_GLOBALS, UPDATE_GLOBALS, GLOBALS_UPDATED } from '@storybook/core-events'; -import { logger as _logger } from '@storybook/client-logger'; +import { logger as _logger } from '@storybook/core/dist/client-logger'; import type { API } from '../index'; import type { SubAPI } from '../modules/globals'; import { init as initModule } from '../modules/globals'; diff --git a/code/lib/manager-api/src/tests/layout.test.ts b/code/lib/manager-api/src/tests/layout.test.ts index 1c537ab504f5..0981d6811458 100644 --- a/code/lib/manager-api/src/tests/layout.test.ts +++ b/code/lib/manager-api/src/tests/layout.test.ts @@ -2,7 +2,7 @@ import type { Mock } from 'vitest'; import { expect, describe, beforeEach, it, vi } from 'vitest'; import { themes } from '@storybook/theming'; -import type { API_Provider } from 'lib/types/src'; +import type { API_Provider } from '@storybook/core/src/src'; import EventEmitter from 'events'; import type { SubAPI, SubState } from '../modules/layout'; import type { SubState as AddonsSubState } from '../modules/addons'; diff --git a/code/lib/manager-api/src/tests/mockStoriesEntries.ts b/code/lib/manager-api/src/tests/mockStoriesEntries.ts index 703b6e6efb76..d78659ab35a0 100644 --- a/code/lib/manager-api/src/tests/mockStoriesEntries.ts +++ b/code/lib/manager-api/src/tests/mockStoriesEntries.ts @@ -1,4 +1,4 @@ -import type { StoryIndex, API_PreparedStoryIndex } from '@storybook/types'; +import type { StoryIndex, API_PreparedStoryIndex } from '@storybook/core/dist/types'; export const mockEntries: StoryIndex['entries'] = { 'component-a--docs': { diff --git a/code/lib/manager-api/src/tests/refs.test.ts b/code/lib/manager-api/src/tests/refs.test.ts index 950b5e3e7a63..42bc062047cc 100644 --- a/code/lib/manager-api/src/tests/refs.test.ts +++ b/code/lib/manager-api/src/tests/refs.test.ts @@ -1,6 +1,6 @@ import { describe, it, expect, vi } from 'vitest'; import { global } from '@storybook/global'; -import type { StoryIndex } from 'lib/types/src'; +import type { StoryIndex } from '@storybook/core/src/src'; import type { State } from '..'; import { transformStoryIndexToStoriesHash } from '../lib/stories'; import { getSourceType, init as initRefs } from '../modules/refs'; diff --git a/code/lib/manager-api/src/tests/stories.test.ts b/code/lib/manager-api/src/tests/stories.test.ts index 9adec207d158..e416ba95574c 100644 --- a/code/lib/manager-api/src/tests/stories.test.ts +++ b/code/lib/manager-api/src/tests/stories.test.ts @@ -17,7 +17,7 @@ import { import { EventEmitter } from 'events'; import { global } from '@storybook/global'; -import type { API_StoryEntry } from '@storybook/types'; +import type { API_StoryEntry } from '@storybook/core/dist/types'; import { getEventMetadata as getEventMetadataOriginal } from '../lib/events'; import { init as initStories } from '../modules/stories'; diff --git a/code/lib/manager-api/src/typings.d.ts b/code/lib/manager-api/src/typings.d.ts index afbe02b0417f..1806da37c03e 100644 --- a/code/lib/manager-api/src/typings.d.ts +++ b/code/lib/manager-api/src/typings.d.ts @@ -2,8 +2,8 @@ declare var __STORYBOOK_ADDONS_MANAGER: any; declare var CONFIG_TYPE: string; -declare var FEATURES: import('@storybook/types').StorybookConfigRaw['features']; -declare var TAGS_OPTIONS: import('@storybook/types').StorybookConfigRaw['tags']; +declare var FEATURES: import('@storybook/core/dist/types').StorybookConfigRaw['features']; +declare var TAGS_OPTIONS: import('@storybook/core/dist/types').StorybookConfigRaw['tags']; declare var REFS: any; declare var VERSIONCHECK: any; declare var LOGLEVEL: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent' | undefined; diff --git a/code/lib/node-logger/package.json b/code/lib/node-logger/package.json deleted file mode 100644 index edded56bf9c1..000000000000 --- a/code/lib/node-logger/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "@storybook/node-logger", - "version": "8.1.0-alpha.7", - "description": "", - "keywords": [ - "storybook" - ], - "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/node-logger", - "bugs": { - "url": "https://github.com/storybookjs/storybook/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/storybookjs/storybook.git", - "directory": "code/lib/node-logger" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "license": "MIT", - "sideEffects": false, - "exports": { - ".": { - "types": "./dist/index.d.ts", - "node": "./dist/index.js", - "require": "./dist/index.js" - }, - "./package.json": "./package.json" - }, - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist/**/*", - "README.md", - "*.js", - "*.d.ts", - "!src/**/*" - ], - "scripts": { - "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts", - "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" - }, - "devDependencies": { - "@types/npmlog": "^4.1.2", - "@types/pretty-hrtime": "^1.0.0", - "chalk": "^4.1.0", - "npmlog": "^5.0.1", - "pretty-hrtime": "^1.0.3", - "typescript": "^5.3.2" - }, - "publishConfig": { - "access": "public" - }, - "bundler": { - "entries": [ - "./src/index.ts" - ], - "formats": [ - "cjs" - ] - }, - "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17" -} diff --git a/code/lib/node-logger/project.json b/code/lib/node-logger/project.json deleted file mode 100644 index 3ecdad88a0dd..000000000000 --- a/code/lib/node-logger/project.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "targets": { - "build": {} - } -} diff --git a/code/lib/node-logger/tsconfig.json b/code/lib/node-logger/tsconfig.json deleted file mode 100644 index a4429176e35f..000000000000 --- a/code/lib/node-logger/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "strict": true - }, - "include": ["src/**/*"] -} diff --git a/code/lib/node-logger/vitest.config.ts b/code/lib/node-logger/vitest.config.ts deleted file mode 100644 index 86a9dd454025..000000000000 --- a/code/lib/node-logger/vitest.config.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defineConfig, mergeConfig } from 'vitest/config'; -import { vitestCommonConfig } from '../../vitest.workspace'; - -export default mergeConfig( - vitestCommonConfig, - defineConfig({ - test: { - environment: 'node', - }, - }) -); diff --git a/code/lib/preview-api/package.json b/code/lib/preview-api/package.json deleted file mode 100644 index 36797a9265e2..000000000000 --- a/code/lib/preview-api/package.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "name": "@storybook/preview-api", - "version": "8.1.0-alpha.7", - "description": "", - "keywords": [ - "storybook" - ], - "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/preview-api", - "bugs": { - "url": "https://github.com/storybookjs/storybook/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/storybookjs/storybook.git", - "directory": "code/lib/preview-api" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "license": "MIT", - "sideEffects": false, - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.js" - }, - "./package.json": "./package.json" - }, - "main": "dist/index.js", - "module": "dist/index.mjs", - "react-native": "dist/index.mjs", - "types": "dist/index.d.ts", - "files": [ - "dist/**/*", - "README.md", - "*.js", - "*.d.ts", - "!src/**/*" - ], - "scripts": { - "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts", - "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" - }, - "dependencies": { - "@storybook/channels": "workspace:*", - "@storybook/client-logger": "workspace:*", - "@storybook/core-events": "workspace:*", - "@storybook/csf": "^0.1.6", - "@storybook/global": "^5.0.0", - "@storybook/types": "workspace:*", - "@types/qs": "^6.9.5", - "dequal": "^2.0.2", - "lodash": "^4.17.21", - "memoizerific": "^1.11.3", - "qs": "^6.10.0", - "tiny-invariant": "^1.3.1", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2" - }, - "devDependencies": { - "@storybook/core-common": "workspace:*", - "ansi-to-html": "^0.6.11", - "slash": "^5.0.0" - }, - "publishConfig": { - "access": "public" - }, - "bundler": { - "entries": [ - "./src/index.ts" - ] - }, - "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17" -} diff --git a/code/lib/preview-api/project.json b/code/lib/preview-api/project.json deleted file mode 100644 index 3ecdad88a0dd..000000000000 --- a/code/lib/preview-api/project.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "targets": { - "build": {} - } -} diff --git a/code/lib/preview-api/src/addons.ts b/code/lib/preview-api/src/addons.ts deleted file mode 100644 index abff53a4dd10..000000000000 --- a/code/lib/preview-api/src/addons.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* eslint-disable @typescript-eslint/triple-slash-reference */ -/// - -export * from './modules/addons'; diff --git a/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContextProps.ts b/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContextProps.ts deleted file mode 100644 index c73df45e223e..000000000000 --- a/code/lib/preview-api/src/modules/preview-web/docs-context/DocsContextProps.ts +++ /dev/null @@ -1 +0,0 @@ -export type { DocsContextProps } from '@storybook/types'; diff --git a/code/lib/preview-api/src/modules/preview-web/docs-context/DocsRenderFunction.ts b/code/lib/preview-api/src/modules/preview-web/docs-context/DocsRenderFunction.ts deleted file mode 100644 index d7533154a2c3..000000000000 --- a/code/lib/preview-api/src/modules/preview-web/docs-context/DocsRenderFunction.ts +++ /dev/null @@ -1 +0,0 @@ -export type { DocsRenderFunction } from '@storybook/types'; diff --git a/code/lib/preview-api/src/preview-web.ts b/code/lib/preview-api/src/preview-web.ts deleted file mode 100644 index a22e9cb03234..000000000000 --- a/code/lib/preview-api/src/preview-web.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* eslint-disable @typescript-eslint/triple-slash-reference */ -/// - -export * from './modules/preview-web'; diff --git a/code/lib/preview-api/src/store.ts b/code/lib/preview-api/src/store.ts deleted file mode 100644 index fa89863e406e..000000000000 --- a/code/lib/preview-api/src/store.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* eslint-disable @typescript-eslint/triple-slash-reference */ -/// - -export * from './modules/store'; diff --git a/code/lib/preview-api/src/typings.d.ts b/code/lib/preview-api/src/typings.d.ts deleted file mode 100644 index b1ff997a733d..000000000000 --- a/code/lib/preview-api/src/typings.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* eslint-disable no-underscore-dangle */ -/* eslint-disable @typescript-eslint/naming-convention */ -declare module 'lazy-universal-dotenv'; -declare module 'pnp-webpack-plugin'; -declare module '@storybook/manager/paths'; -declare module 'better-opn'; -declare module 'open'; -declare module '@aw-web-design/x-default-browser'; - -declare var FEATURES: import('@storybook/types').StorybookConfigRaw['features']; - -declare var STORIES: any; -declare var DOCS_OPTIONS: any; -declare var TAGS_OPTIONS: import('@storybook/types').StorybookConfigRaw['tags']; - -// To enable user code to detect if it is running in Storybook -declare var IS_STORYBOOK: boolean; - -// ClientApi (and StoreStore) are really singletons. However they are not created until the -// relevant framework instantiates them via `start.js`. The good news is this happens right away. -declare var __STORYBOOK_ADDONS_CHANNEL__: any; -declare var __STORYBOOK_ADDONS_PREVIEW: any; -declare var __STORYBOOK_PREVIEW__: import('./modules/preview-web/PreviewWeb').PreviewWeb; -declare var __STORYBOOK_STORY_STORE__: any; -declare var STORYBOOK_HOOKS_CONTEXT: any; -declare var LOGLEVEL: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent' | undefined; -declare var sendTelemetryError: (error: any) => void; - -declare module 'ansi-to-html'; -declare class AnsiToHtml { - constructor(options: { escapeHtml: boolean }); - - toHtml: (ansi: string) => string; -} diff --git a/code/lib/preview-api/tsconfig.json b/code/lib/preview-api/tsconfig.json deleted file mode 100644 index 756dc08f473c..000000000000 --- a/code/lib/preview-api/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "strict": true, - "skipLibCheck": true - }, - "include": ["src/**/*"], - "exclude": [] -} diff --git a/code/lib/preview-api/vitest.config.ts b/code/lib/preview-api/vitest.config.ts deleted file mode 100644 index 86a9dd454025..000000000000 --- a/code/lib/preview-api/vitest.config.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defineConfig, mergeConfig } from 'vitest/config'; -import { vitestCommonConfig } from '../../vitest.workspace'; - -export default mergeConfig( - vitestCommonConfig, - defineConfig({ - test: { - environment: 'node', - }, - }) -); diff --git a/code/lib/preview/package.json b/code/lib/preview/package.json index aaaff8693593..4f8421ac2d1b 100644 --- a/code/lib/preview/package.json +++ b/code/lib/preview/package.json @@ -57,11 +57,8 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/esm-bundle.ts" }, "devDependencies": { - "@storybook/channels": "workspace:*", - "@storybook/client-logger": "workspace:*", - "@storybook/core-events": "workspace:*", + "@storybook/core": "workspace:*", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "workspace:*", "browser-dtector": "^3.4.0", "typescript": "^5.3.2" }, diff --git a/code/lib/preview/src/globals/globals.ts b/code/lib/preview/src/globals/globals.ts index ba9b6056fbce..205b3b19ca03 100644 --- a/code/lib/preview/src/globals/globals.ts +++ b/code/lib/preview/src/globals/globals.ts @@ -6,7 +6,7 @@ export const globalsNameReferenceMap = { '@storybook/client-logger': '__STORYBOOK_MODULE_CLIENT_LOGGER__', '@storybook/core-events': '__STORYBOOK_MODULE_CORE_EVENTS__', '@storybook/core-events/preview-errors': '__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__', - '@storybook/preview-api': '__STORYBOOK_MODULE_PREVIEW_API__', + '@storybook/core/dist/preview-api': '__STORYBOOK_MODULE_PREVIEW_API__', '@storybook/types': '__STORYBOOK_MODULE_TYPES__', } as const; diff --git a/code/lib/preview/src/globals/runtime.ts b/code/lib/preview/src/globals/runtime.ts index 39868d36ac9a..1e94256c806f 100644 --- a/code/lib/preview/src/globals/runtime.ts +++ b/code/lib/preview/src/globals/runtime.ts @@ -1,9 +1,9 @@ -import * as CHANNELS from '@storybook/channels'; -import * as CLIENT_LOGGER from '@storybook/client-logger'; -import * as CORE_EVENTS from '@storybook/core-events'; -import * as CORE_EVENTS_PREVIEW_ERRORS from '@storybook/core-events/preview-errors'; -import * as PREVIEW_API from '@storybook/preview-api'; -import * as TYPES from '@storybook/types'; +import * as CHANNELS from '@storybook/core/dist/channels'; +import * as CLIENT_LOGGER from '@storybook/core/dist/client-logger'; +import * as CORE_EVENTS from '@storybook/core/dist/core-events'; +import * as CORE_EVENTS_PREVIEW_ERRORS from '@storybook/core/dist/preview-errors'; +import * as PREVIEW_API from '@storybook/core/dist/preview-api'; +import * as TYPES from '@storybook/core/dist/types'; import * as GLOBAL from '@storybook/global'; import type { globalsNameReferenceMap } from './globals'; @@ -14,7 +14,12 @@ export const globalsNameValueMap: Required { - const frameworks = await readdir(path.join(__dirname, '..', '..', '..', 'frameworks')); - const supportedFrameworks = frameworks.map((framework) => `'${framework}'`).join(' | '); - const fileContent = dedent` - // auto generated file, do not edit - // the file gets generated by the script ./code/lib/types/scripts/generate-available-frameworks.js - export type SupportedFrameworks = ${supportedFrameworks} | ${thirdPartyFrameworks - .map((framework) => `'${framework}'`) - .join(' | ')}; -`; - const frameworksFile = path.join(__dirname, '..', 'src', 'modules', 'frameworks.ts'); - const prettierConfig = await prettier.resolveConfig(frameworksFile); - - const formattedFileContent = await prettier.format(fileContent, { - ...prettierConfig, - parser: 'typescript', - }); - - await writeFile(frameworksFile, formattedFileContent); -}; - -run().catch((e) => { - console.error(e); - process.exit(1); -}); diff --git a/code/lib/types/tsconfig.json b/code/lib/types/tsconfig.json deleted file mode 100644 index b5a2f9a70918..000000000000 --- a/code/lib/types/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"], - "compilerOptions": { - "strict": true - } -} diff --git a/code/lib/types/vitest.config.ts b/code/lib/types/vitest.config.ts deleted file mode 100644 index 86a9dd454025..000000000000 --- a/code/lib/types/vitest.config.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defineConfig, mergeConfig } from 'vitest/config'; -import { vitestCommonConfig } from '../../vitest.workspace'; - -export default mergeConfig( - vitestCommonConfig, - defineConfig({ - test: { - environment: 'node', - }, - }) -); diff --git a/code/package.json b/code/package.json index 82d1541a338b..8ca5cc9b754e 100644 --- a/code/package.json +++ b/code/package.json @@ -14,6 +14,7 @@ }, "workspaces": { "packages": [ + "core", "addons/*", "frameworks/*", "lib/*", @@ -118,18 +119,13 @@ "@storybook/builder-manager": "workspace:*", "@storybook/builder-vite": "workspace:*", "@storybook/builder-webpack5": "workspace:*", - "@storybook/channels": "workspace:*", "@storybook/cli": "workspace:*", - "@storybook/client-logger": "workspace:*", "@storybook/codemod": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-common": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/core-server": "workspace:*", "@storybook/core-webpack": "workspace:*", "@storybook/csf": "^0.1.6", "@storybook/csf-plugin": "workspace:*", - "@storybook/csf-tools": "workspace:*", "@storybook/docs-tools": "workspace:*", "@storybook/ember": "workspace:*", "@storybook/eslint-config-storybook": "^4.0.0", @@ -137,12 +133,10 @@ "@storybook/html": "workspace:*", "@storybook/html-vite": "workspace:*", "@storybook/html-webpack5": "workspace:*", - "@storybook/instrumenter": "workspace:*", "@storybook/linter-config": "^4.0.0", "@storybook/manager": "workspace:*", "@storybook/manager-api": "workspace:*", "@storybook/nextjs": "workspace:*", - "@storybook/node-logger": "workspace:*", "@storybook/preact": "workspace:*", "@storybook/preact-vite": "workspace:*", "@storybook/preact-webpack5": "workspace:*", @@ -154,21 +148,17 @@ "@storybook/preset-svelte-webpack": "workspace:*", "@storybook/preset-vue3-webpack": "workspace:*", "@storybook/preview": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/react": "workspace:*", "@storybook/react-vite": "workspace:*", "@storybook/react-webpack5": "workspace:*", - "@storybook/router": "workspace:*", "@storybook/server": "workspace:*", "@storybook/server-webpack5": "workspace:*", "@storybook/source-loader": "workspace:*", "@storybook/svelte": "workspace:*", "@storybook/svelte-webpack5": "workspace:*", - "@storybook/telemetry": "workspace:*", "@storybook/test": "workspace:*", "@storybook/testing-library": "next", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "@storybook/vue3": "workspace:*", "@storybook/vue3-vite": "workspace:*", "@storybook/vue3-webpack5": "workspace:*", @@ -179,6 +169,7 @@ "@testing-library/jest-dom": "6.1.4", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", + "@types/bun": "^1.1.1", "@types/express": "^4.17.11", "@types/fs-extra": "^11.0.1", "@types/lodash": "^4.14.167", diff --git a/code/presets/create-react-app/package.json b/code/presets/create-react-app/package.json index 3f7e99928679..bae780317214 100644 --- a/code/presets/create-react-app/package.json +++ b/code/presets/create-react-app/package.json @@ -51,17 +51,16 @@ "dependencies": { "@pmmmwh/react-refresh-webpack-plugin": "^0.5.1", "@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0", - "@storybook/types": "workspace:*", "@types/semver": "^7.5.6", "pnp-webpack-plugin": "^1.7.0", "semver": "^7.5.4" }, "devDependencies": { - "@storybook/node-logger": "workspace:*", "@types/node": "^18.0.0", "typescript": "^5.3.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "react-scripts": ">=5.0.0" }, "publishConfig": { diff --git a/code/presets/create-react-app/src/helpers/checkPresets.ts b/code/presets/create-react-app/src/helpers/checkPresets.ts index 2827dab51f58..973ed50684ee 100644 --- a/code/presets/create-react-app/src/helpers/checkPresets.ts +++ b/code/presets/create-react-app/src/helpers/checkPresets.ts @@ -1,5 +1,4 @@ -/* eslint-disable import/no-extraneous-dependencies */ -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import type { PluginOptions } from '../types'; const incompatiblePresets = ['@storybook/preset-scss', '@storybook/preset-typescript']; diff --git a/code/presets/create-react-app/src/index.ts b/code/presets/create-react-app/src/index.ts index 2fc78a1cfa0d..5f6c81e0c7e7 100644 --- a/code/presets/create-react-app/src/index.ts +++ b/code/presets/create-react-app/src/index.ts @@ -1,7 +1,6 @@ -/* eslint-disable import/no-extraneous-dependencies */ import { join, relative, dirname } from 'path'; import type { Configuration, RuleSetRule, WebpackPluginInstance } from 'webpack'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import PnpWebpackPlugin from 'pnp-webpack-plugin'; import { mergePlugins } from './helpers/mergePlugins'; import { getReactScriptsPath } from './helpers/getReactScriptsPath'; diff --git a/code/presets/create-react-app/src/types.ts b/code/presets/create-react-app/src/types.ts index 197a4c9f467e..052b529e1f76 100644 --- a/code/presets/create-react-app/src/types.ts +++ b/code/presets/create-react-app/src/types.ts @@ -1,4 +1,4 @@ -import type { Options } from '@storybook/types'; +import type { Options } from '@storybook/core/dist/types'; import type { PluginOptions as RDTSPluginOptions } from '@storybook/react-docgen-typescript-plugin'; diff --git a/code/presets/html-webpack/package.json b/code/presets/html-webpack/package.json index 5209a5cabfb1..cf68df2887b1 100644 --- a/code/presets/html-webpack/package.json +++ b/code/presets/html-webpack/package.json @@ -57,6 +57,9 @@ "devDependencies": { "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "engines": { "node": ">=18.0.0" }, diff --git a/code/presets/preact-webpack/package.json b/code/presets/preact-webpack/package.json index 71d1cad823e2..109d1c416f41 100644 --- a/code/presets/preact-webpack/package.json +++ b/code/presets/preact-webpack/package.json @@ -57,6 +57,7 @@ "typescript": "^5.3.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "preact": "^8.0.0||^10.0.0" }, "engines": { diff --git a/code/presets/preact-webpack/src/index.ts b/code/presets/preact-webpack/src/index.ts index 272987338308..7f7a276a8b20 100644 --- a/code/presets/preact-webpack/src/index.ts +++ b/code/presets/preact-webpack/src/index.ts @@ -1,5 +1,5 @@ import { dirname, join } from 'path'; -import type { PresetProperty } from 'lib/types/dist'; +import type { PresetProperty } from '@storybook/core/dist/types'; import type { StorybookConfig } from './types'; export * from './types'; diff --git a/code/presets/react-webpack/package.json b/code/presets/react-webpack/package.json index 33e1c1abc278..a590bef26bb1 100644 --- a/code/presets/react-webpack/package.json +++ b/code/presets/react-webpack/package.json @@ -66,7 +66,6 @@ "dependencies": { "@storybook/core-webpack": "workspace:*", "@storybook/docs-tools": "workspace:*", - "@storybook/node-logger": "workspace:*", "@storybook/react": "workspace:*", "@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0", "@types/node": "^18.0.0", @@ -84,6 +83,7 @@ "typescript": "^5.3.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, diff --git a/code/presets/react-webpack/src/cra-config.ts b/code/presets/react-webpack/src/cra-config.ts index 3c2703fe7ebc..c915ea0c5404 100644 --- a/code/presets/react-webpack/src/cra-config.ts +++ b/code/presets/react-webpack/src/cra-config.ts @@ -1,7 +1,7 @@ import fs from 'fs'; import path from 'path'; import semver from 'semver'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; const appDirectory = fs.realpathSync(process.cwd()); diff --git a/code/presets/react-webpack/src/framework-preset-cra.ts b/code/presets/react-webpack/src/framework-preset-cra.ts index 1c7de51b8ea5..a86a2422e639 100644 --- a/code/presets/react-webpack/src/framework-preset-cra.ts +++ b/code/presets/react-webpack/src/framework-preset-cra.ts @@ -1,4 +1,4 @@ -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import type { Preset, StorybookConfig } from '@storybook/core-webpack'; import { isReactScriptsInstalled } from './cra-config'; diff --git a/code/presets/react-webpack/src/index.ts b/code/presets/react-webpack/src/index.ts index 690e247c5774..4f9816f5350b 100644 --- a/code/presets/react-webpack/src/index.ts +++ b/code/presets/react-webpack/src/index.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; export * from './types'; diff --git a/code/presets/react-webpack/src/loaders/react-docgen-loader.ts b/code/presets/react-webpack/src/loaders/react-docgen-loader.ts index ac83e37982de..c0b9b15b8e99 100644 --- a/code/presets/react-webpack/src/loaders/react-docgen-loader.ts +++ b/code/presets/react-webpack/src/loaders/react-docgen-loader.ts @@ -11,7 +11,7 @@ import findUp from 'find-up'; import MagicString from 'magic-string'; import type { LoaderContext } from 'webpack'; import type { Handler, NodePath, babelTypes as t, Documentation } from 'react-docgen'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; import { RESOLVE_EXTENSIONS, diff --git a/code/presets/server-webpack/package.json b/code/presets/server-webpack/package.json index 79d58fccb7c3..841c8893fc59 100644 --- a/code/presets/server-webpack/package.json +++ b/code/presets/server-webpack/package.json @@ -68,6 +68,9 @@ "typescript": "^5.3.2", "yaml": "^2.3.1" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "engines": { "node": ">=18.0.0" }, diff --git a/code/presets/svelte-webpack/package.json b/code/presets/svelte-webpack/package.json index 7631ae956d49..5ab2b2dbd69d 100644 --- a/code/presets/svelte-webpack/package.json +++ b/code/presets/svelte-webpack/package.json @@ -65,7 +65,6 @@ }, "dependencies": { "@storybook/core-webpack": "workspace:*", - "@storybook/node-logger": "workspace:*", "sveltedoc-parser": "^4.2.1", "ts-dedent": "^2.0.0" }, @@ -75,6 +74,7 @@ "typescript": "^5.3.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "svelte": "^4.0.0 || ^5.0.0-next.65", "svelte-loader": "*" }, diff --git a/code/presets/svelte-webpack/src/framework-preset-svelte.ts b/code/presets/svelte-webpack/src/framework-preset-svelte.ts index 457abb86a02e..c49616949ba6 100644 --- a/code/presets/svelte-webpack/src/framework-preset-svelte.ts +++ b/code/presets/svelte-webpack/src/framework-preset-svelte.ts @@ -1,4 +1,4 @@ -import type { Preset } from '@storybook/types'; +import type { Preset } from '@storybook/core/dist/types'; import type { StorybookConfig, SvelteOptions } from './types'; export const webpack: StorybookConfig['webpack'] = async (config, { presets }) => { diff --git a/code/presets/svelte-webpack/src/index.ts b/code/presets/svelte-webpack/src/index.ts index f6da040e368e..4e94b15597c9 100644 --- a/code/presets/svelte-webpack/src/index.ts +++ b/code/presets/svelte-webpack/src/index.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; export * from './types'; diff --git a/code/presets/svelte-webpack/src/svelte-docgen-loader.ts b/code/presets/svelte-webpack/src/svelte-docgen-loader.ts index f83055132059..52925c14c97d 100644 --- a/code/presets/svelte-webpack/src/svelte-docgen-loader.ts +++ b/code/presets/svelte-webpack/src/svelte-docgen-loader.ts @@ -3,7 +3,7 @@ import { dedent } from 'ts-dedent'; import * as path from 'path'; import * as fs from 'fs'; import { preprocess } from 'svelte/compiler'; -import { logger } from '@storybook/node-logger'; +import { logger } from '@storybook/core/dist/node-logger'; /* * Patch sveltedoc-parser internal options. diff --git a/code/presets/vue3-webpack/package.json b/code/presets/vue3-webpack/package.json index 500f80f54b1c..9b15104ab86f 100644 --- a/code/presets/vue3-webpack/package.json +++ b/code/presets/vue3-webpack/package.json @@ -74,6 +74,7 @@ "vue": "^3.2.33" }, "peerDependencies": { + "@storybook/core": "workspace:*", "@vue/compiler-sfc": "^3.0.0", "vue": "^3.0.0" }, diff --git a/code/presets/vue3-webpack/src/index.ts b/code/presets/vue3-webpack/src/index.ts index 2990fc06db18..6838dd83b2a9 100644 --- a/code/presets/vue3-webpack/src/index.ts +++ b/code/presets/vue3-webpack/src/index.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; export * from './types'; diff --git a/code/renderers/html/package.json b/code/renderers/html/package.json index def5200f6755..3e034effe936 100644 --- a/code/renderers/html/package.json +++ b/code/renderers/html/package.json @@ -49,13 +49,14 @@ "dependencies": { "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "ts-dedent": "^2.0.0" }, "devDependencies": { "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "engines": { "node": ">=18.0.0" }, diff --git a/code/renderers/html/src/docs/sourceDecorator.test.ts b/code/renderers/html/src/docs/sourceDecorator.test.ts index 3b3cc587a660..36aa9d0741ef 100644 --- a/code/renderers/html/src/docs/sourceDecorator.test.ts +++ b/code/renderers/html/src/docs/sourceDecorator.test.ts @@ -1,11 +1,11 @@ import { SNIPPET_RENDERED } from '@storybook/docs-tools'; -import { addons, useEffect } from '@storybook/preview-api'; +import { addons, useEffect } from '@storybook/core/dist/preview-api'; import type { Mock } from 'vitest'; import { vi, describe, beforeEach, it, expect } from 'vitest'; import { sourceDecorator } from './sourceDecorator'; import type { StoryContext } from '../types'; -vi.mock('@storybook/preview-api'); +vi.mock('@storybook/core/dist/preview-api'); const mockedAddons = vi.mocked(addons); const mockedUseEffect = vi.mocked(useEffect); diff --git a/code/renderers/html/src/docs/sourceDecorator.ts b/code/renderers/html/src/docs/sourceDecorator.ts index 6318c9203312..62d150691416 100644 --- a/code/renderers/html/src/docs/sourceDecorator.ts +++ b/code/renderers/html/src/docs/sourceDecorator.ts @@ -1,8 +1,8 @@ /* eslint-disable no-underscore-dangle */ import { SNIPPET_RENDERED, SourceType } from '@storybook/docs-tools'; -import { addons, useEffect } from '@storybook/preview-api'; -import type { DecoratorFunction } from '@storybook/types'; +import { addons, useEffect } from '@storybook/core/dist/preview-api'; +import type { DecoratorFunction } from '@storybook/core/dist/types'; import type { HtmlRenderer } from '../types'; diff --git a/code/renderers/html/src/entry-preview-docs.ts b/code/renderers/html/src/entry-preview-docs.ts index 872b95e0e077..ec22fa0c4027 100644 --- a/code/renderers/html/src/entry-preview-docs.ts +++ b/code/renderers/html/src/entry-preview-docs.ts @@ -1,4 +1,4 @@ -import type { ArgTypesEnhancer, DecoratorFunction } from '@storybook/types'; +import type { ArgTypesEnhancer, DecoratorFunction } from '@storybook/core/dist/types'; import { SourceType, enhanceArgTypes } from '@storybook/docs-tools'; import { sourceDecorator } from './docs/sourceDecorator'; diff --git a/code/renderers/html/src/preset.ts b/code/renderers/html/src/preset.ts index 03b11e7e6097..add26e30bff7 100644 --- a/code/renderers/html/src/preset.ts +++ b/code/renderers/html/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { join } from 'path'; export const previewAnnotations: PresetProperty<'previewAnnotations'> = async ( diff --git a/code/renderers/html/src/public-types.ts b/code/renderers/html/src/public-types.ts index be52a1f6c4b9..9f41bdbc17d8 100644 --- a/code/renderers/html/src/public-types.ts +++ b/code/renderers/html/src/public-types.ts @@ -8,10 +8,10 @@ import type { StoryContext as GenericStoryContext, StrictArgs, ProjectAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { HtmlRenderer } from './types'; -export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/types'; +export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/core/dist/types'; export type { HtmlRenderer }; /** diff --git a/code/renderers/html/src/render.ts b/code/renderers/html/src/render.ts index 25fa79d3ce12..e456f80384b1 100644 --- a/code/renderers/html/src/render.ts +++ b/code/renderers/html/src/render.ts @@ -1,8 +1,8 @@ import { global } from '@storybook/global'; import { dedent } from 'ts-dedent'; -import { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/preview-api'; -import type { RenderContext, ArgsStoryFn } from '@storybook/types'; +import { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/core/dist/preview-api'; +import type { RenderContext, ArgsStoryFn } from '@storybook/core/dist/types'; import type { HtmlRenderer } from './types'; const { Node } = global; diff --git a/code/renderers/html/src/types.ts b/code/renderers/html/src/types.ts index c6152653b11b..22c49edc7216 100644 --- a/code/renderers/html/src/types.ts +++ b/code/renderers/html/src/types.ts @@ -2,10 +2,10 @@ import type { ArgsStoryFn, StoryContext as DefaultStoryContext, WebRenderer, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { SourceType } from '@storybook/docs-tools'; -export type { RenderContext } from '@storybook/types'; +export type { RenderContext } from '@storybook/core/dist/types'; export type StoryFnHtmlReturnType = string | Node; diff --git a/code/renderers/preact/package.json b/code/renderers/preact/package.json index 09fc253432d9..0f74a6e2ff4c 100644 --- a/code/renderers/preact/package.json +++ b/code/renderers/preact/package.json @@ -48,8 +48,6 @@ }, "dependencies": { "@storybook/global": "^5.0.0", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "ts-dedent": "^2.0.0" }, "devDependencies": { @@ -57,6 +55,7 @@ "typescript": "^5.3.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "preact": "^8.0.0||^10.0.0" }, "engines": { diff --git a/code/renderers/preact/src/preset.ts b/code/renderers/preact/src/preset.ts index 28e5a428af0a..9763fce6036b 100644 --- a/code/renderers/preact/src/preset.ts +++ b/code/renderers/preact/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { join } from 'path'; export const previewAnnotations: PresetProperty<'previewAnnotations'> = async ( diff --git a/code/renderers/preact/src/public-types.ts b/code/renderers/preact/src/public-types.ts index 67939a4794f0..93a5275d0f9b 100644 --- a/code/renderers/preact/src/public-types.ts +++ b/code/renderers/preact/src/public-types.ts @@ -8,10 +8,10 @@ import type { StoryContext as GenericStoryContext, StrictArgs, ProjectAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { PreactRenderer } from './types'; -export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/types'; +export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/core/dist/types'; export type { PreactRenderer }; /** diff --git a/code/renderers/preact/src/render.tsx b/code/renderers/preact/src/render.tsx index e4c4ab64b485..af7a0ffe3f75 100644 --- a/code/renderers/preact/src/render.tsx +++ b/code/renderers/preact/src/render.tsx @@ -1,7 +1,7 @@ /** @jsx h */ import * as preact from 'preact'; import { dedent } from 'ts-dedent'; -import type { RenderContext, ArgsStoryFn } from '@storybook/types'; +import type { RenderContext, ArgsStoryFn } from '@storybook/core/dist/types'; import type { StoryFnPreactReturnType, PreactRenderer } from './types'; diff --git a/code/renderers/preact/src/types.ts b/code/renderers/preact/src/types.ts index 1a8e545c8540..37050fb0a59d 100644 --- a/code/renderers/preact/src/types.ts +++ b/code/renderers/preact/src/types.ts @@ -1,7 +1,7 @@ -import type { WebRenderer } from '@storybook/types'; +import type { WebRenderer } from '@storybook/core/dist/types'; import type { AnyComponent } from 'preact'; -export type { RenderContext } from '@storybook/types'; +export type { RenderContext } from '@storybook/core/dist/types'; export type StoryFnPreactReturnType = string | Node | preact.JSX.Element; diff --git a/code/renderers/react/package.json b/code/renderers/react/package.json index c71f8628de5e..184e329529df 100644 --- a/code/renderers/react/package.json +++ b/code/renderers/react/package.json @@ -54,12 +54,9 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "workspace:*", "@storybook/react-dom-shim": "workspace:*", - "@storybook/types": "workspace:*", "@types/escodegen": "^0.0.6", "@types/estree": "^0.0.51", "@types/node": "^18.0.0", @@ -86,6 +83,7 @@ "require-from-string": "^2.0.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "typescript": ">= 4.2.x" diff --git a/code/renderers/react/src/__test__/portable-stories.test.tsx b/code/renderers/react/src/__test__/portable-stories.test.tsx index aab2585743d5..79541150fc5a 100644 --- a/code/renderers/react/src/__test__/portable-stories.test.tsx +++ b/code/renderers/react/src/__test__/portable-stories.test.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { vi, it, expect, afterEach, describe } from 'vitest'; import { render, screen, cleanup } from '@testing-library/react'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import * as addonActionsPreview from '@storybook/addon-actions/preview'; import type { Meta } from '@storybook/react'; diff --git a/code/renderers/react/src/docs/applyDecorators.ts b/code/renderers/react/src/docs/applyDecorators.ts index 109b5057f0c4..e04e2c191f0d 100644 --- a/code/renderers/react/src/docs/applyDecorators.ts +++ b/code/renderers/react/src/docs/applyDecorators.ts @@ -1,5 +1,5 @@ -import { defaultDecorateStory } from '@storybook/preview-api'; -import type { LegacyStoryFn, DecoratorFunction } from '@storybook/types'; +import { defaultDecorateStory } from '@storybook/core/dist/preview-api'; +import type { LegacyStoryFn, DecoratorFunction } from '@storybook/core/dist/types'; import type { ReactRenderer } from '../types'; import { jsxDecorator } from './jsxDecorator'; diff --git a/code/renderers/react/src/docs/extractArgTypes.test.ts b/code/renderers/react/src/docs/extractArgTypes.test.ts index 96b750f26525..61d36966eece 100644 --- a/code/renderers/react/src/docs/extractArgTypes.test.ts +++ b/code/renderers/react/src/docs/extractArgTypes.test.ts @@ -5,8 +5,8 @@ import fs from 'fs'; import requireFromString from 'require-from-string'; import { transformFileSync, transformSync } from '@babel/core'; -import { inferControls } from '@storybook/preview-api'; -import type { Renderer } from '@storybook/types'; +import { inferControls } from '@storybook/core/dist/preview-api'; +import type { Renderer } from '@storybook/core/dist/types'; import { normalizeNewlines } from '@storybook/docs-tools'; import type { StoryContext } from '../types'; diff --git a/code/renderers/react/src/docs/extractArgTypes.ts b/code/renderers/react/src/docs/extractArgTypes.ts index 7c4c55911255..ecfa2f4228e6 100644 --- a/code/renderers/react/src/docs/extractArgTypes.ts +++ b/code/renderers/react/src/docs/extractArgTypes.ts @@ -1,4 +1,4 @@ -import type { StrictArgTypes } from '@storybook/types'; +import type { StrictArgTypes } from '@storybook/core/dist/types'; import type { PropDef, ArgTypesExtractor } from '@storybook/docs-tools'; import { extractProps } from './extractProps'; diff --git a/code/renderers/react/src/docs/jsxDecorator.test.tsx b/code/renderers/react/src/docs/jsxDecorator.test.tsx index 97c267a3b2a2..2d7ff80c0e9e 100644 --- a/code/renderers/react/src/docs/jsxDecorator.test.tsx +++ b/code/renderers/react/src/docs/jsxDecorator.test.tsx @@ -4,11 +4,11 @@ import React, { StrictMode, createElement, Profiler } from 'react'; import type { Mock } from 'vitest'; import { vi, describe, it, expect, beforeEach } from 'vitest'; import PropTypes from 'prop-types'; -import { addons, useEffect } from '@storybook/preview-api'; +import { addons, useEffect } from '@storybook/core/dist/preview-api'; import { SNIPPET_RENDERED } from '@storybook/docs-tools'; import { renderJsx, jsxDecorator, getReactSymbolName } from './jsxDecorator'; -vi.mock('@storybook/preview-api'); +vi.mock('@storybook/core/dist/preview-api'); const mockedAddons = vi.mocked(addons); const mockedUseEffect = vi.mocked(useEffect); diff --git a/code/renderers/react/src/docs/jsxDecorator.tsx b/code/renderers/react/src/docs/jsxDecorator.tsx index f3a6d3b05cff..0eab04623d7e 100644 --- a/code/renderers/react/src/docs/jsxDecorator.tsx +++ b/code/renderers/react/src/docs/jsxDecorator.tsx @@ -4,10 +4,10 @@ import React, { isValidElement, createElement } from 'react'; import type { Options } from 'react-element-to-jsx-string'; import reactElementToJSXString from 'react-element-to-jsx-string'; -import { addons, useEffect } from '@storybook/preview-api'; -import type { StoryContext, ArgsStoryFn, PartialStoryFn } from '@storybook/types'; +import { addons, useEffect } from '@storybook/core/dist/preview-api'; +import type { StoryContext, ArgsStoryFn, PartialStoryFn } from '@storybook/core/dist/types'; import { SourceType, SNIPPET_RENDERED, getDocgenSection } from '@storybook/docs-tools'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import { isMemo, isForwardRef } from './lib'; import type { ReactRenderer } from '../types'; diff --git a/code/renderers/react/src/entry-preview-docs.ts b/code/renderers/react/src/entry-preview-docs.ts index 51e347b0f03d..d2f17ff1a7fe 100644 --- a/code/renderers/react/src/entry-preview-docs.ts +++ b/code/renderers/react/src/entry-preview-docs.ts @@ -1,4 +1,4 @@ -import type { ArgTypesEnhancer, DecoratorFunction } from '@storybook/types'; +import type { ArgTypesEnhancer, DecoratorFunction } from '@storybook/core/dist/types'; import { extractComponentDescription, enhanceArgTypes } from '@storybook/docs-tools'; import { extractArgTypes } from './docs/extractArgTypes'; diff --git a/code/renderers/react/src/entry-preview-rsc.tsx b/code/renderers/react/src/entry-preview-rsc.tsx index 96b04ab996ba..92783ea2bbde 100644 --- a/code/renderers/react/src/entry-preview-rsc.tsx +++ b/code/renderers/react/src/entry-preview-rsc.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import semver from 'semver'; -import type { Addon_DecoratorFunction } from '@storybook/types'; +import type { Addon_DecoratorFunction } from '@storybook/core/dist/types'; import type { StoryContext } from './types'; export const ServerComponentDecorator = ( diff --git a/code/renderers/react/src/playwright.ts b/code/renderers/react/src/playwright.ts index d1538f820e23..6442b752a842 100644 --- a/code/renderers/react/src/playwright.ts +++ b/code/renderers/react/src/playwright.ts @@ -1 +1 @@ -export { createPlaywrightTest as createTest } from '@storybook/preview-api'; +export { createPlaywrightTest as createTest } from '@storybook/core/dist/preview-api'; diff --git a/code/renderers/react/src/portable-stories.ts b/code/renderers/react/src/portable-stories.ts index 023480513535..f5c330ea7f17 100644 --- a/code/renderers/react/src/portable-stories.ts +++ b/code/renderers/react/src/portable-stories.ts @@ -2,7 +2,7 @@ import { composeStory as originalComposeStory, composeStories as originalComposeStories, setProjectAnnotations as originalSetProjectAnnotations, -} from '@storybook/preview-api'; +} from '@storybook/core/dist/preview-api'; import type { Args, NamedOrDefaultProjectAnnotations, @@ -10,7 +10,7 @@ import type { Store_CSFExports, StoriesWithPartialProps, ProjectAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import * as reactProjectAnnotations from './entry-preview'; import type { Meta } from './public-types'; diff --git a/code/renderers/react/src/preset.ts b/code/renderers/react/src/preset.ts index b7f374bd2790..54dd7cc68760 100644 --- a/code/renderers/react/src/preset.ts +++ b/code/renderers/react/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { dirname, join } from 'path'; diff --git a/code/renderers/react/src/public-types.test.tsx b/code/renderers/react/src/public-types.test.tsx index d31d51ff57d9..80fce990a024 100644 --- a/code/renderers/react/src/public-types.test.tsx +++ b/code/renderers/react/src/public-types.test.tsx @@ -1,8 +1,8 @@ // this file tests Typescript types that's why there are no assertions import { describe, it } from 'vitest'; -import { satisfies } from '@storybook/core-common'; -import type { Args, StoryAnnotations, StrictArgs } from '@storybook/types'; +import { satisfies } from '@storybook/core/dist/common'; +import type { Args, StoryAnnotations, StrictArgs } from '@storybook/core/dist/types'; import { expectTypeOf } from 'expect-type'; import type { KeyboardEventHandler, ReactElement, ReactNode } from 'react'; import React from 'react'; diff --git a/code/renderers/react/src/public-types.ts b/code/renderers/react/src/public-types.ts index 5fbe3a324ebd..185cc538327c 100644 --- a/code/renderers/react/src/public-types.ts +++ b/code/renderers/react/src/public-types.ts @@ -10,12 +10,12 @@ import type { StoryContext as GenericStoryContext, StrictArgs, ProjectAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { ComponentProps, ComponentType } from 'react'; import type { SetOptional, Simplify } from 'type-fest'; import type { ReactRenderer } from './types'; -export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/types'; +export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/core/dist/types'; export type { ReactRenderer }; /** diff --git a/code/renderers/react/src/render.tsx b/code/renderers/react/src/render.tsx index 06bf38aba8e3..c257a7381bca 100644 --- a/code/renderers/react/src/render.tsx +++ b/code/renderers/react/src/render.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import type { ArgsStoryFn } from '@storybook/types'; +import type { ArgsStoryFn } from '@storybook/core/dist/types'; import type { ReactRenderer } from './types'; diff --git a/code/renderers/react/src/renderToCanvas.tsx b/code/renderers/react/src/renderToCanvas.tsx index 8cb2e76f9b2d..9d8a61808854 100644 --- a/code/renderers/react/src/renderToCanvas.tsx +++ b/code/renderers/react/src/renderToCanvas.tsx @@ -3,7 +3,7 @@ import type { FC } from 'react'; import React, { Component as ReactComponent, StrictMode, Fragment } from 'react'; import { renderElement, unmountElement } from '@storybook/react-dom-shim'; -import type { RenderContext } from '@storybook/types'; +import type { RenderContext } from '@storybook/core/dist/types'; import type { ReactRenderer, StoryContext } from './types'; diff --git a/code/renderers/react/src/types.ts b/code/renderers/react/src/types.ts index b90766013de5..cb11c950940e 100644 --- a/code/renderers/react/src/types.ts +++ b/code/renderers/react/src/types.ts @@ -1,7 +1,7 @@ import type { ComponentType } from 'react'; -import type { WebRenderer } from '@storybook/types'; +import type { WebRenderer } from '@storybook/core/dist/types'; -export type { RenderContext, StoryContext } from '@storybook/types'; +export type { RenderContext, StoryContext } from '@storybook/core/dist/types'; export interface ReactRenderer extends WebRenderer { component: ComponentType; diff --git a/code/renderers/react/src/typings.d.ts b/code/renderers/react/src/typings.d.ts index 1823ff6bd9ad..ee01dc7ca809 100644 --- a/code/renderers/react/src/typings.d.ts +++ b/code/renderers/react/src/typings.d.ts @@ -1,4 +1,4 @@ declare var STORYBOOK_ENV: 'react'; declare var FRAMEWORK_OPTIONS: any; declare var LOGLEVEL: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent' | undefined; -declare var FEATURES: import('@storybook/types').StorybookConfigRaw['features']; +declare var FEATURES: import('@storybook/core/dist/types').StorybookConfigRaw['features']; diff --git a/code/renderers/react/template/stories/js-argtypes.stories.jsx b/code/renderers/react/template/stories/js-argtypes.stories.jsx index a72d6771dbeb..fea7a22f80c7 100644 --- a/code/renderers/react/template/stories/js-argtypes.stories.jsx +++ b/code/renderers/react/template/stories/js-argtypes.stories.jsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import PropTypes from 'prop-types'; import mapValues from 'lodash/mapValues.js'; import { PureArgsTable as ArgsTable } from '@storybook/blocks'; -import { inferControls } from '@storybook/preview-api'; +import { inferControls } from '@storybook/core/dist/preview-api'; import { ThemeProvider, themes, convert } from '@storybook/theming'; import { component as JsClassComponentComponent } from './docgen-components/js-class-component/input.jsx'; diff --git a/code/renderers/react/template/stories/ts-argtypes.stories.tsx b/code/renderers/react/template/stories/ts-argtypes.stories.tsx index 2c3c9d7ac3ec..d2ac82c49248 100644 --- a/code/renderers/react/template/stories/ts-argtypes.stories.tsx +++ b/code/renderers/react/template/stories/ts-argtypes.stories.tsx @@ -2,8 +2,8 @@ import React, { useState } from 'react'; import mapValues from 'lodash/mapValues.js'; import { PureArgsTable as ArgsTable } from '@storybook/blocks'; import type { StoryObj } from '@storybook/react'; -import type { Args, Parameters, StoryContext } from '@storybook/types'; -import { inferControls } from '@storybook/preview-api'; +import type { Args, Parameters, StoryContext } from '@storybook/core/dist/types'; +import { inferControls } from '@storybook/core/dist/preview-api'; import { ThemeProvider, themes, convert } from '@storybook/theming'; import { component as TsFunctionComponentComponent } from './docgen-components/ts-function-component/input'; diff --git a/code/renderers/server/package.json b/code/renderers/server/package.json index b045700b4373..9be5951151aa 100644 --- a/code/renderers/server/package.json +++ b/code/renderers/server/package.json @@ -47,10 +47,7 @@ }, "dependencies": { "@storybook/csf": "^0.1.6", - "@storybook/csf-tools": "workspace:*", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "@types/fs-extra": "^11.0.1", "fs-extra": "^11.1.0", "ts-dedent": "^2.0.0", @@ -59,6 +56,9 @@ "devDependencies": { "typescript": "^5.3.2" }, + "peerDependencies": { + "@storybook/core": "workspace:*" + }, "engines": { "node": ">=18.0.0" }, diff --git a/code/renderers/server/src/preset.ts b/code/renderers/server/src/preset.ts index e4e09d8a113b..0759e725f090 100644 --- a/code/renderers/server/src/preset.ts +++ b/code/renderers/server/src/preset.ts @@ -1,6 +1,6 @@ import fs from 'fs-extra'; import yaml from 'yaml'; -import type { Tag, StoryName, ComponentTitle, PresetProperty } from '@storybook/types'; +import type { Tag, StoryName, ComponentTitle, PresetProperty } from '@storybook/core/dist/types'; import { join } from 'path'; diff --git a/code/renderers/server/src/public-types.ts b/code/renderers/server/src/public-types.ts index 1fa03cca218a..d6f62aa839f4 100644 --- a/code/renderers/server/src/public-types.ts +++ b/code/renderers/server/src/public-types.ts @@ -8,10 +8,10 @@ import type { LoaderFunction, StrictArgs, ProjectAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { ServerRenderer } from './types'; -export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/types'; +export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/core/dist/types'; /** * Metadata to configure the stories for a component. diff --git a/code/renderers/server/src/render.ts b/code/renderers/server/src/render.ts index 0c910f7ba706..138ff35c9b65 100644 --- a/code/renderers/server/src/render.ts +++ b/code/renderers/server/src/render.ts @@ -1,8 +1,8 @@ import { global } from '@storybook/global'; import { dedent } from 'ts-dedent'; -import type { RenderContext } from '@storybook/types'; -import { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/preview-api'; +import type { RenderContext } from '@storybook/core/dist/types'; +import { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/core/dist/preview-api'; import type { StoryFn, Args, ArgTypes } from './public-types'; import type { FetchStoryHtmlType, ServerRenderer } from './types'; diff --git a/code/renderers/server/src/types.ts b/code/renderers/server/src/types.ts index c386ec965df0..bdbc551bc1c2 100644 --- a/code/renderers/server/src/types.ts +++ b/code/renderers/server/src/types.ts @@ -1,6 +1,6 @@ -import type { StoryContext as StoryContextBase, WebRenderer } from '@storybook/types'; +import type { StoryContext as StoryContextBase, WebRenderer } from '@storybook/core/dist/types'; -export type { RenderContext } from '@storybook/types'; +export type { RenderContext } from '@storybook/core/dist/types'; export type StoryFnServerReturnType = any; export type StoryContext = StoryContextBase; diff --git a/code/renderers/svelte/package.json b/code/renderers/svelte/package.json index 8240c18f4359..29dbf56b9011 100644 --- a/code/renderers/svelte/package.json +++ b/code/renderers/svelte/package.json @@ -57,12 +57,8 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "sveltedoc-parser": "^4.2.1", "ts-dedent": "^2.0.0", "type-fest": "~2.19" @@ -79,6 +75,7 @@ "typescript": "^5.3.2" }, "peerDependencies": { + "@storybook/core": "workspace:*", "svelte": "^4.0.0 || ^5.0.0-next.65" }, "engines": { diff --git a/code/renderers/svelte/src/decorators.ts b/code/renderers/svelte/src/decorators.ts index 657fa91ff28e..07afaa8ba411 100644 --- a/code/renderers/svelte/src/decorators.ts +++ b/code/renderers/svelte/src/decorators.ts @@ -1,5 +1,5 @@ -import type { DecoratorFunction, StoryContext, LegacyStoryFn } from '@storybook/types'; -import { sanitizeStoryContextUpdate } from '@storybook/preview-api'; +import type { DecoratorFunction, StoryContext, LegacyStoryFn } from '@storybook/core/dist/types'; +import { sanitizeStoryContextUpdate } from '@storybook/core/dist/preview-api'; /* ! DO NOT change this SlotDecorator import to a relative path, it will break it. ! A relative import will be compiled at build time, and Svelte will be unable to diff --git a/code/renderers/svelte/src/docs/extractArgTypes.ts b/code/renderers/svelte/src/docs/extractArgTypes.ts index a32d955b51bd..c0de441b7db7 100644 --- a/code/renderers/svelte/src/docs/extractArgTypes.ts +++ b/code/renderers/svelte/src/docs/extractArgTypes.ts @@ -1,5 +1,5 @@ -import type { SBScalarType, StrictArgTypes } from '@storybook/types'; -import { logger } from '@storybook/client-logger'; +import type { SBScalarType, StrictArgTypes } from '@storybook/core/dist/types'; +import { logger } from '@storybook/core/dist/client-logger'; import type { SvelteComponentDoc, JSDocType, diff --git a/code/renderers/svelte/src/docs/sourceDecorator.test.ts b/code/renderers/svelte/src/docs/sourceDecorator.test.ts index 7546f6a9b660..632041c4a266 100644 --- a/code/renderers/svelte/src/docs/sourceDecorator.test.ts +++ b/code/renderers/svelte/src/docs/sourceDecorator.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from 'vitest'; -import type { Args } from '@storybook/types'; +import type { Args } from '@storybook/core/dist/types'; import { generateSvelteSource } from './sourceDecorator'; expect.addSnapshotSerializer({ diff --git a/code/renderers/svelte/src/docs/sourceDecorator.ts b/code/renderers/svelte/src/docs/sourceDecorator.ts index dc9cfc2bf93c..14109807d362 100644 --- a/code/renderers/svelte/src/docs/sourceDecorator.ts +++ b/code/renderers/svelte/src/docs/sourceDecorator.ts @@ -1,13 +1,13 @@ /* eslint-disable no-underscore-dangle */ -import { addons, useEffect } from '@storybook/preview-api'; -import { deprecate } from '@storybook/client-logger'; +import { addons, useEffect } from '@storybook/core/dist/preview-api'; +import { deprecate } from '@storybook/core/dist/client-logger'; import type { ArgTypes, Args, ArgsStoryFn, DecoratorFunction, StoryContext, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { SourceType, SNIPPET_RENDERED } from '@storybook/docs-tools'; import type { SvelteComponentDoc } from 'sveltedoc-parser'; diff --git a/code/renderers/svelte/src/entry-preview-docs.ts b/code/renderers/svelte/src/entry-preview-docs.ts index 8cc14c3b191f..e3e14bba5569 100644 --- a/code/renderers/svelte/src/entry-preview-docs.ts +++ b/code/renderers/svelte/src/entry-preview-docs.ts @@ -1,4 +1,4 @@ -import type { ArgTypesEnhancer, DecoratorFunction } from '@storybook/types'; +import type { ArgTypesEnhancer, DecoratorFunction } from '@storybook/core/dist/types'; import { enhanceArgTypes } from '@storybook/docs-tools'; import { extractArgTypes } from './docs/extractArgTypes'; import { extractComponentDescription } from './docs/extractComponentDescription'; diff --git a/code/renderers/svelte/src/playwright.ts b/code/renderers/svelte/src/playwright.ts index d1538f820e23..6442b752a842 100644 --- a/code/renderers/svelte/src/playwright.ts +++ b/code/renderers/svelte/src/playwright.ts @@ -1 +1 @@ -export { createPlaywrightTest as createTest } from '@storybook/preview-api'; +export { createPlaywrightTest as createTest } from '@storybook/core/dist/preview-api'; diff --git a/code/renderers/svelte/src/portable-stories.ts b/code/renderers/svelte/src/portable-stories.ts index abf9ca79b2e2..e4fa0b30bb09 100644 --- a/code/renderers/svelte/src/portable-stories.ts +++ b/code/renderers/svelte/src/portable-stories.ts @@ -2,7 +2,7 @@ import { composeStory as originalComposeStory, composeStories as originalComposeStories, setProjectAnnotations as originalSetProjectAnnotations, -} from '@storybook/preview-api'; +} from '@storybook/core/dist/preview-api'; import type { Args, ProjectAnnotations, @@ -10,7 +10,7 @@ import type { Store_CSFExports, StoriesWithPartialProps, ComposedStoryFn, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import * as svelteProjectAnnotations from './entry-preview'; import type { Meta } from './public-types'; diff --git a/code/renderers/svelte/src/preset.ts b/code/renderers/svelte/src/preset.ts index 03b11e7e6097..add26e30bff7 100644 --- a/code/renderers/svelte/src/preset.ts +++ b/code/renderers/svelte/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { join } from 'path'; export const previewAnnotations: PresetProperty<'previewAnnotations'> = async ( diff --git a/code/renderers/svelte/src/public-types.test.ts b/code/renderers/svelte/src/public-types.test.ts index 42e43bcb9111..efc8219df53f 100644 --- a/code/renderers/svelte/src/public-types.test.ts +++ b/code/renderers/svelte/src/public-types.test.ts @@ -1,7 +1,7 @@ // this file tests Typescript types that's why there are no assertions import { describe, it } from 'vitest'; -import { satisfies } from '@storybook/core-common'; -import type { ComponentAnnotations, StoryAnnotations } from '@storybook/types'; +import { satisfies } from '@storybook/core/dist/common'; +import type { ComponentAnnotations, StoryAnnotations } from '@storybook/core/dist/types'; import { expectTypeOf } from 'expect-type'; import type { ComponentProps, SvelteComponent } from 'svelte'; import Button from './__test__/Button.svelte'; diff --git a/code/renderers/svelte/src/public-types.ts b/code/renderers/svelte/src/public-types.ts index 54ba3e28e466..99578d7ed59f 100644 --- a/code/renderers/svelte/src/public-types.ts +++ b/code/renderers/svelte/src/public-types.ts @@ -10,13 +10,13 @@ import type { StoryContext as GenericStoryContext, StrictArgs, ProjectAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { ComponentType, ComponentProps, SvelteComponent } from 'svelte'; import type { SetOptional, Simplify } from 'type-fest'; import type { SvelteRenderer } from './types'; -export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/types'; +export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/core/dist/types'; /** * Metadata to configure the stories for a component. diff --git a/code/renderers/svelte/src/render.ts b/code/renderers/svelte/src/render.ts index 2219e21b3760..f182b69875d8 100644 --- a/code/renderers/svelte/src/render.ts +++ b/code/renderers/svelte/src/render.ts @@ -1,5 +1,5 @@ -import type { RenderContext, ArgsStoryFn } from '@storybook/types'; -import { RESET_STORY_ARGS } from '@storybook/core-events'; +import type { RenderContext, ArgsStoryFn } from '@storybook/core/dist/types'; +import { RESET_STORY_ARGS } from '@storybook/core/dist/core-events'; /* ! DO NOT change these PreviewRender and createSvelte5Props imports to relative paths, it will break them. ! Relative imports will be compiled at build time by tsup, but we need Svelte to compile them @@ -9,7 +9,7 @@ import PreviewRender from '@storybook/svelte/internal/PreviewRender.svelte'; // @ts-expect-error Don't know why TS doesn't pick up the types export here import { createSvelte5Props } from '@storybook/svelte/internal/createSvelte5Props'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import * as svelte from 'svelte'; import type { SvelteRenderer } from './types'; import { IS_SVELTE_V4 } from './utils'; diff --git a/code/renderers/svelte/src/types.ts b/code/renderers/svelte/src/types.ts index 3bbc8e2e7878..7a5c644f39c7 100644 --- a/code/renderers/svelte/src/types.ts +++ b/code/renderers/svelte/src/types.ts @@ -1,4 +1,4 @@ -import type { StoryContext as StoryContextBase, WebRenderer } from '@storybook/types'; +import type { StoryContext as StoryContextBase, WebRenderer } from '@storybook/core/dist/types'; import type { ComponentConstructorOptions, ComponentEvents, SvelteComponent } from 'svelte'; export type StoryContext = StoryContextBase; diff --git a/code/renderers/svelte/template/stories/args.stories.js b/code/renderers/svelte/template/stories/args.stories.js index 71544066ecd1..e3c33be714cf 100644 --- a/code/renderers/svelte/template/stories/args.stories.js +++ b/code/renderers/svelte/template/stories/args.stories.js @@ -1,6 +1,6 @@ import { within, userEvent, waitFor, expect } from '@storybook/test'; import { UPDATE_STORY_ARGS, RESET_STORY_ARGS, STORY_RENDERED } from '@storybook/core-events'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import ButtonView from './views/ButtonJavaScript.svelte'; export default { diff --git a/code/renderers/vue3/package.json b/code/renderers/vue3/package.json index b50d57c870ca..6d2f720f4abf 100644 --- a/code/renderers/vue3/package.json +++ b/code/renderers/vue3/package.json @@ -55,8 +55,6 @@ "dependencies": { "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "@vue/compiler-core": "^3.0.0", "lodash": "^4.17.21", "ts-dedent": "^2.0.0", @@ -73,6 +71,7 @@ "vue-tsc": "latest" }, "peerDependencies": { + "@storybook/core": "workspace:*", "vue": "^3.0.0" }, "engines": { diff --git a/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts b/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts index 84e34a189f31..8790e4e4c9e2 100644 --- a/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts +++ b/code/renderers/vue3/src/__tests__/composeStories/portable-stories.test.ts @@ -1,7 +1,7 @@ /// ; import { it, expect, vi, describe } from 'vitest'; import { render, screen } from '@testing-library/vue'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import { expectTypeOf } from 'expect-type'; import type { Meta } from '@storybook/vue3'; diff --git a/code/renderers/vue3/src/decorateStory.ts b/code/renderers/vue3/src/decorateStory.ts index 0835bad6da18..934d69cbd114 100644 --- a/code/renderers/vue3/src/decorateStory.ts +++ b/code/renderers/vue3/src/decorateStory.ts @@ -1,7 +1,7 @@ import type { Component, ComponentOptions, ConcreteComponent } from 'vue'; import { h } from 'vue'; -import type { DecoratorFunction, LegacyStoryFn, StoryContext } from '@storybook/types'; -import { sanitizeStoryContextUpdate } from '@storybook/preview-api'; +import type { DecoratorFunction, LegacyStoryFn, StoryContext } from '@storybook/core/dist/types'; +import { sanitizeStoryContextUpdate } from '@storybook/core/dist/preview-api'; import type { VueRenderer } from './types'; /* diff --git a/code/renderers/vue3/src/docs/extractArgTypes.ts b/code/renderers/vue3/src/docs/extractArgTypes.ts index 66bc7efcf7da..ab300030a559 100644 --- a/code/renderers/vue3/src/docs/extractArgTypes.ts +++ b/code/renderers/vue3/src/docs/extractArgTypes.ts @@ -5,7 +5,7 @@ import { hasDocgen, type ArgTypesExtractor, } from '@storybook/docs-tools'; -import type { SBType, StrictArgTypes, StrictInputType } from '@storybook/types'; +import type { SBType, StrictArgTypes, StrictInputType } from '@storybook/core/dist/types'; import type { VueDocgenInfo, VueDocgenInfoEntry, VueDocgenPlugin } from '@storybook/vue3-vite'; type PropertyMetaSchema = VueDocgenInfoEntry<'vue-component-meta', 'props'>['schema']; diff --git a/code/renderers/vue3/src/docs/sourceDecorator.ts b/code/renderers/vue3/src/docs/sourceDecorator.ts index 525cfbbfd281..512ac92c0be9 100644 --- a/code/renderers/vue3/src/docs/sourceDecorator.ts +++ b/code/renderers/vue3/src/docs/sourceDecorator.ts @@ -1,6 +1,6 @@ /* eslint-disable no-underscore-dangle */ -import { addons } from '@storybook/preview-api'; -import type { ArgTypes, Args, StoryContext } from '@storybook/types'; +import { addons } from '@storybook/core/dist/preview-api'; +import type { ArgTypes, Args, StoryContext } from '@storybook/core/dist/types'; import { SourceType, SNIPPET_RENDERED } from '@storybook/docs-tools'; diff --git a/code/renderers/vue3/src/docs/utils.ts b/code/renderers/vue3/src/docs/utils.ts index b4e502952dfd..6c1e5fa7d17b 100644 --- a/code/renderers/vue3/src/docs/utils.ts +++ b/code/renderers/vue3/src/docs/utils.ts @@ -1,4 +1,4 @@ -import type { Args } from '@storybook/types'; +import type { Args } from '@storybook/core/dist/types'; import type { FunctionalComponent } from 'vue'; /** diff --git a/code/renderers/vue3/src/entry-preview-docs.ts b/code/renderers/vue3/src/entry-preview-docs.ts index 0c598ffdec49..9d1f89abbbfc 100644 --- a/code/renderers/vue3/src/entry-preview-docs.ts +++ b/code/renderers/vue3/src/entry-preview-docs.ts @@ -1,4 +1,4 @@ -import type { ArgTypesEnhancer, DecoratorFunction } from '@storybook/types'; +import type { ArgTypesEnhancer, DecoratorFunction } from '@storybook/core/dist/types'; import { extractComponentDescription, enhanceArgTypes } from '@storybook/docs-tools'; import { extractArgTypes } from './docs/extractArgTypes'; import { sourceDecorator } from './docs/sourceDecorator'; diff --git a/code/renderers/vue3/src/playwright.ts b/code/renderers/vue3/src/playwright.ts index d1538f820e23..6442b752a842 100644 --- a/code/renderers/vue3/src/playwright.ts +++ b/code/renderers/vue3/src/playwright.ts @@ -1 +1 @@ -export { createPlaywrightTest as createTest } from '@storybook/preview-api'; +export { createPlaywrightTest as createTest } from '@storybook/core/dist/preview-api'; diff --git a/code/renderers/vue3/src/portable-stories.ts b/code/renderers/vue3/src/portable-stories.ts index 562228aa4d42..450e8420ad6d 100644 --- a/code/renderers/vue3/src/portable-stories.ts +++ b/code/renderers/vue3/src/portable-stories.ts @@ -2,7 +2,7 @@ import { composeStory as originalComposeStory, composeStories as originalComposeStories, setProjectAnnotations as originalSetProjectAnnotations, -} from '@storybook/preview-api'; +} from '@storybook/core/dist/preview-api'; import type { Args, NamedOrDefaultProjectAnnotations, @@ -10,7 +10,7 @@ import type { StoryAnnotationsOrFn, Store_CSFExports, StoriesWithPartialProps, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { h } from 'vue'; import * as defaultProjectAnnotations from './entry-preview'; diff --git a/code/renderers/vue3/src/preset.ts b/code/renderers/vue3/src/preset.ts index 03b11e7e6097..add26e30bff7 100644 --- a/code/renderers/vue3/src/preset.ts +++ b/code/renderers/vue3/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { join } from 'path'; export const previewAnnotations: PresetProperty<'previewAnnotations'> = async ( diff --git a/code/renderers/vue3/src/public-types.test.ts b/code/renderers/vue3/src/public-types.test.ts index 4c43c75e5ca9..deea26f44290 100644 --- a/code/renderers/vue3/src/public-types.test.ts +++ b/code/renderers/vue3/src/public-types.test.ts @@ -1,7 +1,7 @@ // this file tests Typescript types that's why there are no assertions import { describe, it } from 'vitest'; -import { satisfies } from '@storybook/core-common'; -import type { ComponentAnnotations, StoryAnnotations } from '@storybook/types'; +import { satisfies } from '@storybook/core/dist/common'; +import type { ComponentAnnotations, StoryAnnotations } from '@storybook/core/dist/types'; import { expectTypeOf } from 'expect-type'; import type { SetOptional } from 'type-fest'; import { h } from 'vue'; diff --git a/code/renderers/vue3/src/public-types.ts b/code/renderers/vue3/src/public-types.ts index 3ca14af8e07e..ec4af4246525 100644 --- a/code/renderers/vue3/src/public-types.ts +++ b/code/renderers/vue3/src/public-types.ts @@ -10,13 +10,13 @@ import type { StoryAnnotations, StoryContext as GenericStoryContext, StrictArgs, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { Constructor, RemoveIndexSignature, SetOptional, Simplify } from 'type-fest'; import type { FunctionalComponent, VNodeChild } from 'vue'; import type { ComponentProps, ComponentSlots } from 'vue-component-type-helpers'; import type { VueRenderer } from './types'; -export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/types'; +export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/core/dist/types'; export type { VueRenderer }; /** diff --git a/code/renderers/vue3/src/render.ts b/code/renderers/vue3/src/render.ts index 535f3a67b63c..44d2b684c7ed 100644 --- a/code/renderers/vue3/src/render.ts +++ b/code/renderers/vue3/src/render.ts @@ -2,9 +2,9 @@ import type { App } from 'vue'; import { createApp, h, isReactive, isVNode, reactive } from 'vue'; -import type { ArgsStoryFn, RenderContext } from '@storybook/types'; +import type { ArgsStoryFn, RenderContext } from '@storybook/core/dist/types'; import type { Args, StoryContext } from '@storybook/csf'; -import type { PreviewWeb } from '@storybook/preview-api'; +import type { PreviewWeb } from '@storybook/core/dist/preview-api'; import type { StoryFnVueReturnType, StoryID, VueRenderer } from './types'; export const render: ArgsStoryFn = (props, context) => { diff --git a/code/renderers/vue3/src/types.ts b/code/renderers/vue3/src/types.ts index dfa6bed7870c..c3f5b5c82eb6 100644 --- a/code/renderers/vue3/src/types.ts +++ b/code/renderers/vue3/src/types.ts @@ -1,7 +1,10 @@ -import { type StoryContext as StoryContextBase, type WebRenderer } from '@storybook/types'; +import { + type StoryContext as StoryContextBase, + type WebRenderer, +} from '@storybook/core/dist/types'; import type { App, ConcreteComponent } from 'vue'; -export type { RenderContext } from '@storybook/types'; +export type { RenderContext } from '@storybook/core/dist/types'; export type StoryID = string; diff --git a/code/renderers/web-components/package.json b/code/renderers/web-components/package.json index 0b14130edbac..319150da8950 100644 --- a/code/renderers/web-components/package.json +++ b/code/renderers/web-components/package.json @@ -50,12 +50,9 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/client-logger": "workspace:*", "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", - "@storybook/types": "workspace:*", "tiny-invariant": "^1.3.1", "ts-dedent": "^2.0.0" }, @@ -68,6 +65,7 @@ "web-component-analyzer": "^1.1.6" }, "peerDependencies": { + "@storybook/core": "workspace:*", "lit": "^2.0.0 || ^3.0.0" }, "engines": { diff --git a/code/renderers/web-components/src/docs/custom-elements.ts b/code/renderers/web-components/src/docs/custom-elements.ts index eaa9f3436bd1..d22c874f5978 100644 --- a/code/renderers/web-components/src/docs/custom-elements.ts +++ b/code/renderers/web-components/src/docs/custom-elements.ts @@ -1,6 +1,6 @@ import invariant from 'tiny-invariant'; -import type { InputType, ArgTypes } from '@storybook/types'; -import { logger } from '@storybook/client-logger'; +import type { InputType, ArgTypes } from '@storybook/core/dist/types'; +import { logger } from '@storybook/core/dist/client-logger'; import { getCustomElements, isValidComponent, isValidMetaData } from '..'; interface TagItem { diff --git a/code/renderers/web-components/src/docs/sourceDecorator.test.ts b/code/renderers/web-components/src/docs/sourceDecorator.test.ts index 8a1ac068c74f..ca90058fcc7a 100644 --- a/code/renderers/web-components/src/docs/sourceDecorator.test.ts +++ b/code/renderers/web-components/src/docs/sourceDecorator.test.ts @@ -2,12 +2,12 @@ import { html, render } from 'lit'; import type { Mock } from 'vitest'; import { describe, beforeEach, it, vi, expect } from 'vitest'; import { styleMap } from 'lit/directives/style-map.js'; -import { addons, useEffect } from '@storybook/preview-api'; +import { addons, useEffect } from '@storybook/core/dist/preview-api'; import { SNIPPET_RENDERED } from '@storybook/docs-tools'; import type { StoryContext } from '../types'; import { sourceDecorator } from './sourceDecorator'; -vi.mock('@storybook/preview-api'); +vi.mock('@storybook/core/dist/preview-api'); const mockedAddons = vi.mocked(addons); const mockedUseEffect = vi.mocked(useEffect); diff --git a/code/renderers/web-components/src/docs/sourceDecorator.ts b/code/renderers/web-components/src/docs/sourceDecorator.ts index 3a6f45c04001..2de3ccbaa1bb 100644 --- a/code/renderers/web-components/src/docs/sourceDecorator.ts +++ b/code/renderers/web-components/src/docs/sourceDecorator.ts @@ -1,7 +1,7 @@ /* eslint-disable no-underscore-dangle */ import { render } from 'lit'; -import type { ArgsStoryFn, PartialStoryFn, StoryContext } from '@storybook/types'; -import { addons, useEffect } from '@storybook/preview-api'; +import type { ArgsStoryFn, PartialStoryFn, StoryContext } from '@storybook/core/dist/types'; +import { addons, useEffect } from '@storybook/core/dist/preview-api'; import { SNIPPET_RENDERED, SourceType } from '@storybook/docs-tools'; import type { WebComponentsRenderer } from '../types'; diff --git a/code/renderers/web-components/src/entry-preview-docs.ts b/code/renderers/web-components/src/entry-preview-docs.ts index 917c0c17eb84..6f2d495fd7f5 100644 --- a/code/renderers/web-components/src/entry-preview-docs.ts +++ b/code/renderers/web-components/src/entry-preview-docs.ts @@ -1,4 +1,4 @@ -import type { ArgTypesEnhancer, DecoratorFunction } from '@storybook/types'; +import type { ArgTypesEnhancer, DecoratorFunction } from '@storybook/core/dist/types'; import { SourceType, enhanceArgTypes } from '@storybook/docs-tools'; import { extractArgTypes, extractComponentDescription } from './docs/custom-elements'; import { sourceDecorator } from './docs/sourceDecorator'; diff --git a/code/renderers/web-components/src/preset.ts b/code/renderers/web-components/src/preset.ts index 03b11e7e6097..add26e30bff7 100644 --- a/code/renderers/web-components/src/preset.ts +++ b/code/renderers/web-components/src/preset.ts @@ -1,4 +1,4 @@ -import type { PresetProperty } from '@storybook/types'; +import type { PresetProperty } from '@storybook/core/dist/types'; import { join } from 'path'; export const previewAnnotations: PresetProperty<'previewAnnotations'> = async ( diff --git a/code/renderers/web-components/src/public-types.ts b/code/renderers/web-components/src/public-types.ts index 2e15dacca83d..3c7b8a5ae119 100644 --- a/code/renderers/web-components/src/public-types.ts +++ b/code/renderers/web-components/src/public-types.ts @@ -8,10 +8,10 @@ import type { StoryContext as GenericStoryContext, StrictArgs, ProjectAnnotations, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { WebComponentsRenderer } from './types'; -export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/types'; +export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/core/dist/types'; export type { WebComponentsRenderer }; /** diff --git a/code/renderers/web-components/src/render.ts b/code/renderers/web-components/src/render.ts index eb7cabfaef2a..6cc37cfb207b 100644 --- a/code/renderers/web-components/src/render.ts +++ b/code/renderers/web-components/src/render.ts @@ -7,8 +7,8 @@ import { render as litRender } from 'lit'; // Keep `.js` extension to avoid issue with Webpack (related to export map?) import { isTemplateResult } from 'lit/directive-helpers.js'; -import { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/preview-api'; -import type { RenderContext, ArgsStoryFn } from '@storybook/types'; +import { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/core/dist/preview-api'; +import type { RenderContext, ArgsStoryFn } from '@storybook/core/dist/types'; import type { WebComponentsRenderer } from './types'; const { Node } = global; diff --git a/code/renderers/web-components/src/types.ts b/code/renderers/web-components/src/types.ts index f58e7eaa01f4..66fb363e623a 100644 --- a/code/renderers/web-components/src/types.ts +++ b/code/renderers/web-components/src/types.ts @@ -1,4 +1,4 @@ -import type { StoryContext as StoryContextBase, WebRenderer } from '@storybook/types'; +import type { StoryContext as StoryContextBase, WebRenderer } from '@storybook/core/dist/types'; import type { TemplateResult, SVGTemplateResult } from 'lit'; export type StoryFnHtmlReturnType = diff --git a/code/ui/.storybook/preview.tsx b/code/ui/.storybook/preview.tsx index 5a5ed1a7ad75..4c4eac4ab12e 100644 --- a/code/ui/.storybook/preview.tsx +++ b/code/ui/.storybook/preview.tsx @@ -10,10 +10,10 @@ import { styled, useTheme, } from '@storybook/theming'; -import { useArgs, DocsContext as DocsContextProps } from '@storybook/preview-api'; -import type { PreviewWeb } from '@storybook/preview-api'; +import { useArgs, DocsContext as DocsContextProps } from '@storybook/core/dist/preview-api'; +import type { PreviewWeb } from '@storybook/core/dist/preview-api'; import type { ReactRenderer } from '@storybook/react'; -import type { Channel } from '@storybook/channels'; +import type { Channel } from '@storybook/core/dist/channels'; import { DocsContext } from '@storybook/blocks'; diff --git a/code/ui/blocks/package.json b/code/ui/blocks/package.json index 3369d91ea08e..8b49881ef421 100644 --- a/code/ui/blocks/package.json +++ b/code/ui/blocks/package.json @@ -44,18 +44,13 @@ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/channels": "workspace:*", - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-events": "workspace:*", "@storybook/csf": "^0.1.6", "@storybook/docs-tools": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/preview-api": "workspace:*", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "@types/lodash": "^4.14.167", "color-convert": "^2.0.1", "dequal": "^2.0.2", @@ -75,6 +70,7 @@ "@types/color-convert": "^2.0.0" }, "peerDependencies": { + "@storybook/core": "workspace:*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, diff --git a/code/ui/blocks/src/blocks/ArgTypes.tsx b/code/ui/blocks/src/blocks/ArgTypes.tsx index fc64e7ba16e1..f9f2ede917c5 100644 --- a/code/ui/blocks/src/blocks/ArgTypes.tsx +++ b/code/ui/blocks/src/blocks/ArgTypes.tsx @@ -1,9 +1,9 @@ /* eslint-disable react/destructuring-assignment */ import type { Parameters, Renderer, StrictArgTypes } from '@storybook/csf'; -import type { ModuleExports } from '@storybook/types'; +import type { ModuleExports } from '@storybook/core/dist/types'; import type { FC } from 'react'; -import type { PropDescriptor } from '@storybook/preview-api'; -import { filterArgTypes } from '@storybook/preview-api'; +import type { PropDescriptor } from '@storybook/core/dist/preview-api'; +import { filterArgTypes } from '@storybook/core/dist/preview-api'; import type { ArgTypesExtractor } from '@storybook/docs-tools'; import React from 'react'; diff --git a/code/ui/blocks/src/blocks/Canvas.tsx b/code/ui/blocks/src/blocks/Canvas.tsx index 556817296b42..07254c8e4a4a 100644 --- a/code/ui/blocks/src/blocks/Canvas.tsx +++ b/code/ui/blocks/src/blocks/Canvas.tsx @@ -1,7 +1,7 @@ /* eslint-disable react/destructuring-assignment */ import React, { useContext } from 'react'; import type { FC } from 'react'; -import type { ModuleExport, ModuleExports } from '@storybook/types'; +import type { ModuleExport, ModuleExports } from '@storybook/core/dist/types'; import type { Layout, PreviewProps as PurePreviewProps } from '../components'; import { Preview as PurePreview } from '../components'; import { DocsContext } from './DocsContext'; diff --git a/code/ui/blocks/src/blocks/Controls.tsx b/code/ui/blocks/src/blocks/Controls.tsx index 4e3ea828e289..88ed486258aa 100644 --- a/code/ui/blocks/src/blocks/Controls.tsx +++ b/code/ui/blocks/src/blocks/Controls.tsx @@ -1,10 +1,10 @@ /* eslint-disable react/destructuring-assignment */ import type { Renderer, Parameters, StrictArgTypes } from '@storybook/csf'; -import type { ModuleExports } from '@storybook/types'; +import type { ModuleExports } from '@storybook/core/dist/types'; import type { FC } from 'react'; import React, { useContext } from 'react'; -import { filterArgTypes } from '@storybook/preview-api'; -import type { PropDescriptor } from '@storybook/preview-api'; +import { filterArgTypes } from '@storybook/core/dist/preview-api'; +import type { PropDescriptor } from '@storybook/core/dist/preview-api'; import type { ArgTypesExtractor } from '@storybook/docs-tools'; import type { SortType } from '../components'; diff --git a/code/ui/blocks/src/blocks/Docs.tsx b/code/ui/blocks/src/blocks/Docs.tsx index 2e22db52a145..4a63d1138de7 100644 --- a/code/ui/blocks/src/blocks/Docs.tsx +++ b/code/ui/blocks/src/blocks/Docs.tsx @@ -1,6 +1,6 @@ import React from 'react'; import type { ComponentType, PropsWithChildren } from 'react'; -import type { Renderer, Parameters } from '@storybook/types'; +import type { Renderer, Parameters } from '@storybook/core/dist/types'; import type { Theme } from '@storybook/theming'; import type { DocsContextProps } from './DocsContext'; diff --git a/code/ui/blocks/src/blocks/DocsContainer.tsx b/code/ui/blocks/src/blocks/DocsContainer.tsx index 07b855295f10..5ab49c6b0806 100644 --- a/code/ui/blocks/src/blocks/DocsContainer.tsx +++ b/code/ui/blocks/src/blocks/DocsContainer.tsx @@ -3,7 +3,7 @@ import React, { useEffect } from 'react'; import { global } from '@storybook/global'; import type { ThemeVars } from '@storybook/theming'; import { ThemeProvider, ensure as ensureTheme } from '@storybook/theming'; -import type { Renderer } from '@storybook/types'; +import type { Renderer } from '@storybook/core/dist/types'; import { DocsPageWrapper } from '../components'; import type { DocsContextProps } from './DocsContext'; import { DocsContext } from './DocsContext'; diff --git a/code/ui/blocks/src/blocks/DocsContext.ts b/code/ui/blocks/src/blocks/DocsContext.ts index b9cd251d3f13..84f4b4c31ed7 100644 --- a/code/ui/blocks/src/blocks/DocsContext.ts +++ b/code/ui/blocks/src/blocks/DocsContext.ts @@ -3,7 +3,7 @@ import type { Context } from 'react'; import { createContext } from 'react'; import { global } from '@storybook/global'; -import type { DocsContextProps, Renderer } from '@storybook/types'; +import type { DocsContextProps, Renderer } from '@storybook/core/dist/types'; export type { DocsContextProps }; diff --git a/code/ui/blocks/src/blocks/Meta.tsx b/code/ui/blocks/src/blocks/Meta.tsx index a54023160387..55db002e4b9e 100644 --- a/code/ui/blocks/src/blocks/Meta.tsx +++ b/code/ui/blocks/src/blocks/Meta.tsx @@ -1,6 +1,6 @@ import type { FC } from 'react'; import React, { useContext } from 'react'; -import type { BaseAnnotations, ModuleExports } from '@storybook/types'; +import type { BaseAnnotations, ModuleExports } from '@storybook/core/dist/types'; import { Anchor } from './Anchor'; import { DocsContext } from './DocsContext'; diff --git a/code/ui/blocks/src/blocks/Source.tsx b/code/ui/blocks/src/blocks/Source.tsx index 59906aa77c43..b4def7e1569d 100644 --- a/code/ui/blocks/src/blocks/Source.tsx +++ b/code/ui/blocks/src/blocks/Source.tsx @@ -6,7 +6,7 @@ import type { ModuleExport, Args, StoryContextForLoaders, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { SourceType } from '@storybook/docs-tools'; import type { SourceCodeProps } from '../components/Source'; diff --git a/code/ui/blocks/src/blocks/SourceContainer.tsx b/code/ui/blocks/src/blocks/SourceContainer.tsx index fbb019a6bd32..80cb7bd825ed 100644 --- a/code/ui/blocks/src/blocks/SourceContainer.tsx +++ b/code/ui/blocks/src/blocks/SourceContainer.tsx @@ -1,11 +1,11 @@ import type { FC, Context, PropsWithChildren } from 'react'; import React, { createContext, useEffect, useState } from 'react'; -import type { Channel } from '@storybook/channels'; +import type { Channel } from '@storybook/core/dist/channels'; import { SNIPPET_RENDERED } from '@storybook/docs-tools'; import type { SyntaxHighlighterFormatTypes } from '@storybook/components'; -import type { StoryId, Args } from '@storybook/types'; +import type { StoryId, Args } from '@storybook/core/dist/types'; import { stringify } from 'telejson'; diff --git a/code/ui/blocks/src/blocks/Story.tsx b/code/ui/blocks/src/blocks/Story.tsx index 0603ef84d9cd..43a89ee4bd2b 100644 --- a/code/ui/blocks/src/blocks/Story.tsx +++ b/code/ui/blocks/src/blocks/Story.tsx @@ -6,7 +6,7 @@ import type { ModuleExports, PreparedStory, StoryId, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { Story as PureStory, StorySkeleton } from '../components'; import type { DocsContextProps } from './DocsContext'; diff --git a/code/ui/blocks/src/blocks/Subtitle.tsx b/code/ui/blocks/src/blocks/Subtitle.tsx index 9b7556e9c7c6..88b5ced8dd46 100644 --- a/code/ui/blocks/src/blocks/Subtitle.tsx +++ b/code/ui/blocks/src/blocks/Subtitle.tsx @@ -1,6 +1,6 @@ import type { FunctionComponent, ReactNode } from 'react'; import React from 'react'; -import { deprecate } from '@storybook/client-logger'; +import { deprecate } from '@storybook/core/dist/client-logger'; import { Subtitle as PureSubtitle } from '../components'; import type { Of } from './useOf'; diff --git a/code/ui/blocks/src/blocks/Title.tsx b/code/ui/blocks/src/blocks/Title.tsx index 55b85ebad717..4063e85645ba 100644 --- a/code/ui/blocks/src/blocks/Title.tsx +++ b/code/ui/blocks/src/blocks/Title.tsx @@ -1,4 +1,4 @@ -import type { ComponentTitle } from '@storybook/types'; +import type { ComponentTitle } from '@storybook/core/dist/types'; import type { FunctionComponent, ReactNode } from 'react'; import React from 'react'; import { Title as PureTitle } from '../components'; diff --git a/code/ui/blocks/src/blocks/external/ExternalDocs.tsx b/code/ui/blocks/src/blocks/external/ExternalDocs.tsx index 869dcf66a5ab..3aaf46113a47 100644 --- a/code/ui/blocks/src/blocks/external/ExternalDocs.tsx +++ b/code/ui/blocks/src/blocks/external/ExternalDocs.tsx @@ -1,7 +1,7 @@ import type { PropsWithChildren } from 'react'; import React, { useRef } from 'react'; -import type { Renderer, ProjectAnnotations } from '@storybook/types'; -import { composeConfigs } from '@storybook/preview-api'; +import type { Renderer, ProjectAnnotations } from '@storybook/core/dist/types'; +import { composeConfigs } from '@storybook/core/dist/preview-api'; import { Docs } from '../Docs'; import { ExternalPreview } from './ExternalPreview'; diff --git a/code/ui/blocks/src/blocks/external/ExternalDocsContainer.tsx b/code/ui/blocks/src/blocks/external/ExternalDocsContainer.tsx index 24761cc9d403..fd728a02b9ec 100644 --- a/code/ui/blocks/src/blocks/external/ExternalDocsContainer.tsx +++ b/code/ui/blocks/src/blocks/external/ExternalDocsContainer.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { ThemeProvider, themes, ensure } from '@storybook/theming'; -import type { Renderer } from '@storybook/types'; +import type { Renderer } from '@storybook/core/dist/types'; import { DocsContext } from '../DocsContext'; import { ExternalPreview } from './ExternalPreview'; diff --git a/code/ui/blocks/src/blocks/external/ExternalDocsContext.ts b/code/ui/blocks/src/blocks/external/ExternalDocsContext.ts index ad7a6f0e5dca..ddc9707daebc 100644 --- a/code/ui/blocks/src/blocks/external/ExternalDocsContext.ts +++ b/code/ui/blocks/src/blocks/external/ExternalDocsContext.ts @@ -1,7 +1,12 @@ -import type { Renderer, CSFFile, ModuleExports, DocsContextProps } from '@storybook/types'; -import { DocsContext } from '@storybook/preview-api'; -import type { StoryStore } from '@storybook/preview-api'; -import type { Channel } from '@storybook/channels'; +import type { + Renderer, + CSFFile, + ModuleExports, + DocsContextProps, +} from '@storybook/core/dist/types'; +import { DocsContext } from '@storybook/core/dist/preview-api'; +import type { StoryStore } from '@storybook/core/dist/preview-api'; +import type { Channel } from '@storybook/core/dist/channels'; export class ExternalDocsContext extends DocsContext { constructor( diff --git a/code/ui/blocks/src/blocks/external/ExternalPreview.ts b/code/ui/blocks/src/blocks/external/ExternalPreview.ts index bb6fc24764f2..172a05cce197 100644 --- a/code/ui/blocks/src/blocks/external/ExternalPreview.ts +++ b/code/ui/blocks/src/blocks/external/ExternalPreview.ts @@ -1,4 +1,4 @@ -import { Preview, composeConfigs } from '@storybook/preview-api'; +import { Preview, composeConfigs } from '@storybook/core/dist/preview-api'; import type { Renderer, ComponentTitle, @@ -6,8 +6,8 @@ import type { ProjectAnnotations, ModuleExports, StoryIndex, -} from '@storybook/types'; -import { Channel } from '@storybook/channels'; +} from '@storybook/core/dist/types'; +import { Channel } from '@storybook/core/dist/channels'; import { ExternalDocsContext } from './ExternalDocsContext'; diff --git a/code/ui/blocks/src/blocks/mdx.tsx b/code/ui/blocks/src/blocks/mdx.tsx index fe9c8c24f5c9..13ecbb778011 100644 --- a/code/ui/blocks/src/blocks/mdx.tsx +++ b/code/ui/blocks/src/blocks/mdx.tsx @@ -1,6 +1,6 @@ import type { FC, MouseEvent, PropsWithChildren, SyntheticEvent } from 'react'; import React, { useContext } from 'react'; -import { NAVIGATE_URL } from '@storybook/core-events'; +import { NAVIGATE_URL } from '@storybook/core/dist/core-events'; import type { SupportedLanguage } from '@storybook/components'; import { Code, components, nameSpaceClassNames } from '@storybook/components'; import { global } from '@storybook/global'; diff --git a/code/ui/blocks/src/blocks/types.ts b/code/ui/blocks/src/blocks/types.ts index 8a8dba5bfbce..7213cca68117 100644 --- a/code/ui/blocks/src/blocks/types.ts +++ b/code/ui/blocks/src/blocks/types.ts @@ -1,4 +1,4 @@ -import type { ModuleExport } from '@storybook/types'; +import type { ModuleExport } from '@storybook/core/dist/types'; export const PRIMARY_STORY = '^'; diff --git a/code/ui/blocks/src/blocks/useArgs.ts b/code/ui/blocks/src/blocks/useArgs.ts index 5e2f7c5b71b9..999ac1962d6a 100644 --- a/code/ui/blocks/src/blocks/useArgs.ts +++ b/code/ui/blocks/src/blocks/useArgs.ts @@ -1,6 +1,10 @@ import { useCallback, useEffect, useState } from 'react'; -import type { Args, DocsContextProps, PreparedStory } from '@storybook/types'; -import { STORY_ARGS_UPDATED, UPDATE_STORY_ARGS, RESET_STORY_ARGS } from '@storybook/core-events'; +import type { Args, DocsContextProps, PreparedStory } from '@storybook/core/dist/types'; +import { + STORY_ARGS_UPDATED, + UPDATE_STORY_ARGS, + RESET_STORY_ARGS, +} from '@storybook/core/dist/core-events'; export const useArgs = ( story: PreparedStory, diff --git a/code/ui/blocks/src/blocks/useGlobals.ts b/code/ui/blocks/src/blocks/useGlobals.ts index 7c0552705d5d..6d29e2f9f649 100644 --- a/code/ui/blocks/src/blocks/useGlobals.ts +++ b/code/ui/blocks/src/blocks/useGlobals.ts @@ -1,7 +1,7 @@ import type { Globals } from '@storybook/csf'; -import type { DocsContextProps, PreparedStory } from '@storybook/types'; +import type { DocsContextProps, PreparedStory } from '@storybook/core/dist/types'; import { useEffect, useState } from 'react'; -import { GLOBALS_UPDATED } from '@storybook/core-events'; +import { GLOBALS_UPDATED } from '@storybook/core/dist/core-events'; export const useGlobals = (story: PreparedStory, context: DocsContextProps): [Globals] => { const storyContext = context.getStoryContext(story); diff --git a/code/ui/blocks/src/blocks/useOf.ts b/code/ui/blocks/src/blocks/useOf.ts index 8c2c55310029..bd8e75dab820 100644 --- a/code/ui/blocks/src/blocks/useOf.ts +++ b/code/ui/blocks/src/blocks/useOf.ts @@ -2,7 +2,7 @@ import type { DocsContextProps, ResolvedModuleExportType, ResolvedModuleExportFromType, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import { useContext } from 'react'; import { DocsContext } from './DocsContext'; diff --git a/code/ui/blocks/src/blocks/useStory.ts b/code/ui/blocks/src/blocks/useStory.ts index 95edc5b7392a..166575c8ba9f 100644 --- a/code/ui/blocks/src/blocks/useStory.ts +++ b/code/ui/blocks/src/blocks/useStory.ts @@ -1,5 +1,5 @@ import { useState, useEffect } from 'react'; -import type { StoryId, Renderer, PreparedStory } from '@storybook/types'; +import type { StoryId, Renderer, PreparedStory } from '@storybook/core/dist/types'; import type { DocsContextProps } from './DocsContext'; diff --git a/code/ui/blocks/src/components/ArgsTable/ArgsTable.tsx b/code/ui/blocks/src/components/ArgsTable/ArgsTable.tsx index 8ad18ff4257c..3764109e3bdb 100644 --- a/code/ui/blocks/src/components/ArgsTable/ArgsTable.tsx +++ b/code/ui/blocks/src/components/ArgsTable/ArgsTable.tsx @@ -4,7 +4,7 @@ import pickBy from 'lodash/pickBy.js'; import { styled } from '@storybook/theming'; import { transparentize } from 'polished'; import { includeConditionalArg } from '@storybook/csf'; -import { once } from '@storybook/client-logger'; +import { once } from '@storybook/core/dist/client-logger'; import { IconButton, ResetWrapper, Link } from '@storybook/components'; import { DocumentIcon, UndoIcon } from '@storybook/icons'; diff --git a/code/ui/blocks/src/components/ArgsTable/types.ts b/code/ui/blocks/src/components/ArgsTable/types.ts index 7efb484fe6a9..08a1e193c695 100644 --- a/code/ui/blocks/src/components/ArgsTable/types.ts +++ b/code/ui/blocks/src/components/ArgsTable/types.ts @@ -1,4 +1,4 @@ -import type { Conditional } from '@storybook/types'; +import type { Conditional } from '@storybook/core/dist/types'; // TODO ? export interface JsDocParam { diff --git a/code/ui/blocks/src/components/Preview.stories.tsx b/code/ui/blocks/src/components/Preview.stories.tsx index ad5b1f913c8d..c3d8cd01c04e 100644 --- a/code/ui/blocks/src/components/Preview.stories.tsx +++ b/code/ui/blocks/src/components/Preview.stories.tsx @@ -3,7 +3,7 @@ import React from 'react'; import { styled } from '@storybook/theming'; import { global } from '@storybook/global'; import { Spaced, Button } from '@storybook/components'; -import type { DocsContextProps, ModuleExport } from '@storybook/types'; +import type { DocsContextProps, ModuleExport } from '@storybook/core/dist/types'; import { Preview, PreviewSkeleton } from './Preview'; import { Story } from './Story'; import * as sourceStories from './Source.stories'; diff --git a/code/ui/blocks/src/components/Story.stories.tsx b/code/ui/blocks/src/components/Story.stories.tsx index fa1767d747af..05480261c5b2 100644 --- a/code/ui/blocks/src/components/Story.stories.tsx +++ b/code/ui/blocks/src/components/Story.stories.tsx @@ -2,10 +2,14 @@ import React from 'react'; import type { Meta, ReactRenderer, StoryObj } from '@storybook/react'; import { within } from '@storybook/test'; import type { PlayFunctionContext } from '@storybook/csf'; -import type { WebRenderer, ModuleExport } from '@storybook/types'; -import { RESET_STORY_ARGS, STORY_ARGS_UPDATED, UPDATE_STORY_ARGS } from '@storybook/core-events'; -import type { PreviewWeb } from '@storybook/preview-api'; -import type { Channel } from '@storybook/channels'; +import type { WebRenderer, ModuleExport } from '@storybook/core/dist/types'; +import { + RESET_STORY_ARGS, + STORY_ARGS_UPDATED, + UPDATE_STORY_ARGS, +} from '@storybook/core/dist/core-events'; +import type { PreviewWeb } from '@storybook/core/dist/preview-api'; +import type { Channel } from '@storybook/core/dist/channels'; import type { StoryProps } from './Story'; import { Story as StoryComponent, StorySkeleton } from './Story'; diff --git a/code/ui/blocks/src/components/Story.tsx b/code/ui/blocks/src/components/Story.tsx index 089df560b2d8..40c39c2e9ab3 100644 --- a/code/ui/blocks/src/components/Story.tsx +++ b/code/ui/blocks/src/components/Story.tsx @@ -1,7 +1,7 @@ import { global } from '@storybook/global'; import type { FunctionComponent } from 'react'; import React, { useRef, useEffect, useState } from 'react'; -import type { DocsContextProps, PreparedStory } from '@storybook/types'; +import type { DocsContextProps, PreparedStory } from '@storybook/core/dist/types'; import { Loader, getStoryHref, ErrorFormatter } from '@storybook/components'; import { IFrame } from './IFrame'; import { ZoomContext } from './ZoomContext'; diff --git a/code/ui/blocks/src/controls/Boolean.stories.tsx b/code/ui/blocks/src/controls/Boolean.stories.tsx index 4629f2cc3644..719c983a7faa 100644 --- a/code/ui/blocks/src/controls/Boolean.stories.tsx +++ b/code/ui/blocks/src/controls/Boolean.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import { within, fireEvent, waitFor, expect, fn } from '@storybook/test'; -import { addons } from '@storybook/preview-api'; -import { RESET_STORY_ARGS, STORY_ARGS_UPDATED } from '@storybook/core-events'; +import { addons } from '@storybook/core/dist/preview-api'; +import { RESET_STORY_ARGS, STORY_ARGS_UPDATED } from '@storybook/core/dist/core-events'; import { BooleanControl } from './Boolean'; const meta = { diff --git a/code/ui/blocks/src/controls/options/Checkbox.tsx b/code/ui/blocks/src/controls/options/Checkbox.tsx index 7c883c21300c..efaa189c8786 100644 --- a/code/ui/blocks/src/controls/options/Checkbox.tsx +++ b/code/ui/blocks/src/controls/options/Checkbox.tsx @@ -1,7 +1,7 @@ import type { FC, ChangeEvent } from 'react'; import React, { useState, useEffect } from 'react'; import { styled } from '@storybook/theming'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import type { ControlProps, OptionsMultiSelection, NormalizedOptionsConfig } from '../types'; diff --git a/code/ui/blocks/src/controls/options/Radio.tsx b/code/ui/blocks/src/controls/options/Radio.tsx index 76c3239e747a..5c13efe98652 100644 --- a/code/ui/blocks/src/controls/options/Radio.tsx +++ b/code/ui/blocks/src/controls/options/Radio.tsx @@ -1,7 +1,7 @@ import type { FC } from 'react'; import React from 'react'; import { styled } from '@storybook/theming'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import type { ControlProps, OptionsSingleSelection, NormalizedOptionsConfig } from '../types'; diff --git a/code/ui/blocks/src/controls/options/Select.tsx b/code/ui/blocks/src/controls/options/Select.tsx index 8d56864b0799..ccca5ebbc26a 100644 --- a/code/ui/blocks/src/controls/options/Select.tsx +++ b/code/ui/blocks/src/controls/options/Select.tsx @@ -2,7 +2,7 @@ import type { FC, ChangeEvent } from 'react'; import React from 'react'; import { styled } from '@storybook/theming'; import type { CSSObject } from '@storybook/theming'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import type { ControlProps, OptionsSelection, NormalizedOptionsConfig } from '../types'; diff --git a/code/ui/blocks/src/examples/SourceParameters.stories.tsx b/code/ui/blocks/src/examples/SourceParameters.stories.tsx index ec832b109e88..a24574ecd9ef 100644 --- a/code/ui/blocks/src/examples/SourceParameters.stories.tsx +++ b/code/ui/blocks/src/examples/SourceParameters.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import { SourceType } from '@storybook/docs-tools'; -import type { StoryContext } from '@storybook/types'; +import type { StoryContext } from '@storybook/core/dist/types'; import dedent from 'ts-dedent'; import { EmptyExample } from './EmptyExample'; diff --git a/code/ui/components/package.json b/code/ui/components/package.json index b1ceb03faa85..d5b35c9a5244 100644 --- a/code/ui/components/package.json +++ b/code/ui/components/package.json @@ -61,12 +61,10 @@ "dependencies": { "@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-slot": "^1.0.2", - "@storybook/client-logger": "workspace:*", "@storybook/csf": "^0.1.6", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "memoizerific": "^1.11.3", "util-deprecate": "^1.0.2" }, @@ -87,6 +85,7 @@ "use-resize-observer": "^9.1.0" }, "peerDependencies": { + "@storybook/core": "workspace:*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, diff --git a/code/ui/components/src/components/Button/Button.tsx b/code/ui/components/src/components/Button/Button.tsx index 6e77f668b8df..0c125c7efa9d 100644 --- a/code/ui/components/src/components/Button/Button.tsx +++ b/code/ui/components/src/components/Button/Button.tsx @@ -3,7 +3,7 @@ import React, { forwardRef, useEffect, useState } from 'react'; import { isPropValid, styled } from '@storybook/theming'; import { darken, lighten, rgba, transparentize } from 'polished'; import { Slot } from '@radix-ui/react-slot'; -import { deprecate } from '@storybook/client-logger'; +import { deprecate } from '@storybook/core/dist/client-logger'; export interface ButtonProps extends ButtonHTMLAttributes { asChild?: boolean; diff --git a/code/ui/components/src/components/icon/icon.tsx b/code/ui/components/src/components/icon/icon.tsx index 0976442b1179..408de73dba0f 100644 --- a/code/ui/components/src/components/icon/icon.tsx +++ b/code/ui/components/src/components/icon/icon.tsx @@ -3,7 +3,7 @@ import React, { memo } from 'react'; import * as StorybookIcons from '@storybook/icons'; import { styled } from '@storybook/theming'; -import { deprecate, logger } from '@storybook/client-logger'; +import { deprecate, logger } from '@storybook/core/dist/client-logger'; export type IconType = keyof typeof icons; type NewIconTypes = (typeof icons)[IconType]; diff --git a/code/ui/components/src/components/syntaxhighlighter/syntaxhighlighter.tsx b/code/ui/components/src/components/syntaxhighlighter/syntaxhighlighter.tsx index 42961976ac54..8f3de8b7d4d7 100644 --- a/code/ui/components/src/components/syntaxhighlighter/syntaxhighlighter.tsx +++ b/code/ui/components/src/components/syntaxhighlighter/syntaxhighlighter.tsx @@ -1,6 +1,6 @@ import type { MouseEvent } from 'react'; import React, { useCallback, useEffect, useState } from 'react'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import { styled } from '@storybook/theming'; import { global } from '@storybook/global'; import memoize from 'memoizerific'; diff --git a/code/ui/components/src/components/tabs/tabs.helpers.tsx b/code/ui/components/src/components/tabs/tabs.helpers.tsx index b64b548d3f9c..ec2de9e41a6d 100644 --- a/code/ui/components/src/components/tabs/tabs.helpers.tsx +++ b/code/ui/components/src/components/tabs/tabs.helpers.tsx @@ -1,7 +1,7 @@ import { styled } from '@storybook/theming'; import type { FC, PropsWithChildren, ReactChild, ReactElement, ReactNode } from 'react'; import React, { Children } from 'react'; -import type { Addon_RenderOptions } from '@storybook/types'; +import type { Addon_RenderOptions } from '@storybook/core/dist/types'; import type { TabsProps } from './tabs'; export interface VisuallyHiddenProps { diff --git a/code/ui/components/src/components/tabs/tabs.tsx b/code/ui/components/src/components/tabs/tabs.tsx index 3d90fb3f9e58..9543fbec63ee 100644 --- a/code/ui/components/src/components/tabs/tabs.tsx +++ b/code/ui/components/src/components/tabs/tabs.tsx @@ -3,7 +3,7 @@ import React, { useMemo, Component, memo } from 'react'; import { styled } from '@storybook/theming'; import { sanitize } from '@storybook/csf'; -import type { Addon_RenderOptions } from '@storybook/types'; +import type { Addon_RenderOptions } from '@storybook/core/dist/types'; import { TabButton } from '../bar/button'; import { FlexBar } from '../bar/bar'; import { childrenToList, VisuallyHidden } from './tabs.helpers'; diff --git a/code/ui/manager/package.json b/code/ui/manager/package.json index 0c8e86d7bdaa..57c46b15c06f 100644 --- a/code/ui/manager/package.json +++ b/code/ui/manager/package.json @@ -74,17 +74,13 @@ "devDependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", "@storybook/addon-designs": "^7.0.4", - "@storybook/channels": "workspace:*", - "@storybook/client-logger": "workspace:*", "@storybook/components": "workspace:*", - "@storybook/core-events": "workspace:*", + "@storybook/core": "workspace:*", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", "@storybook/manager-api": "workspace:*", - "@storybook/router": "workspace:*", "@storybook/test": "workspace:*", "@storybook/theming": "workspace:*", - "@storybook/types": "workspace:*", "@tanstack/react-virtual": "^3.3.0", "@testing-library/react": "^11.2.2", "@types/react-transition-group": "^4", diff --git a/code/ui/manager/paths.js b/code/ui/manager/paths.js index b259dd1b1881..d2b0cff5f598 100644 --- a/code/ui/manager/paths.js +++ b/code/ui/manager/paths.js @@ -6,12 +6,18 @@ const resolve = resolveFrom.bind(null, __dirname); // These paths need to be aliased in the manager webpack config to ensure that all // code running inside the manager uses the *same* version of react[-dom] that we use. module.exports = { - '@storybook/channels': dirname(resolve('@storybook/channels/package.json')), + '@storybook/core/dist/channels': join( + dirname(resolve('@storybook/core/package.json')), + 'dist/channels' + ), '@storybook/components': dirname(resolve('@storybook/components/package.json')), - '@storybook/core-events': dirname(resolve('@storybook/core-events/package.json')), + '@storybook/core-events': join( + dirname(resolve('@storybook/core/package.json')), + 'dist/core-events' + ), '@storybook/manager-api': dirname(resolve('@storybook/manager-api/package.json')), '@storybook/manager': dirname(resolve('@storybook/manager/package.json')), - '@storybook/router': dirname(resolve('@storybook/router/package.json')), + '@storybook/core/dist/router': dirname(resolve('@storybook/router/package.json')), '@storybook/theming': dirname(resolve('@storybook/theming/package.json')), react: dirname(resolve('react/package.json')), 'react-dom': dirname(resolve('react-dom/package.json')), diff --git a/code/ui/manager/scripts/generate-exports-file.ts b/code/ui/manager/scripts/generate-exports-file.ts index f30ae944c0de..59f0e8da6f7e 100644 --- a/code/ui/manager/scripts/generate-exports-file.ts +++ b/code/ui/manager/scripts/generate-exports-file.ts @@ -1,68 +1,72 @@ import fs from 'fs-extra'; -import path from 'path'; +import path from 'node:path'; import { dedent } from 'ts-dedent'; -import { ESLint } from '../../../../scripts/node_modules/eslint'; -import { globalsNameValueMap } from '../src/globals/runtime'; +import { prettier } from '../../../../scripts/prepare/tools'; +import { globalsNameReferenceMap } from '../src/globals/globals'; const location = path.join(__dirname, '..', 'src', 'globals', 'exports.ts'); -let attempts = 0; function removeDefault(input: string) { return input !== 'default'; } -const wait = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); - -async function generate(text: string) { - console.log('Linting...'); - - const eslint = new ESLint({ - cwd: path.join(__dirname, '..'), - fix: true, - }); - const output = await eslint.lintText(text, { filePath: location }); - - console.log('Writing...'); - - await fs.writeFile(location, output[0].output); -} - const run = async () => { - const data = Object.entries(globalsNameValueMap).reduce>( + const grouped = Object.entries(globalsNameReferenceMap).reduce>( (acc, [key, value]) => { - acc[key] = Object.keys(value).filter(removeDefault); + acc[value] = [...(acc[value] || []), key]; return acc; }, {} ); - console.log('Generating...'); + const r = await Promise.all( + Object.values(grouped).map(async (pkgs) => { + const all = await Promise.all( + pkgs.map(async (pkg) => { + const mod = await import(pkg); + return Object.keys(mod).filter(removeDefault); + }) + ); + return { pkgs, e: all.find((a) => a.length > 0) }; + }) + ); - const text = dedent` - // this file is generated by generate-exports-file.ts - // this is done to prevent runtime dependencies from making it's way into the build/start script of the manager - // the manager builder needs to know which dependencies are 'globalized' in the ui - - export default ${JSON.stringify(data, null, 2)} as const;`; + const data: Record = {}; - await fs.ensureFile(location); + for (const { pkgs, e } of r) { + for (const pkg of pkgs) { + data[pkg] = e || []; + } + } - const tryGenerate = async () => { - attempts += 1; + console.log({ data }); - await generate(text).catch(async (e) => { - if (attempts > 5) { - throw e; - } + // const o = r.map((m) => Object.keys(m).filter(removeDefault).sort()); + // const o = r; + // const data = o.reduce>>( + // (acc, value, index) => { + // acc[globalPackages[index] as keyof typeof globalPackages] = value; + // return acc; + // }, + // {} + // ); - console.log('Retrying...'); + console.log('Generating...'); - await wait(1000); - await tryGenerate(); - }); - }; + const prettierConfig = await prettier.resolveConfig(location); + const text = await prettier.format( + dedent` + // this file is generated by generate-exports-file.ts + // this is done to prevent runtime dependencies from making it's way into the build/start script of the manager + // the manager builder needs to know which dependencies are 'globalized' in the ui + + export default ${JSON.stringify(data, null, 2)} as const; + `, + { ...prettierConfig, parser: 'typescript' } + ); - await tryGenerate(); + await fs.ensureFile(location); + await fs.writeFile(location, text); console.log('Done!'); }; diff --git a/code/ui/manager/src/App.tsx b/code/ui/manager/src/App.tsx index 7ec337525c10..d56220e3de44 100644 --- a/code/ui/manager/src/App.tsx +++ b/code/ui/manager/src/App.tsx @@ -1,7 +1,7 @@ import type { ComponentProps } from 'react'; import React from 'react'; import { Global, createGlobal } from '@storybook/theming'; -import type { Addon_PageType } from '@storybook/types'; +import type { Addon_PageType } from '@storybook/core/dist/types'; import Sidebar from './container/Sidebar'; import Preview from './container/Preview'; import Panel from './container/Panel'; diff --git a/code/ui/manager/src/components/layout/Layout.stories.tsx b/code/ui/manager/src/components/layout/Layout.stories.tsx index 6c291c5f2fe8..6a410d236ffd 100644 --- a/code/ui/manager/src/components/layout/Layout.stories.tsx +++ b/code/ui/manager/src/components/layout/Layout.stories.tsx @@ -7,7 +7,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import { fn } from '@storybook/test'; import { Layout } from './Layout'; import { LayoutProvider } from './LayoutProvider'; -import { LocationProvider } from '@storybook/router'; +import { LocationProvider } from '@storybook/core/dist/router'; import MobileNavigationStoriesMeta from '../mobile/navigation/MobileNavigation.stories'; const PlaceholderBlock = styled.div({ diff --git a/code/ui/manager/src/components/layout/Layout.tsx b/code/ui/manager/src/components/layout/Layout.tsx index a17636ceadbd..dde3ca4526d6 100644 --- a/code/ui/manager/src/components/layout/Layout.tsx +++ b/code/ui/manager/src/components/layout/Layout.tsx @@ -1,12 +1,12 @@ import React, { useEffect, useLayoutEffect, useState } from 'react'; import { styled } from '@storybook/theming'; -import type { API_Layout, API_ViewMode } from '@storybook/types'; +import type { API_Layout, API_ViewMode } from '@storybook/core/dist/types'; import { useDragging } from './useDragging'; import { MobileNavigation } from '../mobile/navigation/MobileNavigation'; import { MEDIA_DESKTOP_BREAKPOINT } from '../../constants'; import { useLayout } from './LayoutProvider'; import { Notifications } from '../../container/Notifications'; -import { Match } from '@storybook/router'; +import { Match } from '@storybook/core/dist/router'; interface InternalLayoutState { isDragging: boolean; diff --git a/code/ui/manager/src/components/notifications/NotificationItem.stories.tsx b/code/ui/manager/src/components/notifications/NotificationItem.stories.tsx index a3b87acdcf52..67e79bcda9aa 100644 --- a/code/ui/manager/src/components/notifications/NotificationItem.stories.tsx +++ b/code/ui/manager/src/components/notifications/NotificationItem.stories.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { action } from '@storybook/addon-actions'; -import { LocationProvider } from '@storybook/router'; +import { LocationProvider } from '@storybook/core/dist/router'; import type { Meta, StoryObj } from '@storybook/react'; import NotificationItem from './NotificationItem'; import { diff --git a/code/ui/manager/src/components/notifications/NotificationItem.tsx b/code/ui/manager/src/components/notifications/NotificationItem.tsx index f8e44fcd3660..3195824bd8bc 100644 --- a/code/ui/manager/src/components/notifications/NotificationItem.tsx +++ b/code/ui/manager/src/components/notifications/NotificationItem.tsx @@ -1,7 +1,7 @@ import type { FC, SyntheticEvent } from 'react'; import React, { useCallback, useEffect, useRef } from 'react'; import { type State } from '@storybook/manager-api'; -import { Link } from '@storybook/router'; +import { Link } from '@storybook/core/dist/router'; import { keyframes, styled, useTheme } from '@storybook/theming'; import type { IconsProps } from '@storybook/components'; import { IconButton, Icons } from '@storybook/components'; diff --git a/code/ui/manager/src/components/notifications/NotificationList.stories.tsx b/code/ui/manager/src/components/notifications/NotificationList.stories.tsx index e75c77965b03..66740cf69ce8 100644 --- a/code/ui/manager/src/components/notifications/NotificationList.stories.tsx +++ b/code/ui/manager/src/components/notifications/NotificationList.stories.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { LocationProvider } from '@storybook/router'; +import { LocationProvider } from '@storybook/core/dist/router'; import type { Meta, StoryObj } from '@storybook/react'; import { NotificationList } from './NotificationList'; diff --git a/code/ui/manager/src/components/panel/Panel.stories.tsx b/code/ui/manager/src/components/panel/Panel.stories.tsx index e4f5c8ed493e..a3d1648a14ed 100644 --- a/code/ui/manager/src/components/panel/Panel.stories.tsx +++ b/code/ui/manager/src/components/panel/Panel.stories.tsx @@ -2,8 +2,8 @@ import type { EventHandler, FocusEvent, MouseEvent } from 'react'; import React, { useCallback, useRef, useState } from 'react'; import { action } from '@storybook/addon-actions'; import { Badge, Spaced } from '@storybook/components'; -import type { Addon_BaseType, Addon_Collection } from '@storybook/types'; -import { Addon_TypesEnum } from '@storybook/types'; +import type { Addon_BaseType, Addon_Collection } from '@storybook/core/dist/types'; +import { Addon_TypesEnum } from '@storybook/core/dist/types'; import { BellIcon } from '@storybook/icons'; import { AddonPanel } from './Panel'; import { defaultShortcuts } from '../../settings/defaultShortcuts'; diff --git a/code/ui/manager/src/components/panel/Panel.tsx b/code/ui/manager/src/components/panel/Panel.tsx index 654ea6653849..7477bce36726 100644 --- a/code/ui/manager/src/components/panel/Panel.tsx +++ b/code/ui/manager/src/components/panel/Panel.tsx @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import { Tabs, IconButton, Link, EmptyTabContent } from '@storybook/components'; import type { State } from '@storybook/manager-api'; import { shortcutToHumanString } from '@storybook/manager-api'; -import type { Addon_BaseType } from '@storybook/types'; +import type { Addon_BaseType } from '@storybook/core/dist/types'; import { styled } from '@storybook/theming'; import { BottomBarIcon, CloseIcon, DocumentIcon, SidebarAltIcon } from '@storybook/icons'; import { useLayout } from '../layout/LayoutProvider'; diff --git a/code/ui/manager/src/components/preview/Preview.tsx b/code/ui/manager/src/components/preview/Preview.tsx index 49c77ba6a125..55eed4cf9cdd 100644 --- a/code/ui/manager/src/components/preview/Preview.tsx +++ b/code/ui/manager/src/components/preview/Preview.tsx @@ -4,8 +4,8 @@ import { Helmet } from 'react-helmet-async'; import { global } from '@storybook/global'; import { Consumer, type Combo, merge, addons, types } from '@storybook/manager-api'; -import type { Addon_BaseType, Addon_WrapperType } from '@storybook/types'; -import { PREVIEW_BUILDER_PROGRESS, SET_CURRENT_STORY } from '@storybook/core-events'; +import type { Addon_BaseType, Addon_WrapperType } from '@storybook/core/dist/types'; +import { PREVIEW_BUILDER_PROGRESS, SET_CURRENT_STORY } from '@storybook/core/dist/core-events'; import { Loader } from '@storybook/components'; diff --git a/code/ui/manager/src/components/preview/Toolbar.tsx b/code/ui/manager/src/components/preview/Toolbar.tsx index dad02af27087..76e3c8993880 100644 --- a/code/ui/manager/src/components/preview/Toolbar.tsx +++ b/code/ui/manager/src/components/preview/Toolbar.tsx @@ -15,7 +15,7 @@ import { types, } from '@storybook/manager-api'; -import { Addon_TypesEnum, type Addon_BaseType } from '@storybook/types'; +import { Addon_TypesEnum, type Addon_BaseType } from '@storybook/core/dist/types'; import { CloseIcon, ExpandIcon } from '@storybook/icons'; import { zoomTool } from './tools/zoom'; diff --git a/code/ui/manager/src/components/preview/Wrappers.tsx b/code/ui/manager/src/components/preview/Wrappers.tsx index b70385e928fd..b89d272c3c7a 100644 --- a/code/ui/manager/src/components/preview/Wrappers.tsx +++ b/code/ui/manager/src/components/preview/Wrappers.tsx @@ -1,7 +1,7 @@ import type { FC, PropsWithChildren } from 'react'; import React, { Fragment } from 'react'; -import type { Addon_WrapperType } from '@storybook/types'; -import { Addon_TypesEnum } from '@storybook/types'; +import type { Addon_WrapperType } from '@storybook/core/dist/types'; +import { Addon_TypesEnum } from '@storybook/core/dist/types'; import type { ApplyWrappersProps } from './utils/types'; import { IframeWrapper } from './utils/components'; diff --git a/code/ui/manager/src/components/preview/tools/addons.tsx b/code/ui/manager/src/components/preview/tools/addons.tsx index 956a327ed840..aeeeb31abc28 100644 --- a/code/ui/manager/src/components/preview/tools/addons.tsx +++ b/code/ui/manager/src/components/preview/tools/addons.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { IconButton } from '@storybook/components'; import { Consumer, types } from '@storybook/manager-api'; import type { Combo } from '@storybook/manager-api'; -import type { Addon_BaseType } from '@storybook/types'; +import type { Addon_BaseType } from '@storybook/core/dist/types'; import { BottomBarIcon, SidebarAltIcon } from '@storybook/icons'; const menuMapper = ({ api, state }: Combo) => ({ diff --git a/code/ui/manager/src/components/preview/tools/copy.tsx b/code/ui/manager/src/components/preview/tools/copy.tsx index 59d72f3de850..98e40391e308 100644 --- a/code/ui/manager/src/components/preview/tools/copy.tsx +++ b/code/ui/manager/src/components/preview/tools/copy.tsx @@ -4,7 +4,7 @@ import copy from 'copy-to-clipboard'; import { getStoryHref, IconButton } from '@storybook/components'; import { Consumer, types } from '@storybook/manager-api'; import type { Combo } from '@storybook/manager-api'; -import type { Addon_BaseType } from '@storybook/types'; +import type { Addon_BaseType } from '@storybook/core/dist/types'; import { LinkIcon } from '@storybook/icons'; const { PREVIEW_URL, document } = global; diff --git a/code/ui/manager/src/components/preview/tools/eject.tsx b/code/ui/manager/src/components/preview/tools/eject.tsx index 41c091ccc582..93b26ab699b7 100644 --- a/code/ui/manager/src/components/preview/tools/eject.tsx +++ b/code/ui/manager/src/components/preview/tools/eject.tsx @@ -3,7 +3,7 @@ import React from 'react'; import { getStoryHref, IconButton } from '@storybook/components'; import { Consumer, types } from '@storybook/manager-api'; import type { Combo } from '@storybook/manager-api'; -import type { Addon_BaseType } from '@storybook/types'; +import type { Addon_BaseType } from '@storybook/core/dist/types'; import { ShareAltIcon } from '@storybook/icons'; const { PREVIEW_URL } = global; diff --git a/code/ui/manager/src/components/preview/tools/menu.tsx b/code/ui/manager/src/components/preview/tools/menu.tsx index fcbf3971214d..a26ed32c05b5 100644 --- a/code/ui/manager/src/components/preview/tools/menu.tsx +++ b/code/ui/manager/src/components/preview/tools/menu.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { IconButton, Separator } from '@storybook/components'; import { Consumer, types } from '@storybook/manager-api'; import type { Combo } from '@storybook/manager-api'; -import type { Addon_BaseType } from '@storybook/types'; +import type { Addon_BaseType } from '@storybook/core/dist/types'; import { MenuIcon } from '@storybook/icons'; const menuMapper = ({ api, state }: Combo) => ({ diff --git a/code/ui/manager/src/components/preview/tools/remount.tsx b/code/ui/manager/src/components/preview/tools/remount.tsx index ecc178a41677..677126c0e957 100644 --- a/code/ui/manager/src/components/preview/tools/remount.tsx +++ b/code/ui/manager/src/components/preview/tools/remount.tsx @@ -4,8 +4,8 @@ import { IconButton } from '@storybook/components'; import { Consumer, types } from '@storybook/manager-api'; import type { Combo } from '@storybook/manager-api'; import { styled } from '@storybook/theming'; -import { FORCE_REMOUNT } from '@storybook/core-events'; -import type { Addon_BaseType } from '@storybook/types'; +import { FORCE_REMOUNT } from '@storybook/core/dist/core-events'; +import type { Addon_BaseType } from '@storybook/core/dist/types'; import { SyncIcon } from '@storybook/icons'; interface AnimatedButtonProps { diff --git a/code/ui/manager/src/components/preview/tools/zoom.tsx b/code/ui/manager/src/components/preview/tools/zoom.tsx index cffe05ac4d0e..9e1c53cea380 100644 --- a/code/ui/manager/src/components/preview/tools/zoom.tsx +++ b/code/ui/manager/src/components/preview/tools/zoom.tsx @@ -2,7 +2,7 @@ import type { SyntheticEvent, MouseEventHandler, PropsWithChildren } from 'react import React, { Component, createContext, memo, useCallback } from 'react'; import { IconButton, Separator } from '@storybook/components'; -import type { Addon_BaseType } from '@storybook/types'; +import type { Addon_BaseType } from '@storybook/core/dist/types'; import { types } from '@storybook/manager-api'; import { ZoomIcon, ZoomOutIcon, ZoomResetIcon } from '@storybook/icons'; diff --git a/code/ui/manager/src/components/preview/utils/components.ts b/code/ui/manager/src/components/preview/utils/components.ts index a8c2d9b30f98..d3ca9e7a6add 100644 --- a/code/ui/manager/src/components/preview/utils/components.ts +++ b/code/ui/manager/src/components/preview/utils/components.ts @@ -1,5 +1,5 @@ import { styled } from '@storybook/theming'; -import { Link } from '@storybook/router'; +import { Link } from '@storybook/core/dist/router'; export const PreviewContainer = styled.main({ display: 'flex', diff --git a/code/ui/manager/src/components/preview/utils/types.tsx b/code/ui/manager/src/components/preview/utils/types.tsx index 7b0e60caefb5..683b15257b3e 100644 --- a/code/ui/manager/src/components/preview/utils/types.tsx +++ b/code/ui/manager/src/components/preview/utils/types.tsx @@ -1,6 +1,11 @@ import type { ReactElement } from 'react'; import type { State, API, LeafEntry } from '@storybook/manager-api'; -import type { Addon_BaseType, Addon_WrapperType, API_ViewMode, StoryId } from '@storybook/types'; +import type { + Addon_BaseType, + Addon_WrapperType, + API_ViewMode, + StoryId, +} from '@storybook/core/dist/types'; export interface PreviewProps { api: API; diff --git a/code/ui/manager/src/components/sidebar/CreateNewStoryFileModal.tsx b/code/ui/manager/src/components/sidebar/CreateNewStoryFileModal.tsx index 0e16ea234750..725ecbaf8b0f 100644 --- a/code/ui/manager/src/components/sidebar/CreateNewStoryFileModal.tsx +++ b/code/ui/manager/src/components/sidebar/CreateNewStoryFileModal.tsx @@ -12,7 +12,7 @@ import type { ResponseData, SaveStoryRequestPayload, SaveStoryResponsePayload, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import { ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, @@ -22,7 +22,7 @@ import { FILE_COMPONENT_SEARCH_RESPONSE, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import type { RequestResponseError } from '@storybook/manager-api'; import { addons, experimental_requestResponse, useStorybookApi } from '@storybook/manager-api'; diff --git a/code/ui/manager/src/components/sidebar/FileSearchList.tsx b/code/ui/manager/src/components/sidebar/FileSearchList.tsx index 316704abfba6..ced72e016cfc 100644 --- a/code/ui/manager/src/components/sidebar/FileSearchList.tsx +++ b/code/ui/manager/src/components/sidebar/FileSearchList.tsx @@ -26,7 +26,7 @@ import { useVirtualizer } from '@tanstack/react-virtual'; import type { CreateNewStoryRequestPayload, FileComponentSearchResponsePayload, -} from '@storybook/core-events'; +} from '@storybook/core/dist/core-events'; import { WithTooltip, TooltipNote } from '@storybook/components'; import { useArrowKeyNavigation } from './FIleSearchList.utils'; diff --git a/code/ui/manager/src/components/sidebar/Heading.tsx b/code/ui/manager/src/components/sidebar/Heading.tsx index e015f0828692..fb373d4691cb 100644 --- a/code/ui/manager/src/components/sidebar/Heading.tsx +++ b/code/ui/manager/src/components/sidebar/Heading.tsx @@ -3,7 +3,7 @@ import React from 'react'; import { styled } from '@storybook/theming'; import { Button } from '@storybook/components'; -import type { Addon_SidebarTopType } from '@storybook/types'; +import type { Addon_SidebarTopType } from '@storybook/core/dist/types'; import { Brand } from './Brand'; import type { MenuList, SidebarMenuProps } from './Menu'; import { SidebarMenu } from './Menu'; diff --git a/code/ui/manager/src/components/sidebar/RefBlocks.tsx b/code/ui/manager/src/components/sidebar/RefBlocks.tsx index efeb56c2e6d9..bee33eb5275d 100644 --- a/code/ui/manager/src/components/sidebar/RefBlocks.tsx +++ b/code/ui/manager/src/components/sidebar/RefBlocks.tsx @@ -3,7 +3,7 @@ import type { FC } from 'react'; import React, { useState, useCallback, Fragment } from 'react'; import { WithTooltip, Spaced, Button, Link, ErrorFormatter } from '@storybook/components'; -import { logger } from '@storybook/client-logger'; +import { logger } from '@storybook/core/dist/client-logger'; import { styled } from '@storybook/theming'; import { ChevronDownIcon, LockIcon, SyncIcon } from '@storybook/icons'; diff --git a/code/ui/manager/src/components/sidebar/SearchResults.tsx b/code/ui/manager/src/components/sidebar/SearchResults.tsx index db6819a1c288..de6e50e69cd6 100644 --- a/code/ui/manager/src/components/sidebar/SearchResults.tsx +++ b/code/ui/manager/src/components/sidebar/SearchResults.tsx @@ -6,7 +6,7 @@ import React, { useCallback, useEffect } from 'react'; import type { ControllerStateAndHelpers } from 'downshift'; import { useStorybookApi } from '@storybook/manager-api'; -import { PRELOAD_ENTRIES } from '@storybook/core-events'; +import { PRELOAD_ENTRIES } from '@storybook/core/dist/core-events'; import { transparentize } from 'polished'; import { TrashIcon } from '@storybook/icons'; import { TypeIcon } from './TreeNode'; diff --git a/code/ui/manager/src/components/sidebar/Sidebar.stories.tsx b/code/ui/manager/src/components/sidebar/Sidebar.stories.tsx index 46c3d7c14979..0e98d95be08a 100644 --- a/code/ui/manager/src/components/sidebar/Sidebar.stories.tsx +++ b/code/ui/manager/src/components/sidebar/Sidebar.stories.tsx @@ -4,7 +4,7 @@ import type { IndexHash, State } from '@storybook/manager-api'; import { ManagerContext, types } from '@storybook/manager-api'; import type { StoryObj, Meta } from '@storybook/react'; import { within, userEvent, expect } from '@storybook/test'; -import type { Addon_SidebarTopType } from '@storybook/types'; +import type { Addon_SidebarTopType } from '@storybook/core/dist/types'; import { Button, IconButton } from '@storybook/components'; import { FaceHappyIcon } from '@storybook/icons'; import { Sidebar, DEFAULT_REF_ID } from './Sidebar'; diff --git a/code/ui/manager/src/components/sidebar/Sidebar.tsx b/code/ui/manager/src/components/sidebar/Sidebar.tsx index 66c4e7aabf4c..831e2b8de586 100644 --- a/code/ui/manager/src/components/sidebar/Sidebar.tsx +++ b/code/ui/manager/src/components/sidebar/Sidebar.tsx @@ -8,7 +8,7 @@ import type { Addon_SidebarBottomType, Addon_SidebarTopType, API_LoadedRefData, -} from '@storybook/types'; +} from '@storybook/core/dist/types'; import type { HeadingProps } from './Heading'; import { Heading } from './Heading'; diff --git a/code/ui/manager/src/components/sidebar/Tree.tsx b/code/ui/manager/src/components/sidebar/Tree.tsx index 42aa27ce694a..8301903c882b 100644 --- a/code/ui/manager/src/components/sidebar/Tree.tsx +++ b/code/ui/manager/src/components/sidebar/Tree.tsx @@ -13,7 +13,7 @@ import { transparentize } from 'polished'; import type { MutableRefObject } from 'react'; import React, { useCallback, useMemo, useRef } from 'react'; -import { PRELOAD_ENTRIES } from '@storybook/core-events'; +import { PRELOAD_ENTRIES } from '@storybook/core/dist/core-events'; import { ExpandAltIcon, CollapseIcon as CollapseIconSvg } from '@storybook/icons'; import { ComponentNode, DocumentNode, GroupNode, RootNode, StoryNode } from './TreeNode'; diff --git a/code/ui/manager/src/components/sidebar/__tests__/Sidebar.test.tsx b/code/ui/manager/src/components/sidebar/__tests__/Sidebar.test.tsx index d951944ae0c3..56cc62e7c718 100644 --- a/code/ui/manager/src/components/sidebar/__tests__/Sidebar.test.tsx +++ b/code/ui/manager/src/components/sidebar/__tests__/Sidebar.test.tsx @@ -6,7 +6,7 @@ import { ThemeProvider, ensure, themes } from '@storybook/theming'; import type { HashEntry, Refs } from '@storybook/manager-api'; import type { Theme } from '@storybook/theming'; import type { RenderResult } from '@testing-library/react'; -import type { API_IndexHash } from '@storybook/types'; +import type { API_IndexHash } from '@storybook/core/dist/types'; import { Sidebar } from '../Sidebar'; import type { SidebarProps } from '../Sidebar'; diff --git a/code/ui/manager/src/components/sidebar/mockdata.ts b/code/ui/manager/src/components/sidebar/mockdata.ts index e8155fb44bd8..2620c8efdb53 100644 --- a/code/ui/manager/src/components/sidebar/mockdata.ts +++ b/code/ui/manager/src/components/sidebar/mockdata.ts @@ -1,4 +1,4 @@ -import type { API_HashEntry } from '@storybook/types'; +import type { API_HashEntry } from '@storybook/core/dist/types'; export type MockDataSet = Record>>; diff --git a/code/ui/manager/src/components/sidebar/types.ts b/code/ui/manager/src/components/sidebar/types.ts index cb6cc1100bdc..99b49a9f60f0 100644 --- a/code/ui/manager/src/components/sidebar/types.ts +++ b/code/ui/manager/src/components/sidebar/types.ts @@ -1,6 +1,6 @@ import type { StoriesHash, State } from '@storybook/manager-api'; import type { ControllerStateAndHelpers } from 'downshift'; -import type { API_StatusState, API_StatusValue } from 'lib/types/src'; +import type { API_StatusState, API_StatusValue } from '@storybook/core/src/src'; export type Refs = State['refs']; export type RefType = Refs[keyof Refs] & { status?: API_StatusState }; diff --git a/code/ui/manager/src/components/sidebar/useExpanded.ts b/code/ui/manager/src/components/sidebar/useExpanded.ts index ba851070e1c2..f6b4351e5e4b 100644 --- a/code/ui/manager/src/components/sidebar/useExpanded.ts +++ b/code/ui/manager/src/components/sidebar/useExpanded.ts @@ -1,6 +1,6 @@ import type { StoriesHash } from '@storybook/manager-api'; import { useStorybookApi } from '@storybook/manager-api'; -import { STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL } from '@storybook/core-events'; +import { STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL } from '@storybook/core/dist/core-events'; import { global } from '@storybook/global'; import throttle from 'lodash/throttle.js'; import type { Dispatch, MutableRefObject, Reducer } from 'react'; diff --git a/code/ui/manager/src/components/sidebar/useHighlighted.ts b/code/ui/manager/src/components/sidebar/useHighlighted.ts index 0010614dce59..64bc163f066c 100644 --- a/code/ui/manager/src/components/sidebar/useHighlighted.ts +++ b/code/ui/manager/src/components/sidebar/useHighlighted.ts @@ -2,7 +2,7 @@ import { global } from '@storybook/global'; import type { Dispatch, MutableRefObject, SetStateAction } from 'react'; import { useCallback, useEffect, useRef, useState } from 'react'; import { useStorybookApi } from '@storybook/manager-api'; -import { PRELOAD_ENTRIES } from '@storybook/core-events'; +import { PRELOAD_ENTRIES } from '@storybook/core/dist/core-events'; import { matchesKeyCode, matchesModifiers } from '../../keybinding'; import type { CombinedDataset, Highlight, Selection } from './types'; diff --git a/code/ui/manager/src/container/Panel.tsx b/code/ui/manager/src/container/Panel.tsx index ec0cf75e5048..3fc1f5e17836 100644 --- a/code/ui/manager/src/container/Panel.tsx +++ b/code/ui/manager/src/container/Panel.tsx @@ -3,7 +3,7 @@ import React from 'react'; import memoize from 'memoizerific'; import { Consumer } from '@storybook/manager-api'; import type { API, Combo } from '@storybook/manager-api'; -import { Addon_TypesEnum } from '@storybook/types'; +import { Addon_TypesEnum } from '@storybook/core/dist/types'; import { AddonPanel } from '../components/panel/Panel'; diff --git a/code/ui/manager/src/container/Preview.tsx b/code/ui/manager/src/container/Preview.tsx index 91e78d45f0c4..c0684658efd2 100644 --- a/code/ui/manager/src/container/Preview.tsx +++ b/code/ui/manager/src/container/Preview.tsx @@ -1,6 +1,10 @@ import { global } from '@storybook/global'; -import type { Addon_BaseType, Addon_Collection, Addon_WrapperType } from '@storybook/types'; -import { Addon_TypesEnum } from '@storybook/types'; +import type { + Addon_BaseType, + Addon_Collection, + Addon_WrapperType, +} from '@storybook/core/dist/types'; +import { Addon_TypesEnum } from '@storybook/core/dist/types'; import type { ComponentProps } from 'react'; import React from 'react'; diff --git a/code/ui/manager/src/container/Sidebar.tsx b/code/ui/manager/src/container/Sidebar.tsx index 21d9cf09ef6c..7d91be73f697 100755 --- a/code/ui/manager/src/container/Sidebar.tsx +++ b/code/ui/manager/src/container/Sidebar.tsx @@ -2,7 +2,7 @@ import React, { useMemo } from 'react'; import type { Combo, StoriesHash } from '@storybook/manager-api'; import { Consumer } from '@storybook/manager-api'; -import { Addon_TypesEnum } from '@storybook/types'; +import { Addon_TypesEnum } from '@storybook/core/dist/types'; import type { SidebarProps as SidebarComponentProps } from '../components/sidebar/Sidebar'; import { Sidebar as SidebarComponent } from '../components/sidebar/Sidebar'; diff --git a/code/ui/manager/src/globals-runtime.ts b/code/ui/manager/src/globals-runtime.ts index 3c12f1e16492..c08f503e4011 100644 --- a/code/ui/manager/src/globals-runtime.ts +++ b/code/ui/manager/src/globals-runtime.ts @@ -1,6 +1,6 @@ import { global } from '@storybook/global'; -import { TELEMETRY_ERROR } from '@storybook/core-events'; +import { TELEMETRY_ERROR } from '@storybook/core/dist/core-events'; import { globalsNameValueMap } from './globals/runtime'; import { globalPackages, globalsNameReferenceMap } from './globals/globals'; diff --git a/code/ui/manager/src/globals/exports.ts b/code/ui/manager/src/globals/exports.ts index d89f2fc14018..a2d43cb3db4c 100644 --- a/code/ui/manager/src/globals/exports.ts +++ b/code/ui/manager/src/globals/exports.ts @@ -130,6 +130,12 @@ export default { 'WebsocketTransport', 'createBrowserChannel', ], + '@storybook/core/dist/channels': [ + 'Channel', + 'PostMessageTransport', + 'WebsocketTransport', + 'createBrowserChannel', + ], '@storybook/core-events': [ 'ARGTYPES_INFO_REQUEST', 'ARGTYPES_INFO_RESPONSE', @@ -186,12 +192,73 @@ export default { 'UPDATE_QUERY_PARAMS', 'UPDATE_STORY_ARGS', ], + '@storybook/core/dist/core-events': [ + 'ARGTYPES_INFO_REQUEST', + 'ARGTYPES_INFO_RESPONSE', + 'CHANNEL_CREATED', + 'CHANNEL_WS_DISCONNECT', + 'CONFIG_ERROR', + 'CREATE_NEW_STORYFILE_REQUEST', + 'CREATE_NEW_STORYFILE_RESPONSE', + 'CURRENT_STORY_WAS_SET', + 'DOCS_PREPARED', + 'DOCS_RENDERED', + 'FILE_COMPONENT_SEARCH_REQUEST', + 'FILE_COMPONENT_SEARCH_RESPONSE', + 'FORCE_REMOUNT', + 'FORCE_RE_RENDER', + 'GLOBALS_UPDATED', + 'NAVIGATE_URL', + 'PLAY_FUNCTION_THREW_EXCEPTION', + 'PRELOAD_ENTRIES', + 'PREVIEW_BUILDER_PROGRESS', + 'PREVIEW_KEYDOWN', + 'REGISTER_SUBSCRIPTION', + 'REQUEST_WHATS_NEW_DATA', + 'RESET_STORY_ARGS', + 'RESULT_WHATS_NEW_DATA', + 'SAVE_STORY_REQUEST', + 'SAVE_STORY_RESPONSE', + 'SELECT_STORY', + 'SET_CONFIG', + 'SET_CURRENT_STORY', + 'SET_GLOBALS', + 'SET_INDEX', + 'SET_STORIES', + 'SET_WHATS_NEW_CACHE', + 'SHARED_STATE_CHANGED', + 'SHARED_STATE_SET', + 'STORIES_COLLAPSE_ALL', + 'STORIES_EXPAND_ALL', + 'STORY_ARGS_UPDATED', + 'STORY_CHANGED', + 'STORY_ERRORED', + 'STORY_INDEX_INVALIDATED', + 'STORY_MISSING', + 'STORY_PREPARED', + 'STORY_RENDERED', + 'STORY_RENDER_PHASE_CHANGED', + 'STORY_SPECIFIED', + 'STORY_THREW_EXCEPTION', + 'STORY_UNCHANGED', + 'TELEMETRY_ERROR', + 'TOGGLE_WHATS_NEW_NOTIFICATIONS', + 'UNHANDLED_ERRORS_WHILE_PLAYING', + 'UPDATE_GLOBALS', + 'UPDATE_QUERY_PARAMS', + 'UPDATE_STORY_ARGS', + ], '@storybook/core-events/manager-errors': [ 'Category', 'ProviderDoesNotExtendBaseProviderError', 'UncaughtManagerError', ], - '@storybook/router': [ + '@storybook/core/dist/manager-errors': [ + 'Category', + 'ProviderDoesNotExtendBaseProviderError', + 'UncaughtManagerError', + ], + '@storybook/core/dist/router': [ 'BaseLocationProvider', 'DEEPLY_EQUAL', 'Link', @@ -499,5 +566,7 @@ export default { 'useStorybookState', ], '@storybook/client-logger': ['deprecate', 'logger', 'once', 'pretty'], + '@storybook/core/dist/client-logger': ['deprecate', 'logger', 'once', 'pretty'], '@storybook/types': ['Addon_TypesEnum'], + '@storybook/core/dist/types': ['Addon_TypesEnum'], } as const; diff --git a/code/ui/manager/src/globals/globals.ts b/code/ui/manager/src/globals/globals.ts index e8296a16fd83..0d4c32cb43fc 100644 --- a/code/ui/manager/src/globals/globals.ts +++ b/code/ui/manager/src/globals/globals.ts @@ -6,12 +6,17 @@ export const globalsNameReferenceMap = { '@storybook/channels': '__STORYBOOK_CHANNELS__', '@storybook/core-events': '__STORYBOOK_CORE_EVENTS__', '@storybook/core-events/manager-errors': '__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__', - '@storybook/router': '__STORYBOOK_ROUTER__', + '@storybook/core/dist/router': '__STORYBOOK_ROUTER__', '@storybook/theming': '__STORYBOOK_THEMING__', '@storybook/icons': '__STORYBOOK_ICONS__', '@storybook/manager-api': '__STORYBOOK_API__', '@storybook/client-logger': '__STORYBOOK_CLIENT_LOGGER__', '@storybook/types': '__STORYBOOK_TYPES__', + '@storybook/core/dist/manager-errors': '__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__', + '@storybook/core/dist/core-events': '__STORYBOOK_CORE_EVENTS__', + '@storybook/core/dist/client-logger': '__STORYBOOK_CLIENT_LOGGER__', + '@storybook/core/dist/channels': '__STORYBOOK_CHANNELS__', + '@storybook/core/dist/types': '__STORYBOOK_TYPES__', } as const; export const globalPackages = Object.keys(globalsNameReferenceMap) as Array< diff --git a/code/ui/manager/src/globals/runtime.ts b/code/ui/manager/src/globals/runtime.ts index 8b617d586add..dc639c1379ce 100644 --- a/code/ui/manager/src/globals/runtime.ts +++ b/code/ui/manager/src/globals/runtime.ts @@ -2,15 +2,15 @@ import * as REACT from 'react'; import * as REACT_DOM from 'react-dom'; import * as COMPONENTS from '@storybook/components'; -import * as CHANNELS from '@storybook/channels'; -import * as EVENTS from '@storybook/core-events'; -import * as EVENTS_MANAGER_ERRORS from '@storybook/core-events/manager-errors'; -import * as ROUTER from '@storybook/router'; +import * as CHANNELS from '@storybook/core/dist/channels'; +import * as EVENTS from '@storybook/core/dist/core-events'; +import * as EVENTS_MANAGER_ERRORS from '@storybook/core/dist/manager-errors'; +import * as ROUTER from '@storybook/core/dist/router'; import * as ICONS from '@storybook/icons'; import * as THEMING from '@storybook/theming'; import * as MANAGER_API from '@storybook/manager-api'; -import * as TYPES from '@storybook/types'; -import * as CLIENT_LOGGER from '@storybook/client-logger'; +import * as TYPES from '@storybook/core/dist/types'; +import * as CLIENT_LOGGER from '@storybook/core/dist/client-logger'; import type { globalsNameReferenceMap } from './globals'; @@ -19,13 +19,18 @@ export const globalsNameValueMap: Required=15.0.0 < 18.0.0" "@angular/platform-browser": ">=15.0.0 < 18.0.0" "@angular/platform-browser-dynamic": ">=15.0.0 < 18.0.0" + "@storybook/core": "workspace:*" rxjs: ^6.0.0 || ^7.4.0 typescript: ^4.0.0 || ^5.0.0 zone.js: ">= 0.11.1 < 1.0.0" @@ -5587,19 +5551,14 @@ __metadata: resolution: "@storybook/blocks@workspace:ui/blocks" dependencies: "@storybook/addon-actions": "workspace:*" - "@storybook/channels": "workspace:*" - "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" - "@storybook/core-events": "workspace:*" "@storybook/csf": "npm:^0.1.6" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/manager-api": "workspace:*" - "@storybook/preview-api": "workspace:*" "@storybook/test": "workspace:*" "@storybook/theming": "workspace:*" - "@storybook/types": "workspace:*" "@types/color-convert": "npm:^2.0.0" "@types/lodash": "npm:^4.14.167" color-convert: "npm:^2.0.1" @@ -5614,6 +5573,7 @@ __metadata: ts-dedent: "npm:^2.0.0" util-deprecate: "npm:^1.0.2" peerDependencies: + "@storybook/core": "workspace:*" react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: @@ -5629,9 +5589,7 @@ __metadata: resolution: "@storybook/builder-manager@workspace:builders/builder-manager" dependencies: "@fal-works/esbuild-plugin-global-externals": "npm:^2.1.2" - "@storybook/core-common": "workspace:*" "@storybook/manager": "workspace:*" - "@storybook/node-logger": "workspace:*" "@types/ejs": "npm:^3.1.1" "@yarnpkg/esbuild-plugin-pnp": "npm:^3.0.0-rc.10" browser-assert: "npm:^1.2.1" @@ -5644,6 +5602,8 @@ __metadata: slash: "npm:^5.0.0" typescript: "npm:^5.3.2" util: "npm:^0.12.4" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -5651,15 +5611,8 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/builder-vite@workspace:builders/builder-vite" dependencies: - "@storybook/channels": "workspace:*" - "@storybook/client-logger": "workspace:*" - "@storybook/core-common": "workspace:*" - "@storybook/core-events": "workspace:*" "@storybook/csf-plugin": "workspace:*" - "@storybook/node-logger": "workspace:*" "@storybook/preview": "workspace:*" - "@storybook/preview-api": "workspace:*" - "@storybook/types": "workspace:*" "@types/express": "npm:^4.17.13" "@types/find-cache-dir": "npm:^3.2.1" "@types/node": "npm:^18.0.0" @@ -5676,6 +5629,7 @@ __metadata: vite: "npm:^4.0.4" peerDependencies: "@preact/preset-vite": "*" + "@storybook/core": "workspace:*" typescript: ">= 4.3.x" vite: ^4.0.0 || ^5.0.0 vite-plugin-glimmerx: "*" @@ -5693,14 +5647,8 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/builder-webpack5@workspace:builders/builder-webpack5" dependencies: - "@storybook/channels": "workspace:*" - "@storybook/client-logger": "workspace:*" - "@storybook/core-common": "workspace:*" - "@storybook/core-events": "workspace:*" "@storybook/core-webpack": "workspace:*" - "@storybook/node-logger": "workspace:*" "@storybook/preview": "workspace:*" - "@storybook/preview-api": "workspace:*" "@types/node": "npm:^18.0.0" "@types/pretty-hrtime": "npm:^1.0.0" "@types/semver": "npm:^7.3.4" @@ -5734,22 +5682,19 @@ __metadata: webpack-dev-middleware: "npm:^6.1.2" webpack-hot-middleware: "npm:^2.25.1" webpack-virtual-modules: "npm:^0.5.0" + peerDependencies: + "@storybook/core": "workspace:*" peerDependenciesMeta: typescript: optional: true languageName: unknown linkType: soft -"@storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels": +"@storybook/channels@workspace:deprecated/channels": version: 0.0.0-use.local - resolution: "@storybook/channels@workspace:lib/channels" - dependencies: - "@storybook/client-logger": "workspace:*" - "@storybook/core-events": "workspace:*" - "@storybook/global": "npm:^5.0.0" - telejson: "npm:^7.2.0" - tiny-invariant: "npm:^1.3.1" - typescript: "npm:^5.3.2" + resolution: "@storybook/channels@workspace:deprecated/channels" + peerDependencies: + "@storybook/core": "*" languageName: unknown linkType: soft @@ -5761,13 +5706,7 @@ __metadata: "@babel/types": "npm:^7.24.0" "@ndelangen/get-tarball": "npm:^3.0.7" "@storybook/codemod": "workspace:*" - "@storybook/core-common": "workspace:*" - "@storybook/core-events": "workspace:*" "@storybook/core-server": "workspace:*" - "@storybook/csf-tools": "workspace:*" - "@storybook/node-logger": "workspace:*" - "@storybook/telemetry": "workspace:*" - "@storybook/types": "workspace:*" "@types/cross-spawn": "npm:^6.0.2" "@types/prompts": "npm:^2.0.9" "@types/semver": "npm:^7.3.4" @@ -5800,18 +5739,19 @@ __metadata: tiny-invariant: "npm:^1.3.1" ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" + peerDependencies: + "@storybook/core": "workspace:*" bin: getstorybook: ./bin/index.js sb: ./bin/index.js languageName: unknown linkType: soft -"@storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger": +"@storybook/client-logger@workspace:deprecated/client-logger": version: 0.0.0-use.local - resolution: "@storybook/client-logger@workspace:lib/client-logger" - dependencies: - "@storybook/global": "npm:^5.0.0" - typescript: "npm:^5.3.2" + resolution: "@storybook/client-logger@workspace:deprecated/client-logger" + peerDependencies: + "@storybook/core": "*" languageName: unknown linkType: soft @@ -5823,9 +5763,6 @@ __metadata: "@babel/preset-env": "npm:^7.24.4" "@babel/types": "npm:^7.24.0" "@storybook/csf": "npm:^0.1.6" - "@storybook/csf-tools": "workspace:*" - "@storybook/node-logger": "workspace:*" - "@storybook/types": "workspace:*" "@types/cross-spawn": "npm:^6.0.2" "@types/jscodeshift": "npm:^0.11.10" ansi-regex: "npm:^5.0.1" @@ -5847,6 +5784,8 @@ __metadata: unist-util-visit: "npm:^5.0.0" util: "npm:^0.12.4" vfile: "npm:^5.3.7" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -5858,13 +5797,11 @@ __metadata: "@radix-ui/react-dialog": "npm:^1.0.5" "@radix-ui/react-scroll-area": "npm:^1.0.5" "@radix-ui/react-slot": "npm:^1.0.2" - "@storybook/client-logger": "workspace:*" "@storybook/csf": "npm:^0.1.6" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/test": "workspace:*" "@storybook/theming": "workspace:*" - "@storybook/types": "workspace:*" "@types/react-syntax-highlighter": "npm:11.0.5" "@types/util-deprecate": "npm:^1.0.0" css: "npm:^3.0.0" @@ -5879,74 +5816,25 @@ __metadata: use-resize-observer: "npm:^9.1.0" util-deprecate: "npm:^1.0.2" peerDependencies: + "@storybook/core": "workspace:*" 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/core-common@workspace:*, @storybook/core-common@workspace:lib/core-common": +"@storybook/core-common@workspace:deprecated/core-common": version: 0.0.0-use.local - resolution: "@storybook/core-common@workspace:lib/core-common" - dependencies: - "@storybook/core-events": "workspace:*" - "@storybook/csf-tools": "workspace:*" - "@storybook/node-logger": "workspace:*" - "@storybook/types": "workspace:*" - "@types/find-cache-dir": "npm:^3.2.1" - "@types/fs-extra": "npm:^11.0.1" - "@types/mock-fs": "npm:^4.13.1" - "@types/node": "npm:^18.0.0" - "@types/node-fetch": "npm:^2.6.4" - "@types/picomatch": "npm:^2.3.0" - "@types/prettier-v2": "npm:@types/prettier@^2" - "@types/pretty-hrtime": "npm:^1.0.0" - "@yarnpkg/fslib": "npm:2.10.3" - "@yarnpkg/libzip": "npm:2.3.0" - chalk: "npm:^4.1.0" - cross-spawn: "npm:^7.0.3" - esbuild: "npm:^0.18.0 || ^0.19.0 || ^0.20.0" - esbuild-register: "npm:^3.5.0" - execa: "npm:^5.0.0" - file-system-cache: "npm:2.3.0" - find-cache-dir: "npm:^3.0.0" - find-up: "npm:^5.0.0" - fs-extra: "npm:^11.1.0" - glob: "npm:^10.0.0" - handlebars: "npm:^4.7.7" - lazy-universal-dotenv: "npm:^4.0.0" - mock-fs: "npm:^5.2.0" - node-fetch: "npm:^2.0.0" - picomatch: "npm:^2.3.0" - pkg-dir: "npm:^5.0.0" - prettier-fallback: "npm:prettier@^3" - prettier-v2: "npm:prettier@^2" - prettier-v3: "npm:prettier@^3" - pretty-hrtime: "npm:^1.0.3" - resolve-from: "npm:^5.0.0" - semver: "npm:^7.3.7" - slash: "npm:^5.0.0" - tempy: "npm:^1.0.1" - tiny-invariant: "npm:^1.3.1" - ts-dedent: "npm:^2.0.0" - type-fest: "npm:~2.19" - typescript: "npm:^5.3.2" - util: "npm:^0.12.4" + resolution: "@storybook/core-common@workspace:deprecated/core-common" peerDependencies: - prettier: ^2 || ^3 - peerDependenciesMeta: - prettier: - optional: true + "@storybook/core": "*" languageName: unknown linkType: soft -"@storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events": +"@storybook/core-events@workspace:deprecated/core-events": version: 0.0.0-use.local - resolution: "@storybook/core-events@workspace:lib/core-events" - dependencies: - "@storybook/csf": "npm:^0.1.5" - chalk: "npm:^4.1.0" - ts-dedent: "npm:^2.0.0" - typescript: "npm:^5.3.2" + resolution: "@storybook/core-events@workspace:deprecated/core-events" + peerDependencies: + "@storybook/core": "*" languageName: unknown linkType: soft @@ -5960,19 +5848,11 @@ __metadata: "@discoveryjs/json-ext": "npm:^0.5.3" "@storybook/addon-docs": "workspace:*" "@storybook/builder-manager": "workspace:*" - "@storybook/channels": "workspace:*" - "@storybook/core-common": "workspace:*" - "@storybook/core-events": "workspace:*" "@storybook/csf": "npm:^0.1.6" - "@storybook/csf-tools": "workspace:*" "@storybook/docs-mdx": "npm:3.0.0" "@storybook/global": "npm:^5.0.0" "@storybook/manager": "workspace:*" "@storybook/manager-api": "workspace:*" - "@storybook/node-logger": "workspace:*" - "@storybook/preview-api": "workspace:*" - "@storybook/telemetry": "workspace:*" - "@storybook/types": "workspace:*" "@types/compression": "npm:^1.7.0" "@types/detect-port": "npm:^1.3.0" "@types/diff": "npm:^5.0.9" @@ -6010,6 +5890,8 @@ __metadata: util-deprecate: "npm:^1.0.2" watchpack: "npm:^2.2.0" ws: "npm:^8.2.3" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6017,44 +5899,106 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/core-webpack@workspace:lib/core-webpack" dependencies: - "@storybook/core-common": "workspace:*" - "@storybook/node-logger": "workspace:*" - "@storybook/types": "workspace:*" "@types/node": "npm:^18.0.0" slash: "npm:^5.1.0" ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" webpack: "npm:5" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft -"@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": "workspace:*" - typescript: "npm:^5.3.2" - unplugin: "npm:^1.3.1" - languageName: unknown - linkType: soft - -"@storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools": +"@storybook/core@workspace:*, @storybook/core@workspace:core": version: 0.0.0-use.local - resolution: "@storybook/csf-tools@workspace:lib/csf-tools" + resolution: "@storybook/core@workspace:core" dependencies: "@babel/generator": "npm:^7.24.4" "@babel/parser": "npm:^7.24.4" "@babel/traverse": "npm:^7.24.1" "@babel/types": "npm:^7.24.0" "@storybook/csf": "npm:^0.1.6" - "@storybook/types": "workspace:*" + "@storybook/global": "npm:^5.0.0" + "@types/express": "npm:^4.7.0" + "@types/find-cache-dir": "npm:^5.0.0" "@types/fs-extra": "npm:^11.0.1" "@types/js-yaml": "npm:^4.0.5" + "@types/mock-fs": "npm:^4.13.1" + "@types/node": "npm:^18.0.0" + "@types/node-fetch": "npm:^2.6.4" + "@types/npmlog": "npm:^7.0.0" + "@types/picomatch": "npm:^2.3.0" + "@types/prettier-v2": "npm:@types/prettier@^2" + "@types/pretty-hrtime": "npm:^1.0.0" + "@types/qs": "npm:^6.9.5" + "@vitest/utils": "npm:^1.3.1" + "@yarnpkg/fslib": "npm:2.10.3" + "@yarnpkg/libzip": "npm:2.3.0" + ansi-to-html: "npm:^0.7.2" + chalk: "npm:^5.3.0" + cross-spawn: "npm:^7.0.3" + dequal: "npm:^2.0.2" + detect-package-manager: "npm:^3.0.2" + esbuild: "npm:^0.18.0 || ^0.19.0 || ^0.20.0" + esbuild-register: "npm:^3.5.0" + execa: "npm:^5.0.0" + fetch-retry: "npm:^6.0.0" + file-system-cache: "npm:^2.4.4" + find-cache-dir: "npm:^5.0.0" + find-up: "npm:^7.0.0" fs-extra: "npm:^11.1.0" + glob: "npm:^10.0.0" + handlebars: "npm:^4.7.7" js-yaml: "npm:^4.1.0" + lazy-universal-dotenv: "npm:^4.0.0" + lodash: "npm:^4.17.21" + memoizerific: "npm:^1.11.3" + mock-fs: "npm:^5.2.0" + nanoid: "npm:^4.0.2" + node-fetch: "npm:^3.3.2" + npmlog: "npm:^7.0.0" + picomatch: "npm:^2.3.0" + pkg-dir: "npm:^8.0.0" + prettier-fallback: "npm:prettier@^3" + prettier-v2: "npm:prettier@^2" + prettier-v3: "npm:prettier@^3" + pretty-hrtime: "npm:^1.0.3" + qs: "npm:^6.10.0" + react: "npm:^18.2.0" + react-dom: "npm:^18.2.0" + react-router-dom: "npm:6.0.2" + read-pkg-up: "npm:^11.0.0" recast: "npm:^0.23.5" + resolve-from: "npm:^5.0.0" + semver: "npm:^7.3.7" + slash: "npm:^5.0.0" + telejson: "npm:^7.2.0" + tempy: "npm:^1.0.1" + tiny-invariant: "npm:^1.3.1" ts-dedent: "npm:^2.0.0" + type-fest: "npm:^4.18.1" typescript: "npm:^5.3.2" + util: "npm:^0.12.4" + util-deprecate: "npm:^1.0.2" + languageName: unknown + linkType: soft + +"@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: + typescript: "npm:^5.3.2" + unplugin: "npm:^1.3.1" + peerDependencies: + "@storybook/core": "workspace:*" + languageName: unknown + linkType: soft + +"@storybook/csf-tools@workspace:deprecated/csf-tools": + version: 0.0.0-use.local + resolution: "@storybook/csf-tools@workspace:deprecated/csf-tools" + peerDependencies: + "@storybook/core": "*" languageName: unknown linkType: soft @@ -6067,7 +6011,7 @@ __metadata: languageName: node linkType: hard -"@storybook/csf@npm:^0.1.5, @storybook/csf@npm:^0.1.6": +"@storybook/csf@npm:^0.1.6": version: 0.1.6 resolution: "@storybook/csf@npm:0.1.6" dependencies: @@ -6088,10 +6032,6 @@ __metadata: resolution: "@storybook/docs-tools@workspace:lib/docs-tools" dependencies: "@babel/preset-react": "npm:^7.24.1" - "@storybook/core-common": "workspace:*" - "@storybook/core-events": "workspace:*" - "@storybook/preview-api": "workspace:*" - "@storybook/types": "workspace:*" "@types/doctrine": "npm:^0.0.3" assert: "npm:^2.1.0" babel-plugin-react-docgen: "npm:4.2.1" @@ -6099,6 +6039,8 @@ __metadata: lodash: "npm:^4.17.21" require-from-string: "npm:^2.0.2" typescript: "npm:^5.3.2" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6107,11 +6049,8 @@ __metadata: resolution: "@storybook/ember@workspace:frameworks/ember" dependencies: "@storybook/builder-webpack5": "workspace:*" - "@storybook/core-common": "workspace:*" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" - "@storybook/preview-api": "workspace:*" - "@storybook/types": "workspace:*" "@types/babel__preset-env": "npm:^7" babel-loader: "npm:9.1.3" ember-source: "npm:~3.28.1" @@ -6120,6 +6059,7 @@ __metadata: typescript: "npm:^5.3.2" peerDependencies: "@babel/core": "*" + "@storybook/core": "workspace:*" babel-plugin-ember-modules-api-polyfill: ^3.5.0 babel-plugin-htmlbars-inline-precompile: ^5.3.1 ember-source: ~3.28.1 || ^4.0.0 @@ -6151,10 +6091,11 @@ __metadata: "@storybook/builder-vite": "workspace:*" "@storybook/core-server": "workspace:*" "@storybook/html": "workspace:*" - "@storybook/node-logger": "workspace:*" "@types/node": "npm:^18.0.0" magic-string: "npm:^0.30.0" typescript: "npm:^5.3.2" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6163,12 +6104,13 @@ __metadata: resolution: "@storybook/html-webpack5@workspace:frameworks/html-webpack5" dependencies: "@storybook/builder-webpack5": "workspace:*" - "@storybook/core-common": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/html": "workspace:*" "@storybook/preset-html-webpack": "workspace:*" "@types/node": "npm:^18.0.0" typescript: "npm:^5.3.2" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6178,10 +6120,10 @@ __metadata: dependencies: "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" - "@storybook/preview-api": "workspace:*" - "@storybook/types": "workspace:*" ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6195,18 +6137,11 @@ __metadata: languageName: node linkType: hard -"@storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter": +"@storybook/instrumenter@workspace:deprecated/instrumenter": version: 0.0.0-use.local - resolution: "@storybook/instrumenter@workspace:lib/instrumenter" - dependencies: - "@storybook/channels": "workspace:*" - "@storybook/client-logger": "workspace:*" - "@storybook/core-events": "workspace:*" - "@storybook/global": "npm:^5.0.0" - "@storybook/preview-api": "workspace:*" - "@vitest/utils": "npm:^1.3.1" - typescript: "npm:^5.3.2" - util: "npm:^0.12.4" + resolution: "@storybook/instrumenter@workspace:deprecated/instrumenter" + peerDependencies: + "@storybook/core": "*" languageName: unknown linkType: soft @@ -6241,15 +6176,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/manager-api@workspace:lib/manager-api" dependencies: - "@storybook/channels": "workspace:*" - "@storybook/client-logger": "workspace:*" - "@storybook/core-events": "workspace:*" "@storybook/csf": "npm:^0.1.6" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" - "@storybook/router": "workspace:*" "@storybook/theming": "workspace:*" - "@storybook/types": "workspace:*" "@types/lodash": "npm:^4.14.167" "@types/qs": "npm:^6" "@types/semver": "npm:^7.3.4" @@ -6264,6 +6194,8 @@ __metadata: telejson: "npm:^7.2.0" ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6273,17 +6205,13 @@ __metadata: dependencies: "@fal-works/esbuild-plugin-global-externals": "npm:^2.1.2" "@storybook/addon-designs": "npm:^7.0.4" - "@storybook/channels": "workspace:*" - "@storybook/client-logger": "workspace:*" "@storybook/components": "workspace:*" - "@storybook/core-events": "workspace:*" + "@storybook/core": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.5" "@storybook/manager-api": "workspace:*" - "@storybook/router": "workspace:*" "@storybook/test": "workspace:*" "@storybook/theming": "workspace:*" - "@storybook/types": "workspace:*" "@tanstack/react-virtual": "npm:^3.3.0" "@testing-library/react": "npm:^11.2.2" "@types/react-transition-group": "npm:^4" @@ -6333,14 +6261,9 @@ __metadata: "@babel/types": "npm:^7.24.0" "@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.11" "@storybook/builder-webpack5": "workspace:*" - "@storybook/core-common": "workspace:*" - "@storybook/core-events": "workspace:*" - "@storybook/node-logger": "workspace:*" "@storybook/preset-react-webpack": "workspace:*" - "@storybook/preview-api": "workspace:*" "@storybook/react": "workspace:*" "@storybook/test": "workspace:*" - "@storybook/types": "workspace:*" "@types/babel__core": "npm:^7" "@types/babel__plugin-transform-runtime": "npm:^7" "@types/babel__preset-env": "npm:^7" @@ -6372,6 +6295,7 @@ __metadata: typescript: "npm:^5.3.2" webpack: "npm:^5.65.0" peerDependencies: + "@storybook/core": "workspace:*" next: ^13.5.0 || ^14.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -6387,16 +6311,11 @@ __metadata: languageName: unknown linkType: soft -"@storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger": +"@storybook/node-logger@workspace:deprecated/node-logger": version: 0.0.0-use.local - resolution: "@storybook/node-logger@workspace:lib/node-logger" - dependencies: - "@types/npmlog": "npm:^4.1.2" - "@types/pretty-hrtime": "npm:^1.0.0" - chalk: "npm:^4.1.0" - npmlog: "npm:^5.0.1" - pretty-hrtime: "npm:^1.0.3" - typescript: "npm:^5.3.2" + resolution: "@storybook/node-logger@workspace:deprecated/node-logger" + peerDependencies: + "@storybook/core": "*" languageName: unknown linkType: soft @@ -6410,8 +6329,8 @@ __metadata: typescript: "npm:^5.3.2" vite: "npm:^4.0.0" peerDependencies: + "@storybook/core": "workspace:*" preact: ">=10" - vite: ^4.0.0 || ^5.0.0 languageName: unknown linkType: soft @@ -6420,13 +6339,13 @@ __metadata: resolution: "@storybook/preact-webpack5@workspace:frameworks/preact-webpack5" dependencies: "@storybook/builder-webpack5": "workspace:*" - "@storybook/core-common": "workspace:*" "@storybook/preact": "workspace:*" "@storybook/preset-preact-webpack": "workspace:*" "@types/node": "npm:^18.0.0" preact: "npm:^10.5.13" typescript: "npm:^5.3.2" peerDependencies: + "@storybook/core": "workspace:*" preact: ">=10.0.0" languageName: unknown linkType: soft @@ -6436,12 +6355,11 @@ __metadata: resolution: "@storybook/preact@workspace:renderers/preact" dependencies: "@storybook/global": "npm:^5.0.0" - "@storybook/preview-api": "workspace:*" - "@storybook/types": "workspace:*" preact: "npm:^10.5.13" ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" peerDependencies: + "@storybook/core": "workspace:*" preact: ^8.0.0||^10.0.0 languageName: unknown linkType: soft @@ -6451,15 +6369,14 @@ __metadata: resolution: "@storybook/preset-create-react-app@workspace:presets/create-react-app" dependencies: "@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.1" - "@storybook/node-logger": "workspace:*" "@storybook/react-docgen-typescript-plugin": "npm:1.0.6--canary.9.0c3f3b7.0" - "@storybook/types": "workspace:*" "@types/node": "npm:^18.0.0" "@types/semver": "npm:^7.5.6" pnp-webpack-plugin: "npm:^1.7.0" semver: "npm:^7.5.4" typescript: "npm:^5.3.2" peerDependencies: + "@storybook/core": "workspace:*" react-scripts: ">=5.0.0" languageName: unknown linkType: soft @@ -6473,6 +6390,8 @@ __metadata: html-loader: "npm:^3.1.0" typescript: "npm:^5.3.2" webpack: "npm:5" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6485,6 +6404,7 @@ __metadata: preact: "npm:^10.5.13" typescript: "npm:^5.3.2" peerDependencies: + "@storybook/core": "workspace:*" preact: ^8.0.0||^10.0.0 languageName: unknown linkType: soft @@ -6495,7 +6415,6 @@ __metadata: dependencies: "@storybook/core-webpack": "workspace:*" "@storybook/docs-tools": "workspace:*" - "@storybook/node-logger": "workspace:*" "@storybook/react": "workspace:*" "@storybook/react-docgen-typescript-plugin": "npm:1.0.6--canary.9.0c3f3b7.0" "@types/node": "npm:^18.0.0" @@ -6510,6 +6429,7 @@ __metadata: typescript: "npm:^5.3.2" webpack: "npm:5" peerDependencies: + "@storybook/core": "workspace:*" react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: @@ -6533,6 +6453,8 @@ __metadata: typescript: "npm:^5.3.2" yaml: "npm:^2.3.1" yaml-loader: "npm:^0.8.0" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6541,13 +6463,13 @@ __metadata: resolution: "@storybook/preset-svelte-webpack@workspace:presets/svelte-webpack" dependencies: "@storybook/core-webpack": "workspace:*" - "@storybook/node-logger": "workspace:*" svelte: "npm:^4.0.0" svelte-loader: "npm:^3.1.9" sveltedoc-parser: "npm:^4.2.1" ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" peerDependencies: + "@storybook/core": "workspace:*" svelte: ^4.0.0 || ^5.0.0-next.65 svelte-loader: "*" languageName: unknown @@ -6569,32 +6491,17 @@ __metadata: vue-loader: "npm:^16.0.0" webpack: "npm:5" peerDependencies: + "@storybook/core": "workspace:*" "@vue/compiler-sfc": ^3.0.0 vue: ^3.0.0 languageName: unknown linkType: soft -"@storybook/preview-api@workspace:*, @storybook/preview-api@workspace:lib/preview-api": +"@storybook/preview-api@workspace:deprecated/preview-api": version: 0.0.0-use.local - resolution: "@storybook/preview-api@workspace:lib/preview-api" - dependencies: - "@storybook/channels": "workspace:*" - "@storybook/client-logger": "workspace:*" - "@storybook/core-common": "workspace:*" - "@storybook/core-events": "workspace:*" - "@storybook/csf": "npm:^0.1.6" - "@storybook/global": "npm:^5.0.0" - "@storybook/types": "workspace:*" - "@types/qs": "npm:^6.9.5" - ansi-to-html: "npm:^0.6.11" - dequal: "npm:^2.0.2" - lodash: "npm:^4.17.21" - memoizerific: "npm:^1.11.3" - qs: "npm:^6.10.0" - slash: "npm:^5.0.0" - tiny-invariant: "npm:^1.3.1" - ts-dedent: "npm:^2.0.0" - util-deprecate: "npm:^1.0.2" + resolution: "@storybook/preview-api@workspace:deprecated/preview-api" + peerDependencies: + "@storybook/core": "*" languageName: unknown linkType: soft @@ -6602,11 +6509,8 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/preview@workspace:lib/preview" dependencies: - "@storybook/channels": "workspace:*" - "@storybook/client-logger": "workspace:*" - "@storybook/core-events": "workspace:*" + "@storybook/core": "workspace:*" "@storybook/global": "npm:^5.0.0" - "@storybook/preview-api": "workspace:*" browser-dtector: "npm:^3.4.0" typescript: "npm:^5.3.2" languageName: unknown @@ -6634,9 +6538,9 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/react-dom-shim@workspace:lib/react-dom-shim" dependencies: - "@storybook/types": "workspace:*" typescript: "npm:^5.3.2" peerDependencies: + "@storybook/core": "workspace:*" react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 languageName: unknown @@ -6649,7 +6553,6 @@ __metadata: "@joshwooding/vite-plugin-react-docgen-typescript": "npm:0.3.0" "@rollup/pluginutils": "npm:^5.0.2" "@storybook/builder-vite": "workspace:*" - "@storybook/node-logger": "workspace:*" "@storybook/react": "workspace:*" "@types/node": "npm:^18.0.0" find-up: "npm:^5.0.0" @@ -6660,6 +6563,7 @@ __metadata: typescript: "npm:^5.3.2" vite: "npm:^4.0.0" peerDependencies: + "@storybook/core": "workspace:*" react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 vite: ^4.0.0 || ^5.0.0 @@ -6675,6 +6579,7 @@ __metadata: "@storybook/react": "workspace:*" "@types/node": "npm:^18.0.0" peerDependencies: + "@storybook/core": "workspace:*" react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 typescript: ">= 4.2.x" @@ -6688,13 +6593,10 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/react@workspace:renderers/react" dependencies: - "@storybook/client-logger": "workspace:*" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" - "@storybook/preview-api": "workspace:*" "@storybook/react-dom-shim": "workspace:*" "@storybook/test": "workspace:*" - "@storybook/types": "workspace:*" "@types/babel-plugin-react-docgen": "npm:^4" "@types/escodegen": "npm:^0.0.6" "@types/estree": "npm:^0.0.51" @@ -6717,6 +6619,7 @@ __metadata: type-fest: "npm:~2.19" util-deprecate: "npm:^1.0.2" peerDependencies: + "@storybook/core": "workspace:*" react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 typescript: ">= 4.2.x" @@ -6758,18 +6661,13 @@ __metadata: "@storybook/builder-manager": "workspace:*" "@storybook/builder-vite": "workspace:*" "@storybook/builder-webpack5": "workspace:*" - "@storybook/channels": "workspace:*" "@storybook/cli": "workspace:*" - "@storybook/client-logger": "workspace:*" "@storybook/codemod": "workspace:*" "@storybook/components": "workspace:*" - "@storybook/core-common": "workspace:*" - "@storybook/core-events": "workspace:*" "@storybook/core-server": "workspace:*" "@storybook/core-webpack": "workspace:*" "@storybook/csf": "npm:^0.1.6" "@storybook/csf-plugin": "workspace:*" - "@storybook/csf-tools": "workspace:*" "@storybook/docs-tools": "workspace:*" "@storybook/ember": "workspace:*" "@storybook/eslint-config-storybook": "npm:^4.0.0" @@ -6777,12 +6675,10 @@ __metadata: "@storybook/html": "workspace:*" "@storybook/html-vite": "workspace:*" "@storybook/html-webpack5": "workspace:*" - "@storybook/instrumenter": "workspace:*" "@storybook/linter-config": "npm:^4.0.0" "@storybook/manager": "workspace:*" "@storybook/manager-api": "workspace:*" "@storybook/nextjs": "workspace:*" - "@storybook/node-logger": "workspace:*" "@storybook/preact": "workspace:*" "@storybook/preact-vite": "workspace:*" "@storybook/preact-webpack5": "workspace:*" @@ -6794,21 +6690,17 @@ __metadata: "@storybook/preset-svelte-webpack": "workspace:*" "@storybook/preset-vue3-webpack": "workspace:*" "@storybook/preview": "workspace:*" - "@storybook/preview-api": "workspace:*" "@storybook/react": "workspace:*" "@storybook/react-vite": "workspace:*" "@storybook/react-webpack5": "workspace:*" - "@storybook/router": "workspace:*" "@storybook/server": "workspace:*" "@storybook/server-webpack5": "workspace:*" "@storybook/source-loader": "workspace:*" "@storybook/svelte": "workspace:*" "@storybook/svelte-webpack5": "workspace:*" - "@storybook/telemetry": "workspace:*" "@storybook/test": "workspace:*" "@storybook/testing-library": "npm:next" "@storybook/theming": "workspace:*" - "@storybook/types": "workspace:*" "@storybook/vue3": "workspace:*" "@storybook/vue3-vite": "workspace:*" "@storybook/vue3-webpack5": "workspace:*" @@ -6819,6 +6711,7 @@ __metadata: "@testing-library/jest-dom": "npm:6.1.4" "@testing-library/react": "npm:^14.0.0" "@testing-library/user-event": "npm:^14.4.3" + "@types/bun": "npm:^1.1.1" "@types/express": "npm:^4.17.11" "@types/fs-extra": "npm:^11.0.1" "@types/lodash": "npm:^4.14.167" @@ -6887,21 +6780,11 @@ __metadata: languageName: unknown linkType: soft -"@storybook/router@workspace:*, @storybook/router@workspace:lib/router": +"@storybook/router@workspace:deprecated/router": version: 0.0.0-use.local - resolution: "@storybook/router@workspace:lib/router" - dependencies: - "@storybook/client-logger": "workspace:*" - "@storybook/global": "npm:^5.0.0" - dequal: "npm:^2.0.2" - lodash: "npm:^4.17.21" - memoizerific: "npm:^1.11.3" - qs: "npm:^6.10.0" - react: "npm:^18.2.0" - react-dom: "npm:^18.2.0" - react-router-dom: "npm:6.0.2" - ts-dedent: "npm:^2.0.0" - typescript: "npm:^5.3.2" + resolution: "@storybook/router@workspace:deprecated/router" + peerDependencies: + "@storybook/core": "*" languageName: unknown linkType: soft @@ -6910,11 +6793,12 @@ __metadata: resolution: "@storybook/server-webpack5@workspace:frameworks/server-webpack5" dependencies: "@storybook/builder-webpack5": "workspace:*" - "@storybook/core-common": "workspace:*" "@storybook/preset-server-webpack": "workspace:*" "@storybook/server": "workspace:*" "@types/node": "npm:^18.0.0" typescript: "npm:^5.3.2" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6923,15 +6807,14 @@ __metadata: resolution: "@storybook/server@workspace:renderers/server" dependencies: "@storybook/csf": "npm:^0.1.6" - "@storybook/csf-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" - "@storybook/preview-api": "workspace:*" - "@storybook/types": "workspace:*" "@types/fs-extra": "npm:^11.0.1" fs-extra: "npm:^11.1.0" ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" yaml: "npm:^2.3.1" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6940,11 +6823,12 @@ __metadata: resolution: "@storybook/source-loader@workspace:lib/source-loader" dependencies: "@storybook/csf": "npm:^0.1.6" - "@storybook/types": "workspace:*" estraverse: "npm:^5.2.0" lodash: "npm:^4.17.21" prettier: "npm:^3.1.1" typescript: "npm:^5.3.2" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -6953,7 +6837,6 @@ __metadata: resolution: "@storybook/svelte-vite@workspace:frameworks/svelte-vite" dependencies: "@storybook/builder-vite": "workspace:*" - "@storybook/node-logger": "workspace:*" "@storybook/svelte": "workspace:*" "@sveltejs/vite-plugin-svelte": "npm:^3.0.1" "@types/node": "npm:^18.0.0" @@ -6965,6 +6848,7 @@ __metadata: typescript: "npm:^5.3.2" vite: "npm:^4.0.0" peerDependencies: + "@storybook/core": "workspace:*" "@sveltejs/vite-plugin-svelte": ^2.0.0 || ^3.0.0 svelte: ^4.0.0 || ^5.0.0-next.65 vite: ^4.0.0 || ^5.0.0 @@ -6976,13 +6860,13 @@ __metadata: resolution: "@storybook/svelte-webpack5@workspace:frameworks/svelte-webpack5" dependencies: "@storybook/builder-webpack5": "workspace:*" - "@storybook/core-common": "workspace:*" "@storybook/preset-svelte-webpack": "workspace:*" "@storybook/svelte": "workspace:*" svelte: "npm:^4.0.0" svelte-loader: "npm:^3.1.9" typescript: "npm:^5.3.2" peerDependencies: + "@storybook/core": "workspace:*" svelte: ^4.0.0 || ^5.0.0-next.65 svelte-loader: "*" languageName: unknown @@ -6992,12 +6876,8 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/svelte@workspace:renderers/svelte" dependencies: - "@storybook/client-logger": "workspace:*" - "@storybook/core-events": "workspace:*" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" - "@storybook/preview-api": "workspace:*" - "@storybook/types": "workspace:*" "@sveltejs/vite-plugin-svelte": "npm:^3.0.2" "@testing-library/jest-dom": "npm:^6.4.1" "@testing-library/svelte": "patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch" @@ -7011,6 +6891,7 @@ __metadata: type-fest: "npm:~2.19" typescript: "npm:^5.3.2" peerDependencies: + "@storybook/core": "workspace:*" svelte: ^4.0.0 || ^5.0.0-next.65 languageName: unknown linkType: soft @@ -7027,26 +6908,17 @@ __metadata: typescript: "npm:^5.3.2" vite: "npm:^4.0.0" peerDependencies: + "@storybook/core": "workspace:*" svelte: ^4.0.0 || ^5.0.0-next.65 vite: ^4.0.0 || ^5.0.0 languageName: unknown linkType: soft -"@storybook/telemetry@workspace:*, @storybook/telemetry@workspace:lib/telemetry": +"@storybook/telemetry@workspace:deprecated/telemetry": version: 0.0.0-use.local - resolution: "@storybook/telemetry@workspace:lib/telemetry" - dependencies: - "@storybook/client-logger": "workspace:*" - "@storybook/core-common": "workspace:*" - "@storybook/csf-tools": "workspace:*" - chalk: "npm:^4.1.0" - detect-package-manager: "npm:^2.0.1" - fetch-retry: "npm:^5.0.2" - fs-extra: "npm:^11.1.0" - nanoid: "npm:^4.0.2" - node-fetch: "npm:^3.3.1" - read-pkg-up: "npm:^7.0.1" - typescript: "npm:^5.3.2" + resolution: "@storybook/telemetry@workspace:deprecated/telemetry" + peerDependencies: + "@storybook/core": "*" languageName: unknown linkType: soft @@ -7054,10 +6926,6 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/test@workspace:lib/test" dependencies: - "@storybook/client-logger": "workspace:*" - "@storybook/core-events": "workspace:*" - "@storybook/instrumenter": "workspace:*" - "@storybook/preview-api": "workspace:*" "@testing-library/dom": "npm:^9.3.4" "@testing-library/jest-dom": "npm:^6.4.2" "@testing-library/user-event": "npm:^14.5.2" @@ -7069,6 +6937,8 @@ __metadata: type-fest: "npm:~2.19" typescript: "npm:^5.3.2" util: "npm:^0.12.4" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -7092,7 +6962,6 @@ __metadata: "@emotion/react": "npm:^11.11.4" "@emotion/styled": "npm:^11.11.0" "@emotion/use-insertion-effect-with-fallbacks": "npm:^1.0.1" - "@storybook/client-logger": "workspace:*" "@storybook/global": "npm:^5.0.0" "@types/fs-extra": "npm:^11.0.1" "@types/node": "npm:^18.0.0" @@ -7103,6 +6972,7 @@ __metadata: ts-dedent: "npm:^2.0.0" typescript: "npm:^5.3.2" peerDependencies: + "@storybook/core": "workspace:*" react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: @@ -7113,17 +6983,11 @@ __metadata: languageName: unknown linkType: soft -"@storybook/types@workspace:*, @storybook/types@workspace:lib/types": +"@storybook/types@workspace:deprecated/types": version: 0.0.0-use.local - resolution: "@storybook/types@workspace:lib/types" - dependencies: - "@storybook/channels": "workspace:*" - "@storybook/csf": "npm:^0.1.6" - "@types/express": "npm:^4.7.0" - "@types/fs-extra": "npm:^11.0.1" - "@types/node": "npm:^18.0.0" - file-system-cache: "npm:2.3.0" - typescript: "npm:^5.3.2" + resolution: "@storybook/types@workspace:deprecated/types" + peerDependencies: + "@storybook/core": "*" languageName: unknown linkType: soft @@ -7143,6 +7007,7 @@ __metadata: vue-component-meta: "npm:^1.8.27" vue-docgen-api: "npm:^4.75.1" peerDependencies: + "@storybook/core": "workspace:*" vite: ^4.0.0 || ^5.0.0 languageName: unknown linkType: soft @@ -7152,7 +7017,6 @@ __metadata: resolution: "@storybook/vue3-webpack5@workspace:frameworks/vue3-webpack5" dependencies: "@storybook/builder-webpack5": "workspace:*" - "@storybook/core-common": "workspace:*" "@storybook/preset-vue3-webpack": "workspace:*" "@storybook/vue3": "workspace:*" "@types/node": "npm:^18.0.0" @@ -7160,6 +7024,7 @@ __metadata: typescript: "npm:^5.3.2" vue: "npm:3.0.0" peerDependencies: + "@storybook/core": "workspace:*" "@vue/compiler-sfc": ^3.0.0 vue: ^3.0.0 languageName: unknown @@ -7172,8 +7037,6 @@ __metadata: "@digitak/esrun": "npm:^3.2.2" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" - "@storybook/preview-api": "workspace:*" - "@storybook/types": "workspace:*" "@testing-library/vue": "npm:^8.0.0" "@types/prettier": "npm:^3.0.0" "@vitejs/plugin-vue": "npm:^4.4.0" @@ -7186,6 +7049,7 @@ __metadata: vue-component-type-helpers: "npm:latest" vue-tsc: "npm:latest" peerDependencies: + "@storybook/core": "workspace:*" vue: ^3.0.0 languageName: unknown linkType: soft @@ -7196,11 +7060,12 @@ __metadata: dependencies: "@storybook/builder-vite": "workspace:*" "@storybook/core-server": "workspace:*" - "@storybook/node-logger": "workspace:*" "@storybook/web-components": "workspace:*" "@types/node": "npm:^18.0.0" magic-string: "npm:^0.30.0" typescript: "npm:^5.3.2" + peerDependencies: + "@storybook/core": "workspace:*" languageName: unknown linkType: soft @@ -7209,12 +7074,12 @@ __metadata: resolution: "@storybook/web-components-webpack5@workspace:frameworks/web-components-webpack5" dependencies: "@storybook/builder-webpack5": "workspace:*" - "@storybook/core-common": "workspace:*" "@storybook/web-components": "workspace:*" "@types/node": "npm:^18.0.0" lit: "npm:2.3.1" typescript: "npm:^5.3.2" peerDependencies: + "@storybook/core": "workspace:*" lit: ^2.0.0 || ^3.0.0 languageName: unknown linkType: soft @@ -7223,12 +7088,9 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/web-components@workspace:renderers/web-components" dependencies: - "@storybook/client-logger": "workspace:*" "@storybook/docs-tools": "workspace:*" "@storybook/global": "npm:^5.0.0" "@storybook/manager-api": "workspace:*" - "@storybook/preview-api": "workspace:*" - "@storybook/types": "workspace:*" "@types/cross-spawn": "npm:^6.0.2" "@types/node": "npm:^18.0.0" cross-spawn: "npm:^7.0.3" @@ -7238,6 +7100,7 @@ __metadata: typescript: "npm:^5.3.2" web-component-analyzer: "npm:^1.1.6" peerDependencies: + "@storybook/core": "workspace:*" lit: ^2.0.0 || ^3.0.0 languageName: unknown linkType: soft @@ -7649,6 +7512,15 @@ __metadata: languageName: node linkType: hard +"@types/bun@npm:^1.1.1": + version: 1.1.1 + resolution: "@types/bun@npm:1.1.1" + dependencies: + bun-types: "npm:1.1.6" + checksum: 10c0/855433da8b1d448fdb6b121a201d74106a59f6786c4896d0fa9a2569bf0428f99bbd7fa7f1c05bdc46a205ea783d27aad776a3a357f851a3528ab32e8601792d + languageName: node + linkType: hard + "@types/cacheable-request@npm:^6.0.1": version: 6.0.3 resolution: "@types/cacheable-request@npm:6.0.3" @@ -7855,6 +7727,15 @@ __metadata: languageName: node linkType: hard +"@types/find-cache-dir@npm:^5.0.0": + version: 5.0.0 + resolution: "@types/find-cache-dir@npm:5.0.0" + dependencies: + find-cache-dir: "npm:*" + checksum: 10c0/46963af8168909e70c824f11d7d8ee9915bdaebcc5e4c5a69d17c6932a07f9cb8041320f8ee3f10f99f9bded705e271107bfc3aaca39b6ea02c864efcd60d2ab + languageName: node + linkType: hard + "@types/find-package-json@npm:^1.2.6": version: 1.2.6 resolution: "@types/find-package-json@npm:1.2.6" @@ -7864,6 +7745,16 @@ __metadata: languageName: node linkType: hard +"@types/fs-extra@npm:11.0.1": + version: 11.0.1 + resolution: "@types/fs-extra@npm:11.0.1" + dependencies: + "@types/jsonfile": "npm:*" + "@types/node": "npm:*" + checksum: 10c0/a65f1fae47849fe1a17441dcabc9400390303405972ff3cbb3578746cea8916b23d5e7652bf57a87767f75a9b2f37caac499b78b5230ae08fef0ba58b34c3a85 + languageName: node + linkType: hard + "@types/fs-extra@npm:^11.0.1": version: 11.0.4 resolution: "@types/fs-extra@npm:11.0.4" @@ -8181,12 +8072,19 @@ __metadata: languageName: node linkType: hard -"@types/npmlog@npm:^4.1.2": - version: 4.1.6 - resolution: "@types/npmlog@npm:4.1.6" +"@types/normalize-package-data@npm:^2.4.3": + version: 2.4.4 + resolution: "@types/normalize-package-data@npm:2.4.4" + checksum: 10c0/aef7bb9b015883d6f4119c423dd28c4bdc17b0e8a0ccf112c78b4fe0e91fbc4af7c6204b04bba0e199a57d2f3fbbd5b4a14bf8739bf9d2a39b2a0aad545e0f86 + languageName: node + linkType: hard + +"@types/npmlog@npm:^7.0.0": + version: 7.0.0 + resolution: "@types/npmlog@npm:7.0.0" dependencies: "@types/node": "npm:*" - checksum: 10c0/432bfb14b29a383e095e099b2ddff4266051b43bc6c7ea242d10194acde2f1181a1e967bbb543f07979dd77743ead1954abac1128ec78cc2b86a5f7ea841ddcb + checksum: 10c0/e94cb1d7dc6b1251d58d0a3cbf0c5b9e9b7c7649774cf816b9277fc10e1a09e65f2854357c4972d04d477f8beca3c8accb5e8546d594776e59e35ddfee79aff2 languageName: node linkType: hard @@ -8258,6 +8156,15 @@ __metadata: languageName: node linkType: hard +"@types/ramda@npm:0.29.3": + version: 0.29.3 + resolution: "@types/ramda@npm:0.29.3" + dependencies: + types-ramda: "npm:^0.29.4" + checksum: 10c0/9c62a4600f5df5e65a01ffe4a470500c98f7c0d093fde47e0d4257675f1ec50effe4696cb004a6b53227948db67ea26a2345dbc91819ecc868105c0f64cecd1e + languageName: node + linkType: hard + "@types/range-parser@npm:*": version: 1.2.5 resolution: "@types/range-parser@npm:1.2.5" @@ -8546,7 +8453,7 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:^8, @types/ws@npm:^8.5.5": +"@types/ws@npm:^8, @types/ws@npm:^8.5.5, @types/ws@npm:~8.5.10": version: 8.5.10 resolution: "@types/ws@npm:8.5.10" dependencies: @@ -9894,14 +9801,14 @@ __metadata: languageName: node linkType: hard -"ansi-to-html@npm:^0.6.11": - version: 0.6.15 - resolution: "ansi-to-html@npm:0.6.15" +"ansi-to-html@npm:^0.7.2": + version: 0.7.2 + resolution: "ansi-to-html@npm:0.7.2" dependencies: - entities: "npm:^2.0.0" + entities: "npm:^2.2.0" bin: ansi-to-html: bin/ansi-to-html - checksum: 10c0/50fa836c3bec74b5f3d8ea630a86cad972e6463203be30171ed65073afa5f3e70946de2d0e129eb5cab391b489e99972aab3aa4fded3da45c4bd7c265bfae6f5 + checksum: 10c0/031da78f716e7c6b0e391c64f7bc5e95f2d37123dcc3237d8c592dc35830dd0da05e0c3f3e3f8179856cfe5fd85c689d2ad85024b71b50014da9ef6e8fa021cf languageName: node linkType: hard @@ -9929,16 +9836,6 @@ __metadata: languageName: node linkType: hard -"are-we-there-yet@npm:^2.0.0": - version: 2.0.0 - resolution: "are-we-there-yet@npm:2.0.0" - dependencies: - delegates: "npm:^1.0.0" - readable-stream: "npm:^3.6.0" - checksum: 10c0/375f753c10329153c8d66dc95e8f8b6c7cc2aa66e05cb0960bd69092b10dae22900cacc7d653ad11d26b3ecbdbfe1e8bfb6ccf0265ba8077a7d979970f16b99c - languageName: node - linkType: hard - "are-we-there-yet@npm:^3.0.0": version: 3.0.1 resolution: "are-we-there-yet@npm:3.0.1" @@ -9949,6 +9846,13 @@ __metadata: languageName: node linkType: hard +"are-we-there-yet@npm:^4.0.0": + version: 4.0.2 + resolution: "are-we-there-yet@npm:4.0.2" + checksum: 10c0/376204f6f07ee7a5f081f5043c92c4c39fd9984278486e0c7c60e74cfc61dc206d2363a2086610f6b95399d9dc3c193cec1832d0ce10666d567f64571c2dedf5 + languageName: node + linkType: hard + "arg@npm:^4.1.0": version: 4.1.3 resolution: "arg@npm:4.1.3" @@ -11296,6 +11200,16 @@ __metadata: languageName: node linkType: hard +"bun-types@npm:1.1.6": + version: 1.1.6 + resolution: "bun-types@npm:1.1.6" + dependencies: + "@types/node": "npm:~20.11.3" + "@types/ws": "npm:~8.5.10" + checksum: 10c0/dae94fd68f432bb10af029202e004681fab0b96df8946556984a1c3012b31b3aa37b422325a51363a3eee34f100126311ae11b98f1599331afdb70a185e1229b + languageName: node + linkType: hard + "busboy@npm:1.6.0": version: 1.6.0 resolution: "busboy@npm:1.6.0" @@ -12051,7 +11965,7 @@ __metadata: languageName: node linkType: hard -"color-support@npm:^1.1.2, color-support@npm:^1.1.3": +"color-support@npm:^1.1.3": version: 1.1.3 resolution: "color-support@npm:1.1.3" bin: @@ -12294,7 +12208,7 @@ __metadata: languageName: node linkType: hard -"console-control-strings@npm:^1.0.0, console-control-strings@npm:^1.1.0": +"console-control-strings@npm:^1.1.0": version: 1.1.0 resolution: "console-control-strings@npm:1.1.0" checksum: 10c0/7ab51d30b52d461412cd467721bb82afe695da78fff8f29fe6f6b9cbaac9a2328e27a22a966014df9532100f6dd85370460be8130b9c677891ba36d96a343f50 @@ -13218,12 +13132,12 @@ __metadata: languageName: node linkType: hard -"detect-package-manager@npm:^2.0.1": - version: 2.0.1 - resolution: "detect-package-manager@npm:2.0.1" +"detect-package-manager@npm:^3.0.2": + version: 3.0.2 + resolution: "detect-package-manager@npm:3.0.2" dependencies: execa: "npm:^5.1.1" - checksum: 10c0/56ffd65228d1ff3ead5ea7f8ab951a517a29270de27510b790c9a8b77d4f36efbd61493e170ca77ee3dc13cbb5218583ce65b78ad14a59dc48565c9bcbbf3c71 + checksum: 10c0/855a8ccd12ea8df19d9c7170e3180592ba6a0826c9d764e6426f115444f918e69724ca38b79121b9cea27a492effc9c8de1c25ff980997252379a7e4d9722569 languageName: node linkType: hard @@ -13886,7 +13800,7 @@ __metadata: languageName: node linkType: hard -"entities@npm:^2.0.0": +"entities@npm:^2.0.0, entities@npm:^2.2.0": version: 2.2.0 resolution: "entities@npm:2.2.0" checksum: 10c0/7fba6af1f116300d2ba1c5673fc218af1961b20908638391b4e1e6d5850314ee2ac3ec22d741b3a8060479911c99305164aed19b6254bde75e7e6b1b2c3f3aa3 @@ -15267,10 +15181,10 @@ __metadata: languageName: node linkType: hard -"fetch-retry@npm:^5.0.2": - version: 5.0.6 - resolution: "fetch-retry@npm:5.0.6" - checksum: 10c0/349f50db631039630e915f70c763469cb696f3ac92ca6f63823109334a2bc62f63670b8c5a5c7e0195c39df517e60ef385cc5264f4c4904d0c6707d371fa8999 +"fetch-retry@npm:^6.0.0": + version: 6.0.0 + resolution: "fetch-retry@npm:6.0.0" + checksum: 10c0/8e275b042ff98041236d30b71966f24c34ff19f957bb0f00e664754bd63d0dfb5122d091e7d5bca21f6370d88a1713d22421b33471305d7b86d6799427278802 languageName: node linkType: hard @@ -15292,13 +15206,15 @@ __metadata: languageName: node linkType: hard -"file-system-cache@npm:2.3.0": - version: 2.3.0 - resolution: "file-system-cache@npm:2.3.0" +"file-system-cache@npm:^2.4.4": + version: 2.4.4 + resolution: "file-system-cache@npm:2.4.4" dependencies: + "@types/fs-extra": "npm:11.0.1" + "@types/ramda": "npm:0.29.3" fs-extra: "npm:11.1.1" ramda: "npm:0.29.0" - checksum: 10c0/43de19f0db32e6546bb7abeecb1d6ea83c1eca23b38905c9415a29f6219cc9d6d87b0c1a6aca92c46a0f1bc276241a339f2f68b8aa0ca5c2eb64b6e1e3e4da01 + checksum: 10c0/274bd9c2f8f81d0c3b2cc0d077807c969b48cac4857ae77f87b4b480548252aa42d3a43b3e9d4bb54df567eb70f0c384782514fcea74b78765543e9496e27e2d languageName: node linkType: hard @@ -15378,6 +15294,16 @@ __metadata: languageName: node linkType: hard +"find-cache-dir@npm:*, find-cache-dir@npm:^5.0.0": + version: 5.0.0 + resolution: "find-cache-dir@npm:5.0.0" + dependencies: + common-path-prefix: "npm:^3.0.0" + pkg-dir: "npm:^7.0.0" + checksum: 10c0/e6403b35aaf862898aefadbe3ee27246583a69adcef21cd79b9262be407d1ac85b21a7e1c1d41712eae39c6d8a8ac297fd78123b5b7aea13f0f046744aa02453 + languageName: node + linkType: hard + "find-cache-dir@npm:^2.0.0": version: 2.1.0 resolution: "find-cache-dir@npm:2.1.0" @@ -15431,6 +15357,13 @@ __metadata: languageName: node linkType: hard +"find-up-simple@npm:^1.0.0": + version: 1.0.0 + resolution: "find-up-simple@npm:1.0.0" + checksum: 10c0/de1ad5e55c8c162f5600fe3297bb55a3da5cd9cb8c6755e463ec1d52c4c15a84e312a68397fb5962d13263b3dbd4ea294668c465ccacc41291d7cc97588769f9 + languageName: node + linkType: hard + "find-up@npm:^2.1.0": version: 2.1.0 resolution: "find-up@npm:2.1.0" @@ -15479,6 +15412,17 @@ __metadata: languageName: node linkType: hard +"find-up@npm:^7.0.0": + version: 7.0.0 + resolution: "find-up@npm:7.0.0" + dependencies: + locate-path: "npm:^7.2.0" + path-exists: "npm:^5.0.0" + unicorn-magic: "npm:^0.1.0" + checksum: 10c0/e6ee3e6154560bc0ab3bc3b7d1348b31513f9bdf49a5dd2e952495427d559fa48cdf33953e85a309a323898b43fa1bfbc8b80c880dfc16068384783034030008 + languageName: node + linkType: hard + "find-versions@npm:^4.0.0": version: 4.0.0 resolution: "find-versions@npm:4.0.0" @@ -15967,36 +15911,35 @@ __metadata: languageName: node linkType: hard -"gauge@npm:^3.0.0": - version: 3.0.2 - resolution: "gauge@npm:3.0.2" +"gauge@npm:^4.0.3": + version: 4.0.4 + resolution: "gauge@npm:4.0.4" dependencies: aproba: "npm:^1.0.3 || ^2.0.0" - color-support: "npm:^1.1.2" - console-control-strings: "npm:^1.0.0" + color-support: "npm:^1.1.3" + console-control-strings: "npm:^1.1.0" has-unicode: "npm:^2.0.1" - object-assign: "npm:^4.1.1" - signal-exit: "npm:^3.0.0" + signal-exit: "npm:^3.0.7" string-width: "npm:^4.2.3" strip-ansi: "npm:^6.0.1" - wide-align: "npm:^1.1.2" - checksum: 10c0/75230ccaf216471e31025c7d5fcea1629596ca20792de50c596eb18ffb14d8404f927cd55535aab2eeecd18d1e11bd6f23ec3c2e9878d2dda1dc74bccc34b913 + wide-align: "npm:^1.1.5" + checksum: 10c0/ef10d7981113d69225135f994c9f8c4369d945e64a8fc721d655a3a38421b738c9fe899951721d1b47b73c41fdb5404ac87cc8903b2ecbed95d2800363e7e58c languageName: node linkType: hard -"gauge@npm:^4.0.3": - version: 4.0.4 - resolution: "gauge@npm:4.0.4" +"gauge@npm:^5.0.0": + version: 5.0.1 + resolution: "gauge@npm:5.0.1" dependencies: aproba: "npm:^1.0.3 || ^2.0.0" color-support: "npm:^1.1.3" console-control-strings: "npm:^1.1.0" has-unicode: "npm:^2.0.1" - signal-exit: "npm:^3.0.7" + signal-exit: "npm:^4.0.1" string-width: "npm:^4.2.3" strip-ansi: "npm:^6.0.1" wide-align: "npm:^1.1.5" - checksum: 10c0/ef10d7981113d69225135f994c9f8c4369d945e64a8fc721d655a3a38421b738c9fe899951721d1b47b73c41fdb5404ac87cc8903b2ecbed95d2800363e7e58c + checksum: 10c0/845f9a2534356cd0e9c1ae590ed471bbe8d74c318915b92a34e8813b8d3441ca8e0eb0fa87a48081e70b63b84d398c5e66a13b8e8040181c10b9d77e9fe3287f languageName: node linkType: hard @@ -17390,6 +17333,13 @@ __metadata: languageName: node linkType: hard +"index-to-position@npm:^0.1.2": + version: 0.1.2 + resolution: "index-to-position@npm:0.1.2" + checksum: 10c0/7c91bde8bafc22684b74a7a24915bee4691cba48352ddb4ebe3b20a3a87bc0fa7a05f586137245ca8f92222a11f341f7631ff7f38cd78a523505d2d02dbfa257 + languageName: node + linkType: hard + "infer-owner@npm:^1.0.4": version: 1.0.4 resolution: "infer-owner@npm:1.0.4" @@ -19231,7 +19181,7 @@ __metadata: languageName: node linkType: hard -"locate-path@npm:^7.1.0": +"locate-path@npm:^7.1.0, locate-path@npm:^7.2.0": version: 7.2.0 resolution: "locate-path@npm:7.2.0" dependencies: @@ -21458,7 +21408,7 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^2.0.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.7": +"node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.7": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" dependencies: @@ -21472,7 +21422,7 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^3.3.1": +"node-fetch@npm:^3.3.1, node-fetch@npm:^3.3.2": version: 3.3.2 resolution: "node-fetch@npm:3.3.2" dependencies: @@ -21797,18 +21747,6 @@ __metadata: languageName: node linkType: hard -"npmlog@npm:^5.0.1": - version: 5.0.1 - resolution: "npmlog@npm:5.0.1" - dependencies: - are-we-there-yet: "npm:^2.0.0" - console-control-strings: "npm:^1.1.0" - gauge: "npm:^3.0.0" - set-blocking: "npm:^2.0.0" - checksum: 10c0/489ba519031013001135c463406f55491a17fc7da295c18a04937fe3a4d523fd65e88dd418a28b967ab743d913fdeba1e29838ce0ad8c75557057c481f7d49fa - languageName: node - linkType: hard - "npmlog@npm:^6.0.0": version: 6.0.2 resolution: "npmlog@npm:6.0.2" @@ -21821,6 +21759,18 @@ __metadata: languageName: node linkType: hard +"npmlog@npm:^7.0.0": + version: 7.0.1 + resolution: "npmlog@npm:7.0.1" + dependencies: + are-we-there-yet: "npm:^4.0.0" + console-control-strings: "npm:^1.1.0" + gauge: "npm:^5.0.0" + set-blocking: "npm:^2.0.0" + checksum: 10c0/d4e6a2aaa7b5b5d2e2ed8f8ac3770789ca0691a49f3576b6a8c97d560a4c3305d2c233a9173d62be737e6e4506bf9e89debd6120a3843c1d37315c34f90fef71 + languageName: node + linkType: hard + "nth-check@npm:^2.0.0, nth-check@npm:^2.0.1": version: 2.1.1 resolution: "nth-check@npm:2.1.1" @@ -22555,6 +22505,17 @@ __metadata: languageName: node linkType: hard +"parse-json@npm:^8.0.0": + version: 8.1.0 + resolution: "parse-json@npm:8.1.0" + dependencies: + "@babel/code-frame": "npm:^7.22.13" + index-to-position: "npm:^0.1.2" + type-fest: "npm:^4.7.1" + checksum: 10c0/39a49acafc1c41a763df2599a826eb77873a44b098a5f2ba548843229b334a16ff9d613d0381328e58031b0afaabc18ed2a01337a6522911ac7a81828df58bcb + languageName: node + linkType: hard + "parse-link-header@npm:^2.0.0": version: 2.0.0 resolution: "parse-link-header@npm:2.0.0" @@ -22956,6 +22917,15 @@ __metadata: languageName: node linkType: hard +"pkg-dir@npm:^8.0.0": + version: 8.0.0 + resolution: "pkg-dir@npm:8.0.0" + dependencies: + find-up-simple: "npm:^1.0.0" + checksum: 10c0/244c6af67540b7eeab823c56f61a6ca414fe48108a484bcb3b0743acc0dfaf106705555c353d65608ccd8ac3d9f696110e9b6bf55ef08f5f6a8d535a72a418e8 + languageName: node + linkType: hard + "pkg-types@npm:^1.0.3": version: 1.0.3 resolution: "pkg-types@npm:1.0.3" @@ -24301,6 +24271,17 @@ __metadata: languageName: node linkType: hard +"read-pkg-up@npm:^11.0.0": + version: 11.0.0 + resolution: "read-pkg-up@npm:11.0.0" + dependencies: + find-up-simple: "npm:^1.0.0" + read-pkg: "npm:^9.0.0" + type-fest: "npm:^4.6.0" + checksum: 10c0/9dfe7b1088d22804e275c235e21d64acdfb81edb73373c9ef2707aae2db8309fd35f6de90f569f0159411c25972c5a321ae6cb6a54ec01e449ce9df0a0b2397a + languageName: node + linkType: hard + "read-pkg-up@npm:^7.0.1": version: 7.0.1 resolution: "read-pkg-up@npm:7.0.1" @@ -24335,6 +24316,19 @@ __metadata: languageName: node linkType: hard +"read-pkg@npm:^9.0.0": + version: 9.0.1 + resolution: "read-pkg@npm:9.0.1" + dependencies: + "@types/normalize-package-data": "npm:^2.4.3" + normalize-package-data: "npm:^6.0.0" + parse-json: "npm:^8.0.0" + type-fest: "npm:^4.6.0" + unicorn-magic: "npm:^0.1.0" + checksum: 10c0/f3e27549dcdb18335597f4125a3d093a40ab0a18c16a6929a1575360ed5d8679b709b4a672730d9abf6aa8537a7f02bae0b4b38626f99409255acbd8f72f9964 + languageName: node + linkType: hard + "readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.1, readable-stream@npm:~2.3.6": version: 2.3.8 resolution: "readable-stream@npm:2.3.8" @@ -25583,6 +25577,8 @@ __metadata: resolution: "sb@workspace:lib/cli-sb" dependencies: "@storybook/cli": "workspace:*" + peerDependencies: + "@storybook/core": "workspace:*" bin: sb: ./index.js languageName: unknown @@ -26507,6 +26503,8 @@ __metadata: resolution: "storybook@workspace:lib/cli-storybook" dependencies: "@storybook/cli": "workspace:*" + peerDependencies: + "@storybook/core": "workspace:*" bin: sb: ./index.js storybook: ./index.js @@ -27695,6 +27693,13 @@ __metadata: languageName: node linkType: hard +"ts-toolbelt@npm:^9.6.0": + version: 9.6.0 + resolution: "ts-toolbelt@npm:9.6.0" + checksum: 10c0/838f9a2f0fe881d5065257a23b402c41315b33ff987b73db3e2b39fcb70640c4c7220e1ef118ed5676763543724fdbf4eda7b0e2c17acb667ed1401336af9f8c + languageName: node + linkType: hard + "tsconfig-paths-webpack-plugin@npm:^4.0.1": version: 4.1.0 resolution: "tsconfig-paths-webpack-plugin@npm:4.1.0" @@ -27878,6 +27883,15 @@ __metadata: languageName: node linkType: hard +"types-ramda@npm:^0.29.4": + version: 0.29.10 + resolution: "types-ramda@npm:0.29.10" + dependencies: + ts-toolbelt: "npm:^9.6.0" + checksum: 10c0/cc6439341a60a4f2b49e1ac447c8a0279f161464fd0a204abaa57e90e101772c0b1adc185a7c0715c3836c19594a9ec268c1e5c4394d0e409cb71d141def3963 + languageName: node + linkType: hard + "typescript@npm:^3.8.3": version: 3.9.10 resolution: "typescript@npm:3.9.10" @@ -29688,7 +29702,7 @@ __metadata: languageName: node linkType: hard -"wide-align@npm:^1.1.2, wide-align@npm:^1.1.5": +"wide-align@npm:^1.1.5": version: 1.1.5 resolution: "wide-align@npm:1.1.5" dependencies: diff --git a/docs/snippets/angular/addon-highlight-reset.ts.mdx b/docs/snippets/angular/addon-highlight-reset.ts.mdx index 04fe5864f9fe..e1d6e6e1dae7 100644 --- a/docs/snippets/angular/addon-highlight-reset.ts.mdx +++ b/docs/snippets/angular/addon-highlight-reset.ts.mdx @@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/angular'; import { componentWrapperDecorator } from '@storybook/angular'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT, RESET_HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent.component'; diff --git a/docs/snippets/angular/component-story-highlight-addon.ts.mdx b/docs/snippets/angular/component-story-highlight-addon.ts.mdx index b64a6c96bac7..14895a2ee167 100644 --- a/docs/snippets/angular/component-story-highlight-addon.ts.mdx +++ b/docs/snippets/angular/component-story-highlight-addon.ts.mdx @@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/angular'; import { componentWrapperDecorator } from '@storybook/angular'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent.component'; diff --git a/docs/snippets/angular/highlight-addon-custom-style.ts.mdx b/docs/snippets/angular/highlight-addon-custom-style.ts.mdx index 193a4387e614..69caedd97b85 100644 --- a/docs/snippets/angular/highlight-addon-custom-style.ts.mdx +++ b/docs/snippets/angular/highlight-addon-custom-style.ts.mdx @@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/angular'; import { componentWrapperDecorator } from '@storybook/angular'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent.component'; diff --git a/docs/snippets/common/addon-consume-and-update-globaltype.js.mdx b/docs/snippets/common/addon-consume-and-update-globaltype.js.mdx index b0b63d2259cb..2e44a502d61c 100644 --- a/docs/snippets/common/addon-consume-and-update-globaltype.js.mdx +++ b/docs/snippets/common/addon-consume-and-update-globaltype.js.mdx @@ -3,13 +3,13 @@ import React, { useCallback } from 'react'; -import { FORCE_RE_RENDER } from '@storybook/core-events'; +import { FORCE_RE_RENDER } from '@storybook/core/dist/core-events'; import { useGlobals } from '@storybook/manager-api'; import { IconButton } from '@storybook/components'; import { OutlineIcon } from '@storybook/icons'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; const ExampleToolbar = () => { const [globals, updateGlobals] = useGlobals(); diff --git a/docs/snippets/common/main-config-indexers-jsonstories.ts-4-9.mdx b/docs/snippets/common/main-config-indexers-jsonstories.ts-4-9.mdx index c979d2812e5e..7b3dc4001880 100644 --- a/docs/snippets/common/main-config-indexers-jsonstories.ts-4-9.mdx +++ b/docs/snippets/common/main-config-indexers-jsonstories.ts-4-9.mdx @@ -3,7 +3,7 @@ // Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-vite) import type { StorybookConfig } from '@storybook/your-framework'; -import type { Indexer } from '@storybook/types'; +import type { Indexer } from '@storybook/core/dist/types'; import fs from 'fs/promises'; diff --git a/docs/snippets/common/main-config-indexers-jsonstories.ts.mdx b/docs/snippets/common/main-config-indexers-jsonstories.ts.mdx index c979d2812e5e..7b3dc4001880 100644 --- a/docs/snippets/common/main-config-indexers-jsonstories.ts.mdx +++ b/docs/snippets/common/main-config-indexers-jsonstories.ts.mdx @@ -3,7 +3,7 @@ // Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-vite) import type { StorybookConfig } from '@storybook/your-framework'; -import type { Indexer } from '@storybook/types'; +import type { Indexer } from '@storybook/core/dist/types'; import fs from 'fs/promises'; diff --git a/docs/snippets/common/main-config-indexers-title.ts-4-9.mdx b/docs/snippets/common/main-config-indexers-title.ts-4-9.mdx index b8b55ac1f3fa..4558c958c151 100644 --- a/docs/snippets/common/main-config-indexers-title.ts-4-9.mdx +++ b/docs/snippets/common/main-config-indexers-title.ts-4-9.mdx @@ -3,7 +3,7 @@ // Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-vite) import type { StorybookConfig } from '@storybook/your-framework'; -import type { Indexer } from '@storybook/types'; +import type { Indexer } from '@storybook/core/dist/types'; const combosIndexer: Indexer = { test: /\.stories\.[tj]sx?$/, diff --git a/docs/snippets/common/main-config-indexers-title.ts.mdx b/docs/snippets/common/main-config-indexers-title.ts.mdx index b8b55ac1f3fa..4558c958c151 100644 --- a/docs/snippets/common/main-config-indexers-title.ts.mdx +++ b/docs/snippets/common/main-config-indexers-title.ts.mdx @@ -3,7 +3,7 @@ // Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-vite) import type { StorybookConfig } from '@storybook/your-framework'; -import type { Indexer } from '@storybook/types'; +import type { Indexer } from '@storybook/core/dist/types'; const combosIndexer: Indexer = { test: /\.stories\.[tj]sx?$/, diff --git a/docs/snippets/common/main-config-stories-with-logic.ts.mdx b/docs/snippets/common/main-config-stories-with-logic.ts.mdx index 33937cf12fef..4694c29d3308 100644 --- a/docs/snippets/common/main-config-stories-with-logic.ts.mdx +++ b/docs/snippets/common/main-config-stories-with-logic.ts.mdx @@ -3,7 +3,7 @@ // Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-vite) import type { StorybookConfig } from '@storybook/your-framework'; -import type { StoriesEntry } from '@storybook/types'; +import type { StoriesEntry } from '@storybook/core/dist/types'; async function findStories(): Promise { // your custom logic returns a list of files diff --git a/docs/snippets/common/storybook-addon-use-global.ts.mdx b/docs/snippets/common/storybook-addon-use-global.ts.mdx index 54b4d120c16c..76ad37c57476 100644 --- a/docs/snippets/common/storybook-addon-use-global.ts.mdx +++ b/docs/snippets/common/storybook-addon-use-global.ts.mdx @@ -1,9 +1,9 @@ ```ts // src/withGlobals.ts -import type { Renderer, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/types'; +import type { Renderer, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/core/dist/types'; -import { useEffect, useMemo, useGlobals } from '@storybook/preview-api'; +import { useEffect, useMemo, useGlobals } from '@storybook/core/dist/preview-api'; import { PARAM_KEY } from './constants'; import { clearStyles, addOutlineStyles } from './helpers'; diff --git a/docs/snippets/common/storybook-addons-api-getchannel.js.mdx b/docs/snippets/common/storybook-addons-api-getchannel.js.mdx index bea3162a395e..db2c5b6250f1 100644 --- a/docs/snippets/common/storybook-addons-api-getchannel.js.mdx +++ b/docs/snippets/common/storybook-addons-api-getchannel.js.mdx @@ -3,8 +3,8 @@ import React, { useCallback } from 'react'; -import { FORCE_RE_RENDER } from '@storybook/core-events'; -import { addons } from '@storybook/preview-api'; +import { FORCE_RE_RENDER } from '@storybook/core/dist/core-events'; +import { addons } from '@storybook/core/dist/preview-api'; import { useGlobals } from '@storybook/manager-api'; import { IconButton } from '@storybook/components'; import { OutlineIcon } from '@storybook/icons'; diff --git a/docs/snippets/common/storybook-addons-api-imports.js.mdx b/docs/snippets/common/storybook-addons-api-imports.js.mdx index 43544272d504..087e8aeb129b 100644 --- a/docs/snippets/common/storybook-addons-api-imports.js.mdx +++ b/docs/snippets/common/storybook-addons-api-imports.js.mdx @@ -1,7 +1,7 @@ ```js // my-addon/src/manager.js|ts -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import { useStorybookApi } from '@storybook/manager-api'; ``` diff --git a/docs/snippets/common/storybook-addons-api-makedecorator.js.mdx b/docs/snippets/common/storybook-addons-api-makedecorator.js.mdx index 18d2756412f3..bbdce4350458 100644 --- a/docs/snippets/common/storybook-addons-api-makedecorator.js.mdx +++ b/docs/snippets/common/storybook-addons-api-makedecorator.js.mdx @@ -1,7 +1,7 @@ ```js // my-addon/src/decorator.js|ts -import { makeDecorator } from '@storybook/preview-api'; +import { makeDecorator } from '@storybook/core/dist/preview-api'; export const withAddonDecorator = makeDecorator({ name: 'withSomething', diff --git a/docs/snippets/common/storybook-addons-api-register.js.mdx b/docs/snippets/common/storybook-addons-api-register.js.mdx index 02ad360254d7..fa825b5ce138 100644 --- a/docs/snippets/common/storybook-addons-api-register.js.mdx +++ b/docs/snippets/common/storybook-addons-api-register.js.mdx @@ -1,7 +1,7 @@ ```js // my-addon/src/manager.js|ts -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; // Register the addon with a unique name. addons.register('my-organisation/my-addon', (api) => {}); diff --git a/docs/snippets/common/storybook-addons-api-usechannel.js.mdx b/docs/snippets/common/storybook-addons-api-usechannel.js.mdx index dd6d238d1c48..9f2de9c9e256 100644 --- a/docs/snippets/common/storybook-addons-api-usechannel.js.mdx +++ b/docs/snippets/common/storybook-addons-api-usechannel.js.mdx @@ -5,7 +5,7 @@ import React from 'react'; import { AddonPanel, Button } from '@storybook/components'; -import { STORY_CHANGED } from '@storybook/core-events'; +import { STORY_CHANGED } from '@storybook/core/dist/core-events'; import { useChannel } from '@storybook/manager-api'; diff --git a/docs/snippets/common/storybook-addons-preset-preview.ts.mdx b/docs/snippets/common/storybook-addons-preset-preview.ts.mdx index d12ef155f0cb..3ea337dbdc08 100644 --- a/docs/snippets/common/storybook-addons-preset-preview.ts.mdx +++ b/docs/snippets/common/storybook-addons-preset-preview.ts.mdx @@ -1,7 +1,7 @@ ```ts // example-addon/src/preview.ts -import type { Renderer, ProjectAnnotations } from '@storybook/types'; +import type { Renderer, ProjectAnnotations } from '@storybook/core/dist/types'; import { PARAM_KEY } from './constants'; import { CustomDecorator } from './decorators'; diff --git a/docs/snippets/common/storybook-builder-api-preview-exports.ts.mdx b/docs/snippets/common/storybook-builder-api-preview-exports.ts.mdx index 2d5562727ede..05fedcfbe3d9 100644 --- a/docs/snippets/common/storybook-builder-api-preview-exports.ts.mdx +++ b/docs/snippets/common/storybook-builder-api-preview-exports.ts.mdx @@ -29,7 +29,7 @@ export async function generateIframeScriptCode(options: ExtendedOptions) { addArgTypesEnhancer, addArgsEnhancer, setGlobalRender - } from '@storybook/preview-api'; + } from '@storybook/core/dist/preview-api'; import { logger } from '@storybook/client-logger'; ${absoluteFilesToImport(configEntries, 'config')} import * as preview from '${virtualPreviewFile}'; diff --git a/docs/snippets/common/storybook-client-preview.ts.mdx b/docs/snippets/common/storybook-client-preview.ts.mdx index 301fb4d52d8f..28bb08b085a0 100644 --- a/docs/snippets/common/storybook-client-preview.ts.mdx +++ b/docs/snippets/common/storybook-client-preview.ts.mdx @@ -1,7 +1,7 @@ ```ts // your-framework/src/client/preview/index.ts -import { start } from '@storybook/preview-api'; +import { start } from '@storybook/core/dist/preview-api'; import './globals'; diff --git a/docs/snippets/common/storybook-preview-sort-function.ts.mdx b/docs/snippets/common/storybook-preview-sort-function.ts.mdx index a0054ba7b8cd..0b46c4ff5a52 100644 --- a/docs/snippets/common/storybook-preview-sort-function.ts.mdx +++ b/docs/snippets/common/storybook-preview-sort-function.ts.mdx @@ -7,7 +7,7 @@ import { Preview } from '@storybook/your-framework'; const preview: Preview = { parameters: { options: { - // The `a` and `b` arguments in this function have a type of `import('@storybook/types').IndexEntry`. Remember that the function is executed in a JavaScript environment, so use JSDoc for IntelliSense to introspect it. + // The `a` and `b` arguments in this function have a type of `import('@storybook/core/dist/types').IndexEntry`. Remember that the function is executed in a JavaScript environment, so use JSDoc for IntelliSense to introspect it. storySort: (a, b) => a.id === b.id ? 0 : a.id.localeCompare(b.id, undefined, { numeric: true }), }, diff --git a/docs/snippets/react/addon-highlight-reset.js.mdx b/docs/snippets/react/addon-highlight-reset.js.mdx index f969cce998a4..b9ef59a9662f 100644 --- a/docs/snippets/react/addon-highlight-reset.js.mdx +++ b/docs/snippets/react/addon-highlight-reset.js.mdx @@ -1,7 +1,7 @@ ```js // MyComponent.stories.js|jsx -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT, RESET_HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent'; diff --git a/docs/snippets/react/addon-highlight-reset.ts-4-9.mdx b/docs/snippets/react/addon-highlight-reset.ts-4-9.mdx index 07e9f341c064..554d149a830f 100644 --- a/docs/snippets/react/addon-highlight-reset.ts-4-9.mdx +++ b/docs/snippets/react/addon-highlight-reset.ts-4-9.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts|tsx import type { Meta, StoryObj } from '@storybook/react'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT, RESET_HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent'; diff --git a/docs/snippets/react/addon-highlight-reset.ts.mdx b/docs/snippets/react/addon-highlight-reset.ts.mdx index 7ff20b0a39e5..3f7170bbf0f4 100644 --- a/docs/snippets/react/addon-highlight-reset.ts.mdx +++ b/docs/snippets/react/addon-highlight-reset.ts.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts|tsx import type { Meta, StoryObj } from '@storybook/react'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT, RESET_HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent'; diff --git a/docs/snippets/react/component-story-highlight-addon.js.mdx b/docs/snippets/react/component-story-highlight-addon.js.mdx index 9d0f8b146d17..da7289637dea 100644 --- a/docs/snippets/react/component-story-highlight-addon.js.mdx +++ b/docs/snippets/react/component-story-highlight-addon.js.mdx @@ -1,7 +1,7 @@ ```js // MyComponent.stories.js|jsx -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent'; diff --git a/docs/snippets/react/component-story-highlight-addon.ts-4-9.mdx b/docs/snippets/react/component-story-highlight-addon.ts-4-9.mdx index 1d43de9ca1c6..7eb7120e05a9 100644 --- a/docs/snippets/react/component-story-highlight-addon.ts-4-9.mdx +++ b/docs/snippets/react/component-story-highlight-addon.ts-4-9.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts|tsx import type { Meta, StoryObj } from '@storybook/react'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent'; diff --git a/docs/snippets/react/component-story-highlight-addon.ts.mdx b/docs/snippets/react/component-story-highlight-addon.ts.mdx index bed23c3c4ba2..b63706f65a9e 100644 --- a/docs/snippets/react/component-story-highlight-addon.ts.mdx +++ b/docs/snippets/react/component-story-highlight-addon.ts.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts|tsx import type { Meta, StoryObj } from '@storybook/react'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent'; diff --git a/docs/snippets/react/highlight-addon-custom-style.js.mdx b/docs/snippets/react/highlight-addon-custom-style.js.mdx index 18e410be4e1d..180878a0cbe2 100644 --- a/docs/snippets/react/highlight-addon-custom-style.js.mdx +++ b/docs/snippets/react/highlight-addon-custom-style.js.mdx @@ -1,7 +1,7 @@ ```js // MyComponent.stories.js|jsx -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent'; diff --git a/docs/snippets/react/highlight-addon-custom-style.ts-4-9.mdx b/docs/snippets/react/highlight-addon-custom-style.ts-4-9.mdx index 969e2ea13e6e..be834c2db7cd 100644 --- a/docs/snippets/react/highlight-addon-custom-style.ts-4-9.mdx +++ b/docs/snippets/react/highlight-addon-custom-style.ts-4-9.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts|tsx import type { Meta, StoryObj } from '@storybook/react'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent'; diff --git a/docs/snippets/react/highlight-addon-custom-style.ts.mdx b/docs/snippets/react/highlight-addon-custom-style.ts.mdx index ea4534dd16a5..5a98f5fd2020 100644 --- a/docs/snippets/react/highlight-addon-custom-style.ts.mdx +++ b/docs/snippets/react/highlight-addon-custom-style.ts.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts|tsx import type { Meta, StoryObj } from '@storybook/react'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import { MyComponent } from './MyComponent'; diff --git a/docs/snippets/react/page-story-args-within-story.js.mdx b/docs/snippets/react/page-story-args-within-story.js.mdx index 282e81f79cf7..b785f9d01a92 100644 --- a/docs/snippets/react/page-story-args-within-story.js.mdx +++ b/docs/snippets/react/page-story-args-within-story.js.mdx @@ -1,7 +1,7 @@ ```js // my-component/component.stories.js|jsx -import { useArgs } from '@storybook/preview-api'; +import { useArgs } from '@storybook/core/dist/preview-api'; import { Checkbox } from './checkbox'; export default { diff --git a/docs/snippets/react/page-story-args-within-story.ts-4-9.mdx b/docs/snippets/react/page-story-args-within-story.ts-4-9.mdx index 5a23cb8f523e..8fa11817b599 100644 --- a/docs/snippets/react/page-story-args-within-story.ts-4-9.mdx +++ b/docs/snippets/react/page-story-args-within-story.ts-4-9.mdx @@ -2,7 +2,7 @@ // my-component/component.stories.ts|tsx import { StoryObj, Meta } from '@storybook/react'; -import { useArgs } from '@storybook/preview-api'; +import { useArgs } from '@storybook/core/dist/preview-api'; import { Checkbox } from './checkbox'; const meta = { diff --git a/docs/snippets/react/page-story-args-within-story.ts.mdx b/docs/snippets/react/page-story-args-within-story.ts.mdx index 137e37cbf3d6..6d991c8593e8 100644 --- a/docs/snippets/react/page-story-args-within-story.ts.mdx +++ b/docs/snippets/react/page-story-args-within-story.ts.mdx @@ -2,7 +2,7 @@ // my-component/component.stories.ts|tsx import { StoryObj, Meta } from '@storybook/react'; -import { useArgs } from '@storybook/preview-api'; +import { useArgs } from '@storybook/core/dist/preview-api'; import { Checkbox } from './checkbox'; const meta: Meta = { diff --git a/docs/snippets/vue/addon-highlight-reset.js.mdx b/docs/snippets/vue/addon-highlight-reset.js.mdx index 18cbab4e2dc6..e8fb3475bc51 100644 --- a/docs/snippets/vue/addon-highlight-reset.js.mdx +++ b/docs/snippets/vue/addon-highlight-reset.js.mdx @@ -1,7 +1,7 @@ ```js // MyComponent.stories.js -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT, RESET_HIGHLIGHT } from '@storybook/addon-highlight'; import MyComponent from './MyComponent.vue'; diff --git a/docs/snippets/vue/addon-highlight-reset.ts-4-9.mdx b/docs/snippets/vue/addon-highlight-reset.ts-4-9.mdx index a20717cd633d..dd84900cd04e 100644 --- a/docs/snippets/vue/addon-highlight-reset.ts-4-9.mdx +++ b/docs/snippets/vue/addon-highlight-reset.ts-4-9.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts import type { Meta, StoryObj } from '@storybook/vue3'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT, RESET_HIGHLIGHT } from '@storybook/addon-highlight'; import MyComponent from './MyComponent.vue'; diff --git a/docs/snippets/vue/addon-highlight-reset.ts.mdx b/docs/snippets/vue/addon-highlight-reset.ts.mdx index be52b73a62ac..3ccf37ade1ea 100644 --- a/docs/snippets/vue/addon-highlight-reset.ts.mdx +++ b/docs/snippets/vue/addon-highlight-reset.ts.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts import type { Meta, StoryObj } from '@storybook/vue3'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT, RESET_HIGHLIGHT } from '@storybook/addon-highlight'; import MyComponent from './MyComponent.vue'; diff --git a/docs/snippets/vue/component-story-highlight-addon.js.mdx b/docs/snippets/vue/component-story-highlight-addon.js.mdx index 3781ac9d3fc5..ed5d4b70bfe5 100644 --- a/docs/snippets/vue/component-story-highlight-addon.js.mdx +++ b/docs/snippets/vue/component-story-highlight-addon.js.mdx @@ -1,7 +1,7 @@ ```js // MyComponent.stories.js -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import MyComponent from './MyComponent.vue'; diff --git a/docs/snippets/vue/component-story-highlight-addon.ts-4-9.mdx b/docs/snippets/vue/component-story-highlight-addon.ts-4-9.mdx index 4c16542861a9..7f5bba359d26 100644 --- a/docs/snippets/vue/component-story-highlight-addon.ts-4-9.mdx +++ b/docs/snippets/vue/component-story-highlight-addon.ts-4-9.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts import type { Meta, StoryObj } from '@storybook/vue3'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import MyComponent from './MyComponent.vue'; diff --git a/docs/snippets/vue/component-story-highlight-addon.ts.mdx b/docs/snippets/vue/component-story-highlight-addon.ts.mdx index 4e7cec8c0a87..b46044dee5c0 100644 --- a/docs/snippets/vue/component-story-highlight-addon.ts.mdx +++ b/docs/snippets/vue/component-story-highlight-addon.ts.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts import type { Meta, StoryObj } from '@storybook/vue3'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import MyComponent from './MyComponent.vue'; diff --git a/docs/snippets/vue/highlight-addon-custom-style.js.mdx b/docs/snippets/vue/highlight-addon-custom-style.js.mdx index 443a8476a384..ecc1d7994c66 100644 --- a/docs/snippets/vue/highlight-addon-custom-style.js.mdx +++ b/docs/snippets/vue/highlight-addon-custom-style.js.mdx @@ -1,7 +1,7 @@ ```js // MyComponent.stories.js -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import MyComponent from './MyComponent.vue'; diff --git a/docs/snippets/vue/highlight-addon-custom-style.ts-4-9.mdx b/docs/snippets/vue/highlight-addon-custom-style.ts-4-9.mdx index 155b04789e73..7c62fd8b26c2 100644 --- a/docs/snippets/vue/highlight-addon-custom-style.ts-4-9.mdx +++ b/docs/snippets/vue/highlight-addon-custom-style.ts-4-9.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts import type { Meta, StoryObj } from '@storybook/vue3'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import MyComponent from './MyComponent.vue'; diff --git a/docs/snippets/vue/highlight-addon-custom-style.ts.mdx b/docs/snippets/vue/highlight-addon-custom-style.ts.mdx index 4bd686676206..fbe66c471fcc 100644 --- a/docs/snippets/vue/highlight-addon-custom-style.ts.mdx +++ b/docs/snippets/vue/highlight-addon-custom-style.ts.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts import type { Meta, StoryObj } from '@storybook/vue3'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import MyComponent from './MyComponent.vue'; diff --git a/docs/snippets/web-components/addon-highlight-reset.js.mdx b/docs/snippets/web-components/addon-highlight-reset.js.mdx index 120eb341e106..3608c1b526cd 100644 --- a/docs/snippets/web-components/addon-highlight-reset.js.mdx +++ b/docs/snippets/web-components/addon-highlight-reset.js.mdx @@ -1,7 +1,7 @@ ```js // MyComponent.stories.js -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT, RESET_HIGHLIGHT } from '@storybook/addon-highlight'; export default { diff --git a/docs/snippets/web-components/addon-highlight-reset.ts.mdx b/docs/snippets/web-components/addon-highlight-reset.ts.mdx index f6f3fc849ceb..30c1ba0caa26 100644 --- a/docs/snippets/web-components/addon-highlight-reset.ts.mdx +++ b/docs/snippets/web-components/addon-highlight-reset.ts.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts import type { Meta, StoryObj } from '@storybook/web-components'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT, RESET_HIGHLIGHT } from '@storybook/addon-highlight'; const meta: Meta = { diff --git a/docs/snippets/web-components/component-story-highlight-addon.js.mdx b/docs/snippets/web-components/component-story-highlight-addon.js.mdx index cfa00a6804a7..6f9c0d20d744 100644 --- a/docs/snippets/web-components/component-story-highlight-addon.js.mdx +++ b/docs/snippets/web-components/component-story-highlight-addon.js.mdx @@ -1,7 +1,7 @@ ```js // MyComponent.stories.js -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; export default { diff --git a/docs/snippets/web-components/component-story-highlight-addon.ts.mdx b/docs/snippets/web-components/component-story-highlight-addon.ts.mdx index 620d112c1967..4c158318fff5 100644 --- a/docs/snippets/web-components/component-story-highlight-addon.ts.mdx +++ b/docs/snippets/web-components/component-story-highlight-addon.ts.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts import type { Meta, StoryObj } from '@storybook/web-components'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; const meta: Meta = { diff --git a/docs/snippets/web-components/highlight-addon-custom-style.js.mdx b/docs/snippets/web-components/highlight-addon-custom-style.js.mdx index 0f2ffb53cb41..88e94549c794 100644 --- a/docs/snippets/web-components/highlight-addon-custom-style.js.mdx +++ b/docs/snippets/web-components/highlight-addon-custom-style.js.mdx @@ -1,7 +1,7 @@ ```js // MyComponent.stories.js -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; export default { diff --git a/docs/snippets/web-components/highlight-addon-custom-style.ts.mdx b/docs/snippets/web-components/highlight-addon-custom-style.ts.mdx index c8b4958a57b1..efaa36a6bda6 100644 --- a/docs/snippets/web-components/highlight-addon-custom-style.ts.mdx +++ b/docs/snippets/web-components/highlight-addon-custom-style.ts.mdx @@ -2,7 +2,7 @@ // MyComponent.stories.ts import type { Meta, StoryObj } from '@storybook/web-components'; -import { useChannel } from '@storybook/preview-api'; +import { useChannel } from '@storybook/core/dist/preview-api'; import { HIGHLIGHT } from '@storybook/addon-highlight'; const meta: Meta = { diff --git a/scripts/event-log-checker.ts b/scripts/event-log-checker.ts index 849c5d0cf140..ea434d83ba81 100644 --- a/scripts/event-log-checker.ts +++ b/scripts/event-log-checker.ts @@ -1,10 +1,9 @@ -/* eslint-disable jest/no-export, jest/expect-expect, no-console */ import chalk from 'chalk'; import assert from 'assert'; import fetch from 'node-fetch'; import { esMain } from './utils/esmain'; import { allTemplates } from '../code/lib/cli/src/sandbox-templates'; -import versions from '../code/lib/core-common/src/versions'; +import versions from '../code/core/src/common/versions'; import { oneWayHash } from '../code/lib/telemetry/src/one-way-hash'; const PORT = process.env.PORT || 6007; diff --git a/scripts/package.json b/scripts/package.json index bf44133234b4..2bb2ecade6c8 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -121,6 +121,7 @@ "danger": "^11.2.6", "dataloader": "^2.2.2", "detect-port": "^1.3.0", + "dts-bundle-generator": "^9.5.1", "ejs": "^3.1.8", "ejs-lint": "^2.0.0", "esbuild": "^0.20.1", @@ -175,8 +176,9 @@ "tiny-invariant": "^1.3.1", "trash": "^7.0.0", "ts-dedent": "^2.0.0", + "ts-morph": "^22.0.0", "tsup": "^6.7.0", - "type-fest": "~2.19", + "type-fest": "^4.18.1", "typescript": "^5.4.3", "util": "^0.12.4", "uuid": "^9.0.0", diff --git a/scripts/prepare/bundle.ts b/scripts/prepare/bundle.ts index 879e963f44c7..3831e5c5f7b2 100755 --- a/scripts/prepare/bundle.ts +++ b/scripts/prepare/bundle.ts @@ -44,7 +44,10 @@ const run = async ({ cwd, flags }: { cwd: string; flags: string[] }) => { } = (await fs.readJson(join(cwd, 'package.json'))) as PackageJsonWithBundlerConfig; if (pre) { - await exec(`node -r ${__dirname}/../node_modules/esbuild-register/register.js ${pre}`, { cwd }); + await exec( + `node --loader ${__dirname}/../node_modules/esbuild-register/loader.js -r ${__dirname}/../node_modules/esbuild-register/register.js ${pre}`, + { cwd } + ); } const reset = hasFlag(flags, 'reset'); @@ -93,24 +96,25 @@ const run = async ({ cwd, flags }: { cwd: string; flags: string[] }) => { outDir, sourcemap: false, format: ['esm'], - target: ['chrome100', 'safari15', 'firefox91'], + target: platform === 'node' ? ['node18'] : ['chrome100', 'safari15', 'firefox91'], clean: false, ...(dtsBuild === 'esm' ? dtsConfig : {}), platform: platform || 'browser', - esbuildPlugins: [ - aliasPlugin({ - process: path.resolve('../node_modules/process/browser.js'), - util: path.resolve('../node_modules/util/util.js'), - }), - ], + esbuildPlugins: + platform === 'node' + ? [] + : [ + aliasPlugin({ + process: path.resolve('../node_modules/process/browser.js'), + util: path.resolve('../node_modules/util/util.js'), + }), + ], external: externals, esbuildOptions: (c) => { - /* eslint-disable no-param-reassign */ c.conditions = ['module']; c.platform = platform || 'browser'; Object.assign(c, getESBuildOptions(optimized)); - /* eslint-enable no-param-reassign */ }, }) ); @@ -133,10 +137,8 @@ const run = async ({ cwd, flags }: { cwd: string; flags: string[] }) => { external: externals, esbuildOptions: (c) => { - /* eslint-disable no-param-reassign */ c.platform = 'node'; Object.assign(c, getESBuildOptions(optimized)); - /* eslint-enable no-param-reassign */ }, }) ); diff --git a/scripts/prepare/tools.ts b/scripts/prepare/tools.ts new file mode 100644 index 000000000000..cdd7fe40a603 --- /dev/null +++ b/scripts/prepare/tools.ts @@ -0,0 +1,85 @@ +import { join } from 'node:path'; +import * as process from 'node:process'; +import { readFile } from 'node:fs/promises'; +import { glob } from 'glob'; + +import slash from 'slash'; + +import typescript from 'typescript'; +import sortPackageJson from 'sort-package-json'; +import * as tsmorph from 'ts-morph'; +import * as tsup from 'tsup'; +import * as esbuild from 'esbuild'; +import type * as typefest from 'type-fest'; +import * as dts from 'dts-bundle-generator'; +import prettyTime from 'pretty-hrtime'; +import * as prettier from 'prettier'; +import chalk from 'chalk'; +import { dedent } from 'ts-dedent'; +import limit from 'p-limit'; +import { CODE_DIRECTORY } from '../utils/constants'; + +export const defineEntry = + (cwd: string) => + ( + entry: string, + targets: ('node' | 'browser')[], + generateDTS: boolean = true, + externals: string[] = [] + ) => ({ + file: slash(join(cwd, entry)), + node: targets.includes('node'), + browser: targets.includes('browser'), + dts: generateDTS, + externals, + }); + +export const merge = >(...objects: T[]): T => + Object.assign({}, ...objects); + +export const measure = async (fn: () => Promise) => { + const start = process.hrtime(); + await fn(); + return process.hrtime(start); +}; + +export { + typescript, + tsmorph, + tsup, + typefest, + process, + esbuild, + dts, + prettyTime, + chalk, + dedent, + limit, + sortPackageJson, + prettier, +}; + +export const nodeInternals = [ + ...require('module').builtinModules.flatMap((m: string) => [m, `node:${m}`]), +]; + +export const getWorkspace = async () => { + const codePackage = JSON.parse(await readFile(join(CODE_DIRECTORY, 'package.json'), 'utf-8')); + const { + workspaces: { packages: patterns }, + } = codePackage; + + const workspaces = await Promise.all( + (patterns as string[]).map(async (pattern: string) => glob(pattern, { cwd: CODE_DIRECTORY })) + ); + + return Promise.all( + workspaces + .flatMap((p) => p.map((i) => join(CODE_DIRECTORY, i))) + .map(async (p) => { + const pkg = JSON.parse(await readFile(join(p, 'package.json'), 'utf-8')); + return { ...pkg, path: p } as typefest.PackageJson & + Required> & { path: string }; + }) + ); +}; diff --git a/scripts/release/version.ts b/scripts/release/version.ts index 687911fafbda..c457e3881869 100644 --- a/scripts/release/version.ts +++ b/scripts/release/version.ts @@ -18,7 +18,10 @@ program '-R, --release-type ', 'Which release type to use to bump the version' ) - .option('-P, --pre-id ', 'Which prerelease identifier to change to, eg. "alpha", "beta", "rc"') + .option( + '-P, --pre-id ', + 'Which prerelease identifier to change to, eg. "alpha", "beta", "rc"' + ) .option( '-E, --exact ', 'Use exact version instead of calculating from current version, eg. "7.2.0-canary.123". Can not be combined with --release-type or --pre-id' @@ -125,7 +128,7 @@ const bumpCodeVersion = async (nextVersion: string) => { const bumpVersionSources = async (currentVersion: string, nextVersion: string) => { const filesToUpdate = [ path.join(CODE_DIR_PATH, 'lib', 'manager-api', 'src', 'version.ts'), - path.join(CODE_DIR_PATH, 'lib', 'core-common', 'src', 'versions.ts'), + path.join(CODE_DIR_PATH, 'core', 'src', 'common', 'versions.ts'), ]; console.log(`🤜 Bumping versions in...:\n ${chalk.cyan(filesToUpdate.join('\n '))}`); diff --git a/scripts/tasks/sandbox-parts.ts b/scripts/tasks/sandbox-parts.ts index bee4513a4326..db563374c256 100644 --- a/scripts/tasks/sandbox-parts.ts +++ b/scripts/tasks/sandbox-parts.ts @@ -25,8 +25,8 @@ import { addWorkaroundResolutions, } from '../utils/yarn'; import { exec } from '../utils/exec'; -import type { ConfigFile } from '../../code/lib/csf-tools/src'; -import { writeConfig } from '../../code/lib/csf-tools/src'; +import type { ConfigFile } from '../../code/core/src/csf-tools'; +import { writeConfig } from '../../code/core/src/csf-tools'; import { filterExistsInCodeDir } from '../utils/filterExistsInCodeDir'; import { findFirstPath } from '../utils/paths'; import { detectLanguage } from '../../code/lib/cli/src/detect'; @@ -37,9 +37,9 @@ import { type JsPackageManager, versions as storybookPackages, JsPackageManagerFactory, -} from '../../code/lib/core-common/src'; +} from '../../code/core/src/common'; import { workspacePath } from '../utils/workspace'; -import { babelParse } from '../../code/lib/csf-tools/src/babelParse'; +import { babelParse } from '../../code/core/src/csf-tools/babelParse'; import { CODE_DIRECTORY, REPROS_DIRECTORY } from '../utils/constants'; import type { TemplateKey } from '../../code/lib/cli/src/sandbox-templates'; @@ -462,11 +462,14 @@ export const addStories: Task['run'] = async ( if (isCoreRenderer) { // Add stories for lib/preview-api (and addons below). NOTE: these stories will be in the // template-stories folder and *not* processed by the framework build config (instead by esbuild-loader) - await linkPackageStories(await workspacePath('core package', '@storybook/preview-api'), { - mainConfig, - cwd, - disableDocs, - }); + await linkPackageStories( + await workspacePath('core package', '@storybook/core/dist/preview-api'), + { + mainConfig, + cwd, + disableDocs, + } + ); await linkPackageStories(await workspacePath('core package', '@storybook/test'), { mainConfig, diff --git a/scripts/utils/main-js.ts b/scripts/utils/main-js.ts index a9517f515617..6c9cd8ff5230 100644 --- a/scripts/utils/main-js.ts +++ b/scripts/utils/main-js.ts @@ -2,9 +2,9 @@ import { existsSync } from 'fs'; import { join, resolve } from 'path'; import slash from 'slash'; -import type { ConfigFile } from '../../code/lib/csf-tools'; -import { readConfig } from '../../code/lib/csf-tools'; -import { getInterpretedFile } from '../../code/lib/core-common'; +import type { ConfigFile } from '../../code/core/src/csf-tools'; +import { readConfig } from '../../code/core/src/csf-tools'; +import { getInterpretedFile } from '../../code/core/src/common'; export async function readMainConfig({ cwd }: { cwd: string }) { const configDir = join(cwd, '.storybook'); diff --git a/scripts/utils/yarn.ts b/scripts/utils/yarn.ts index a2fb82e1fa6a..b3abc726d358 100644 --- a/scripts/utils/yarn.ts +++ b/scripts/utils/yarn.ts @@ -4,7 +4,7 @@ import path from 'path'; import type { TemplateKey } from 'get-template'; import { exec } from './exec'; // TODO -- should we generate this file a second time outside of CLI? -import storybookVersions from '../../code/lib/core-common/src/versions'; +import storybookVersions from '../../code/core/src/common/versions'; import touch from './touch'; export type YarnOptions = { diff --git a/scripts/yarn.lock b/scripts/yarn.lock index fb585cb2070b..b84c5b75ad5f 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -2769,6 +2769,7 @@ __metadata: danger: "npm:^11.2.6" dataloader: "npm:^2.2.2" detect-port: "npm:^1.3.0" + dts-bundle-generator: "npm:^9.5.1" ejs: "npm:^3.1.8" ejs-lint: "npm:^2.0.0" esbuild: "npm:^0.20.1" @@ -2825,8 +2826,9 @@ __metadata: trash: "npm:^7.0.0" ts-dedent: "npm:^2.0.0" ts-loader: "npm:^9.4.2" + ts-morph: "npm:^22.0.0" tsup: "npm:^6.7.0" - type-fest: "npm:~2.19" + type-fest: "npm:^4.18.1" typescript: "npm:^5.4.3" util: "npm:^0.12.4" uuid: "npm:^9.0.0" @@ -2946,6 +2948,18 @@ __metadata: languageName: node linkType: hard +"@ts-morph/common@npm:~0.23.0": + version: 0.23.0 + resolution: "@ts-morph/common@npm:0.23.0" + dependencies: + fast-glob: "npm:^3.3.2" + minimatch: "npm:^9.0.3" + mkdirp: "npm:^3.0.1" + path-browserify: "npm:^1.0.1" + checksum: 10c0/80d8f230618b022537846b515cb928c636004f216821bec7fea289fd37533b4eaa783d276cc5838b4b6be867fec60fdee5795baac3ed98f1ab7cdd6b35a85179 + languageName: node + linkType: hard + "@types/aria-query@npm:^5.0.1": version: 5.0.3 resolution: "@types/aria-query@npm:5.0.3" @@ -5334,6 +5348,13 @@ __metadata: languageName: node linkType: hard +"code-block-writer@npm:^13.0.1": + version: 13.0.1 + resolution: "code-block-writer@npm:13.0.1" + checksum: 10c0/1ca0329032228aab4a8094148bc2b50fd8ff07a0e3f78c11986398951fc51c6bad24bc7236437e639ac95d4c3bb489c2f3c629dc5f21c22a3bca0daa41d64187 + languageName: node + linkType: hard + "codecov@npm:^3.8.1": version: 3.8.2 resolution: "codecov@npm:3.8.2" @@ -6214,6 +6235,18 @@ __metadata: languageName: node linkType: hard +"dts-bundle-generator@npm:^9.5.1": + version: 9.5.1 + resolution: "dts-bundle-generator@npm:9.5.1" + dependencies: + typescript: "npm:>=5.0.2" + yargs: "npm:^17.6.0" + bin: + dts-bundle-generator: dist/bin/dts-bundle-generator.js + checksum: 10c0/3685d3797b6cd252c5a27174a504193469e2a8d82188224767e522e2e8eb03de431107836232a0ac89bcfbc38caa0dcf2ec7fb81716e781185f8ea840b956bc2 + languageName: node + linkType: hard + "duplexer@npm:^0.1.1": version: 0.1.2 resolution: "duplexer@npm:0.1.2" @@ -7364,6 +7397,19 @@ __metadata: languageName: node linkType: hard +"fast-glob@npm:^3.3.2": + version: 3.3.2 + resolution: "fast-glob@npm:3.3.2" + dependencies: + "@nodelib/fs.stat": "npm:^2.0.2" + "@nodelib/fs.walk": "npm:^1.2.3" + glob-parent: "npm:^5.1.2" + merge2: "npm:^1.3.0" + micromatch: "npm:^4.0.4" + checksum: 10c0/42baad7b9cd40b63e42039132bde27ca2cb3a4950d0a0f9abe4639ea1aa9d3e3b40f98b1fe31cbc0cc17b664c9ea7447d911a152fa34ec5b72977b125a6fc845 + languageName: node + linkType: hard + "fast-json-patch@npm:^3.0.0-1": version: 3.1.1 resolution: "fast-json-patch@npm:3.1.1" @@ -10985,6 +11031,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.3": + version: 9.0.4 + resolution: "minimatch@npm:9.0.4" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: 10c0/2c16f21f50e64922864e560ff97c587d15fd491f65d92a677a344e970fe62aafdbeafe648965fa96d33c061b4d0eabfe0213466203dd793367e7f28658cf6414 + languageName: node + linkType: hard + "minimist@npm:^1.0.0, minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.8": version: 1.2.8 resolution: "minimist@npm:1.2.8" @@ -11111,6 +11166,15 @@ __metadata: languageName: node linkType: hard +"mkdirp@npm:^3.0.1": + version: 3.0.1 + resolution: "mkdirp@npm:3.0.1" + bin: + mkdirp: dist/cjs/src/bin.js + checksum: 10c0/9f2b975e9246351f5e3a40dcfac99fcd0baa31fbfab615fe059fb11e51f10e4803c63de1f384c54d656e4db31d000e4767e9ef076a22e12a641357602e31d57d + languageName: node + linkType: hard + "mlly@npm:^1.2.0, mlly@npm:^1.4.2": version: 1.4.2 resolution: "mlly@npm:1.4.2" @@ -11998,6 +12062,13 @@ __metadata: languageName: node linkType: hard +"path-browserify@npm:^1.0.1": + version: 1.0.1 + resolution: "path-browserify@npm:1.0.1" + checksum: 10c0/8b8c3fd5c66bd340272180590ae4ff139769e9ab79522e2eb82e3d571a89b8117c04147f65ad066dccfb42fcad902e5b7d794b3d35e0fd840491a8ddbedf8c66 + languageName: node + linkType: hard + "path-exists@npm:^4.0.0": version: 4.0.0 resolution: "path-exists@npm:4.0.0" @@ -14755,6 +14826,16 @@ __metadata: languageName: node linkType: hard +"ts-morph@npm:^22.0.0": + version: 22.0.0 + resolution: "ts-morph@npm:22.0.0" + dependencies: + "@ts-morph/common": "npm:~0.23.0" + code-block-writer: "npm:^13.0.1" + checksum: 10c0/0275606effaa24f6d8ad3ee9df3bb37c0330be002682f9e9157462b38b949e00fb81e0df20f571e08a0bd06107922eb35022bad5e2fb48ca89fda4299140b5de + languageName: node + linkType: hard + "tsconfig-paths@npm:^3.15.0": version: 3.15.0 resolution: "tsconfig-paths@npm:3.15.0" @@ -14963,6 +15044,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:>=5.0.2": + version: 5.4.5 + resolution: "typescript@npm:5.4.5" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/2954022ada340fd3d6a9e2b8e534f65d57c92d5f3989a263754a78aba549f7e6529acc1921913560a4b816c46dce7df4a4d29f9f11a3dc0d4213bb76d043251e + languageName: node + linkType: hard + "typescript@npm:^5.4.3": version: 5.4.3 resolution: "typescript@npm:5.4.3" @@ -14973,6 +15064,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@npm%3A>=5.0.2#optional!builtin": + version: 5.4.5 + resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9 + languageName: node + linkType: hard + "typescript@patch:typescript@npm%3A^5.4.3#optional!builtin": version: 5.4.3 resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=5adc0c" @@ -16227,7 +16328,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.0.0, yargs@npm:^17.6.2": +"yargs@npm:^17.0.0, yargs@npm:^17.6.0, yargs@npm:^17.6.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: diff --git a/test-storybooks/ember-cli/package.json b/test-storybooks/ember-cli/package.json index 3c31b5fe0d49..f30f463da5c3 100644 --- a/test-storybooks/ember-cli/package.json +++ b/test-storybooks/ember-cli/package.json @@ -31,24 +31,18 @@ "@storybook/builder-manager": "portal:../../code/builders/builder-manager", "@storybook/builder-vite": "portal:../../code/builders/builder-vite", "@storybook/builder-webpack5": "portal:../../code/builders/builder-webpack5", - "@storybook/channels": "portal:../../code/lib/channels", "@storybook/cli": "portal:../../code/lib/cli", - "@storybook/client-logger": "portal:../../code/lib/client-logger", "@storybook/codemod": "portal:../../code/lib/codemod", "@storybook/components": "portal:../../code/lib/components", - "@storybook/core-common": "portal:../../code/lib/core-common", - "@storybook/core-events": "portal:../../code/lib/core-events", + "@storybook/core": "portal:../../code/core", "@storybook/core-server": "portal:../../code/lib/core-server", "@storybook/core-webpack": "portal:../../code/lib/core-webpack", - "@storybook/csf-tools": "portal:../../code/lib/csf-tools", "@storybook/docs-tools": "portal:../../code/lib/docs-tools", "@storybook/ember": "portal:../../code/frameworks/ember", "@storybook/html": "portal:../../code/renderers/html", "@storybook/html-webpack5": "portal:../../code/frameworks/html-webpack5", - "@storybook/instrumenter": "portal:../../code/lib/instrumenter", "@storybook/manager": "portal:../../code/ui/manager", "@storybook/nextjs": "portal:../../code/frameworks/nextjs", - "@storybook/node-logger": "portal:../../code/lib/node-logger", "@storybook/preact": "portal:../../code/renderers/preact", "@storybook/preact-webpack5": "portal:../../code/frameworks/preact-webpack5", "@storybook/preset-html-webpack": "portal:../../code/presets/html-webpack", @@ -61,14 +55,12 @@ "@storybook/react": "portal:../../code/renderers/react", "@storybook/react-vite": "portal:../../code/frameworks/react-vite", "@storybook/react-webpack5": "portal:../../code/frameworks/react-webpack5", - "@storybook/router": "portal:../../code/lib/router", "@storybook/server": "portal:../../code/renderers/server", "@storybook/server-webpack5": "portal:../../code/frameworks/server-webpack5", "@storybook/source-loader": "portal:../../code/lib/source-loader", "@storybook/svelte": "portal:../../code/renderers/svelte", "@storybook/svelte-vite": "portal:../../code/frameworks/svelte-vite", "@storybook/svelte-webpack5": "portal:../../code/frameworks/svelte-webpack5", - "@storybook/telemetry": "portal:../../code/lib/telemetry", "@storybook/theming": "portal:../../code/lib/theming", "@storybook/vue": "portal:../../code/renderers/vue", "@storybook/vue-vite": "portal:../../code/frameworks/vue-vite", diff --git a/test-storybooks/external-docs/package.json b/test-storybooks/external-docs/package.json index a5d118ec0b4c..7b60686f6c5d 100644 --- a/test-storybooks/external-docs/package.json +++ b/test-storybooks/external-docs/package.json @@ -31,25 +31,19 @@ "@storybook/builder-manager": "portal:../../code/builders/builder-manager", "@storybook/builder-vite": "portal:../../code/builders/builder-vite", "@storybook/builder-webpack5": "portal:../../code/builders/builder-webpack5", - "@storybook/channels": "portal:../../code/lib/channels", "@storybook/cli": "portal:../../code/lib/cli", - "@storybook/client-logger": "portal:../../code/lib/client-logger", "@storybook/codemod": "portal:../../code/lib/codemod", "@storybook/components": "portal:../../code/ui/components", - "@storybook/core-common": "portal:../../code/lib/core-common", - "@storybook/core-events": "portal:../../code/lib/core-events", + "@storybook/core": "portal:../../code/core", "@storybook/core-server": "portal:../../code/lib/core-server", "@storybook/core-webpack": "portal:../../code/lib/core-webpack", - "@storybook/csf-tools": "portal:../../code/lib/csf-tools", "@storybook/docs-tools": "portal:../../code/lib/docs-tools", "@storybook/ember": "portal:../../code/frameworks/ember", "@storybook/html": "portal:../../code/renderers/html", "@storybook/html-webpack5": "portal:../../code/frameworks/html-webpack5", - "@storybook/instrumenter": "portal:../../code/lib/instrumenter", "@storybook/manager": "portal:../../code/ui/manager", "@storybook/manager-api": "portal:../../code/lib/manager-api", "@storybook/nextjs": "portal:../../code/frameworks/nextjs", - "@storybook/node-logger": "portal:../../code/lib/node-logger", "@storybook/preact": "portal:../../code/renderers/preact", "@storybook/preact-webpack5": "portal:../../code/frameworks/preact-webpack5", "@storybook/preset-html-webpack": "portal:../../code/presets/html-webpack", @@ -59,18 +53,15 @@ "@storybook/preset-svelte-webpack": "portal:../../code/presets/svelte-webpack", "@storybook/preset-vue3-webpack": "portal:../../code/presets/vue3-webpack", "@storybook/preset-web-components-webpack": "portal:../../code/presets/web-components-webpack", - "@storybook/preview-api": "portal:../../code/lib/preview-api", "@storybook/react": "portal:../../code/renderers/react", "@storybook/react-vite": "portal:../../code/frameworks/react-vite", "@storybook/react-webpack5": "portal:../../code/frameworks/react-webpack5", - "@storybook/router": "portal:../../code/lib/router", "@storybook/server": "portal:../../code/renderers/server", "@storybook/server-webpack5": "portal:../../code/frameworks/server-webpack5", "@storybook/source-loader": "portal:../../code/lib/source-loader", "@storybook/svelte": "portal:../../code/renderers/svelte", "@storybook/svelte-vite": "portal:../../code/frameworks/svelte-vite", "@storybook/svelte-webpack5": "portal:../../code/frameworks/svelte-webpack5", - "@storybook/telemetry": "portal:../../code/lib/telemetry", "@storybook/theming": "portal:../../code/lib/theming", "@storybook/vue": "portal:../../code/renderers/vue", "@storybook/vue-vite": "portal:../../code/frameworks/vue-vite", diff --git a/test-storybooks/portable-stories-kitchen-sink/nextjs/jest.setup.ts b/test-storybooks/portable-stories-kitchen-sink/nextjs/jest.setup.ts index a32cc53cf82a..65a61ffefad9 100644 --- a/test-storybooks/portable-stories-kitchen-sink/nextjs/jest.setup.ts +++ b/test-storybooks/portable-stories-kitchen-sink/nextjs/jest.setup.ts @@ -1,5 +1,5 @@ import '@testing-library/jest-dom'; -import type { ProjectAnnotations } from '@storybook/types'; +import type { ProjectAnnotations } from '@storybook/core/dist/types'; import { ReactRenderer } from '@storybook/react'; import { setProjectAnnotations } from '@storybook/nextjs'; import * as addonInteractions from '@storybook/addon-interactions/preview'; diff --git a/test-storybooks/portable-stories-kitchen-sink/nextjs/package.json b/test-storybooks/portable-stories-kitchen-sink/nextjs/package.json index 072270485f6a..6f573fdd074d 100644 --- a/test-storybooks/portable-stories-kitchen-sink/nextjs/package.json +++ b/test-storybooks/portable-stories-kitchen-sink/nextjs/package.json @@ -65,26 +65,20 @@ "@storybook/builder-manager": "file:../../../code/builders/builder-manager", "@storybook/builder-vite": "file:../../../code/builders/builder-vite", "@storybook/builder-webpack5": "file:../../../code/builders/builder-webpack5", - "@storybook/channels": "file:../../../code/lib/channels", "@storybook/cli": "file:../../../code/lib/cli", - "@storybook/client-logger": "file:../../../code/lib/client-logger", "@storybook/codemod": "file:../../../code/lib/codemod", "@storybook/components": "file:../../../code/ui/components", - "@storybook/core-common": "file:../../../code/lib/core-common", - "@storybook/core-events": "file:../../../code/lib/core-events", + "@storybook/core": "portal:../../code/core", "@storybook/core-server": "file:../../../code/lib/core-server", "@storybook/core-webpack": "file:../../../code/lib/core-webpack", "@storybook/csf-plugin": "file:../../../code/lib/csf-plugin", - "@storybook/csf-tools": "file:../../../code/lib/csf-tools", "@storybook/docs-tools": "file:../../../code/lib/docs-tools", "@storybook/ember": "file:../../../code/frameworks/ember", "@storybook/html": "file:../../../code/renderers/html", "@storybook/html-webpack5": "file:../../../code/frameworks/html-webpack5", - "@storybook/instrumenter": "file:../../../code/lib/instrumenter", "@storybook/manager": "file:../../../code/ui/manager", "@storybook/manager-api": "file:../../../code/lib/manager-api", "@storybook/nextjs": "file:../../../code/frameworks/nextjs", - "@storybook/node-logger": "file:../../../code/lib/node-logger", "@storybook/preact": "file:../../../code/renderers/preact", "@storybook/preact-vite": "file:../../../code/frameworks/preact-vite", "@storybook/preact-webpack5": "file:../../../code/frameworks/preact-webpack5", @@ -96,12 +90,10 @@ "@storybook/preset-svelte-webpack": "file:../../../code/presets/svelte-webpack", "@storybook/preset-vue3-webpack": "file:../../../code/presets/vue3-webpack", "@storybook/preview": "file:../../../code/lib/preview", - "@storybook/preview-api": "file:../../../code/lib/preview-api", "@storybook/react": "file:../../../code/renderers/react", "@storybook/react-dom-shim": "file:../../../code/lib/react-dom-shim", "@storybook/react-vite": "file:../../../code/frameworks/react-vite", "@storybook/react-webpack5": "file:../../../code/frameworks/react-webpack5", - "@storybook/router": "file:../../../code/lib/router", "@storybook/server": "file:../../../code/renderers/server", "@storybook/server-webpack5": "file:../../../code/frameworks/server-webpack5", "@storybook/source-loader": "file:../../../code/lib/source-loader", @@ -109,10 +101,8 @@ "@storybook/svelte-vite": "file:../../../code/frameworks/svelte-vite", "@storybook/svelte-webpack5": "file:../../../code/frameworks/svelte-webpack5", "@storybook/sveltekit": "file:../../../code/frameworks/sveltekit", - "@storybook/telemetry": "file:../../../code/lib/telemetry", "@storybook/test": "file:../../../code/lib/test", "@storybook/theming": "file:../../../code/lib/theming", - "@storybook/types": "file:../../../code/lib/types", "@storybook/vue3": "file:../../../code/renderers/vue3", "@storybook/vue3-vite": "file:../../../code/frameworks/vue3-vite", "@storybook/vue3-webpack5": "file:../../../code/frameworks/vue3-webpack5", @@ -122,4 +112,4 @@ "sb": "file:../../../code/lib/cli-sb", "storybook": "file:../../../code/lib/cli-storybook" } -} +} \ No newline at end of file diff --git a/test-storybooks/portable-stories-kitchen-sink/react/cypress/support/component.ts b/test-storybooks/portable-stories-kitchen-sink/react/cypress/support/component.ts index 6da9a05cb48e..ac90b07df834 100644 --- a/test-storybooks/portable-stories-kitchen-sink/react/cypress/support/component.ts +++ b/test-storybooks/portable-stories-kitchen-sink/react/cypress/support/component.ts @@ -19,7 +19,7 @@ import './commands' import { mount } from 'cypress/react18' -import type { ProjectAnnotations } from '@storybook/types'; +import type { ProjectAnnotations } from '@storybook/core/dist/types'; import { ReactRenderer, setProjectAnnotations } from '@storybook/react'; import sbAnnotations from '../../.storybook/preview'; import * as addonInteractions from '@storybook/addon-interactions/preview'; diff --git a/test-storybooks/portable-stories-kitchen-sink/react/jest.setup.ts b/test-storybooks/portable-stories-kitchen-sink/react/jest.setup.ts index 91b546e5f4f9..7577c01a27aa 100644 --- a/test-storybooks/portable-stories-kitchen-sink/react/jest.setup.ts +++ b/test-storybooks/portable-stories-kitchen-sink/react/jest.setup.ts @@ -1,5 +1,5 @@ import '@testing-library/jest-dom'; -import type { ProjectAnnotations } from '@storybook/types'; +import type { ProjectAnnotations } from '@storybook/core/dist/types'; import { ReactRenderer, setProjectAnnotations } from '@storybook/react'; import sbAnnotations from './.storybook/preview'; import * as addonInteractions from '@storybook/addon-interactions/preview'; diff --git a/test-storybooks/portable-stories-kitchen-sink/react/package.json b/test-storybooks/portable-stories-kitchen-sink/react/package.json index 591c4bbf2771..a63e31b8ebe1 100644 --- a/test-storybooks/portable-stories-kitchen-sink/react/package.json +++ b/test-storybooks/portable-stories-kitchen-sink/react/package.json @@ -71,26 +71,20 @@ "@storybook/builder-manager": "portal:../../../code/builders/builder-manager", "@storybook/builder-vite": "portal:../../../code/builders/builder-vite", "@storybook/builder-webpack5": "portal:../../../code/builders/builder-webpack5", - "@storybook/channels": "portal:../../../code/lib/channels", "@storybook/cli": "portal:../../../code/lib/cli", - "@storybook/client-logger": "portal:../../../code/lib/client-logger", "@storybook/codemod": "portal:../../../code/lib/codemod", "@storybook/components": "portal:../../../code/ui/components", - "@storybook/core-common": "portal:../../../code/lib/core-common", - "@storybook/core-events": "portal:../../../code/lib/core-events", + "@storybook/core": "portal:../../code/core", "@storybook/core-server": "portal:../../../code/lib/core-server", "@storybook/core-webpack": "portal:../../../code/lib/core-webpack", "@storybook/csf-plugin": "portal:../../../code/lib/csf-plugin", - "@storybook/csf-tools": "portal:../../../code/lib/csf-tools", "@storybook/docs-tools": "portal:../../../code/lib/docs-tools", "@storybook/ember": "portal:../../../code/frameworks/ember", "@storybook/html": "portal:../../../code/renderers/html", "@storybook/html-webpack5": "portal:../../../code/frameworks/html-webpack5", - "@storybook/instrumenter": "portal:../../../code/lib/instrumenter", "@storybook/manager": "portal:../../../code/ui/manager", "@storybook/manager-api": "portal:../../../code/lib/manager-api", "@storybook/nextjs": "portal:../../../code/frameworks/nextjs", - "@storybook/node-logger": "portal:../../../code/lib/node-logger", "@storybook/preact": "portal:../../../code/renderers/preact", "@storybook/preact-vite": "portal:../../../code/frameworks/preact-vite", "@storybook/preact-webpack5": "portal:../../../code/frameworks/preact-webpack5", @@ -102,12 +96,10 @@ "@storybook/preset-svelte-webpack": "portal:../../../code/presets/svelte-webpack", "@storybook/preset-vue3-webpack": "portal:../../../code/presets/vue3-webpack", "@storybook/preview": "portal:../../../code/lib/preview", - "@storybook/preview-api": "portal:../../../code/lib/preview-api", "@storybook/react": "portal:../../../code/renderers/react", "@storybook/react-dom-shim": "portal:../../../code/lib/react-dom-shim", "@storybook/react-vite": "portal:../../../code/frameworks/react-vite", "@storybook/react-webpack5": "portal:../../../code/frameworks/react-webpack5", - "@storybook/router": "portal:../../../code/lib/router", "@storybook/server": "portal:../../../code/renderers/server", "@storybook/server-webpack5": "portal:../../../code/frameworks/server-webpack5", "@storybook/source-loader": "portal:../../../code/lib/source-loader", @@ -115,10 +107,8 @@ "@storybook/svelte-vite": "portal:../../../code/frameworks/svelte-vite", "@storybook/svelte-webpack5": "portal:../../../code/frameworks/svelte-webpack5", "@storybook/sveltekit": "portal:../../../code/frameworks/sveltekit", - "@storybook/telemetry": "portal:../../../code/lib/telemetry", "@storybook/test": "portal:../../../code/lib/test", "@storybook/theming": "portal:../../../code/lib/theming", - "@storybook/types": "portal:../../../code/lib/types", "@storybook/vue3": "portal:../../../code/renderers/vue3", "@storybook/vue3-vite": "portal:../../../code/frameworks/vue3-vite", "@storybook/vue3-webpack5": "portal:../../../code/frameworks/vue3-webpack5", @@ -129,4 +119,4 @@ "storybook": "portal:../../../code/lib/cli-storybook" }, "packageManager": "yarn@4.1.0" -} +} \ No newline at end of file diff --git a/test-storybooks/portable-stories-kitchen-sink/react/playwright/index.ts b/test-storybooks/portable-stories-kitchen-sink/react/playwright/index.ts index fd05bb2ded36..3dd614ccd9b2 100644 --- a/test-storybooks/portable-stories-kitchen-sink/react/playwright/index.ts +++ b/test-storybooks/portable-stories-kitchen-sink/react/playwright/index.ts @@ -1,4 +1,4 @@ -import type { ProjectAnnotations } from '@storybook/types'; +import type { ProjectAnnotations } from '@storybook/core/dist/types'; import { ReactRenderer, setProjectAnnotations } from '@storybook/react'; import sbAnnotations from '../.storybook/preview'; import * as addonInteractions from '@storybook/addon-interactions/preview'; diff --git a/test-storybooks/portable-stories-kitchen-sink/react/stories/Button.test.tsx b/test-storybooks/portable-stories-kitchen-sink/react/stories/Button.test.tsx index b3d8a5e7ef13..5e4cc481eab3 100644 --- a/test-storybooks/portable-stories-kitchen-sink/react/stories/Button.test.tsx +++ b/test-storybooks/portable-stories-kitchen-sink/react/stories/Button.test.tsx @@ -1,5 +1,5 @@ import { render, screen, cleanup } from '@testing-library/react'; -import { addons } from '@storybook/preview-api'; +import { addons } from '@storybook/core/dist/preview-api'; import { setProjectAnnotations, composeStories, composeStory } from '@storybook/react'; import * as stories from './Button.stories'; diff --git a/test-storybooks/portable-stories-kitchen-sink/svelte/cypress/support/component.ts b/test-storybooks/portable-stories-kitchen-sink/svelte/cypress/support/component.ts index 52c33f079fb5..27b7dc7db3c2 100644 --- a/test-storybooks/portable-stories-kitchen-sink/svelte/cypress/support/component.ts +++ b/test-storybooks/portable-stories-kitchen-sink/svelte/cypress/support/component.ts @@ -21,7 +21,7 @@ import './commands' import { mount } from 'cypress/svelte' -import type { ProjectAnnotations } from '@storybook/types'; +import type { ProjectAnnotations } from '@storybook/core/dist/types'; import type { SvelteRenderer } from '@storybook/svelte'; import { setProjectAnnotations } from '@storybook/svelte'; import sbAnnotations from '../../.storybook/preview'; diff --git a/test-storybooks/portable-stories-kitchen-sink/svelte/package.json b/test-storybooks/portable-stories-kitchen-sink/svelte/package.json index a89bd0b66141..5e35a3327365 100644 --- a/test-storybooks/portable-stories-kitchen-sink/svelte/package.json +++ b/test-storybooks/portable-stories-kitchen-sink/svelte/package.json @@ -36,26 +36,20 @@ "@storybook/builder-manager": "portal:../../../code/builders/builder-manager", "@storybook/builder-vite": "portal:../../../code/builders/builder-vite", "@storybook/builder-webpack5": "portal:../../../code/builders/builder-webpack5", - "@storybook/channels": "portal:../../../code/lib/channels", "@storybook/cli": "portal:../../../code/lib/cli", - "@storybook/client-logger": "portal:../../../code/lib/client-logger", "@storybook/codemod": "portal:../../../code/lib/codemod", "@storybook/components": "portal:../../../code/ui/components", - "@storybook/core-common": "portal:../../../code/lib/core-common", - "@storybook/core-events": "portal:../../../code/lib/core-events", + "@storybook/core": "portal:../../code/core", "@storybook/core-server": "portal:../../../code/lib/core-server", "@storybook/core-webpack": "portal:../../../code/lib/core-webpack", "@storybook/csf-plugin": "portal:../../../code/lib/csf-plugin", - "@storybook/csf-tools": "portal:../../../code/lib/csf-tools", "@storybook/docs-tools": "portal:../../../code/lib/docs-tools", "@storybook/ember": "portal:../../../code/frameworks/ember", "@storybook/html": "portal:../../../code/renderers/html", "@storybook/html-webpack5": "portal:../../../code/frameworks/html-webpack5", - "@storybook/instrumenter": "portal:../../../code/lib/instrumenter", "@storybook/manager": "portal:../../../code/ui/manager", "@storybook/manager-api": "portal:../../../code/lib/manager-api", "@storybook/nextjs": "portal:../../../code/frameworks/nextjs", - "@storybook/node-logger": "portal:../../../code/lib/node-logger", "@storybook/preact": "portal:../../../code/renderers/preact", "@storybook/preact-vite": "portal:../../../code/frameworks/preact-vite", "@storybook/preact-webpack5": "portal:../../../code/frameworks/preact-webpack5", @@ -67,12 +61,10 @@ "@storybook/preset-svelte-webpack": "portal:../../../code/presets/svelte-webpack", "@storybook/preset-vue3-webpack": "portal:../../../code/presets/vue3-webpack", "@storybook/preview": "portal:../../../code/lib/preview", - "@storybook/preview-api": "portal:../../../code/lib/preview-api", "@storybook/react": "portal:../../../code/renderers/react", "@storybook/react-dom-shim": "portal:../../../code/lib/react-dom-shim", "@storybook/react-vite": "portal:../../../code/frameworks/react-vite", "@storybook/react-webpack5": "portal:../../../code/frameworks/react-webpack5", - "@storybook/router": "portal:../../../code/lib/router", "@storybook/server": "portal:../../../code/renderers/server", "@storybook/server-webpack5": "portal:../../../code/frameworks/server-webpack5", "@storybook/source-loader": "portal:../../../code/lib/source-loader", @@ -80,10 +72,8 @@ "@storybook/svelte-vite": "portal:../../../code/frameworks/svelte-vite", "@storybook/svelte-webpack5": "portal:../../../code/frameworks/svelte-webpack5", "@storybook/sveltekit": "portal:../../../code/frameworks/sveltekit", - "@storybook/telemetry": "portal:../../../code/lib/telemetry", "@storybook/test": "portal:../../../code/lib/test", "@storybook/theming": "portal:../../../code/lib/theming", - "@storybook/types": "portal:../../../code/lib/types", "@storybook/vue3": "portal:../../../code/renderers/vue3", "@storybook/vue3-vite": "portal:../../../code/frameworks/vue3-vite", "@storybook/vue3-webpack5": "portal:../../../code/frameworks/vue3-webpack5", @@ -115,4 +105,4 @@ "vitest": "^1.3.1" }, "packageManager": "yarn@4.1.1" -} +} \ No newline at end of file diff --git a/test-storybooks/portable-stories-kitchen-sink/svelte/playwright/index.ts b/test-storybooks/portable-stories-kitchen-sink/svelte/playwright/index.ts index 58c1762be35d..c13806113214 100644 --- a/test-storybooks/portable-stories-kitchen-sink/svelte/playwright/index.ts +++ b/test-storybooks/portable-stories-kitchen-sink/svelte/playwright/index.ts @@ -1,5 +1,5 @@ import { SvelteRenderer, setProjectAnnotations } from '@storybook/svelte' -import type { ProjectAnnotations } from '@storybook/types'; +import type { ProjectAnnotations } from '@storybook/core/dist/types'; import sbAnnotations from '../.storybook/preview' import * as addonInteractions from '@storybook/addon-interactions/preview'; import * as addonActions from '@storybook/addon-essentials/actions/preview'; diff --git a/test-storybooks/portable-stories-kitchen-sink/vue3/cypress/support/component.ts b/test-storybooks/portable-stories-kitchen-sink/vue3/cypress/support/component.ts index 9b63513c72a3..52aec05d446a 100644 --- a/test-storybooks/portable-stories-kitchen-sink/vue3/cypress/support/component.ts +++ b/test-storybooks/portable-stories-kitchen-sink/vue3/cypress/support/component.ts @@ -19,7 +19,7 @@ import './commands' import { mount } from 'cypress/vue' -import type { ProjectAnnotations } from '@storybook/types'; +import type { ProjectAnnotations } from '@storybook/core/dist/types'; import { VueRenderer, setProjectAnnotations } from '@storybook/vue3'; import sbAnnotations from '../../.storybook/preview'; import * as addonInteractions from '@storybook/addon-interactions/preview'; diff --git a/test-storybooks/portable-stories-kitchen-sink/vue3/package.json b/test-storybooks/portable-stories-kitchen-sink/vue3/package.json index f576b4dd3ee8..fcc9ed572277 100644 --- a/test-storybooks/portable-stories-kitchen-sink/vue3/package.json +++ b/test-storybooks/portable-stories-kitchen-sink/vue3/package.json @@ -58,26 +58,20 @@ "@storybook/builder-manager": "portal:../../../code/builders/builder-manager", "@storybook/builder-vite": "portal:../../../code/builders/builder-vite", "@storybook/builder-webpack5": "portal:../../../code/builders/builder-webpack5", - "@storybook/channels": "portal:../../../code/lib/channels", "@storybook/cli": "portal:../../../code/lib/cli", - "@storybook/client-logger": "portal:../../../code/lib/client-logger", "@storybook/codemod": "portal:../../../code/lib/codemod", "@storybook/components": "portal:../../../code/ui/components", - "@storybook/core-common": "portal:../../../code/lib/core-common", - "@storybook/core-events": "portal:../../../code/lib/core-events", + "@storybook/core": "portal:../../code/core", "@storybook/core-server": "portal:../../../code/lib/core-server", "@storybook/core-webpack": "portal:../../../code/lib/core-webpack", "@storybook/csf-plugin": "portal:../../../code/lib/csf-plugin", - "@storybook/csf-tools": "portal:../../../code/lib/csf-tools", "@storybook/docs-tools": "portal:../../../code/lib/docs-tools", "@storybook/ember": "portal:../../../code/frameworks/ember", "@storybook/html": "portal:../../../code/renderers/html", "@storybook/html-webpack5": "portal:../../../code/frameworks/html-webpack5", - "@storybook/instrumenter": "portal:../../../code/lib/instrumenter", "@storybook/manager": "portal:../../../code/ui/manager", "@storybook/manager-api": "portal:../../../code/lib/manager-api", "@storybook/nextjs": "portal:../../../code/frameworks/nextjs", - "@storybook/node-logger": "portal:../../../code/lib/node-logger", "@storybook/preact": "portal:../../../code/renderers/preact", "@storybook/preact-vite": "portal:../../../code/frameworks/preact-vite", "@storybook/preact-webpack5": "portal:../../../code/frameworks/preact-webpack5", @@ -89,12 +83,10 @@ "@storybook/preset-svelte-webpack": "portal:../../../code/presets/svelte-webpack", "@storybook/preset-vue3-webpack": "portal:../../../code/presets/vue3-webpack", "@storybook/preview": "portal:../../../code/lib/preview", - "@storybook/preview-api": "portal:../../../code/lib/preview-api", "@storybook/react": "portal:../../../code/renderers/react", "@storybook/react-dom-shim": "portal:../../../code/lib/react-dom-shim", "@storybook/react-vite": "portal:../../../code/frameworks/react-vite", "@storybook/react-webpack5": "portal:../../../code/frameworks/react-webpack5", - "@storybook/router": "portal:../../../code/lib/router", "@storybook/server": "portal:../../../code/renderers/server", "@storybook/server-webpack5": "portal:../../../code/frameworks/server-webpack5", "@storybook/source-loader": "portal:../../../code/lib/source-loader", @@ -102,10 +94,8 @@ "@storybook/svelte-vite": "portal:../../../code/frameworks/svelte-vite", "@storybook/svelte-webpack5": "portal:../../../code/frameworks/svelte-webpack5", "@storybook/sveltekit": "portal:../../../code/frameworks/sveltekit", - "@storybook/telemetry": "portal:../../../code/lib/telemetry", "@storybook/test": "portal:../../../code/lib/test", "@storybook/theming": "portal:../../../code/lib/theming", - "@storybook/types": "portal:../../../code/lib/types", "@storybook/vue3": "portal:../../../code/renderers/vue3", "@storybook/vue3-vite": "portal:../../../code/frameworks/vue3-vite", "@storybook/vue3-webpack5": "portal:../../../code/frameworks/vue3-webpack5", @@ -115,4 +105,4 @@ "sb": "portal:../../../code/lib/cli-sb", "storybook": "portal:../../../code/lib/cli-storybook" } -} +} \ No newline at end of file diff --git a/test-storybooks/portable-stories-kitchen-sink/vue3/playwright/index.ts b/test-storybooks/portable-stories-kitchen-sink/vue3/playwright/index.ts index 635e334500b3..8f0b99647a62 100644 --- a/test-storybooks/portable-stories-kitchen-sink/vue3/playwright/index.ts +++ b/test-storybooks/portable-stories-kitchen-sink/vue3/playwright/index.ts @@ -1,5 +1,5 @@ import { VueRenderer, setProjectAnnotations } from '@storybook/vue3' -import type { ProjectAnnotations } from '@storybook/types'; +import type { ProjectAnnotations } from '@storybook/core/dist/types'; import sbAnnotations from '../.storybook/preview' import * as addonInteractions from '@storybook/addon-interactions/preview'; import * as addonActions from '@storybook/addon-essentials/actions/preview'; diff --git a/test-storybooks/server-kitchen-sink/package.json b/test-storybooks/server-kitchen-sink/package.json index 7ed22443414b..87f15639ac2e 100644 --- a/test-storybooks/server-kitchen-sink/package.json +++ b/test-storybooks/server-kitchen-sink/package.json @@ -34,24 +34,18 @@ "@storybook/builder-manager": "portal:../../code/builders/builder-manager", "@storybook/builder-vite": "portal:../../code/builders/builder-vite", "@storybook/builder-webpack5": "portal:../../code/builders/builder-webpack5", - "@storybook/channels": "portal:../../code/lib/channels", "@storybook/cli": "portal:../../code/lib/cli", - "@storybook/client-logger": "portal:../../code/lib/client-logger", "@storybook/codemod": "portal:../../code/lib/codemod", "@storybook/components": "portal:../../code/lib/components", - "@storybook/core-common": "portal:../../code/lib/core-common", - "@storybook/core-events": "portal:../../code/lib/core-events", + "@storybook/core": "portal:../../code/core", "@storybook/core-server": "portal:../../code/lib/core-server", "@storybook/core-webpack": "portal:../../code/lib/core-webpack", - "@storybook/csf-tools": "portal:../../code/lib/csf-tools", "@storybook/docs-tools": "portal:../../code/lib/docs-tools", "@storybook/ember": "portal:../../code/frameworks/ember", "@storybook/html": "portal:../../code/renderers/html", "@storybook/html-webpack5": "portal:../../code/frameworks/html-webpack5", - "@storybook/instrumenter": "portal:../../code/lib/instrumenter", "@storybook/manager": "portal:../../code/ui/manager", "@storybook/nextjs": "portal:../../code/frameworks/nextjs", - "@storybook/node-logger": "portal:../../code/lib/node-logger", "@storybook/preact": "portal:../../code/renderers/preact", "@storybook/preact-webpack5": "portal:../../code/frameworks/preact-webpack5", "@storybook/preset-html-webpack": "portal:../../code/presets/html-webpack", @@ -64,14 +58,12 @@ "@storybook/react": "portal:../../code/renderers/react", "@storybook/react-vite": "portal:../../code/frameworks/react-vite", "@storybook/react-webpack5": "portal:../../code/frameworks/react-webpack5", - "@storybook/router": "portal:../../code/lib/router", "@storybook/server": "portal:../../code/renderers/server", "@storybook/server-webpack5": "portal:../../code/frameworks/server-webpack5", "@storybook/source-loader": "portal:../../code/lib/source-loader", "@storybook/svelte": "portal:../../code/renderers/svelte", "@storybook/svelte-vite": "portal:../../code/frameworks/svelte-vite", "@storybook/svelte-webpack5": "portal:../../code/frameworks/svelte-webpack5", - "@storybook/telemetry": "portal:../../code/lib/telemetry", "@storybook/theming": "portal:../../code/lib/theming", "@storybook/vue": "portal:../../code/renderers/vue", "@storybook/vue-vite": "portal:../../code/frameworks/vue-vite", @@ -91,7 +83,7 @@ "@storybook/addon-controls": "7.2.0-alpha.0", "@storybook/addon-highlight": "7.2.0-alpha.0", "@storybook/addon-links": "7.2.0-alpha.0", - "@storybook/node-logger": "7.2.0-alpha.0", + "@storybook/core": "7.2.0-alpha.0", "@storybook/server": "7.2.0-alpha.0", "@storybook/server-webpack5": "7.2.0-alpha.0", "concurrently": "^5.3.0", diff --git a/test-storybooks/server-kitchen-sink/server.js b/test-storybooks/server-kitchen-sink/server.js index b443b5c6c1d3..1647308d6834 100644 --- a/test-storybooks/server-kitchen-sink/server.js +++ b/test-storybooks/server-kitchen-sink/server.js @@ -2,7 +2,7 @@ const express = require('express'); const cors = require('cors'); const morgan = require('morgan'); const path = require('path'); -const { logger } = require('@storybook/node-logger'); +const { logger } = require('@storybook/core/dist/node-logger'); const port = process.env.PORT || 8080; diff --git a/test-storybooks/standalone-preview/package.json b/test-storybooks/standalone-preview/package.json index f4b5d69080cd..b6b691207be4 100644 --- a/test-storybooks/standalone-preview/package.json +++ b/test-storybooks/standalone-preview/package.json @@ -27,24 +27,18 @@ "@storybook/builder-manager": "portal:../../code/builders/builder-manager", "@storybook/builder-vite": "portal:../../code/builders/builder-vite", "@storybook/builder-webpack5": "portal:../../code/builders/builder-webpack5", - "@storybook/channels": "portal:../../code/lib/channels", "@storybook/cli": "portal:../../code/lib/cli", - "@storybook/client-logger": "portal:../../code/lib/client-logger", "@storybook/codemod": "portal:../../code/lib/codemod", "@storybook/components": "portal:../../code/lib/components", - "@storybook/core-common": "portal:../../code/lib/core-common", - "@storybook/core-events": "portal:../../code/lib/core-events", + "@storybook/core": "portal:../../code/core", "@storybook/core-server": "portal:../../code/lib/core-server", "@storybook/core-webpack": "portal:../../code/lib/core-webpack", - "@storybook/csf-tools": "portal:../../code/lib/csf-tools", "@storybook/docs-tools": "portal:../../code/lib/docs-tools", "@storybook/ember": "portal:../../code/frameworks/ember", "@storybook/html": "portal:../../code/renderers/html", "@storybook/html-webpack5": "portal:../../code/frameworks/html-webpack5", - "@storybook/instrumenter": "portal:../../code/lib/instrumenter", "@storybook/manager": "portal:../../code/ui/manager", "@storybook/nextjs": "portal:../../code/frameworks/nextjs", - "@storybook/node-logger": "portal:../../code/lib/node-logger", "@storybook/preact": "portal:../../code/renderers/preact", "@storybook/preact-webpack5": "portal:../../code/frameworks/preact-webpack5", "@storybook/preset-html-webpack": "portal:../../code/presets/html-webpack", @@ -57,14 +51,12 @@ "@storybook/react": "portal:../../code/renderers/react", "@storybook/react-vite": "portal:../../code/frameworks/react-vite", "@storybook/react-webpack5": "portal:../../code/frameworks/react-webpack5", - "@storybook/router": "portal:../../code/lib/router", "@storybook/server": "portal:../../code/renderers/server", "@storybook/server-webpack5": "portal:../../code/frameworks/server-webpack5", "@storybook/source-loader": "portal:../../code/lib/source-loader", "@storybook/svelte": "portal:../../code/renderers/svelte", "@storybook/svelte-vite": "portal:../../code/frameworks/svelte-vite", "@storybook/svelte-webpack5": "portal:../../code/frameworks/svelte-webpack5", - "@storybook/telemetry": "portal:../../code/lib/telemetry", "@storybook/theming": "portal:../../code/lib/theming", "@storybook/vue": "portal:../../code/renderers/vue", "@storybook/vue-vite": "portal:../../code/frameworks/vue-vite",