Merge remote-tracking branch 'origin/next' into nested-addons

This commit is contained in:
Ian VanSchooten 2022-11-08 08:07:12 -05:00
commit 50826f29ad
127 changed files with 1470 additions and 1321 deletions

View File

@ -40,7 +40,7 @@ jobs:
- id: next-version
uses: notiz-dev/github-action-json-property@release
with:
path: ${{ github.workspace }}/next/package.json
path: ${{ github.workspace }}/next/code/package.json
prop_path: version
- run: |

View File

@ -5,12 +5,11 @@ on:
branches:
- next
pull_request:
types: [opened, reopened, labeled, synchronize]
types: [opened, synchronize, reopened]
jobs:
build:
name: Core Unit Tests node-${{ matrix.node_version }}, ${{ matrix.os }}
if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'ci:matrix')
strategy:
fail-fast: false
matrix:
@ -28,8 +27,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: yarn
- name: install and compile
run: yarn task --task compile --start-from=auto
run: yarn task --task compile --start-from=auto --no-link
- name: test
run: yarn test --runInBand --ci

View File

@ -1,3 +1,53 @@
## 7.0.0-alpha.48 (November 7, 2022)
#### Breaking Changes
- Preact: Make preact use inline stories (without iframe) by default in docs [#19741](https://github.com/storybooks/storybook/pull/19741)
#### Features
- Angular: Undo template gen removal during deprecation property removal [#19614](https://github.com/storybooks/storybook/pull/19614)
- CSF-tools: Support main.js default exports [#19738](https://github.com/storybooks/storybook/pull/19738)
- Addon-docs: Disable play functions in docs mode unless you set `parameters.docs.autoplay` [#19659](https://github.com/storybooks/storybook/pull/19659)
- Addon-docs: Add docsPage `automatic` to create docs entries for all components [#19713](https://github.com/storybooks/storybook/pull/19713)
- CLI: Add docsPage to all Button/Header story templates [#19715](https://github.com/storybooks/storybook/pull/19715)
#### Bug Fixes
- Svelte: Fix docs rendering [#19705](https://github.com/storybooks/storybook/pull/19705)
- React: Expose ReactFramework type [#19704](https://github.com/storybooks/storybook/pull/19704)
#### Maintenance
- Core: Update index generation to use tags to detect MDX stories [#19712](https://github.com/storybooks/storybook/pull/19712)
- CI: Fix cross OS github actions [#19754](https://github.com/storybooks/storybook/pull/19754)
- Blocks: Redo stories for controls [#19744](https://github.com/storybooks/storybook/pull/19744)
- Blocks: Setup and create example story for blocks with context [#19740](https://github.com/storybooks/storybook/pull/19740)
- Client-api: Fix export from store [#19720](https://github.com/storybooks/storybook/pull/19720)
- Pull renderer+builder from framework's package.json + a known list [#19717](https://github.com/storybooks/storybook/pull/19717)
- CLI: Add automigration to set docsPage = 'automatic' for existing Storybooks [#19716](https://github.com/storybooks/storybook/pull/19716)
- Builder-webpack5: Use import.meta.webpackHot instead of module.hot for check [#19686](https://github.com/storybooks/storybook/pull/19686)
- Fix: Point to correct .d.ts files from export maps [#19724](https://github.com/storybooks/storybook/pull/19724)
- CLI: Remove deprecated `-s` flag on `sb init` [#19585](https://github.com/storybooks/storybook/pull/19585)
#### Build
- Build: Fix eslint formatting in scripts [#19765](https://github.com/storybooks/storybook/pull/19765)
- Sandboxes: Fix up stories entry to allow HMR [#19750](https://github.com/storybooks/storybook/pull/19750)
- Fix prepare script on Windows machines [#19762](https://github.com/storybooks/storybook/pull/19762)
- CI: Fix fix handle-release-branches workflow [#19756](https://github.com/storybooks/storybook/pull/19756)
- Build: Cancel workflow in CI on steps failure [#19748](https://github.com/storybooks/storybook/pull/19748)
- CI: Schedule a daily job that runs all sandboxes [#19699](https://github.com/storybooks/storybook/pull/19699)
- Build: Delete node_modules in repro generation [#19734](https://github.com/storybooks/storybook/pull/19734)
- Fix: dts facade generator did not support deep links [#19723](https://github.com/storybooks/storybook/pull/19723)
- Build: Re-enable test-runner for vue-cli [#19706](https://github.com/storybooks/storybook/pull/19706)
#### Dependency Upgrades
- Upgrade mdx2-csf to fix mdxSource generation [#19766](https://github.com/storybooks/storybook/pull/19766)
- Dependencies: Bump prettier dependency, cleanup config [#19672](https://github.com/storybooks/storybook/pull/19672)
- Vue: Add babel loader 9.0.0 to vue-webpack5 peer dependencies [#19697](https://github.com/storybooks/storybook/pull/19697)
## 7.0.0-alpha.47 (November 1, 2022)
#### Features

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Test component compliance with web accessibility standards",
"keywords": [
"a11y",
@ -62,15 +62,15 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-highlight": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/channels": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/addon-highlight": "7.0.0-alpha.48",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/channels": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"axe-core": "^4.2.0",
"global": "^4.4.0",
"lodash": "^4.17.21",
@ -102,7 +102,7 @@
"./src/preview.tsx"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Accessibility",
"icon": "https://user-images.githubusercontent.com/263385/101991665-47042f80-3c7c-11eb-8f00-64b5a18f498a.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Get UI feedback when an action is performed on an interactive element",
"keywords": [
"storybook",
@ -76,13 +76,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"dequal": "^2.0.2",
"global": "^4.4.0",
"lodash": "^4.17.21",
@ -120,7 +120,7 @@
"./src/preview.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Actions",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Switch backgrounds to view components in different settings",
"keywords": [
"addon",
@ -75,13 +75,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"global": "^4.4.0",
"memoizerific": "^1.11.3",
"ts-dedent": "^2.0.0"
@ -111,7 +111,7 @@
"./src/preview.tsx"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Backgrounds",
"icon": "https://user-images.githubusercontent.com/263385/101991667-479cc600-3c7c-11eb-96d3-410e936252e7.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-controls",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Interact with component inputs dynamically in the Storybook UI",
"keywords": [
"addon",
@ -67,16 +67,16 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/blocks": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/store": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/blocks": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/store": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"lodash": "^4.17.21",
"ts-dedent": "^2.0.0"
},
@ -102,7 +102,7 @@
],
"platform": "browser"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Controls",
"icon": "https://user-images.githubusercontent.com/263385/101991669-479cc600-3c7c-11eb-93d9-38b67e8371f2.png",

View File

@ -2,11 +2,11 @@ const path = require('path');
const { ScriptTransformer } = require('@jest/transform');
const { dedent } = require('ts-dedent');
const { compileAsync } = require('@storybook/mdx2-csf');
const { compile } = require('@storybook/mdx2-csf');
module.exports = {
async processAsync(src, filename, config, { instrument }) {
const code = await compileAsync(src, { skipCsf: false });
const code = await compile(src, { skipCsf: false });
const result = dedent`
/* @jsx mdx */
import React from 'react'

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-docs",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Document component usage and properties in Markdown",
"keywords": [
"addon",
@ -52,22 +52,22 @@
"@babel/plugin-transform-react-jsx": "^7.12.12",
"@jest/transform": "^26.6.2",
"@mdx-js/react": "^2.1.5",
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/blocks": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/csf-plugin": "7.0.0-alpha.47",
"@storybook/csf-tools": "7.0.0-alpha.47",
"@storybook/docs-tools": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/blocks": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/csf-plugin": "7.0.0-alpha.48",
"@storybook/csf-tools": "7.0.0-alpha.48",
"@storybook/docs-tools": "7.0.0-alpha.48",
"@storybook/mdx2-csf": "next",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/postinstall": "7.0.0-alpha.47",
"@storybook/preview-web": "7.0.0-alpha.47",
"@storybook/store": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/postinstall": "7.0.0-alpha.48",
"@storybook/preview-web": "7.0.0-alpha.48",
"@storybook/store": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"dequal": "^2.0.2",
"fs-extra": "^9.0.1",
"global": "^4.4.0",
@ -94,7 +94,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Docs",
"icon": "https://user-images.githubusercontent.com/263385/101991672-48355c80-3c7c-11eb-82d9-95fa12438f64.png",

View File

@ -160,10 +160,9 @@ export async function webpack(
return result;
}
export const storyIndexers = async (indexers: CoreCommon_StoryIndexer[] | null) => {
export const storyIndexers = (indexers: CoreCommon_StoryIndexer[] | null) => {
const mdxIndexer = async (fileName: string, opts: CoreCommon_IndexerOptions) => {
let code = (await fs.readFile(fileName, 'utf-8')).toString();
// @ts-expect-error (Converted from ts-ignore)
const { compile } = await import('@storybook/mdx2-csf');
code = await compile(code, {});
return loadCsf(code, { ...opts, fileName }).parse();
@ -172,7 +171,6 @@ export const storyIndexers = async (indexers: CoreCommon_StoryIndexer[] | null)
{
test: /(stories|story)\.mdx$/,
indexer: mdxIndexer,
addDocsTemplate: true,
},
...(indexers || []),
];

View File

@ -1,6 +1,6 @@
import { Meta } from '@storybook/addon-docs';
<Meta title="addons/docs/docs2/Yabbadabbadooo" />
<Meta title="Yabbadabbadooo" />
# Docs with title

View File

@ -1,24 +1,22 @@
import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import globalThis from 'global';
<Meta title="addons/docs/stories-mdx/basic" component={globalThis.Components.Button} />
<Meta component={globalThis.Components.Button} />
# MDX Stories
This file demonstrates defining stories inside MDX.
<Canvas>
<Story
name="Primary"
args={{ label: 'Primary' }}
/>
<Story name="Primary" args={{ label: 'Primary' }} />
</Canvas>
<ArgsTable story="^" />
<Canvas>
<Story
name="Secondary"
args={{ label: 'Secondary' }}
/>
<Story name="Secondary" args={{ label: 'Secondary' }} />
</Canvas>
<Canvas>
<div>Non-story content</div>
</Canvas>

View File

@ -1,8 +1,8 @@
import { Meta, Story, Canvas } from '@storybook/addon-docs';
import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import globalThis from 'global';
import * as Csf from './csf-in-mdx.stories.js';
<Meta title="addons/docs/stories-mdx/csf-in-mdx" component={globalThis.Components.Button} />
<Meta component={globalThis.Components.Button} />
# Legacy CSF in MDX Stories

View File

@ -1,7 +1,7 @@
import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import globalThis from 'global';
<Meta title="addons/docs/stories-mdx/iframe" component={globalThis.Components.Button} />
<Meta component={globalThis.Components.Button} />
# MDX Stories

View File

@ -1,11 +1,7 @@
import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import globalThis from 'global';
<Meta
title="addons/docs/stories-mdx/play functions"
component={globalThis.Components.Button}
play={() => console.log('component play')}
/>
<Meta component={globalThis.Components.Button} play={() => console.log('component play')} />
# MDX Play function Stories

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-essentials",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Curated addons to bring out the best of Storybook",
"keywords": [
"addon",
@ -111,24 +111,24 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-actions": "7.0.0-alpha.47",
"@storybook/addon-backgrounds": "7.0.0-alpha.47",
"@storybook/addon-controls": "7.0.0-alpha.47",
"@storybook/addon-docs": "7.0.0-alpha.47",
"@storybook/addon-highlight": "7.0.0-alpha.47",
"@storybook/addon-measure": "7.0.0-alpha.47",
"@storybook/addon-outline": "7.0.0-alpha.47",
"@storybook/addon-toolbars": "7.0.0-alpha.47",
"@storybook/addon-viewport": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/addon-actions": "7.0.0-alpha.48",
"@storybook/addon-backgrounds": "7.0.0-alpha.48",
"@storybook/addon-controls": "7.0.0-alpha.48",
"@storybook/addon-docs": "7.0.0-alpha.48",
"@storybook/addon-highlight": "7.0.0-alpha.48",
"@storybook/addon-measure": "7.0.0-alpha.48",
"@storybook/addon-outline": "7.0.0-alpha.48",
"@storybook/addon-toolbars": "7.0.0-alpha.48",
"@storybook/addon-viewport": "7.0.0-alpha.48",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@storybook/vue": "7.0.0-alpha.47",
"@storybook/vue": "7.0.0-alpha.48",
"@types/jest": "^26.0.16",
"typescript": "~4.6.3"
},
@ -196,5 +196,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-highlight",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Highlight DOM nodes within your stories",
"keywords": [
"storybook-addons",
@ -60,8 +60,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"global": "^4.4.0"
},
"devDependencies": {
@ -77,7 +77,7 @@
"./src/preview.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Highlight",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-interactions",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Automate, test and debug user interactions",
"keywords": [
"storybook-addons",
@ -72,15 +72,15 @@
},
"dependencies": {
"@devtools-ds/object-inspector": "^1.1.2",
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/instrumenter": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/instrumenter": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"global": "^4.4.0",
"jest-mock": "^27.0.6",
"polished": "^4.2.2",
@ -117,7 +117,7 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Interactions",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
@ -69,12 +69,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"global": "^4.4.0",
"react-sizeme": "^3.0.1",
"upath": "^1.2.0"
@ -104,7 +104,7 @@
],
"platform": "browser"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Jest",
"icon": "https://pbs.twimg.com/profile_images/821713465245102080/mMtKIMax_400x400.jpg",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-links",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Link stories together to build demos and prototypes with your UI components",
"keywords": [
"addon",
@ -76,12 +76,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/csf": "next",
"@storybook/router": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/router": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"global": "^4.4.0",
"prop-types": "^15.7.2",
"ts-dedent": "^2.0.0"
@ -112,7 +112,7 @@
"./src/react/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Links",
"icon": "https://user-images.githubusercontent.com/263385/101991673-48355c80-3c7c-11eb-9b6e-b627c96a75f6.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-measure",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Inspect layouts by visualizing the box model",
"keywords": [
"storybook-addons",
@ -74,12 +74,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"global": "^4.4.0"
},
"devDependencies": {
@ -107,7 +107,7 @@
"./src/preview.tsx"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Measure",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-outline",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Outline all elements with CSS to help with layout placement and alignment",
"keywords": [
"storybook-addons",
@ -77,12 +77,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"global": "^4.4.0",
"ts-dedent": "^2.0.0"
},
@ -111,7 +111,7 @@
"./src/preview.tsx"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Outline",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Take a code snapshot of every story automatically with Jest",
"keywords": [
"addon",
@ -38,13 +38,13 @@
},
"dependencies": {
"@jest/transform": "^26.6.2",
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/babel-plugin-require-context-hook": "1.0.1",
"@storybook/client-api": "7.0.0-alpha.47",
"@storybook/core-client": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/client-api": "7.0.0-alpha.48",
"@storybook/core-client": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.16",
"@types/jest-specific-snapshot": "^0.5.3",
@ -62,11 +62,11 @@
"@angular/core": "^13.3.6",
"@angular/platform-browser-dynamic": "^13.3.6",
"@emotion/jest": "^11.8.0",
"@storybook/addon-docs": "7.0.0-alpha.47",
"@storybook/angular": "7.0.0-alpha.47",
"@storybook/react": "7.0.0-alpha.47",
"@storybook/vue": "7.0.0-alpha.47",
"@storybook/vue3": "7.0.0-alpha.47",
"@storybook/addon-docs": "7.0.0-alpha.48",
"@storybook/angular": "7.0.0-alpha.48",
"@storybook/react": "7.0.0-alpha.48",
"@storybook/vue": "7.0.0-alpha.48",
"@storybook/vue3": "7.0.0-alpha.48",
"babel-loader": "^8.2.5",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.1",
@ -144,7 +144,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Storyshots",
"icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png",

View File

@ -33,7 +33,7 @@ interface Output {
requireContexts?: string[];
}
const supportedExtensions = ['ts', 'tsx', 'js', 'jsx'];
const supportedExtensions = ['ts', 'tsx', 'js', 'jsx', 'cjs', 'mjs'];
const resolveFile = (configDir: string, supportedFilenames: string[]) =>
supportedFilenames

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots-puppeteer",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Image snapshots addition to StoryShots based on puppeteer",
"keywords": [
"addon",
@ -35,8 +35,8 @@
"dependencies": {
"@axe-core/puppeteer": "^4.2.0",
"@storybook/csf": "next",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"@types/jest-image-snapshot": "^4.1.3",
"jest-image-snapshot": "^4.3.0"
},
@ -45,7 +45,7 @@
"puppeteer": "^2.0.0 || ^3.0.0"
},
"peerDependencies": {
"@storybook/addon-storyshots": "7.0.0-alpha.47",
"@storybook/addon-storyshots": "7.0.0-alpha.48",
"puppeteer": ">=2.0.0"
},
"peerDependenciesMeta": {
@ -56,5 +56,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storysource",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "View a storys source code to see how it works and paste into your app",
"keywords": [
"addon",
@ -53,13 +53,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/router": "7.0.0-alpha.47",
"@storybook/source-loader": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/router": "7.0.0-alpha.48",
"@storybook/source-loader": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"estraverse": "^5.2.0",
"prop-types": "^15.7.2",
"react-syntax-highlighter": "^15.5.0"
@ -91,7 +91,7 @@
"./src/preset.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Storysource",
"icon": "https://user-images.githubusercontent.com/263385/101991675-48cdf300-3c7c-11eb-9400-58de5ac6daa7.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-toolbars",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Create your own toolbar items that control story rendering",
"keywords": [
"addon",
@ -67,11 +67,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47"
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48"
},
"devDependencies": {
"typescript": "~4.6.3"
@ -98,7 +98,7 @@
],
"platform": "browser"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Toolbars",
"icon": "https://user-images.githubusercontent.com/263385/101991677-48cdf300-3c7c-11eb-93b4-19b0e3366959.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-viewport",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Build responsive components by adjusting Storybooks viewport size and orientation",
"keywords": [
"addon",
@ -72,12 +72,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"global": "^4.4.0",
"memoizerific": "^1.11.3",
"prop-types": "^15.7.2"
@ -108,7 +108,7 @@
"./src/preview.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7",
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd",
"storybook": {
"displayName": "Viewport",
"icon": "https://user-images.githubusercontent.com/263385/101991678-48cdf300-3c7c-11eb-9764-f8af293c1b28.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/angular",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
"keywords": [
"storybook",
@ -34,19 +34,19 @@
"prep": "rimraf dist && ../../../scripts/node_modules/.bin/tsc --project tsconfig.build.json && echo \"Preventing passing flags to tsc\""
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-client": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/core-server": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/docs-tools": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/store": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-client": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/core-server": "7.0.0-alpha.48",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@storybook/docs-tools": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/store": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"@types/react": "^16.14.23",
"@types/react-dom": "^16.9.14",
@ -122,5 +122,5 @@
"access": "public"
},
"builders": "dist/builders/builders.json",
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ember",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybookjs/storybook/tree/main/frameworks/ember",
"bugs": {
@ -31,12 +31,12 @@
"prep": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/core-client": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/docs-tools": "7.0.0-alpha.47",
"@storybook/store": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/core-client": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/docs-tools": "7.0.0-alpha.48",
"@storybook/store": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"global": "^4.4.0",
"react": "16.14.0",
"react-dom": "16.14.0",
@ -60,5 +60,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/html-webpack5",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,10 +50,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/html": "7.0.0-alpha.47",
"@storybook/preset-html-webpack": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/html": "7.0.0-alpha.48",
"@storybook/preset-html-webpack": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"global": "^4.4.0",
"react": "16.14.0",
@ -78,5 +78,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/nextjs",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Next.js",
"keywords": [
"storybook",
@ -60,12 +60,12 @@
},
"dependencies": {
"@babel/preset-typescript": "^7.18.6",
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/preset-react-webpack": "7.0.0-alpha.47",
"@storybook/react": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/preset-react-webpack": "7.0.0-alpha.48",
"@storybook/react": "7.0.0-alpha.48",
"@types/node": "^14.14.20 || ^16.0.0",
"find-up": "^5.0.0",
"fs-extra": "^9.0.1",
@ -81,7 +81,7 @@
"tsconfig-paths-webpack-plugin": "^3.5.2"
},
"devDependencies": {
"@storybook/addon-actions": "7.0.0-alpha.47",
"@storybook/addon-actions": "7.0.0-alpha.48",
"@types/loader-utils": "^2.0.3",
"next": "^12.2.4",
"typescript": "~4.6.3",
@ -121,5 +121,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preact-webpack5",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [
"storybook"
@ -50,10 +50,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/preact": "7.0.0-alpha.47",
"@storybook/preset-preact-webpack": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/preact": "7.0.0-alpha.48",
"@storybook/preset-preact-webpack": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
@ -79,5 +79,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react-vite",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -53,13 +53,13 @@
"dependencies": {
"@joshwooding/vite-plugin-react-docgen-typescript": "^0.0.5",
"@rollup/pluginutils": "^4.2.0",
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/builder-vite": "7.0.0-alpha.47",
"@storybook/channel-postmessage": "7.0.0-alpha.47",
"@storybook/channel-websocket": "7.0.0-alpha.47",
"@storybook/client-api": "7.0.0-alpha.47",
"@storybook/preview-web": "7.0.0-alpha.47",
"@storybook/react": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/builder-vite": "7.0.0-alpha.48",
"@storybook/channel-postmessage": "7.0.0-alpha.48",
"@storybook/channel-websocket": "7.0.0-alpha.48",
"@storybook/client-api": "7.0.0-alpha.48",
"@storybook/preview-web": "7.0.0-alpha.48",
"@storybook/react": "7.0.0-alpha.48",
"@vitejs/plugin-react": "^2.0.0",
"ast-types": "^0.14.2",
"magic-string": "^0.26.1",
@ -88,5 +88,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react-webpack5",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -51,9 +51,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/preset-react-webpack": "7.0.0-alpha.47",
"@storybook/react": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/preset-react-webpack": "7.0.0-alpha.48",
"@storybook/react": "7.0.0-alpha.48",
"@types/node": "^16.0.0"
},
"devDependencies": {
@ -86,5 +86,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/server-webpack5",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,10 +50,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/preset-server-webpack": "7.0.0-alpha.47",
"@storybook/server": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/preset-server-webpack": "7.0.0-alpha.48",
"@storybook/server": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
@ -74,5 +74,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/svelte-vite",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Svelte and Vite: Develop Svelte components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -52,14 +52,14 @@
},
"dependencies": {
"@storybook/addon-svelte-csf": "^2.0.0",
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/builder-vite": "7.0.0-alpha.47",
"@storybook/channel-postmessage": "7.0.0-alpha.47",
"@storybook/channel-websocket": "7.0.0-alpha.47",
"@storybook/client-api": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/preview-web": "7.0.0-alpha.47",
"@storybook/svelte": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/builder-vite": "7.0.0-alpha.48",
"@storybook/channel-postmessage": "7.0.0-alpha.48",
"@storybook/channel-websocket": "7.0.0-alpha.48",
"@storybook/client-api": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/preview-web": "7.0.0-alpha.48",
"@storybook/svelte": "7.0.0-alpha.48",
"@sveltejs/vite-plugin-svelte": "^1.0.0",
"magic-string": "^0.26.1",
"svelte": "^3.0.0",
@ -92,5 +92,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/svelte-webpack5",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -51,10 +51,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/preset-svelte-webpack": "7.0.0-alpha.47",
"@storybook/svelte": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/preset-svelte-webpack": "7.0.0-alpha.48",
"@storybook/svelte": "7.0.0-alpha.48",
"react": "16.14.0",
"react-dom": "16.14.0"
},
@ -81,5 +81,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue-vite",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Vue2 and Vite: Develop Vue2 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,15 +50,15 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/builder-vite": "7.0.0-alpha.47",
"@storybook/channel-postmessage": "7.0.0-alpha.47",
"@storybook/channel-websocket": "7.0.0-alpha.47",
"@storybook/client-api": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/core-server": "7.0.0-alpha.47",
"@storybook/preview-web": "7.0.0-alpha.47",
"@storybook/vue": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/builder-vite": "7.0.0-alpha.48",
"@storybook/channel-postmessage": "7.0.0-alpha.48",
"@storybook/channel-websocket": "7.0.0-alpha.48",
"@storybook/client-api": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/core-server": "7.0.0-alpha.48",
"@storybook/preview-web": "7.0.0-alpha.48",
"@storybook/vue": "7.0.0-alpha.48",
"magic-string": "^0.26.1",
"vite": "^3.1.3",
"vue-docgen-api": "^4.40.0"
@ -83,5 +83,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue-webpack5",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,10 +50,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/preset-vue-webpack": "7.0.0-alpha.47",
"@storybook/vue": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/preset-vue-webpack": "7.0.0-alpha.48",
"@storybook/vue": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
@ -85,5 +85,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue3-vite",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Vue3 and Vite: Develop Vue3 components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -51,14 +51,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/builder-vite": "7.0.0-alpha.47",
"@storybook/channel-postmessage": "7.0.0-alpha.47",
"@storybook/channel-websocket": "7.0.0-alpha.47",
"@storybook/client-api": "7.0.0-alpha.47",
"@storybook/core-server": "7.0.0-alpha.47",
"@storybook/preview-web": "7.0.0-alpha.47",
"@storybook/vue3": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/builder-vite": "7.0.0-alpha.48",
"@storybook/channel-postmessage": "7.0.0-alpha.48",
"@storybook/channel-websocket": "7.0.0-alpha.48",
"@storybook/client-api": "7.0.0-alpha.48",
"@storybook/core-server": "7.0.0-alpha.48",
"@storybook/preview-web": "7.0.0-alpha.48",
"@storybook/vue3": "7.0.0-alpha.48",
"@vitejs/plugin-vue": "^3.0.0",
"magic-string": "^0.26.1",
"vite": "^3.1.3",
@ -82,5 +82,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue3-webpack5",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,10 +50,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/preset-vue3-webpack": "7.0.0-alpha.47",
"@storybook/vue3": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/preset-vue3-webpack": "7.0.0-alpha.48",
"@storybook/vue3": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
@ -82,5 +82,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/web-components-vite",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for web-components and Vite: Develop Web Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -51,15 +51,15 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/builder-vite": "7.0.0-alpha.47",
"@storybook/channel-postmessage": "7.0.0-alpha.47",
"@storybook/channel-websocket": "7.0.0-alpha.47",
"@storybook/client-api": "7.0.0-alpha.47",
"@storybook/core-server": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/preview-web": "7.0.0-alpha.47",
"@storybook/web-components": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/builder-vite": "7.0.0-alpha.48",
"@storybook/channel-postmessage": "7.0.0-alpha.48",
"@storybook/channel-websocket": "7.0.0-alpha.48",
"@storybook/client-api": "7.0.0-alpha.48",
"@storybook/core-server": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/preview-web": "7.0.0-alpha.48",
"@storybook/web-components": "7.0.0-alpha.48",
"magic-string": "^0.26.1",
"vite": "3"
},
@ -81,5 +81,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/web-components-webpack5",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
"keywords": [
"lit-html",
@ -53,10 +53,10 @@
},
"dependencies": {
"@babel/preset-env": "^7.12.11",
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/preset-web-components-webpack": "7.0.0-alpha.47",
"@storybook/web-components": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/preset-web-components-webpack": "7.0.0-alpha.48",
"@storybook/web-components": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
@ -81,5 +81,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,5 +1,23 @@
const os = require('os');
// TODO Revisit this test later, when we have a windows machine @valentinpalkovic
const skipOnWindows = [
'lib/core-server/src/utils/stories-json.test.ts',
'lib/core-server/src/utils/StoryIndexGenerator.test.ts',
'lib/cli/src/helpers.test.ts',
'lib/core-server/src/utils/__tests__/server-statics.test.ts',
'lib/core-common/src/utils/__tests__/template.test.ts',
'addons/storyshots/storyshots-core/src/frameworks/configure.test.ts',
'lib/core-common/src/utils/__tests__/interpret-files.test.ts',
'lib/builder-manager/src/utils/files.test.ts',
'lib/cli/src/helpers.test.ts',
'lib/core-server/src/utils/__tests__/server-statics.test.ts',
'lib/core-common/src/utils/__tests__/template.test.ts',
'addons/storyshots/storyshots-core/src/frameworks/configure.test.ts',
'lib/core-common/src/utils/__tests__/interpret-files.test.ts',
'lib/builder-manager/src/utils/files.test.ts',
];
module.exports = {
cacheDirectory: '.cache/jest',
clearMocks: true,
@ -51,6 +69,7 @@ module.exports = {
'/renderers/svelte/src/public-types.test.ts',
'/renderers/vue/src/public-types.test.ts',
'/renderers/vue3/src/public-types.test.ts',
...(process.platform === 'win32' ? skipOnWindows : []),
],
collectCoverage: false,
collectCoverageFrom: [

View File

@ -2,5 +2,5 @@
"npmClient": "yarn",
"useWorkspaces": true,
"registry": "https://registry.npmjs.org",
"version": "7.0.0-alpha.47"
"version": "7.0.0-alpha.48"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addons",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook addons store",
"keywords": [
"storybook"
@ -42,13 +42,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/api": "7.0.0-alpha.47",
"@storybook/channels": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/router": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/channels": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/router": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"global": "^4.4.0"
},
"peerDependencies": {
@ -63,5 +63,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/api",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Core Storybook API & Context",
"keywords": [
"storybook"
@ -45,13 +45,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/channels": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/csf": "next",
"@storybook/router": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/router": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"dequal": "^2.0.2",
"global": "^4.4.0",
"lodash": "^4.17.21",
@ -64,7 +64,7 @@
},
"devDependencies": {
"@jest/globals": "^26.6.2",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.48",
"@types/lodash": "^4.14.167",
"@types/qs": "^6",
"flush-promises": "^1.0.2",
@ -84,5 +84,5 @@
"./src/shortcut.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1 +1 @@
export const version = '7.0.0-alpha.47';
export const version = '7.0.0-alpha.48';

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/builder-manager",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook manager builder",
"keywords": [
"storybook"
@ -42,9 +42,9 @@
},
"dependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/manager": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/manager": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@types/ejs": "^3.1.1",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10",
"browser-assert": "^1.2.1",
@ -69,5 +69,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/builder-vite",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "A plugin to run and build Storybooks with Vite",
"homepage": "https://github.com/storybookjs/storybook/tree/main/code/lib/builder-vite/#readme",
"repository": {
@ -19,14 +19,14 @@
},
"dependencies": {
"@joshwooding/vite-plugin-react-docgen-typescript": "0.0.5",
"@storybook/client-api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/client-api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/mdx2-csf": "next",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/preview-web": "7.0.0-alpha.47",
"@storybook/source-loader": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/preview-web": "7.0.0-alpha.48",
"@storybook/source-loader": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"@vitejs/plugin-react": "^2.0.0",
"browser-assert": "^1.2.1",
"es-module-lexer": "^0.9.3",
@ -45,5 +45,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -44,7 +44,6 @@ export function mdxPlugin(): Plugin {
async transform(src, id, options) {
if (!filter(id)) return undefined;
// @ts-expect-error typescript doesn't think compile exists, but it does.
const { compile } = await import('@storybook/mdx2-csf');
const mdxCode = String(await compile(src, { skipCsf: !isStorybookMdx(id) }));

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/builder-webpack5",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -53,22 +53,22 @@
},
"dependencies": {
"@babel/core": "^7.12.10",
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/api": "7.0.0-alpha.47",
"@storybook/channel-postmessage": "7.0.0-alpha.47",
"@storybook/channel-websocket": "7.0.0-alpha.47",
"@storybook/channels": "7.0.0-alpha.47",
"@storybook/client-api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/components": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/preview-web": "7.0.0-alpha.47",
"@storybook/router": "7.0.0-alpha.47",
"@storybook/store": "7.0.0-alpha.47",
"@storybook/theming": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/api": "7.0.0-alpha.48",
"@storybook/channel-postmessage": "7.0.0-alpha.48",
"@storybook/channel-websocket": "7.0.0-alpha.48",
"@storybook/channels": "7.0.0-alpha.48",
"@storybook/client-api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/components": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/preview-web": "7.0.0-alpha.48",
"@storybook/router": "7.0.0-alpha.48",
"@storybook/store": "7.0.0-alpha.48",
"@storybook/theming": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.4",
"babel-loader": "^8.2.5",
@ -120,5 +120,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-postmessage",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@ -42,9 +42,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/channels": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"global": "^4.4.0",
"qs": "^6.10.0",
"telejson": "^6.0.8"
@ -60,5 +60,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-websocket",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@ -34,8 +34,8 @@
"prep": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/channels": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"global": "^4.4.0",
"telejson": "^6.0.8"
},
@ -45,5 +45,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@ -52,5 +52,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "sb",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook CLI",
"keywords": [
"storybook"
@ -24,7 +24,7 @@
"prep": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/cli": "7.0.0-alpha.47"
"@storybook/cli": "7.0.0-alpha.48"
},
"devDependencies": {
"typescript": "~4.6.3"
@ -32,5 +32,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "storybook",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook CLI",
"keywords": [
"storybook"
@ -27,7 +27,7 @@
"prep": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/cli": "7.0.0-alpha.47"
"@storybook/cli": "7.0.0-alpha.48"
},
"devDependencies": {
"typescript": "~4.6.3"
@ -35,5 +35,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -0,0 +1,2 @@
// TODO: Once we upgrade to Jest 28/29 we can probably remove this entire mock.
module.exports = {};

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/cli",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [
"cli",
@ -43,13 +43,13 @@
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@storybook/codemod": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/core-server": "7.0.0-alpha.47",
"@storybook/csf-tools": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/telemetry": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/codemod": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/core-server": "7.0.0-alpha.48",
"@storybook/csf-tools": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/telemetry": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"@types/semver": "^7.3.4",
"boxen": "^5.1.2",
"chalk": "^4.1.0",
@ -77,7 +77,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@storybook/client-api": "7.0.0-alpha.47",
"@storybook/client-api": "7.0.0-alpha.48",
"@types/cross-spawn": "^6.0.2",
"@types/degit": "^2.8.3",
"@types/prompts": "^2.0.9",
@ -99,5 +99,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,85 +1,85 @@
// auto generated file, do not edit
export default {
'@storybook/addon-a11y': '7.0.0-alpha.47',
'@storybook/addon-actions': '7.0.0-alpha.47',
'@storybook/addon-backgrounds': '7.0.0-alpha.47',
'@storybook/addon-controls': '7.0.0-alpha.47',
'@storybook/addon-docs': '7.0.0-alpha.47',
'@storybook/addon-essentials': '7.0.0-alpha.47',
'@storybook/addon-highlight': '7.0.0-alpha.47',
'@storybook/addon-interactions': '7.0.0-alpha.47',
'@storybook/addon-jest': '7.0.0-alpha.47',
'@storybook/addon-links': '7.0.0-alpha.47',
'@storybook/addon-measure': '7.0.0-alpha.47',
'@storybook/addon-outline': '7.0.0-alpha.47',
'@storybook/addon-storyshots': '7.0.0-alpha.47',
'@storybook/addon-storyshots-puppeteer': '7.0.0-alpha.47',
'@storybook/addon-storysource': '7.0.0-alpha.47',
'@storybook/addon-toolbars': '7.0.0-alpha.47',
'@storybook/addon-viewport': '7.0.0-alpha.47',
'@storybook/addons': '7.0.0-alpha.47',
'@storybook/angular': '7.0.0-alpha.47',
'@storybook/api': '7.0.0-alpha.47',
'@storybook/blocks': '7.0.0-alpha.47',
'@storybook/builder-manager': '7.0.0-alpha.47',
'@storybook/builder-vite': '7.0.0-alpha.47',
'@storybook/builder-webpack5': '7.0.0-alpha.47',
'@storybook/channel-postmessage': '7.0.0-alpha.47',
'@storybook/channel-websocket': '7.0.0-alpha.47',
'@storybook/channels': '7.0.0-alpha.47',
'@storybook/cli': '7.0.0-alpha.47',
'@storybook/client-api': '7.0.0-alpha.47',
'@storybook/client-logger': '7.0.0-alpha.47',
'@storybook/codemod': '7.0.0-alpha.47',
'@storybook/components': '7.0.0-alpha.47',
'@storybook/core-client': '7.0.0-alpha.47',
'@storybook/core-common': '7.0.0-alpha.47',
'@storybook/core-events': '7.0.0-alpha.47',
'@storybook/core-server': '7.0.0-alpha.47',
'@storybook/core-webpack': '7.0.0-alpha.47',
'@storybook/csf-tools': '7.0.0-alpha.47',
'@storybook/docs-tools': '7.0.0-alpha.47',
'@storybook/ember': '7.0.0-alpha.47',
'@storybook/html': '7.0.0-alpha.47',
'@storybook/html-webpack5': '7.0.0-alpha.47',
'@storybook/instrumenter': '7.0.0-alpha.47',
'@storybook/nextjs': '7.0.0-alpha.47',
'@storybook/node-logger': '7.0.0-alpha.47',
'@storybook/postinstall': '7.0.0-alpha.47',
'@storybook/preact': '7.0.0-alpha.47',
'@storybook/preact-webpack5': '7.0.0-alpha.47',
'@storybook/preset-html-webpack': '7.0.0-alpha.47',
'@storybook/preset-preact-webpack': '7.0.0-alpha.47',
'@storybook/preset-react-webpack': '7.0.0-alpha.47',
'@storybook/preset-server-webpack': '7.0.0-alpha.47',
'@storybook/preset-svelte-webpack': '7.0.0-alpha.47',
'@storybook/preset-vue-webpack': '7.0.0-alpha.47',
'@storybook/preset-vue3-webpack': '7.0.0-alpha.47',
'@storybook/preset-web-components-webpack': '7.0.0-alpha.47',
'@storybook/preview-web': '7.0.0-alpha.47',
'@storybook/react': '7.0.0-alpha.47',
'@storybook/react-vite': '7.0.0-alpha.47',
'@storybook/react-webpack5': '7.0.0-alpha.47',
'@storybook/router': '7.0.0-alpha.47',
'@storybook/server': '7.0.0-alpha.47',
'@storybook/server-webpack5': '7.0.0-alpha.47',
'@storybook/source-loader': '7.0.0-alpha.47',
'@storybook/store': '7.0.0-alpha.47',
'@storybook/svelte': '7.0.0-alpha.47',
'@storybook/svelte-vite': '7.0.0-alpha.47',
'@storybook/svelte-webpack5': '7.0.0-alpha.47',
'@storybook/telemetry': '7.0.0-alpha.47',
'@storybook/theming': '7.0.0-alpha.47',
'@storybook/manager': '7.0.0-alpha.47',
'@storybook/vue': '7.0.0-alpha.47',
'@storybook/vue-vite': '7.0.0-alpha.47',
'@storybook/vue-webpack5': '7.0.0-alpha.47',
'@storybook/vue3': '7.0.0-alpha.47',
'@storybook/vue3-vite': '7.0.0-alpha.47',
'@storybook/vue3-webpack5': '7.0.0-alpha.47',
'@storybook/web-components': '7.0.0-alpha.47',
'@storybook/web-components-webpack5': '7.0.0-alpha.47',
'@storybook/web-components-vite': '7.0.0-alpha.47',
sb: '7.0.0-alpha.47',
storybook: '7.0.0-alpha.47',
'@storybook/addon-a11y': '7.0.0-alpha.48',
'@storybook/addon-actions': '7.0.0-alpha.48',
'@storybook/addon-backgrounds': '7.0.0-alpha.48',
'@storybook/addon-controls': '7.0.0-alpha.48',
'@storybook/addon-docs': '7.0.0-alpha.48',
'@storybook/addon-essentials': '7.0.0-alpha.48',
'@storybook/addon-highlight': '7.0.0-alpha.48',
'@storybook/addon-interactions': '7.0.0-alpha.48',
'@storybook/addon-jest': '7.0.0-alpha.48',
'@storybook/addon-links': '7.0.0-alpha.48',
'@storybook/addon-measure': '7.0.0-alpha.48',
'@storybook/addon-outline': '7.0.0-alpha.48',
'@storybook/addon-storyshots': '7.0.0-alpha.48',
'@storybook/addon-storyshots-puppeteer': '7.0.0-alpha.48',
'@storybook/addon-storysource': '7.0.0-alpha.48',
'@storybook/addon-toolbars': '7.0.0-alpha.48',
'@storybook/addon-viewport': '7.0.0-alpha.48',
'@storybook/addons': '7.0.0-alpha.48',
'@storybook/angular': '7.0.0-alpha.48',
'@storybook/api': '7.0.0-alpha.48',
'@storybook/blocks': '7.0.0-alpha.48',
'@storybook/builder-manager': '7.0.0-alpha.48',
'@storybook/builder-vite': '7.0.0-alpha.48',
'@storybook/builder-webpack5': '7.0.0-alpha.48',
'@storybook/channel-postmessage': '7.0.0-alpha.48',
'@storybook/channel-websocket': '7.0.0-alpha.48',
'@storybook/channels': '7.0.0-alpha.48',
'@storybook/cli': '7.0.0-alpha.48',
'@storybook/client-api': '7.0.0-alpha.48',
'@storybook/client-logger': '7.0.0-alpha.48',
'@storybook/codemod': '7.0.0-alpha.48',
'@storybook/components': '7.0.0-alpha.48',
'@storybook/core-client': '7.0.0-alpha.48',
'@storybook/core-common': '7.0.0-alpha.48',
'@storybook/core-events': '7.0.0-alpha.48',
'@storybook/core-server': '7.0.0-alpha.48',
'@storybook/core-webpack': '7.0.0-alpha.48',
'@storybook/csf-tools': '7.0.0-alpha.48',
'@storybook/docs-tools': '7.0.0-alpha.48',
'@storybook/ember': '7.0.0-alpha.48',
'@storybook/html': '7.0.0-alpha.48',
'@storybook/html-webpack5': '7.0.0-alpha.48',
'@storybook/instrumenter': '7.0.0-alpha.48',
'@storybook/nextjs': '7.0.0-alpha.48',
'@storybook/node-logger': '7.0.0-alpha.48',
'@storybook/postinstall': '7.0.0-alpha.48',
'@storybook/preact': '7.0.0-alpha.48',
'@storybook/preact-webpack5': '7.0.0-alpha.48',
'@storybook/preset-html-webpack': '7.0.0-alpha.48',
'@storybook/preset-preact-webpack': '7.0.0-alpha.48',
'@storybook/preset-react-webpack': '7.0.0-alpha.48',
'@storybook/preset-server-webpack': '7.0.0-alpha.48',
'@storybook/preset-svelte-webpack': '7.0.0-alpha.48',
'@storybook/preset-vue-webpack': '7.0.0-alpha.48',
'@storybook/preset-vue3-webpack': '7.0.0-alpha.48',
'@storybook/preset-web-components-webpack': '7.0.0-alpha.48',
'@storybook/preview-web': '7.0.0-alpha.48',
'@storybook/react': '7.0.0-alpha.48',
'@storybook/react-vite': '7.0.0-alpha.48',
'@storybook/react-webpack5': '7.0.0-alpha.48',
'@storybook/router': '7.0.0-alpha.48',
'@storybook/server': '7.0.0-alpha.48',
'@storybook/server-webpack5': '7.0.0-alpha.48',
'@storybook/source-loader': '7.0.0-alpha.48',
'@storybook/store': '7.0.0-alpha.48',
'@storybook/svelte': '7.0.0-alpha.48',
'@storybook/svelte-vite': '7.0.0-alpha.48',
'@storybook/svelte-webpack5': '7.0.0-alpha.48',
'@storybook/telemetry': '7.0.0-alpha.48',
'@storybook/theming': '7.0.0-alpha.48',
'@storybook/manager': '7.0.0-alpha.48',
'@storybook/vue': '7.0.0-alpha.48',
'@storybook/vue-vite': '7.0.0-alpha.48',
'@storybook/vue-webpack5': '7.0.0-alpha.48',
'@storybook/vue3': '7.0.0-alpha.48',
'@storybook/vue3-vite': '7.0.0-alpha.48',
'@storybook/vue3-webpack5': '7.0.0-alpha.48',
'@storybook/web-components': '7.0.0-alpha.48',
'@storybook/web-components-webpack5': '7.0.0-alpha.48',
'@storybook/web-components-vite': '7.0.0-alpha.48',
sb: '7.0.0-alpha.48',
storybook: '7.0.0-alpha.48',
};

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-api",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook Client API",
"keywords": [
"storybook"
@ -42,11 +42,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/csf": "next",
"@storybook/store": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/store": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"@types/qs": "^6.9.5",
"@types/webpack-env": "^1.16.4",
"global": "^4.4.0",
@ -56,7 +56,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.48",
"typescript": "~4.6.3"
},
"peerDependencies": {
@ -71,5 +71,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -195,8 +195,7 @@ export class StoryStoreFacade<TFramework extends AnyFramework> {
docsOptions.docsPage === 'automatic' ||
(docsOptions.docsPage && componentTags.includes('docsPage'));
if (docsOptions.enabled && storyExports.length) {
// We will use tags soon and this crappy filename test will go away
if (fileName.match(/\.mdx$/) || docsPageOptedIn) {
if (componentTags.includes('mdx') || docsPageOptedIn) {
const name = docsOptions.defaultName;
const docsId = toId(componentId || title, name);
this.entries[docsId] = {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@ -55,5 +55,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/codemod",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "A collection of codemod scripts written with JSCodeshift",
"keywords": [
"storybook"
@ -39,9 +39,9 @@
"dependencies": {
"@babel/types": "^7.12.11",
"@storybook/csf": "next",
"@storybook/csf-tools": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/csf-tools": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"cross-spawn": "^7.0.3",
"globby": "^11.0.2",
"jscodeshift": "^0.13.1",
@ -64,5 +64,5 @@
"./src/index.js"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-client",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -35,17 +35,17 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/channel-postmessage": "7.0.0-alpha.47",
"@storybook/channel-websocket": "7.0.0-alpha.47",
"@storybook/channels": "7.0.0-alpha.47",
"@storybook/client-api": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/channel-postmessage": "7.0.0-alpha.48",
"@storybook/channel-websocket": "7.0.0-alpha.48",
"@storybook/channels": "7.0.0-alpha.48",
"@storybook/client-api": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/csf": "next",
"@storybook/preview-web": "7.0.0-alpha.47",
"@storybook/store": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/preview-web": "7.0.0-alpha.48",
"@storybook/store": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"global": "^4.4.0",
"util-deprecate": "^1.0.2"
},
@ -65,5 +65,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -961,7 +961,7 @@ describe('start', () => {
'test',
makeRequireContext({
'./Introduction.stories.mdx': {
default: { title: 'Introduction' },
default: { title: 'Introduction', tags: ['mdx'] },
_Page: { name: 'Page', parameters: { docsOnly: true } },
},
})
@ -979,6 +979,7 @@ describe('start', () => {
"standalone": false,
"storiesImports": Array [],
"tags": Array [
"mdx",
"docs",
],
"title": "Introduction",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-common",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -47,8 +47,8 @@
},
"dependencies": {
"@babel/core": "^7.12.10",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"@types/babel__core": "^7.0.0",
"@types/express": "^4.7.0",
"@types/node": "^16.0.0",
@ -97,5 +97,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-events",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Event names used in storybook core",
"keywords": [
"storybook"
@ -52,5 +52,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-server",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -35,17 +35,17 @@
"dependencies": {
"@aw-web-design/x-default-browser": "1.4.88",
"@discoveryjs/json-ext": "^0.5.3",
"@storybook/builder-manager": "7.0.0-alpha.47",
"@storybook/core-client": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/builder-manager": "7.0.0-alpha.48",
"@storybook/core-client": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/csf": "next",
"@storybook/csf-tools": "7.0.0-alpha.47",
"@storybook/csf-tools": "7.0.0-alpha.48",
"@storybook/docs-mdx": "0.0.1-canary.12433cf.0",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/store": "7.0.0-alpha.47",
"@storybook/telemetry": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/store": "7.0.0-alpha.48",
"@storybook/telemetry": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"@types/node-fetch": "^2.5.7",
"@types/pretty-hrtime": "^1.0.0",
@ -77,7 +77,7 @@
"ws": "^8.2.3"
},
"devDependencies": {
"@storybook/builder-webpack5": "7.0.0-alpha.47",
"@storybook/builder-webpack5": "7.0.0-alpha.48",
"@types/compression": "^1.7.0",
"@types/ip": "^1.1.0",
"@types/serve-favicon": "^2.5.2",
@ -103,5 +103,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -33,7 +33,8 @@ jest.mock('@storybook/docs-mdx', async () => ({
const name = content.match(/name=['"](.*)['"]/)?.[1];
const ofMatch = content.match(/of=\{(.*)\}/)?.[1];
const isTemplate = content.match(/isTemplate/);
return { title, name, imports, of: ofMatch && imports.length && imports[0], isTemplate };
const tags = ['mdx'];
return { title, name, tags, imports, of: ofMatch && imports.length && imports[0], isTemplate };
},
}));
@ -50,12 +51,20 @@ const csfIndexer = async (fileName: string, opts: any) => {
return loadCsf(code, { ...opts, fileName }).parse();
};
const storiesMdxIndexer = async (fileName: string, opts: any) => {
let code = (await fs.readFile(fileName, 'utf-8')).toString();
const { compile } = await import('@storybook/mdx2-csf');
code = await compile(code, {});
return loadCsf(code, { ...opts, fileName }).parse();
};
const options = {
configDir: path.join(__dirname, '__mockdata__'),
workingDir: path.join(__dirname, '__mockdata__'),
storyIndexers: [
{ test: /\.stories\..*$/, indexer: csfIndexer as any as CoreCommon_StoryIndexer['indexer'] },
],
{ test: /\.stories\.mdx$/, indexer: storiesMdxIndexer },
{ test: /\.stories\.(js|ts)x?$/, indexer: csfIndexer },
] as CoreCommon_StoryIndexer[],
storiesV2Compatibility: false,
storyStoreV7: true,
docs: { enabled: true, defaultName: 'docs', docsPage: false },
@ -232,47 +241,43 @@ describe('StoryIndexGenerator', () => {
});
});
describe('addDocsTemplate indexer', () => {
const templateIndexer = { ...options.storyIndexers[0], addDocsTemplate: true };
describe('mdx tagged components', () => {
it('adds docs entry with docs enabled', async () => {
const specifier: CoreCommon_NormalizedStoriesSpecifier = normalizeStoriesEntry(
'./src/A.stories.js',
'./src/nested/Page.stories.mdx',
options
);
const generator = new StoryIndexGenerator([specifier], {
...options,
storyIndexers: [templateIndexer],
});
await generator.initialize();
expect(await generator.getIndex()).toMatchInlineSnapshot(`
Object {
"entries": Object {
"a--docs": Object {
"id": "a--docs",
"importPath": "./src/A.stories.js",
"page--docs": Object {
"id": "page--docs",
"importPath": "./src/nested/Page.stories.mdx",
"name": "docs",
"standalone": false,
"storiesImports": Array [],
"tags": Array [
"component-tag",
"docsPage",
"mdx",
"docs",
],
"title": "A",
"title": "Page",
"type": "docs",
},
"a--story-one": Object {
"id": "a--story-one",
"importPath": "./src/A.stories.js",
"name": "Story One",
"page--story-one": Object {
"id": "page--story-one",
"importPath": "./src/nested/Page.stories.mdx",
"name": "StoryOne",
"tags": Array [
"story-tag",
"mdx",
"story",
],
"title": "A",
"title": "Page",
"type": "story",
},
},
@ -288,7 +293,6 @@ describe('StoryIndexGenerator', () => {
const generator = new StoryIndexGenerator([specifier], {
...options,
storyIndexers: [templateIndexer],
docs: { enabled: false },
});
await generator.initialize();
@ -500,6 +504,7 @@ describe('StoryIndexGenerator', () => {
"./src/A.stories.js",
],
"tags": Array [
"mdx",
"docs",
],
"title": "A",
@ -613,6 +618,7 @@ describe('StoryIndexGenerator', () => {
"./src/A.stories.js",
],
"tags": Array [
"mdx",
"docs",
],
"title": "A",
@ -627,6 +633,7 @@ describe('StoryIndexGenerator', () => {
"./src/A.stories.js",
],
"tags": Array [
"mdx",
"docs",
],
"title": "A",
@ -650,6 +657,7 @@ describe('StoryIndexGenerator', () => {
"standalone": true,
"storiesImports": Array [],
"tags": Array [
"mdx",
"docs",
],
"title": "docs2/Yabbadabbadooo",
@ -662,6 +670,7 @@ describe('StoryIndexGenerator', () => {
"standalone": true,
"storiesImports": Array [],
"tags": Array [
"mdx",
"docs",
],
"title": "NoTitle",
@ -752,6 +761,7 @@ describe('StoryIndexGenerator', () => {
"./src/A.stories.js",
],
"tags": Array [
"mdx",
"docs",
],
"title": "A",
@ -766,6 +776,7 @@ describe('StoryIndexGenerator', () => {
"./src/A.stories.js",
],
"tags": Array [
"mdx",
"docs",
],
"title": "A",
@ -789,6 +800,7 @@ describe('StoryIndexGenerator', () => {
"standalone": true,
"storiesImports": Array [],
"tags": Array [
"mdx",
"docs",
],
"title": "docs2/Yabbadabbadooo",
@ -801,6 +813,7 @@ describe('StoryIndexGenerator', () => {
"standalone": true,
"storiesImports": Array [],
"tags": Array [
"mdx",
"docs",
],
"title": "NoTitle",

View File

@ -227,9 +227,10 @@ export class StoryIndexGenerator {
const { docsPage } = this.options.docs;
const docsPageOptedIn =
docsPage === 'automatic' || (docsPage && componentTags.includes('docsPage'));
// We always add a template for *.stories.mdx, but only if docs page is enabled for
// regular CSF files
if (storyIndexer.addDocsTemplate || docsPageOptedIn) {
// We need a docs entry attached to the CSF file if either:
// a) it is a stories.mdx transpiled to CSF, OR
// b) we have docs page enabled for this file
if (componentTags.includes('mdx') || docsPageOptedIn) {
const name = this.options.docs.defaultName;
const id = toId(csf.meta.title, name);
entries.unshift({

View File

@ -1,5 +1,5 @@
import { Meta, Story } from '@storybook/addon-docs';
<Meta component={{}} />;
<Meta component={{}} />
<Story name="StoryOne" />

View File

@ -1,10 +1,12 @@
/// <reference types="@types/jest" />;
import fs from 'fs-extra';
import type { Router, Request, Response } from 'express';
import Watchpack from 'watchpack';
import path from 'path';
import debounce from 'lodash/debounce';
import { STORY_INDEX_INVALIDATED } from '@storybook/core-events';
import type { StoryIndex } from '@storybook/store';
import type { Store_StoryIndex, CoreCommon_StoryIndexer } from '@storybook/types';
import { loadCsf } from '@storybook/csf-tools';
import { normalizeStoriesEntry } from '@storybook/core-common';
@ -51,12 +53,22 @@ const csfIndexer = async (fileName: string, opts: any) => {
return loadCsf(code, { ...opts, fileName }).parse();
};
const storiesMdxIndexer = async (fileName: string, opts: any) => {
let code = (await fs.readFile(fileName, 'utf-8')).toString();
const { compile } = await import('@storybook/mdx2-csf');
code = await compile(code, {});
return loadCsf(code, { ...opts, fileName }).parse();
};
const getInitializedStoryIndexGenerator = async (
overrides: any = {},
inputNormalizedStories = normalizedStories
) => {
const generator = new StoryIndexGenerator(inputNormalizedStories, {
storyIndexers: [{ test: /\.stories\..*$/, indexer: csfIndexer }],
storyIndexers: [
{ test: /\.stories\.mdx$/, indexer: storiesMdxIndexer },
{ test: /\.stories\.(js|ts)x?$/, indexer: csfIndexer },
] as CoreCommon_StoryIndexer[],
configDir: workingDir,
workingDir,
storiesV2Compatibility: false,
@ -220,6 +232,30 @@ describe('useStoriesJson', () => {
"title": "nested/Button",
"type": "story",
},
"nested-page--docs": Object {
"id": "nested-page--docs",
"importPath": "./src/nested/Page.stories.mdx",
"name": "docs",
"standalone": false,
"storiesImports": Array [],
"tags": Array [
"mdx",
"docs",
],
"title": "nested/Page",
"type": "docs",
},
"nested-page--story-one": Object {
"id": "nested-page--story-one",
"importPath": "./src/nested/Page.stories.mdx",
"name": "StoryOne",
"tags": Array [
"mdx",
"story",
],
"title": "nested/Page",
"type": "story",
},
"second-nested-g--story-one": Object {
"id": "second-nested-g--story-one",
"importPath": "./src/second-nested/G.stories.ts",
@ -413,6 +449,42 @@ describe('useStoriesJson', () => {
],
"title": "nested/Button",
},
"nested-page--docs": Object {
"id": "nested-page--docs",
"importPath": "./src/nested/Page.stories.mdx",
"kind": "nested/Page",
"name": "docs",
"parameters": Object {
"__id": "nested-page--docs",
"docsOnly": true,
"fileName": "./src/nested/Page.stories.mdx",
},
"standalone": false,
"storiesImports": Array [],
"story": "docs",
"tags": Array [
"mdx",
"docs",
],
"title": "nested/Page",
},
"nested-page--story-one": Object {
"id": "nested-page--story-one",
"importPath": "./src/nested/Page.stories.mdx",
"kind": "nested/Page",
"name": "StoryOne",
"parameters": Object {
"__id": "nested-page--story-one",
"docsOnly": false,
"fileName": "./src/nested/Page.stories.mdx",
},
"story": "StoryOne",
"tags": Array [
"mdx",
"story",
],
"title": "nested/Page",
},
"second-nested-g--story-one": Object {
"id": "second-nested-g--story-one",
"importPath": "./src/second-nested/G.stories.ts",
@ -540,6 +612,23 @@ describe('useStoriesJson', () => {
],
"title": "nested/Button",
},
"nested-page--story-one": Object {
"id": "nested-page--story-one",
"importPath": "./src/nested/Page.stories.mdx",
"kind": "nested/Page",
"name": "StoryOne",
"parameters": Object {
"__id": "nested-page--story-one",
"docsOnly": false,
"fileName": "./src/nested/Page.stories.mdx",
},
"story": "StoryOne",
"tags": Array [
"mdx",
"story",
],
"title": "nested/Page",
},
"second-nested-g--story-one": Object {
"id": "second-nested-g--story-one",
"importPath": "./src/second-nested/G.stories.ts",
@ -852,7 +941,7 @@ describe('useStoriesJson', () => {
describe('convertToIndexV3', () => {
it('converts v7 index.json to v6 stories.json', () => {
const indexJson: StoryIndex = {
const indexJson: Store_StoryIndex = {
v: 4,
entries: {
'a--docs': {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-webpack",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -42,9 +42,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"ts-dedent": "^2.0.0"
},
@ -61,5 +61,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/csf-plugin",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Enrich CSF files via static analysis",
"keywords": [
"storybook"
@ -42,7 +42,7 @@
"prep": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/csf-tools": "7.0.0-alpha.47",
"@storybook/csf-tools": "7.0.0-alpha.48",
"unplugin": "^0.10.2"
},
"devDependencies": {
@ -56,5 +56,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/csf-tools",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@ -44,7 +44,7 @@
"dependencies": {
"@babel/types": "^7.12.11",
"@storybook/csf": "next",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.48",
"fs-extra": "^9.0.1",
"ts-dedent": "^2.0.0"
},
@ -64,5 +64,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/docs-tools",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Shared utility functions for frameworks to implement docs",
"keywords": [
"storybook"
@ -43,9 +43,9 @@
},
"dependencies": {
"@babel/core": "^7.12.10",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/store": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.48",
"@storybook/store": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"doctrine": "^3.0.0",
"lodash": "^4.17.21"
},
@ -62,5 +62,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/instrumenter",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@ -42,10 +42,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/channels": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/channels": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"core-js": "^3.8.2",
"global": "^4.4.0"
},
@ -60,5 +60,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/node-logger",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@ -59,5 +59,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/postinstall",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook addons postinstall utilities",
"keywords": [
"api",
@ -56,5 +56,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preview-web",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@ -42,12 +42,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/channels": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/store": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/channels": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/store": "7.0.0-alpha.48",
"@storybook/types": "7.0.0-alpha.48",
"ansi-to-html": "^0.6.11",
"global": "^4.4.0",
"lodash": "^4.17.21",
@ -57,7 +57,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@storybook/channel-postmessage": "7.0.0-alpha.47",
"@storybook/channel-postmessage": "7.0.0-alpha.48",
"react": "16.14.0",
"ts-jest": "^28.0.8",
"typescript": "~4.6.3"
@ -70,5 +70,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/router",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Core Storybook Router",
"keywords": [
"storybook"
@ -47,7 +47,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.48",
"memoizerific": "^1.11.3",
"qs": "^6.10.0"
},
@ -74,5 +74,5 @@
"./src/utils.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/source-loader",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Source loader",
"keywords": [
"lib",
@ -44,7 +44,7 @@
},
"dependencies": {
"@storybook/csf": "next",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.48",
"estraverse": "^5.2.0",
"lodash": "^4.17.21",
"prettier": ">=2.2.1 <=3.0.0"
@ -66,5 +66,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/store",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@ -42,11 +42,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-events": "7.0.0-alpha.47",
"@storybook/addons": "7.0.0-alpha.48",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-events": "7.0.0-alpha.48",
"@storybook/csf": "next",
"@storybook/types": "7.0.0-alpha.47",
"@storybook/types": "7.0.0-alpha.48",
"dequal": "^2.0.2",
"global": "^4.4.0",
"lodash": "^4.17.21",
@ -72,5 +72,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -4,7 +4,7 @@ import type { PlayFunctionContext } from '@storybook/types';
export default {
component: globalThis.Components.Pre,
title: 'lib/store/manual title',
title: 'manual title',
args: { text: 'No content' },
};

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/telemetry",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Telemetry logging for crash reports and usage statistics",
"keywords": [
"storybook"
@ -42,8 +42,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/core-common": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.48",
"@storybook/core-common": "7.0.0-alpha.48",
"chalk": "^4.1.0",
"detect-package-manager": "^2.0.1",
"fetch-retry": "^5.0.2",
@ -64,5 +64,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -18,7 +18,7 @@ describe(`Errors Helpers`, () => {
expect(sanitizedError.message).toEqual(expect.stringContaining(errorMessage));
expect(sanitizedError.message).toEqual(
expect.not.stringContaining(process.cwd().replaceAll(`\\`, `\\\\`))
expect.not.stringContaining(process.cwd().replace(/\\/g, `\\\\`))
);
});

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/theming",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@ -48,7 +48,7 @@
},
"dependencies": {
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
"@storybook/client-logger": "7.0.0-alpha.47",
"@storybook/client-logger": "7.0.0-alpha.48",
"memoizerific": "^1.11.3"
},
"devDependencies": {
@ -79,5 +79,5 @@
],
"post": "./scripts/fix-theme-type-export.ts"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/types",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Core Storybook Types",
"keywords": [
"storybook"
@ -60,5 +60,5 @@
"./src/index.ts"
]
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -220,7 +220,6 @@ export interface CoreCommon_StoryIndex {
export interface CoreCommon_StoryIndexer {
test: RegExp;
indexer: (fileName: string, options: CoreCommon_IndexerOptions) => Promise<CoreCommon_StoryIndex>;
addDocsTemplate?: boolean;
}
/**

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/root",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"private": true,
"description": "Storybook is an open source tool for developing UI components in isolation for React, Vue and Angular. It makes building stunning UIs organized and efficient.",
"keywords": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-html-webpack",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,7 +50,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"html-loader": "^3.1.0",
"react": "16.14.0",
@ -75,5 +75,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-preact-webpack",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [
"storybook"
@ -51,7 +51,7 @@
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.12.12",
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
@ -76,5 +76,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-react-webpack",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -74,10 +74,10 @@
"@babel/preset-flow": "^7.12.1",
"@babel/preset-react": "^7.12.10",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/docs-tools": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/react": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@storybook/docs-tools": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"@storybook/react": "7.0.0-alpha.48",
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.4",
@ -123,5 +123,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-server-webpack",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -55,9 +55,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-server": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/server": "7.0.0-alpha.47",
"@storybook/core-server": "7.0.0-alpha.48",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@storybook/server": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"global": "^4.4.0",
"react": "16.14.0",
@ -85,5 +85,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-svelte-webpack",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -65,8 +65,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/node-logger": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@storybook/node-logger": "7.0.0-alpha.48",
"react": "16.14.0",
"react-dom": "16.14.0",
"sveltedoc-parser": "^4.2.1",
@ -97,5 +97,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-vue-webpack",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -60,8 +60,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/docs-tools": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@storybook/docs-tools": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0",
@ -99,5 +99,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-vue3-webpack",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -60,8 +60,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/docs-tools": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@storybook/docs-tools": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0",
@ -96,5 +96,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-web-components-webpack",
"version": "7.0.0-alpha.47",
"version": "7.0.0-alpha.48",
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
"keywords": [
"lit-html",
@ -55,7 +55,7 @@
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.12.11",
"@storybook/core-webpack": "7.0.0-alpha.47",
"@storybook/core-webpack": "7.0.0-alpha.48",
"@types/node": "^16.0.0",
"babel-loader": "^7.0.0 || ^8.0.0",
"babel-plugin-bundled-import-meta": "^0.3.1",
@ -81,5 +81,5 @@
],
"platform": "node"
},
"gitHead": "1c706a4a778831e012343c905f86225fa71491a7"
"gitHead": "b58a29b785462f8a8b711b6bb2d7223fd6dc17fd"
}

Some files were not shown because too many files have changed in this diff Show More