mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
remove deprecated
This commit is contained in:
parent
9c2fc39bd9
commit
65cd77ab87
@ -170,7 +170,6 @@ jobs:
|
||||
- code/bench
|
||||
- code/examples
|
||||
- code/frameworks
|
||||
- code/deprecated
|
||||
- code/lib
|
||||
- code/core
|
||||
- code/builders
|
||||
|
@ -143,9 +143,7 @@ const config = defineMain({
|
||||
alias: {
|
||||
...(configType === 'DEVELOPMENT'
|
||||
? {
|
||||
'@storybook/components': componentsPath,
|
||||
'storybook/internal/components': componentsPath,
|
||||
'@storybook/manager-api': managerApiPath,
|
||||
'storybook/internal/manager-api': managerApiPath,
|
||||
'sb-original/image-context': imageContextPath,
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ import type { RuleType } from './A11YPanel';
|
||||
import { useA11yContext } from './A11yContext';
|
||||
import HighlightToggle from './Report/HighlightToggle';
|
||||
|
||||
// TODO: reuse the Tabs component from @storybook/theming instead of re-building identical functionality
|
||||
// TODO: reuse the Tabs component from storybook/internal/theming instead of re-building identical functionality
|
||||
|
||||
const Container = styled.div({
|
||||
width: '100%',
|
||||
|
@ -53,7 +53,7 @@ const applyEventHandlers = (actionsFn: any, ...handles: any[]) => {
|
||||
}, [root, actionsFn, handles]);
|
||||
};
|
||||
|
||||
// This type is basically the same as DecoratorFunction from @storybook/types.
|
||||
// This type is basically the same as DecoratorFunction from storybook/internal/types.
|
||||
// We can not use DecoratorFunction though as the type has to be generic.
|
||||
// Hard to explain, but you will understand when you try to solve this issue:
|
||||
// https://github.com/storybookjs/storybook/issues/22384
|
||||
|
@ -69,15 +69,7 @@ async function webpack(
|
||||
* Add aliases for `@storybook/addon-docs` & `@storybook/blocks` These must be singletons to avoid
|
||||
* multiple instances of react & emotion being loaded, both would cause the components to fail to
|
||||
* render.
|
||||
*
|
||||
* In the future the `@storybook/theming` and `@storybook/components` can be removed, as they
|
||||
* should be singletons in the future due to the peerDependency on `storybook` package.
|
||||
*/
|
||||
const corePath = dirname(require.resolve('storybook/package.json'));
|
||||
const themingPath = join(corePath, 'dist', 'theming', 'index.js');
|
||||
const themingCreatePath = join(corePath, 'dist', 'theming', 'create.js');
|
||||
|
||||
const componentsPath = join(corePath, 'dist', 'components', 'index.js');
|
||||
const blocksPath = dirname(require.resolve('@storybook/blocks/package.json'));
|
||||
if (Array.isArray(webpackConfig.resolve?.alias)) {
|
||||
alias = [...webpackConfig.resolve?.alias];
|
||||
@ -94,18 +86,6 @@ async function webpack(
|
||||
name: '@mdx-js/react',
|
||||
alias: mdx,
|
||||
},
|
||||
{
|
||||
name: '@storybook/theming/create',
|
||||
alias: themingCreatePath,
|
||||
},
|
||||
{
|
||||
name: '@storybook/theming',
|
||||
alias: themingPath,
|
||||
},
|
||||
{
|
||||
name: '@storybook/components',
|
||||
alias: componentsPath,
|
||||
},
|
||||
{
|
||||
name: '@storybook/blocks',
|
||||
alias: blocksPath,
|
||||
@ -115,9 +95,6 @@ async function webpack(
|
||||
alias = {
|
||||
...webpackConfig.resolve?.alias,
|
||||
react,
|
||||
'@storybook/theming/create': themingCreatePath,
|
||||
'@storybook/theming': themingPath,
|
||||
'@storybook/components': componentsPath,
|
||||
'@storybook/blocks': blocksPath,
|
||||
|
||||
'react-dom': reactDom,
|
||||
@ -175,16 +152,9 @@ export const viteFinal = async (config: any, options: Options) => {
|
||||
const { plugins = [] } = config;
|
||||
const { mdxPlugin } = await import('./plugins/mdx-plugin');
|
||||
|
||||
const rehypeSlug = (await import('rehype-slug')).default;
|
||||
const rehypeExternalLinks = (await import('rehype-external-links')).default;
|
||||
|
||||
// Use the resolvedReact preset to alias react and react-dom to either the users version or the version shipped with addon-docs
|
||||
const { react, reactDom, mdx } = await getResolvedReact(options);
|
||||
|
||||
const corePath = dirname(require.resolve('storybook/package.json'));
|
||||
const themingPath = join(corePath, 'dist', 'theming', 'index.js');
|
||||
const themingCreatePath = join(corePath, 'dist', 'theming', 'create.js');
|
||||
const componentsPath = join(corePath, 'dist', 'components', 'index.js');
|
||||
const blocksPath = dirname(require.resolve('@storybook/blocks/package.json'));
|
||||
|
||||
const packageDeduplicationPlugin = {
|
||||
@ -202,14 +172,7 @@ export const viteFinal = async (config: any, options: Options) => {
|
||||
* Add aliases for `@storybook/addon-docs` & `@storybook/blocks` These must be singletons
|
||||
* to avoid multiple instances of react & emotion being loaded, both would cause the
|
||||
* components to fail to render.
|
||||
*
|
||||
* In the future the `@storybook/theming` and `@storybook/components` can be removed, as
|
||||
* they should be singletons in the future due to the peerDependency on `storybook`
|
||||
* package.
|
||||
*/
|
||||
'@storybook/theming/create': themingCreatePath,
|
||||
'@storybook/theming': themingPath,
|
||||
'@storybook/components': componentsPath,
|
||||
'@storybook/blocks': blocksPath,
|
||||
},
|
||||
},
|
||||
|
@ -1,4 +1,4 @@
|
||||
import type { ModuleExport, ModuleExports } from '@storybook/types';
|
||||
import type { ModuleExport, ModuleExports } from 'storybook/internal/types';
|
||||
|
||||
type StoryBlockParameters = {
|
||||
/** Whether a story's play function runs when shown in docs page */
|
||||
|
@ -8,7 +8,7 @@ const run = async () => {
|
||||
const content = await readFile('./dist/index.d.ts', 'utf-8');
|
||||
|
||||
const regexp = /'lib\/preview-api/;
|
||||
const replaced = content.replace(regexp, "'@storybook/preview-api");
|
||||
const replaced = content.replace(regexp, "'storybook/internal/preview-api");
|
||||
|
||||
await writeFile('./dist/index.d.ts', replaced);
|
||||
};
|
||||
|
@ -14,10 +14,10 @@ import {
|
||||
useParameter,
|
||||
useStorybookState,
|
||||
} from 'storybook/internal/manager-api';
|
||||
import type { API_StatusValue } from 'storybook/internal/types';
|
||||
|
||||
import { global } from '@storybook/global';
|
||||
import { type Call, CallStates, EVENTS, type LogItem } from '@storybook/instrumenter';
|
||||
import type { API_StatusValue } from '@storybook/types';
|
||||
|
||||
import { ADDON_ID, STORYBOOK_ADDON_TEST_CHANNEL, TEST_PROVIDER_ID } from '../constants';
|
||||
import { InteractionsPanel } from './InteractionsPanel';
|
||||
|
@ -8,8 +8,7 @@ import type {
|
||||
TestingModuleProgressReportProgress,
|
||||
} from 'storybook/internal/core-events';
|
||||
import type { Report } from 'storybook/internal/preview-api';
|
||||
|
||||
import type { API_StatusUpdate } from '@storybook/types';
|
||||
import type { API_StatusUpdate } from 'storybook/internal/types';
|
||||
|
||||
import type { Suite } from '@vitest/runner';
|
||||
import { throttle } from 'es-toolkit';
|
||||
|
@ -13,8 +13,7 @@ import * as vitestNode from 'vitest/node';
|
||||
|
||||
import { resolvePathInStorybookCache } from 'storybook/internal/common';
|
||||
import type { TestingModuleRunRequestPayload } from 'storybook/internal/core-events';
|
||||
|
||||
import type { DocsIndexEntry, StoryIndex, StoryIndexEntry } from '@storybook/types';
|
||||
import type { DocsIndexEntry, StoryIndex, StoryIndexEntry } from 'storybook/internal/types';
|
||||
|
||||
import { findUp } from 'find-up';
|
||||
import path, { dirname, join, normalize } from 'pathe';
|
||||
|
@ -16,8 +16,8 @@ const allowedEnvVariables = [
|
||||
];
|
||||
|
||||
/**
|
||||
* Customized version of stringifyProcessEnvs from @storybook/core-common which uses import.meta.env
|
||||
* instead of process.env and checks for allowed variables.
|
||||
* Customized version of stringifyProcessEnvs from storybook/internal/core-common which uses
|
||||
* import.meta.env instead of process.env and checks for allowed variables.
|
||||
*/
|
||||
export function stringifyProcessEnvs(raw: Builder_EnvsRaw, envPrefix: ViteConfig['envPrefix']) {
|
||||
const updatedRaw: Builder_EnvsRaw = {};
|
||||
|
@ -35,7 +35,6 @@ const INCLUDE_CANDIDATES = [
|
||||
'@storybook/addon-viewport',
|
||||
'@storybook/addon-viewport/preview',
|
||||
'@storybook/blocks',
|
||||
'@storybook/components',
|
||||
'@storybook/experimental-addon-test/preview',
|
||||
'@storybook/experimental-nextjs-vite/dist/preview.mjs',
|
||||
'@storybook/html',
|
||||
@ -52,7 +51,6 @@ const INCLUDE_CANDIDATES = [
|
||||
'@storybook/svelte',
|
||||
'@storybook/svelte/dist/entry-preview-docs.mjs',
|
||||
'@storybook/svelte/dist/entry-preview.mjs',
|
||||
'@storybook/theming',
|
||||
'@storybook/vue3',
|
||||
'@storybook/vue3/dist/entry-preview-docs.mjs',
|
||||
'@storybook/vue3/dist/entry-preview.mjs',
|
||||
|
@ -25,7 +25,10 @@ const replacementMap = new Map([
|
||||
* @example
|
||||
*
|
||||
* ```js
|
||||
* import { useMemo as useMemo2, useEffect as useEffect2 } from '@storybook/preview-api';
|
||||
* import {
|
||||
* useMemo as useMemo2,
|
||||
* useEffect as useEffect2,
|
||||
* } from 'storybook/internal/preview-api';
|
||||
* ```
|
||||
*
|
||||
* Becomes
|
||||
|
@ -287,7 +287,6 @@
|
||||
"prep": "jiti ./scripts/prep.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/theming": "workspace:*",
|
||||
"better-opn": "^3.0.2",
|
||||
"browser-assert": "^1.2.1",
|
||||
"esbuild": "^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0 || ^0.25.0",
|
||||
|
@ -142,7 +142,7 @@ type CopyTemplateFilesOptions = {
|
||||
features: string[];
|
||||
};
|
||||
|
||||
/** @deprecated Please use `frameworkToRenderer` from `@storybook/core-common` instead */
|
||||
/** @deprecated Please use `frameworkToRenderer` from `storybook/internal/common` instead */
|
||||
export const frameworkToRenderer = CoreFrameworkToRenderer;
|
||||
|
||||
export const frameworkToDefaultBuilder: Record<
|
||||
|
@ -32,7 +32,7 @@ export const externalFrameworks: ExternalFramework[] = [
|
||||
},
|
||||
];
|
||||
|
||||
/** @deprecated Please use `SupportedRenderers` from `@storybook/types` instead */
|
||||
/** @deprecated Please use `SupportedRenderers` from `storybook/internal/types` instead */
|
||||
export type SupportedRenderers = CoreSupportedRenderers;
|
||||
|
||||
export const SUPPORTED_RENDERERS: SupportedRenderers[] = [
|
||||
|
@ -222,7 +222,6 @@ export abstract class JsPackageManager {
|
||||
* `@storybook/react@${storybookVersion}`,
|
||||
* `@storybook/addon-actions@${actionsVersion}`,
|
||||
* `@storybook/addon-links@${linksVersion}`,
|
||||
* `@storybook/preview-api@${addonsVersion}`,
|
||||
* ]);
|
||||
* ```
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
import type { StorybookConfig } from '@storybook/types';
|
||||
import type { StorybookConfig } from 'storybook/internal/types';
|
||||
|
||||
export const getAddonNames = (mainConfig: StorybookConfig): string[] => {
|
||||
const addons = mainConfig.addons || [];
|
||||
|
@ -22,24 +22,10 @@ export default {
|
||||
'@storybook/builder-vite': '9.0.0-alpha.0',
|
||||
'@storybook/builder-webpack5': '9.0.0-alpha.0',
|
||||
storybook: '9.0.0-alpha.0',
|
||||
'@storybook/builder-manager': '9.0.0-alpha.0',
|
||||
'@storybook/channels': '9.0.0-alpha.0',
|
||||
'@storybook/client-logger': '9.0.0-alpha.0',
|
||||
'@storybook/components': '9.0.0-alpha.0',
|
||||
'@storybook/core-common': '9.0.0-alpha.0',
|
||||
'@storybook/core-events': '9.0.0-alpha.0',
|
||||
'@storybook/core-server': '9.0.0-alpha.0',
|
||||
'@storybook/csf-tools': '9.0.0-alpha.0',
|
||||
'@storybook/docs-tools': '9.0.0-alpha.0',
|
||||
'@storybook/manager': '9.0.0-alpha.0',
|
||||
'@storybook/manager-api': '9.0.0-alpha.0',
|
||||
'@storybook/node-logger': '9.0.0-alpha.0',
|
||||
'@storybook/preview': '9.0.0-alpha.0',
|
||||
'@storybook/preview-api': '9.0.0-alpha.0',
|
||||
'@storybook/router': '9.0.0-alpha.0',
|
||||
'@storybook/telemetry': '9.0.0-alpha.0',
|
||||
'@storybook/theming': '9.0.0-alpha.0',
|
||||
'@storybook/types': '9.0.0-alpha.0',
|
||||
'@storybook/angular': '9.0.0-alpha.0',
|
||||
'@storybook/ember': '9.0.0-alpha.0',
|
||||
'@storybook/experimental-nextjs-vite': '9.0.0-alpha.0',
|
||||
|
@ -16,7 +16,7 @@ export async function copyAllStaticFiles(staticDirs: any[] | undefined, outputDi
|
||||
const { staticDir, staticPath, targetDir } = parseStaticDir(dir);
|
||||
const targetPath = join(outputDir, targetDir);
|
||||
|
||||
// we copy prebuild static files from node_modules/@storybook/manager & preview
|
||||
// we copy prebuild static files from node_modules/storybook/internal/manager & preview
|
||||
if (!staticDir.includes('node_modules')) {
|
||||
const from = picocolors.cyan(print(staticDir));
|
||||
const to = picocolors.cyan(print(targetDir));
|
||||
|
@ -16,7 +16,7 @@ export interface SubAPI {
|
||||
* to remove the listener.
|
||||
*
|
||||
* @param type - The event type to listen for. If using a core event, import it from
|
||||
* `@storybook/core-events`.
|
||||
* `storybook/internal/core-events`.
|
||||
* @param handler - The callback function to be called when the event is emitted.
|
||||
* @returns A function that can be called to remove the listener.
|
||||
*/
|
||||
@ -25,7 +25,7 @@ export interface SubAPI {
|
||||
* Removes a listener from the channel for the given event type.
|
||||
*
|
||||
* @param type - The event type to remove the listener from. If using a core event, import it from
|
||||
* `@storybook/core-events`.
|
||||
* `storybook/internal/core-events`.
|
||||
* @param handler - The callback function to be removed.
|
||||
*/
|
||||
off: (type: string, handler: Listener) => void;
|
||||
@ -33,7 +33,7 @@ export interface SubAPI {
|
||||
* Emits an event on the channel for the given event type.
|
||||
*
|
||||
* @param type - The event type to emit. If using a core event, import it from
|
||||
* `@storybook/core-events`.
|
||||
* `storybook/internal/core-events`.
|
||||
* @param args - The arguments to pass to the event listener.
|
||||
*/
|
||||
emit: (type: string, ...args: any[]) => void;
|
||||
@ -41,7 +41,7 @@ export interface SubAPI {
|
||||
* Adds a one-time listener to the channel for the given event type.
|
||||
*
|
||||
* @param type - The event type to listen for. If using a core event, import it from
|
||||
* `@storybook/core-events`.
|
||||
* `storybook/internal/core-events`.
|
||||
* @param handler - The callback function to be called when the event is emitted.
|
||||
*/
|
||||
once: (type: string, handler: Listener) => void;
|
||||
|
@ -130,7 +130,7 @@ export type ManagerProviderProps = RouterData &
|
||||
children: ReactNode | FC<Combo>;
|
||||
};
|
||||
|
||||
// This is duplicated from @storybook/preview-api for the reasons mentioned in lib-addons/types.js
|
||||
// This is duplicated from storybook/internal/preview-api for the reasons mentioned in lib-addons/types.js
|
||||
export const combineParameters = (...parameterSets: Parameters[]) =>
|
||||
noArrayMerge({}, ...parameterSets);
|
||||
|
||||
|
@ -2,8 +2,8 @@ import { StorybookError } from './storybook-error';
|
||||
|
||||
/**
|
||||
* If you can't find a suitable category for your error, create one based on the package name/file
|
||||
* path of which the error is thrown. For instance: If it's from `@storybook/client-logger`, then
|
||||
* MANAGER_CLIENT-LOGGER
|
||||
* path of which the error is thrown. For instance: If it's from `storybook/internal/client-logger`,
|
||||
* then MANAGER_CLIENT-LOGGER
|
||||
*
|
||||
* Categories are prefixed by a logical grouping, e.g. MANAGER_ to prevent manager and preview
|
||||
* errors from having the same category and error code.
|
||||
|
@ -4,9 +4,9 @@ import React from 'react';
|
||||
import { IconButton } from 'storybook/internal/components';
|
||||
import { useStorybookApi, useStorybookState } from 'storybook/internal/manager-api';
|
||||
import { styled } from 'storybook/internal/theming';
|
||||
import type { API_IndexHash, API_Refs } from 'storybook/internal/types';
|
||||
|
||||
import { BottomBarToggleIcon, MenuIcon } from '@storybook/icons';
|
||||
import type { API_IndexHash, API_Refs } from '@storybook/types';
|
||||
|
||||
import { useLayout } from '../../layout/LayoutProvider';
|
||||
import { MobileAddonsDrawer } from './MobileAddonsDrawer';
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { IconButton } from 'storybook/internal/components';
|
||||
import { styled } from 'storybook/internal/theming';
|
||||
|
||||
import type { API_StatusValue } from '@storybook/types';
|
||||
import type { API_StatusValue } from 'storybook/internal/types';
|
||||
|
||||
import type { Theme } from '@emotion/react';
|
||||
import { darken, lighten, transparentize } from 'polished';
|
||||
|
@ -1,8 +1,12 @@
|
||||
import { createContext, useContext } from 'react';
|
||||
|
||||
import type { StoriesHash } from 'storybook/internal/manager-api';
|
||||
|
||||
import type { API_StatusObject, API_StatusState, API_StatusValue, StoryId } from '@storybook/types';
|
||||
import type {
|
||||
API_StatusObject,
|
||||
API_StatusState,
|
||||
API_StatusValue,
|
||||
StoryId,
|
||||
} from 'storybook/internal/types';
|
||||
|
||||
import type { Item } from '../../container/Sidebar';
|
||||
import { getDescendantIds } from '../../utils/tree';
|
||||
|
@ -3,9 +3,9 @@ import React, { useCallback, useEffect, useState } from 'react';
|
||||
import { Badge, IconButton, WithTooltip } from 'storybook/internal/components';
|
||||
import type { API } from 'storybook/internal/manager-api';
|
||||
import { styled } from 'storybook/internal/theming';
|
||||
import type { StoryIndex, Tag } from 'storybook/internal/types';
|
||||
|
||||
import { FilterIcon } from '@storybook/icons';
|
||||
import type { StoryIndex, Tag } from '@storybook/types';
|
||||
|
||||
import { TagsFilterPanel } from './TagsFilterPanel';
|
||||
|
||||
|
@ -3,9 +3,9 @@ import React from 'react';
|
||||
import { TooltipLinkList } from 'storybook/internal/components';
|
||||
import type { API } from 'storybook/internal/manager-api';
|
||||
import { styled, useTheme } from 'storybook/internal/theming';
|
||||
import type { Tag } from 'storybook/internal/types';
|
||||
|
||||
import { ShareAltIcon } from '@storybook/icons';
|
||||
import type { Tag } from '@storybook/types';
|
||||
|
||||
import type { Link } from '../../../components/components/tooltip/TooltipLinkList';
|
||||
|
||||
|
@ -373,77 +373,6 @@ export default {
|
||||
'resetComponents',
|
||||
'withReset',
|
||||
],
|
||||
'@storybook/components': [
|
||||
'A',
|
||||
'ActionBar',
|
||||
'AddonPanel',
|
||||
'Badge',
|
||||
'Bar',
|
||||
'Blockquote',
|
||||
'Button',
|
||||
'ClipboardCode',
|
||||
'Code',
|
||||
'DL',
|
||||
'Div',
|
||||
'DocumentWrapper',
|
||||
'EmptyTabContent',
|
||||
'ErrorFormatter',
|
||||
'FlexBar',
|
||||
'Form',
|
||||
'H1',
|
||||
'H2',
|
||||
'H3',
|
||||
'H4',
|
||||
'H5',
|
||||
'H6',
|
||||
'HR',
|
||||
'IconButton',
|
||||
'IconButtonSkeleton',
|
||||
'Icons',
|
||||
'Img',
|
||||
'LI',
|
||||
'Link',
|
||||
'ListItem',
|
||||
'Loader',
|
||||
'Modal',
|
||||
'OL',
|
||||
'P',
|
||||
'Placeholder',
|
||||
'Pre',
|
||||
'ProgressSpinner',
|
||||
'ResetWrapper',
|
||||
'ScrollArea',
|
||||
'Separator',
|
||||
'Spaced',
|
||||
'Span',
|
||||
'StorybookIcon',
|
||||
'StorybookLogo',
|
||||
'Symbols',
|
||||
'SyntaxHighlighter',
|
||||
'TT',
|
||||
'TabBar',
|
||||
'TabButton',
|
||||
'TabWrapper',
|
||||
'Table',
|
||||
'Tabs',
|
||||
'TabsState',
|
||||
'TooltipLinkList',
|
||||
'TooltipMessage',
|
||||
'TooltipNote',
|
||||
'UL',
|
||||
'WithTooltip',
|
||||
'WithTooltipPure',
|
||||
'Zoom',
|
||||
'codeCommon',
|
||||
'components',
|
||||
'createCopyToClipboardFunction',
|
||||
'getStoryHref',
|
||||
'icons',
|
||||
'interleaveSeparators',
|
||||
'nameSpaceClassNames',
|
||||
'resetComponents',
|
||||
'withReset',
|
||||
],
|
||||
'storybook/internal/manager-api': [
|
||||
'ActiveTabs',
|
||||
'Consumer',
|
||||
@ -481,43 +410,6 @@ export default {
|
||||
'useStorybookApi',
|
||||
'useStorybookState',
|
||||
],
|
||||
'@storybook/manager-api': [
|
||||
'ActiveTabs',
|
||||
'Consumer',
|
||||
'ManagerContext',
|
||||
'Provider',
|
||||
'RequestResponseError',
|
||||
'addons',
|
||||
'combineParameters',
|
||||
'controlOrMetaKey',
|
||||
'controlOrMetaSymbol',
|
||||
'eventMatchesShortcut',
|
||||
'eventToShortcut',
|
||||
'experimental_MockUniversalStore',
|
||||
'experimental_UniversalStore',
|
||||
'experimental_requestResponse',
|
||||
'experimental_useUniversalStore',
|
||||
'isMacLike',
|
||||
'isShortcutTaken',
|
||||
'keyToSymbol',
|
||||
'merge',
|
||||
'mockChannel',
|
||||
'optionOrAltSymbol',
|
||||
'shortcutMatchesShortcut',
|
||||
'shortcutToHumanString',
|
||||
'types',
|
||||
'useAddonState',
|
||||
'useArgTypes',
|
||||
'useArgs',
|
||||
'useChannel',
|
||||
'useGlobalTypes',
|
||||
'useGlobals',
|
||||
'useParameter',
|
||||
'useSharedState',
|
||||
'useStoryPrepared',
|
||||
'useStorybookApi',
|
||||
'useStorybookState',
|
||||
],
|
||||
'storybook/internal/router': [
|
||||
'BaseLocationProvider',
|
||||
'DEEPLY_EQUAL',
|
||||
@ -576,34 +468,7 @@ export default {
|
||||
'useTheme',
|
||||
'withTheme',
|
||||
],
|
||||
'@storybook/theming': [
|
||||
'CacheProvider',
|
||||
'ClassNames',
|
||||
'Global',
|
||||
'ThemeProvider',
|
||||
'background',
|
||||
'color',
|
||||
'convert',
|
||||
'create',
|
||||
'createCache',
|
||||
'createGlobal',
|
||||
'createReset',
|
||||
'css',
|
||||
'darken',
|
||||
'ensure',
|
||||
'ignoreSsrWarning',
|
||||
'isPropValid',
|
||||
'jsx',
|
||||
'keyframes',
|
||||
'lighten',
|
||||
'styled',
|
||||
'themes',
|
||||
'typography',
|
||||
'useTheme',
|
||||
'withTheme',
|
||||
],
|
||||
'storybook/internal/theming/create': ['create', 'themes'],
|
||||
'@storybook/theming/create': ['create', 'themes'],
|
||||
'storybook/internal/channels': [
|
||||
'Channel',
|
||||
'HEARTBEAT_INTERVAL',
|
||||
@ -612,14 +477,6 @@ export default {
|
||||
'WebsocketTransport',
|
||||
'createBrowserChannel',
|
||||
],
|
||||
'@storybook/channels': [
|
||||
'Channel',
|
||||
'HEARTBEAT_INTERVAL',
|
||||
'HEARTBEAT_MAX_LATENCY',
|
||||
'PostMessageTransport',
|
||||
'WebsocketTransport',
|
||||
'createBrowserChannel',
|
||||
],
|
||||
'storybook/internal/core-errors': [
|
||||
'ARGTYPES_INFO_REQUEST',
|
||||
'ARGTYPES_INFO_RESPONSE',
|
||||
@ -684,70 +541,6 @@ export default {
|
||||
'UPDATE_QUERY_PARAMS',
|
||||
'UPDATE_STORY_ARGS',
|
||||
],
|
||||
'@storybook/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_FILTER',
|
||||
'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_FINISHED',
|
||||
'STORY_INDEX_INVALIDATED',
|
||||
'STORY_MISSING',
|
||||
'STORY_PREPARED',
|
||||
'STORY_RENDERED',
|
||||
'STORY_RENDER_PHASE_CHANGED',
|
||||
'STORY_SPECIFIED',
|
||||
'STORY_THREW_EXCEPTION',
|
||||
'STORY_UNCHANGED',
|
||||
'TELEMETRY_ERROR',
|
||||
'TESTING_MODULE_CANCEL_TEST_RUN_REQUEST',
|
||||
'TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE',
|
||||
'TESTING_MODULE_CRASH_REPORT',
|
||||
'TESTING_MODULE_PROGRESS_REPORT',
|
||||
'TESTING_MODULE_RUN_ALL_REQUEST',
|
||||
'TESTING_MODULE_RUN_REQUEST',
|
||||
'TOGGLE_WHATS_NEW_NOTIFICATIONS',
|
||||
'UNHANDLED_ERRORS_WHILE_PLAYING',
|
||||
'UPDATE_GLOBALS',
|
||||
'UPDATE_QUERY_PARAMS',
|
||||
'UPDATE_STORY_ARGS',
|
||||
],
|
||||
'storybook/internal/core-events': [
|
||||
'ARGTYPES_INFO_REQUEST',
|
||||
'ARGTYPES_INFO_RESPONSE',
|
||||
@ -813,17 +606,10 @@ export default {
|
||||
'UPDATE_STORY_ARGS',
|
||||
],
|
||||
'storybook/internal/types': ['Addon_TypesEnum'],
|
||||
'@storybook/types': ['Addon_TypesEnum'],
|
||||
'storybook/internal/manager-errors': [
|
||||
'Category',
|
||||
'ProviderDoesNotExtendBaseProviderError',
|
||||
'UncaughtManagerError',
|
||||
],
|
||||
'@storybook/core-events/manager-errors': [
|
||||
'Category',
|
||||
'ProviderDoesNotExtendBaseProviderError',
|
||||
'UncaughtManagerError',
|
||||
],
|
||||
'storybook/internal/client-logger': ['deprecate', 'logger', 'once', 'pretty'],
|
||||
'@storybook/client-logger': ['deprecate', 'logger', 'once', 'pretty'],
|
||||
} as const;
|
||||
|
@ -6,34 +6,25 @@ export const globalsNameReferenceMap = {
|
||||
'@storybook/icons': '__STORYBOOK_ICONS__',
|
||||
|
||||
'storybook/internal/manager-api': '__STORYBOOK_API__',
|
||||
'@storybook/manager-api': '__STORYBOOK_API__',
|
||||
|
||||
'storybook/internal/components': '__STORYBOOK_COMPONENTS__',
|
||||
'@storybook/components': '__STORYBOOK_COMPONENTS__',
|
||||
|
||||
'storybook/internal/channels': '__STORYBOOK_CHANNELS__',
|
||||
'@storybook/channels': '__STORYBOOK_CHANNELS__',
|
||||
|
||||
'storybook/internal/core-errors': '__STORYBOOK_CORE_EVENTS__',
|
||||
'@storybook/core-events': '__STORYBOOK_CORE_EVENTS__',
|
||||
'storybook/internal/core-events': '__STORYBOOK_CORE_EVENTS__',
|
||||
|
||||
'storybook/internal/manager-errors': '__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__',
|
||||
'@storybook/core-events/manager-errors': '__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__',
|
||||
|
||||
'storybook/internal/router': '__STORYBOOK_ROUTER__',
|
||||
'@storybook/router': '__STORYBOOK_ROUTER__',
|
||||
|
||||
'storybook/internal/theming': '__STORYBOOK_THEMING__',
|
||||
'@storybook/theming': '__STORYBOOK_THEMING__',
|
||||
'storybook/internal/theming/create': '__STORYBOOK_THEMING_CREATE__',
|
||||
'@storybook/theming/create': '__STORYBOOK_THEMING_CREATE__',
|
||||
|
||||
'storybook/internal/client-logger': '__STORYBOOK_CLIENT_LOGGER__',
|
||||
'@storybook/client-logger': '__STORYBOOK_CLIENT_LOGGER__',
|
||||
|
||||
'storybook/internal/types': '__STORYBOOK_TYPES__',
|
||||
'@storybook/types': '__STORYBOOK_TYPES__',
|
||||
} as const;
|
||||
|
||||
export const globalPackages = Object.keys(globalsNameReferenceMap) as Array<
|
||||
|
@ -25,32 +25,23 @@ export const globalsNameValueMap: Required<Record<keyof typeof globalsNameRefere
|
||||
'@storybook/icons': ICONS,
|
||||
|
||||
'storybook/internal/components': COMPONENTS,
|
||||
'@storybook/components': COMPONENTS,
|
||||
|
||||
'storybook/internal/manager-api': MANAGER_API,
|
||||
'@storybook/manager-api': MANAGER_API,
|
||||
|
||||
'storybook/internal/router': ROUTER,
|
||||
'@storybook/router': ROUTER,
|
||||
|
||||
'storybook/internal/theming': THEMING,
|
||||
'@storybook/theming': THEMING,
|
||||
'storybook/internal/theming/create': THEMINGCREATE,
|
||||
'@storybook/theming/create': THEMINGCREATE,
|
||||
|
||||
'storybook/internal/channels': CHANNELS,
|
||||
'@storybook/channels': CHANNELS,
|
||||
|
||||
'storybook/internal/core-errors': EVENTS,
|
||||
'@storybook/core-events': EVENTS,
|
||||
'storybook/internal/core-events': EVENTS,
|
||||
|
||||
'storybook/internal/types': TYPES,
|
||||
'@storybook/types': TYPES,
|
||||
|
||||
'storybook/internal/manager-errors': EVENTS_MANAGER_ERRORS,
|
||||
'@storybook/core-events/manager-errors': EVENTS_MANAGER_ERRORS,
|
||||
|
||||
'storybook/internal/client-logger': CLIENT_LOGGER,
|
||||
'@storybook/client-logger': CLIENT_LOGGER,
|
||||
};
|
||||
|
@ -4,8 +4,8 @@ import { StorybookError } from './storybook-error';
|
||||
|
||||
/**
|
||||
* If you can't find a suitable category for your error, create one based on the package name/file
|
||||
* path of which the error is thrown. For instance: If it's from `@storybook/client-logger`, then
|
||||
* CLIENT-LOGGER
|
||||
* path of which the error is thrown. For instance: If it's from `storybook/internal/client-logger`,
|
||||
* then CLIENT-LOGGER
|
||||
*
|
||||
* Categories are prefixed by a logical grouping, e.g. PREVIEW_ or FRAMEWORK_ to prevent manager and
|
||||
* preview errors from having the same category and error code.
|
||||
|
@ -4,22 +4,16 @@ export const globalsNameReferenceMap = {
|
||||
'@storybook/global': '__STORYBOOK_MODULE_GLOBAL__',
|
||||
|
||||
'storybook/internal/channels': '__STORYBOOK_MODULE_CHANNELS__',
|
||||
'@storybook/channels': '__STORYBOOK_MODULE_CHANNELS__',
|
||||
|
||||
'storybook/internal/client-logger': '__STORYBOOK_MODULE_CLIENT_LOGGER__',
|
||||
'@storybook/client-logger': '__STORYBOOK_MODULE_CLIENT_LOGGER__',
|
||||
|
||||
'storybook/internal/core-events': '__STORYBOOK_MODULE_CORE_EVENTS__',
|
||||
'@storybook/core-events': '__STORYBOOK_MODULE_CORE_EVENTS__',
|
||||
|
||||
'storybook/internal/preview-errors': '__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__',
|
||||
'@storybook/core-events/preview-errors': '__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__',
|
||||
|
||||
'storybook/internal/preview-api': '__STORYBOOK_MODULE_PREVIEW_API__',
|
||||
'@storybook/preview-api': '__STORYBOOK_MODULE_PREVIEW_API__',
|
||||
|
||||
'storybook/internal/types': '__STORYBOOK_MODULE_TYPES__',
|
||||
'@storybook/types': '__STORYBOOK_MODULE_TYPES__',
|
||||
} as const;
|
||||
|
||||
export const globalPackages = Object.keys(globalsNameReferenceMap) as Array<
|
||||
|
@ -14,20 +14,14 @@ export const globalsNameValueMap: Required<Record<keyof typeof globalsNameRefere
|
||||
'@storybook/global': GLOBAL,
|
||||
|
||||
'storybook/internal/channels': CHANNELS,
|
||||
'@storybook/channels': CHANNELS,
|
||||
|
||||
'storybook/internal/client-logger': CLIENT_LOGGER,
|
||||
'@storybook/client-logger': CLIENT_LOGGER,
|
||||
|
||||
'storybook/internal/core-events': CORE_EVENTS,
|
||||
'@storybook/core-events': CORE_EVENTS,
|
||||
|
||||
'storybook/internal/preview-errors': CORE_EVENTS_PREVIEW_ERRORS,
|
||||
'@storybook/core-events/preview-errors': CORE_EVENTS_PREVIEW_ERRORS,
|
||||
|
||||
'storybook/internal/preview-api': PREVIEW_API,
|
||||
'@storybook/preview-api': PREVIEW_API,
|
||||
|
||||
'storybook/internal/types': TYPES,
|
||||
'@storybook/types': TYPES,
|
||||
};
|
||||
|
@ -1,47 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/builder-manager",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"description": "Storybook manager builder",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
],
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/builders/builder-manager",
|
||||
"bugs": {
|
||||
"url": "https://github.com/storybookjs/storybook/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/storybookjs/storybook.git",
|
||||
"directory": "code/builders/builder-manager"
|
||||
},
|
||||
"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",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/builder-manager/shim.d.ts
vendored
2
code/deprecated/builder-manager/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/builder-manager';
|
||||
export type * from 'storybook/internal/builder-manager';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/builder-manager');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/builder-manager';
|
@ -1,47 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/channels",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"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",
|
||||
"import": "./shim.mjs",
|
||||
"require": "./shim.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"main": "./shim.js",
|
||||
"module": "./shim.mjs",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/channels/shim.d.ts
vendored
2
code/deprecated/channels/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/channels';
|
||||
export type * from 'storybook/internal/channels';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/channels');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/channels';
|
@ -1,47 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/client-logger",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"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",
|
||||
"import": "./shim.mjs",
|
||||
"require": "./shim.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"main": "./shim.js",
|
||||
"module": "./shim.mjs",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/client-logger/shim.d.ts
vendored
2
code/deprecated/client-logger/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/client-logger';
|
||||
export type * from 'storybook/internal/client-logger';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/client-logger');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/client-logger';
|
@ -1,47 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/components",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"description": "Core Storybook Components",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
],
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/deprecated/components",
|
||||
"bugs": {
|
||||
"url": "https://github.com/storybookjs/storybook/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/storybookjs/storybook.git",
|
||||
"directory": "code/deprecated/components"
|
||||
},
|
||||
"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",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/components/shim.d.ts
vendored
2
code/deprecated/components/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/components';
|
||||
export type * from 'storybook/internal/components';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/components');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/components';
|
@ -1,46 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/core-common",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"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",
|
||||
"import": "./shim.mjs",
|
||||
"require": "./shim.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"main": "./shim.js",
|
||||
"module": "./shim.mjs",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/core-common/shim.d.ts
vendored
2
code/deprecated/core-common/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/common';
|
||||
export type * from 'storybook/internal/types';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/common');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/common';
|
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/manager-errors';
|
||||
export type * from 'storybook/r-errors';
|
@ -1,6 +0,0 @@
|
||||
// This is required for compatibility in projects that don't support the exports map field (e.g. Jest 27),
|
||||
// so when require paths such as `@storybook/core-events/manager-errors`,
|
||||
// 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('storybook/internal/manager-errors');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/manager-errors';
|
@ -1,78 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/core-events",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"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",
|
||||
"import": "./shim.mjs",
|
||||
"require": "./shim.js"
|
||||
},
|
||||
"./preview-errors": {
|
||||
"types": "./preview-errors.d.ts",
|
||||
"import": "./preview-errors.mjs",
|
||||
"require": "./preview-errors.js"
|
||||
},
|
||||
"./manager-errors": {
|
||||
"types": "./manager-errors.d.ts",
|
||||
"import": "./manager-errors.mjs",
|
||||
"require": "./manager-errors.js"
|
||||
},
|
||||
"./server-errors": {
|
||||
"types": "./server-errors.d.ts",
|
||||
"import": "./server-errors.mjs",
|
||||
"require": "./server-errors.js"
|
||||
},
|
||||
"./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": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/preview-errors';
|
||||
export type * from 'storybook/internal/preview-errors';
|
@ -1,6 +0,0 @@
|
||||
// This is required for compatibility in projects that don't support the exports map field (e.g. Jest 27),
|
||||
// so when require paths such as `@storybook/core-events/preview-errors`,
|
||||
// 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('storybook/internal/preview-errors');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/preview-errors';
|
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/server-errors';
|
||||
export type * from 'storybook/internal/server-errors';
|
@ -1,6 +0,0 @@
|
||||
// This is required for compatibility in projects that don't support the exports map field (e.g. Jest 27),
|
||||
// so when require paths such as `@storybook/core-events/server-errors`,
|
||||
// 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('storybook/internal/server-errors');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/server-errors';
|
2
code/deprecated/core-events/shim.d.ts
vendored
2
code/deprecated/core-events/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/core-events';
|
||||
export type * from 'storybook/internal/core-events';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/core-events');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/core-events';
|
@ -1,47 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/core-server",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
],
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/core-server",
|
||||
"bugs": {
|
||||
"url": "https://github.com/storybookjs/storybook/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/storybookjs/storybook.git",
|
||||
"directory": "code/lib/core-server"
|
||||
},
|
||||
"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",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/core-server/shim.d.ts
vendored
2
code/deprecated/core-server/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/core-server';
|
||||
export type * from 'storybook/internal/core-server';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/core-server');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/core-server';
|
@ -1,46 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/csf-tools",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"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",
|
||||
"import": "./shim.mjs",
|
||||
"require": "./shim.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"main": "./shim.js",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/csf-tools/shim.d.ts
vendored
2
code/deprecated/csf-tools/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/csf-tools';
|
||||
export type * from 'storybook/internal/csf-tools';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/csf-tools');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/csf-tools';
|
@ -1,47 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/docs-tools",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"description": "Shared utility functions for frameworks to implement docs",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
],
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/docs-tools",
|
||||
"bugs": {
|
||||
"url": "https://github.com/storybookjs/storybook/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/storybookjs/storybook.git",
|
||||
"directory": "code/lib/docs-tools"
|
||||
},
|
||||
"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",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/docs-tools/shim.d.ts
vendored
2
code/deprecated/docs-tools/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/docs-tools';
|
||||
export type * from 'storybook/internal/docs-tools';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/docs-tools');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/docs-tools';
|
@ -1,46 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/manager-api",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"description": "Core Storybook Manager API & Context",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
],
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/manager-api",
|
||||
"bugs": {
|
||||
"url": "https://github.com/storybookjs/storybook/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/storybookjs/storybook.git",
|
||||
"directory": "code/lib/manager-api"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/storybook"
|
||||
},
|
||||
"license": "MIT",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./shim.d.ts",
|
||||
"import": "./shim.mjs",
|
||||
"require": "./shim.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"main": "./shim.js",
|
||||
"module": "./shim.mjs",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/manager-api/shim.d.ts
vendored
2
code/deprecated/manager-api/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/manager-api';
|
||||
export type * from 'storybook/internal/manager-api';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/manager-api');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/manager-api';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/manager/globals');
|
2
code/deprecated/manager/globals.d.ts
vendored
2
code/deprecated/manager/globals.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/manager/globals';
|
||||
export type * from 'storybook/internal/manager/globals';
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/manager/globals';
|
@ -1,44 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/manager",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"description": "Core Storybook UI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
],
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/deprecated/manager",
|
||||
"bugs": {
|
||||
"url": "https://github.com/storybookjs/storybook/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/storybookjs/storybook.git",
|
||||
"directory": "code/deprecated/manager"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/storybook"
|
||||
},
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./globals": {
|
||||
"type": "./globals.d.ts",
|
||||
"import": "./globals.js",
|
||||
"require": "./globals.cjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/node-logger",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"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",
|
||||
"import": "./shim.mjs",
|
||||
"require": "./shim.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"main": "./shim.js",
|
||||
"module": "./shim.mjs",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/node-logger/shim.d.ts
vendored
2
code/deprecated/node-logger/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/node-logger';
|
||||
export type * from 'storybook/internal/node-logger';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/node-logger');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/node-logger';
|
@ -1,48 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/preview-api",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"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": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
2
code/deprecated/preview-api/shim.d.ts
vendored
2
code/deprecated/preview-api/shim.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/preview-api';
|
||||
export type * from 'storybook/internal/preview-api';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/preview-api');
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/preview-api';
|
@ -1 +0,0 @@
|
||||
module.exports = require('storybook/internal/preview/globals');
|
2
code/deprecated/preview/globals.d.ts
vendored
2
code/deprecated/preview/globals.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
export * from 'storybook/internal/preview/globals';
|
||||
export type * from 'storybook/internal/preview/globals';
|
@ -1 +0,0 @@
|
||||
export * from 'storybook/internal/preview/globals';
|
@ -1,44 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/preview",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
],
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/preview",
|
||||
"bugs": {
|
||||
"url": "https://github.com/storybookjs/storybook/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/storybookjs/storybook.git",
|
||||
"directory": "code/lib/preview"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/storybook"
|
||||
},
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./globals": {
|
||||
"type": "./globals.d.ts",
|
||||
"import": "./globals.js",
|
||||
"require": "./globals.cjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/router",
|
||||
"version": "9.0.0-alpha.0",
|
||||
"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",
|
||||
"import": "./shim.mjs",
|
||||
"require": "./shim.js"
|
||||
},
|
||||
"./utils": {
|
||||
"types": "./utils.d.ts",
|
||||
"import": "./shim.mjs",
|
||||
"require": "./utils.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"main": "./shim.js",
|
||||
"module": "./shim.mjs",
|
||||
"types": "./shim.d.ts",
|
||||
"files": [
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.mjs",
|
||||
"*.cjs",
|
||||
"*.d.ts"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 || ^9.0.0-0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user