Merge branch 'next' into norbert/try-harder-getting-mjs-files

This commit is contained in:
Norbert de Langen 2023-02-20 18:34:48 +01:00
commit a3de472967
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
107 changed files with 1396 additions and 1406 deletions

View File

@ -1,3 +1,23 @@
## 7.0.0-beta.51 (February 20, 2023)
#### Features
- CLI: Improve monorepo support in `automigrate` and revamp framework-related migrations [#20647](https://github.com/storybooks/storybook/pull/20647)
#### Bug Fixes
- UI: Correctly detect Safari in browser supports CSS Zoom [#21163](https://github.com/storybooks/storybook/pull/21163)
- Web-components: Fix StorybookConfig of webcomponents-webpack5 [#21144](https://github.com/storybooks/storybook/pull/21144)
- Storysource: Fallback to the `docs.source.originalSource` parameter [#21159](https://github.com/storybooks/storybook/pull/21159)
- UI: Fix skip to canvas link style [#21021](https://github.com/storybooks/storybook/pull/21021)
- Vue2: Fix events to use bracket notation [#20754](https://github.com/storybooks/storybook/pull/20754)
### Maintenance
- Maintenance: Fix type errors on automigrate `check` step [#21164](https://github.com/storybooks/storybook/pull/21164)
- Core: Rename `framework` parameter to `renderer` [#21108](https://github.com/storybooks/storybook/pull/21108)
- Docs: Remove `DocsOptions.disable` [#21098](https://github.com/storybooks/storybook/pull/21098)
## 7.0.0-beta.50 (February 18, 2023)
#### Bug Fixes

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Test component compliance with web accessibility standards",
"keywords": [
"a11y",
@ -63,16 +63,16 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-highlight": "7.0.0-beta.50",
"@storybook/channels": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/addon-highlight": "7.0.0-beta.51",
"@storybook/channels": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"axe-core": "^4.2.0",
"lodash": "^4.17.21",
"react-resize-detector": "^7.1.2"
@ -104,7 +104,7 @@
"./src/preview.tsx"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"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-beta.50",
"version": "7.0.0-beta.51",
"description": "Get UI feedback when an action is performed on an interactive element",
"keywords": [
"storybook",
@ -77,14 +77,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"dequal": "^2.0.2",
"lodash": "^4.17.21",
"polished": "^4.2.2",
@ -121,7 +121,7 @@
"./src/preview.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"storybook": {
"displayName": "Actions",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Switch backgrounds to view components in different settings",
"keywords": [
"addon",
@ -76,14 +76,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"memoizerific": "^1.11.3",
"ts-dedent": "^2.0.0"
},
@ -112,7 +112,7 @@
"./src/preview.tsx"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"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-beta.50",
"version": "7.0.0-beta.51",
"description": "Interact with component inputs dynamically in the Storybook UI",
"keywords": [
"addon",
@ -68,15 +68,15 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/blocks": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/blocks": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"lodash": "^4.17.21",
"ts-dedent": "^2.0.0"
},
@ -102,7 +102,7 @@
],
"platform": "browser"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"storybook": {
"displayName": "Controls",
"icon": "https://user-images.githubusercontent.com/263385/101991669-479cc600-3c7c-11eb-93d9-38b67e8371f2.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-docs",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Document component usage and properties in Markdown",
"keywords": [
"addon",
@ -103,18 +103,18 @@
"@babel/plugin-transform-react-jsx": "^7.19.0",
"@jest/transform": "^29.3.1",
"@mdx-js/react": "^2.1.5",
"@storybook/blocks": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/csf-plugin": "7.0.0-beta.50",
"@storybook/csf-tools": "7.0.0-beta.50",
"@storybook/blocks": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/csf-plugin": "7.0.0-beta.51",
"@storybook/csf-tools": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/mdx2-csf": "next",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/postinstall": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/postinstall": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"fs-extra": "^11.1.0",
"remark-external-links": "^8.0.0",
"remark-slug": "^6.0.0",
@ -147,7 +147,7 @@
"./src/shims/mdx-react-shim.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"storybook": {
"displayName": "Docs",
"icon": "https://user-images.githubusercontent.com/263385/101991672-48355c80-3c7c-11eb-82d9-95fa12438f64.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-essentials",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Curated addons to bring out the best of Storybook",
"keywords": [
"addon",
@ -119,23 +119,23 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-actions": "7.0.0-beta.50",
"@storybook/addon-backgrounds": "7.0.0-beta.50",
"@storybook/addon-controls": "7.0.0-beta.50",
"@storybook/addon-docs": "7.0.0-beta.50",
"@storybook/addon-highlight": "7.0.0-beta.50",
"@storybook/addon-measure": "7.0.0-beta.50",
"@storybook/addon-outline": "7.0.0-beta.50",
"@storybook/addon-toolbars": "7.0.0-beta.50",
"@storybook/addon-viewport": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/addon-actions": "7.0.0-beta.51",
"@storybook/addon-backgrounds": "7.0.0-beta.51",
"@storybook/addon-controls": "7.0.0-beta.51",
"@storybook/addon-docs": "7.0.0-beta.51",
"@storybook/addon-highlight": "7.0.0-beta.51",
"@storybook/addon-measure": "7.0.0-beta.51",
"@storybook/addon-outline": "7.0.0-beta.51",
"@storybook/addon-toolbars": "7.0.0-beta.51",
"@storybook/addon-viewport": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
"@storybook/vue": "7.0.0-beta.50",
"@storybook/vue": "7.0.0-beta.51",
"typescript": "^4.9.3"
},
"peerDependencies": {
@ -166,5 +166,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-highlight",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Highlight DOM nodes within your stories",
"keywords": [
"storybook-addons",
@ -61,9 +61,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50"
"@storybook/preview-api": "7.0.0-beta.51"
},
"devDependencies": {
"@types/webpack-env": "^1.16.0",
@ -78,7 +78,7 @@
"./src/preview.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Highlight",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-interactions",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Automate, test and debug user interactions",
"keywords": [
"storybook-addons",
@ -72,16 +72,16 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/instrumenter": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/instrumenter": "7.0.0-beta.51",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"jest-mock": "^27.0.6",
"polished": "^4.2.2",
"ts-dedent": "^2.2.0"
@ -118,7 +118,7 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"storybook": {
"displayName": "Interactions",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
@ -70,13 +70,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"react-resize-detector": "^7.1.2",
"upath": "^1.2.0"
},
@ -105,7 +105,7 @@
],
"platform": "browser"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"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-beta.50",
"version": "7.0.0-beta.51",
"description": "Link stories together to build demos and prototypes with your UI components",
"keywords": [
"addon",
@ -80,14 +80,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/csf": "next",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/router": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/router": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"prop-types": "^15.7.2",
"ts-dedent": "^2.0.0"
},
@ -119,7 +119,7 @@
],
"post": "./scripts/fix-preview-api-reference.ts"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"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-beta.50",
"version": "7.0.0-beta.51",
"description": "Inspect layouts by visualizing the box model",
"keywords": [
"storybook-addons",
@ -75,13 +75,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50"
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51"
},
"devDependencies": {
"typescript": "~4.9.3"
@ -108,7 +108,7 @@
"./src/preview.tsx"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"storybook": {
"displayName": "Measure",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-outline",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Outline all elements with CSS to help with layout placement and alignment",
"keywords": [
"storybook-addons",
@ -78,13 +78,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@ -112,7 +112,7 @@
"./src/preview.tsx"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"storybook": {
"displayName": "Outline",
"unsupportedFrameworks": [

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Take a code snapshot of every story automatically with Jest",
"keywords": [
"addon",
@ -37,12 +37,12 @@
"dependencies": {
"@jest/transform": "^29.3.1",
"@storybook/babel-plugin-require-context-hook": "1.0.1",
"@storybook/client-api": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/core-webpack": "7.0.0-beta.50",
"@storybook/client-api": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/core-webpack": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"@types/glob": "^7.1.3",
"@types/jest-specific-snapshot": "^0.5.6",
"glob": "^8.1.0",
@ -57,11 +57,11 @@
"@angular/core": "^13.3.6",
"@angular/platform-browser-dynamic": "^13.3.6",
"@emotion/jest": "^11.8.0",
"@storybook/addon-docs": "7.0.0-beta.50",
"@storybook/angular": "7.0.0-beta.50",
"@storybook/react": "7.0.0-beta.50",
"@storybook/vue": "7.0.0-beta.50",
"@storybook/vue3": "7.0.0-beta.50",
"@storybook/addon-docs": "7.0.0-beta.51",
"@storybook/angular": "7.0.0-beta.51",
"@storybook/react": "7.0.0-beta.51",
"@storybook/vue": "7.0.0-beta.51",
"@storybook/vue3": "7.0.0-beta.51",
"babel-loader": "^9.1.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
@ -142,7 +142,7 @@
"access": "public"
},
"bundler": {},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"storybook": {
"displayName": "Storyshots",
"icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots-puppeteer",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Image snapshots addition to StoryShots based on puppeteer",
"keywords": [
"addon",
@ -36,8 +36,8 @@
"dependencies": {
"@axe-core/puppeteer": "^4.2.0",
"@storybook/csf": "next",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"@types/jest-image-snapshot": "^5.1.0",
"jest-image-snapshot": "^6.0.0"
},
@ -49,7 +49,7 @@
"rimraf": "^3.0.2"
},
"peerDependencies": {
"@storybook/addon-storyshots": "7.0.0-beta.50",
"@storybook/addon-storyshots": "7.0.0-beta.51",
"puppeteer": ">=2.0.0"
},
"peerDependenciesMeta": {
@ -61,5 +61,5 @@
"access": "public"
},
"bundler": {},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storysource",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "View a storys source code to see how it works and paste into your app",
"keywords": [
"addon",
@ -54,13 +54,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/router": "7.0.0-beta.50",
"@storybook/source-loader": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/router": "7.0.0-beta.51",
"@storybook/source-loader": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"estraverse": "^5.2.0",
"prop-types": "^15.7.2",
"react-syntax-highlighter": "^15.5.0"
@ -92,7 +92,7 @@
"./src/preset.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"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-beta.50",
"version": "7.0.0-beta.51",
"description": "Create your own toolbar items that control story rendering",
"keywords": [
"addon",
@ -68,11 +68,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50"
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51"
},
"devDependencies": {
"typescript": "~4.9.3"
@ -99,7 +99,7 @@
],
"platform": "browser"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"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-beta.50",
"version": "7.0.0-beta.51",
"description": "Build responsive components by adjusting Storybooks viewport size and orientation",
"keywords": [
"addon",
@ -73,13 +73,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"memoizerific": "^1.11.3",
"prop-types": "^15.7.2"
},
@ -109,7 +109,7 @@
"./src/preview.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e",
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2",
"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-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
"keywords": [
"storybook",
@ -36,20 +36,20 @@
"prep": "../../../scripts/prepare/tsc.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-beta.50",
"@storybook/cli": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-client": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/core-server": "7.0.0-beta.50",
"@storybook/core-webpack": "7.0.0-beta.50",
"@storybook/docs-tools": "7.0.0-beta.50",
"@storybook/builder-webpack5": "7.0.0-beta.51",
"@storybook/cli": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-client": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/core-server": "7.0.0-beta.51",
"@storybook/core-webpack": "7.0.0-beta.51",
"@storybook/docs-tools": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"@types/node": "^16.0.0",
"@types/react": "^16.14.34",
"@types/react-dom": "^16.9.14",
@ -77,6 +77,7 @@
"@angular/forms": "^15.1.1",
"@angular/platform-browser": "^15.1.1",
"@angular/platform-browser-dynamic": "^15.1.1",
"@ngxs/store": "^3.7.6",
"@types/rimraf": "^3.0.2",
"@types/tmp": "^0.2.3",
"cross-spawn": "^7.0.3",
@ -123,5 +124,5 @@
"bundler": {
"tsConfig": "tsconfig.build.json"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,4 +1,10 @@
import { ApplicationRef, enableProdMode, NgModule } from '@angular/core';
import {
ApplicationRef,
enableProdMode,
importProvidersFrom,
isStandalone,
NgModule,
} from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import { BehaviorSubject, Subject } from 'rxjs';
@ -7,7 +13,7 @@ import { ICollection, Parameters, StoryFnAngularReturnType } from '../types';
import { getApplication } from './StorybookModule';
import { storyPropsProvider } from './StorybookProvider';
import { componentNgModules } from './StorybookWrapperComponent';
import { extractSingletons } from './utils/PropertyExtractor';
import { PropertyExtractor } from './utils/PropertyExtractor';
type StoryRenderInfo = {
storyFnAngular: StoryFnAngularReturnType;
@ -120,11 +126,16 @@ export abstract class AbstractRenderer {
this.initAngularRootElement(targetDOMNode, targetSelector);
const analyzedMetadata = new PropertyExtractor(storyFnAngular.moduleMetadata, component);
const providers = [
// Providers for BrowserAnimations & NoopAnimationsModule
extractSingletons(storyFnAngular.moduleMetadata),
analyzedMetadata.singletons,
importProvidersFrom(
...analyzedMetadata.imports.filter((imported) => !isStandalone(imported))
),
analyzedMetadata.providers,
storyPropsProvider(newStoryProps$),
];
].filter(Boolean);
const application = getApplication({ storyFnAngular, component, targetSelector });

View File

@ -16,7 +16,7 @@ import { map, skip } from 'rxjs/operators';
import { ICollection, NgModuleMetadata } from '../types';
import { STORY_PROPS } from './StorybookProvider';
import { ComponentInputsOutputs, getComponentInputsOutputs } from './utils/NgComponentAnalyzer';
import { extractDeclarations, extractImports, extractProviders } from './utils/PropertyExtractor';
import { PropertyExtractor } from './utils/PropertyExtractor';
const getNonInputsOutputsProps = (
ngComponentInputsOutputs: ComponentInputsOutputs,
@ -52,9 +52,8 @@ export const createStorybookWrapperComponent = (
// storyComponent was not provided.
const viewChildSelector = storyComponent ?? '__storybook-noop';
const imports = extractImports(moduleMetadata, storyComponent);
const declarations = extractDeclarations(moduleMetadata, storyComponent);
const providers = extractProviders(moduleMetadata);
const analyzedMetadata = new PropertyExtractor(moduleMetadata, storyComponent);
const { imports, declarations, providers } = analyzedMetadata;
// Only create a new module if it doesn't already exist
// This is to prevent the module from being recreated on every story change

View File

@ -1,17 +1,6 @@
import { CommonModule } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
@NgModule({
imports: [
//
BrowserModule,
BrowserAnimationsModule,
],
})
export class WithAnimationsModule {}
@NgModule({
imports: [CommonModule, HttpClientModule],

View File

@ -7,16 +7,9 @@ import {
provideAnimations,
provideNoopAnimations,
} from '@angular/platform-browser/animations';
import { HttpClientModule } from '@angular/common/http';
import {
analyzeMetadata,
extractDeclarations,
extractImports,
extractProviders,
extractSingletons,
REMOVED_MODULES,
} from './PropertyExtractor';
import { WithAnimationsModule, WithOfficialModule } from '../__testfixtures__/test.module';
import { NgModuleMetadata } from '../../types';
import { PropertyExtractor, REMOVED_MODULES } from './PropertyExtractor';
import { WithOfficialModule } from '../__testfixtures__/test.module';
const TEST_TOKEN = new InjectionToken('testToken');
const TestTokenProvider = { provide: TEST_TOKEN, useValue: 123 };
@ -31,6 +24,26 @@ const TestModuleWithImportsAndProviders = NgModule({
providers: [TestTokenProvider],
})(class {});
const analyzeMetadata = (metadata: NgModuleMetadata, component?: any) => {
return new PropertyExtractor(metadata, component);
};
const extractImports = (metadata: NgModuleMetadata, component?: any) => {
const { imports } = new PropertyExtractor(metadata, component);
return imports;
};
const extractDeclarations = (metadata: NgModuleMetadata, component?: any) => {
const { declarations } = new PropertyExtractor(metadata, component);
return declarations;
};
const extractProviders = (metadata: NgModuleMetadata, component?: any) => {
const { providers } = new PropertyExtractor(metadata, component);
return providers;
};
const extractSingletons = (metadata: NgModuleMetadata, component?: any) => {
const { singletons } = new PropertyExtractor(metadata, component);
return singletons;
};
describe('PropertyExtractor', () => {
describe('analyzeMetadata', () => {
it('should remove BrowserModule', () => {
@ -38,7 +51,7 @@ describe('PropertyExtractor', () => {
imports: [BrowserModule],
};
const { imports, providers, singletons } = analyzeMetadata(metadata);
expect(imports.flat(Number.MAX_VALUE)).toEqual([]);
expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule]);
expect(providers.flat(Number.MAX_VALUE)).toEqual([]);
expect(singletons.flat(Number.MAX_VALUE)).toEqual([]);
});
@ -48,7 +61,7 @@ describe('PropertyExtractor', () => {
imports: [BrowserAnimationsModule],
};
const { imports, providers, singletons } = analyzeMetadata(metadata);
expect(imports.flat(Number.MAX_VALUE)).toEqual([]);
expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule]);
expect(providers.flat(Number.MAX_VALUE)).toEqual([]);
expect(singletons.flat(Number.MAX_VALUE)).toEqual(provideAnimations());
});
@ -58,20 +71,18 @@ describe('PropertyExtractor', () => {
imports: [NoopAnimationsModule],
};
const { imports, providers, singletons } = analyzeMetadata(metadata);
expect(imports.flat(Number.MAX_VALUE)).toEqual([]);
expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule]);
expect(providers.flat(Number.MAX_VALUE)).toEqual([]);
expect(singletons.flat(Number.MAX_VALUE)).toEqual(provideNoopAnimations());
});
it('should remove Browser/Animations modules recursively', () => {
const metadata = {
imports: [WithAnimationsModule],
imports: [BrowserAnimationsModule, BrowserModule],
};
const { imports, providers, singletons } = analyzeMetadata(metadata);
expect(imports.flat(Number.MAX_VALUE)).toEqual([]);
expect(providers.flat(Number.MAX_VALUE)).toEqual([
{ provide: REMOVED_MODULES, useValue: WithAnimationsModule, multi: true },
]);
expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule]);
expect(providers.flat(Number.MAX_VALUE)).toEqual([]);
expect(singletons.flat(Number.MAX_VALUE)).toEqual(provideAnimations());
});
@ -80,10 +91,8 @@ describe('PropertyExtractor', () => {
imports: [WithOfficialModule],
};
const { imports, providers, singletons } = analyzeMetadata(metadata);
expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule, HttpClientModule]);
expect(providers.flat(Number.MAX_VALUE)).toEqual([
{ provide: REMOVED_MODULES, useValue: WithOfficialModule, multi: true },
]);
expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule, WithOfficialModule]);
expect(providers.flat(Number.MAX_VALUE)).toEqual([]);
expect(singletons.flat(Number.MAX_VALUE)).toEqual([]);
});
});
@ -91,7 +100,7 @@ describe('PropertyExtractor', () => {
describe('extractImports', () => {
it('should return Angular official modules', () => {
const imports = extractImports({ imports: [TestModuleWithImportsAndProviders] });
expect(imports).toEqual([CommonModule]);
expect(imports).toEqual([CommonModule, TestModuleWithImportsAndProviders]);
});
it('should return standalone components', () => {
@ -101,17 +110,11 @@ describe('PropertyExtractor', () => {
},
StandaloneTestComponent
);
expect(imports).toEqual([CommonModule, StandaloneTestComponent]);
});
it('should not return any regular modules (they get destructured)', () => {
const imports = extractImports({
imports: [
TestModuleWithDeclarations,
{ ngModule: TestModuleWithImportsAndProviders, providers: [] },
],
});
expect(imports).toEqual([CommonModule]);
expect(imports).toEqual([
CommonModule,
TestModuleWithImportsAndProviders,
StandaloneTestComponent,
]);
});
});
@ -120,44 +123,6 @@ describe('PropertyExtractor', () => {
const declarations = extractDeclarations({ declarations: [TestComponent1] }, TestComponent2);
expect(declarations).toEqual([TestComponent1, TestComponent2]);
});
it('should ignore `storyComponent` if it is already declared', () => {
const declarations = extractDeclarations(
{
imports: [TestModuleWithImportsAndProviders],
declarations: [TestComponent2, StandaloneTestComponent, TestDirective],
},
TestComponent1
);
expect(declarations).toEqual([
TestComponent1,
TestComponent2,
StandaloneTestComponent,
TestDirective,
]);
});
it('should ignore `storyComponent` if it is standalone', () => {
const declarations = extractDeclarations(
{
imports: [TestModuleWithImportsAndProviders],
declarations: [TestComponent1, TestComponent2, TestDirective],
},
StandaloneTestComponent
);
expect(declarations).toEqual([TestComponent1, TestComponent2, TestDirective]);
});
it('should ignore `storyComponent` if it is not a component/directive/pipe', () => {
const declarations = extractDeclarations(
{
imports: [TestModuleWithImportsAndProviders],
declarations: [TestComponent1, TestComponent2, StandaloneTestComponent],
},
TestService
);
expect(declarations).toEqual([TestComponent1, TestComponent2, StandaloneTestComponent]);
});
});
describe('extractProviders', () => {
@ -168,39 +133,6 @@ describe('PropertyExtractor', () => {
expect(providers).toEqual([TestService]);
});
it('should return an array of providers extracted from ModuleWithProviders', () => {
const providers = extractProviders({
imports: [{ ngModule: TestModuleWithImportsAndProviders, providers: [TestService] }],
});
expect(providers).toEqual([
{ provide: TEST_TOKEN, useValue: 123 },
{ provide: REMOVED_MODULES, useValue: TestModuleWithDeclarations, multi: true },
TestService,
{ provide: REMOVED_MODULES, useValue: TestModuleWithImportsAndProviders, multi: true },
]);
});
it('should return an array of unique providers', () => {
const providers = extractProviders({
imports: [{ ngModule: TestModuleWithImportsAndProviders, providers: [TestService] }],
providers: [TestService, { provide: TEST_TOKEN, useValue: 123 }],
});
expect(providers).toEqual([
{ provide: TEST_TOKEN, useValue: 123 },
{ provide: REMOVED_MODULES, useValue: TestModuleWithDeclarations, multi: true },
TestService,
{
provide: new InjectionToken('testToken'),
useValue: 123,
},
{
provide: REMOVED_MODULES,
useValue: TestModuleWithImportsAndProviders,
multi: true,
},
]);
});
it('should return an array of singletons extracted', () => {
const singeltons = extractSingletons({
imports: [BrowserAnimationsModule],

View File

@ -1,6 +1,17 @@
import { CommonModule } from '@angular/common';
import { HttpClientModule, provideHttpClient } from '@angular/common/http';
import { InjectionToken, NgModule, Provider } from '@angular/core';
import {
Component,
Directive,
Injectable,
InjectionToken,
Input,
isStandalone,
NgModule,
Output,
Pipe,
Provider,
ɵReflectionCapabilities as ReflectionCapabilities,
} from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import {
BrowserAnimationsModule,
@ -9,173 +20,148 @@ import {
provideNoopAnimations,
} from '@angular/platform-browser/animations';
import { NgModuleMetadata } from '../../types';
import { isDeclarable, isStandaloneComponent } from './NgComponentAnalyzer';
import { isComponentAlreadyDeclared } from './NgModulesAnalyzer';
const uniqueArray = (arr: any[]) => {
return arr.flat(Number.MAX_VALUE).filter((value, index, self) => self.indexOf(value) === index);
};
const analyzeRestricted = (ngModule: NgModule) => {
/**
* BrowserModule is restricted,
* because bootstrapApplication API, which mounts the component to the DOM,
* automatically imports BrowserModule
*/
if (ngModule === BrowserModule) {
return [true];
}
/**
* BrowserAnimationsModule imports BrowserModule, which is restricted,
* because bootstrapApplication API, which mounts the component to the DOM,
* automatically imports BrowserModule
*/
if (ngModule === BrowserAnimationsModule) {
return [true, provideAnimations()];
}
/**
* NoopAnimationsModule imports BrowserModule, which is restricted,
* because bootstrapApplication API, which mounts the component to the DOM,
* automatically imports BrowserModule
*/
if (ngModule === NoopAnimationsModule) {
return [true, provideNoopAnimations()];
}
/**
* HttpClient has to be provided manually as a singleton
*/
if (ngModule === HttpClientModule) {
return [true, provideHttpClient()];
}
return [false];
};
export const reflectionCapabilities = new ReflectionCapabilities();
export const REMOVED_MODULES = new InjectionToken('REMOVED_MODULES');
export const uniqueArray = (arr: any[]) => {
return arr
.flat(Number.MAX_VALUE)
.filter(Boolean)
.filter((value, index, self) => self.indexOf(value) === index);
};
/**
* Analyze NgModule Metadata
*
* - Removes Restricted Imports
* - Extracts providers from ModuleWithProviders
* - Flattens imports
* - Returns a new NgModuleMetadata object
*
*
*/
export const analyzeMetadata = (metadata: NgModuleMetadata) => {
const declarations = [...(metadata?.declarations || [])];
const providers = [...(metadata?.providers || [])];
const singletons: any[] = [];
const imports = [...(metadata?.imports || [])]
.reduce((acc, ngModule) => {
export class PropertyExtractor implements NgModuleMetadata {
/* eslint-disable @typescript-eslint/lines-between-class-members */
declarations?: any[] = [];
imports?: any[];
providers?: Provider[];
singletons?: Provider[];
/* eslint-enable @typescript-eslint/lines-between-class-members */
constructor(private metadata: NgModuleMetadata, private component?: any) {
this.init();
}
private init() {
const analyzed = this.analyzeMetadata(this.metadata);
this.imports = uniqueArray([CommonModule, analyzed.imports]);
this.providers = uniqueArray(analyzed.providers);
this.singletons = uniqueArray(analyzed.singletons);
this.declarations = uniqueArray(analyzed.declarations);
if (this.component) {
const { isDeclarable } = PropertyExtractor.analyzeDecorators(this.component);
const isDeclared = isComponentAlreadyDeclared(
this.component,
analyzed.declarations,
this.imports
);
if (isStandalone(this.component)) {
this.imports.push(this.component);
} else if (isDeclarable && !isDeclared) {
this.declarations.push(this.component);
}
}
}
/**
* Analyze NgModule Metadata
*
* - Removes Restricted Imports
* - Extracts providers from ModuleWithProviders
* - Flattens imports
* - Returns a new NgModuleMetadata object
*
*
*/
private analyzeMetadata = (metadata: NgModuleMetadata) => {
const declarations = [...(metadata?.declarations || [])];
const providers = [...(metadata?.providers || [])];
const singletons: any[] = [...(metadata?.singletons || [])];
const imports = [...(metadata?.imports || [])].reduce((acc, imported) => {
// remove ngModule and use only its providers if it is restricted
// (e.g. BrowserModule, BrowserAnimationsModule, NoopAnimationsModule, ...etc)
const [isRestricted, restrictedProviders] = analyzeRestricted(ngModule);
const [isRestricted, restrictedProviders] = PropertyExtractor.analyzeRestricted(imported);
if (isRestricted) {
singletons.unshift(restrictedProviders || []);
return acc;
}
// destructure into ngModule & providers if it is a ModuleWithProviders
if (ngModule?.providers) {
providers.unshift(ngModule.providers || []);
// eslint-disable-next-line no-param-reassign
ngModule = ngModule.ngModule;
}
// extract providers, declarations, singletons from ngModule
// eslint-disable-next-line no-underscore-dangle
const ngMetadata = ngModule?.__annotations__?.[0];
if (ngMetadata) {
const newMetadata = analyzeMetadata(ngMetadata);
acc.unshift(...newMetadata.imports);
providers.unshift(...newMetadata.providers);
singletons.unshift(...newMetadata.singletons);
declarations.unshift(...newMetadata.declarations);
if (ngMetadata.standalone === true) {
acc.push(ngModule);
}
// keeping a copy of the removed module
providers.push({ provide: REMOVED_MODULES, useValue: ngModule, multi: true });
return acc;
}
// include Angular official modules as-is
if (ngModule.ɵmod) {
acc.push(ngModule);
return acc;
}
acc.push(imported);
return acc;
}, [])
.flat(Number.MAX_VALUE);
}, []);
return { ...metadata, imports, providers, singletons, declarations };
};
return { ...metadata, imports, providers, singletons, declarations };
};
/**
* Extract Imports from NgModule
*
* CommonModule is always imported
* Only standalone components are imported
*
*/
export const extractImports = (metadata: NgModuleMetadata, storyComponent?: any) => {
const { imports } = analyzeMetadata(metadata);
if (isStandaloneComponent(storyComponent)) {
imports.push(storyComponent);
}
return uniqueArray([CommonModule, imports]);
};
/**
* Extract providers from NgModule
*
* - A new array is returned with:
* - metadata.providers
* - providers from each **ModuleWithProviders** (e.g. forRoot() & forChild() )
*
*
*/
export const extractProviders = (metadata: NgModuleMetadata): Provider[] => {
const { providers } = analyzeMetadata(metadata);
return uniqueArray(providers);
};
export const extractSingletons = (metadata: NgModuleMetadata): Provider[] => {
const { singletons } = analyzeMetadata(metadata);
return uniqueArray(singletons);
};
/**
* Extract declarations from NgModule
*
* - If a story component is provided, it will be added to the declarations array if:
* - It is a component or directive or pipe
* - It is not already declared
* - It is not a standalone component
*
*/
export const extractDeclarations = (metadata: NgModuleMetadata, storyComponent?: any) => {
const { declarations } = analyzeMetadata(metadata);
if (storyComponent) {
const isStandalone = isStandaloneComponent(storyComponent);
const isDeclared = isComponentAlreadyDeclared(storyComponent, declarations, metadata.imports);
const requiresDeclaration = isDeclarable(storyComponent) && !isDeclared && !isStandalone;
if (requiresDeclaration) {
declarations.push(storyComponent);
static analyzeRestricted = (ngModule: NgModule) => {
/**
* BrowserModule is restricted,
* because bootstrapApplication API, which mounts the component to the DOM,
* automatically imports BrowserModule
*/
if (ngModule === BrowserModule) {
return [true];
}
/**
* BrowserAnimationsModule imports BrowserModule, which is restricted,
* because bootstrapApplication API, which mounts the component to the DOM,
* automatically imports BrowserModule
*/
if (ngModule === BrowserAnimationsModule) {
return [true, provideAnimations()];
}
/**
* NoopAnimationsModule imports BrowserModule, which is restricted,
* because bootstrapApplication API, which mounts the component to the DOM,
* automatically imports BrowserModule
*/
if (ngModule === NoopAnimationsModule) {
return [true, provideNoopAnimations()];
}
}
return uniqueArray(declarations);
};
return [false];
};
static analyzeDecorators = (component: any) => {
const decorators = reflectionCapabilities.annotations(component);
const isComponent = decorators.some((d) => this.isDecoratorInstanceOf(d, 'Component'));
const isDirective = decorators.some((d) => this.isDecoratorInstanceOf(d, 'Directive'));
const isPipe = decorators.some((d) => this.isDecoratorInstanceOf(d, 'Pipe'));
const isDeclarable = isComponent || isDirective || isPipe;
return { isDeclarable };
};
static isDecoratorInstanceOf = (decorator: any, name: string) => {
let factory;
switch (name) {
case 'Component':
factory = Component;
break;
case 'Directive':
factory = Directive;
break;
case 'Pipe':
factory = Pipe;
break;
case 'Injectable':
factory = Injectable;
break;
case 'Input':
factory = Input;
break;
case 'Output':
factory = Output;
break;
default:
throw new Error(`Unknown decorator type: ${name}`);
}
return decorator instanceof factory || decorator.ngMetadataName === name;
};
}

View File

@ -10,6 +10,7 @@ export interface NgModuleMetadata {
imports?: any[];
schemas?: any[];
providers?: any[];
singletons?: any[];
}
export interface ICollection {
[p: string]: any;

View File

@ -0,0 +1,34 @@
import { moduleMetadata, Meta } from '@storybook/angular';
import { APP_INITIALIZER } from '@angular/core';
import { action } from '@storybook/addon-actions';
import Button from '../../button.component';
const meta: Meta<Button> = {
component: Button,
render: (args) => ({
props: {
...args,
},
}),
decorators: [
moduleMetadata({
providers: [
{
provide: APP_INITIALIZER,
useFactory: () => {
return action('APP_INITIALIZER useFactory called successfully');
},
multi: true,
},
],
}),
],
};
export default meta;
export const Default = {
args: {
text: 'Button',
},
};

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ember",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"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": "../../../scripts/prepare/tsc.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/docs-tools": "7.0.0-beta.50",
"@storybook/builder-webpack5": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/docs-tools": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@ -59,5 +59,5 @@
"access": "public"
},
"bundler": {},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/html-vite",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for HTML and Vite: Develop HTML in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -48,15 +48,15 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-beta.50",
"@storybook/builder-vite": "7.0.0-beta.50",
"@storybook/channel-postmessage": "7.0.0-beta.50",
"@storybook/channel-websocket": "7.0.0-beta.50",
"@storybook/client-api": "7.0.0-beta.50",
"@storybook/core-server": "7.0.0-beta.50",
"@storybook/html": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/preview-web": "7.0.0-beta.50",
"@storybook/addons": "7.0.0-beta.51",
"@storybook/builder-vite": "7.0.0-beta.51",
"@storybook/channel-postmessage": "7.0.0-beta.51",
"@storybook/channel-websocket": "7.0.0-beta.51",
"@storybook/client-api": "7.0.0-beta.51",
"@storybook/core-server": "7.0.0-beta.51",
"@storybook/html": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/preview-web": "7.0.0-beta.51",
"magic-string": "^0.27.0"
},
"devDependencies": {
@ -76,5 +76,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/html-webpack5",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -48,11 +48,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/builder-webpack5": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/html": "7.0.0-beta.50",
"@storybook/preset-html-webpack": "7.0.0-beta.50",
"@storybook/html": "7.0.0-beta.51",
"@storybook/preset-html-webpack": "7.0.0-beta.51",
"@types/node": "^16.0.0"
},
"devDependencies": {
@ -76,5 +76,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/nextjs",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Next.js",
"keywords": [
"storybook",
@ -60,14 +60,15 @@
},
"dependencies": {
"@next/font": "^13.0.7",
"@storybook/addon-actions": "7.0.0-beta.50",
"@storybook/builder-webpack5": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/preset-react-webpack": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/react": "7.0.0-beta.50",
"@storybook/addon-actions": "7.0.0-beta.51",
"@storybook/builder-webpack5": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/preset-react-webpack": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/react": "7.0.0-beta.51",
"@types/node": "^16.0.0",
"css-loader": "^6.7.3",
"find-up": "^5.0.0",
"fs-extra": "^11.1.0",
"image-size": "^1.0.0",
@ -78,6 +79,7 @@
"resolve-url-loader": "^5.0.0",
"sass-loader": "^12.4.0",
"semver": "^7.3.5",
"style-loader": "^3.3.1",
"ts-dedent": "^2.0.0",
"tsconfig-paths": "^4.0.0",
"tsconfig-paths-webpack-plugin": "^3.5.2"
@ -127,5 +129,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preact-vite",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -48,8 +48,8 @@
},
"dependencies": {
"@preact/preset-vite": "^2.0.0",
"@storybook/builder-vite": "7.0.0-beta.50",
"@storybook/preact": "7.0.0-beta.50"
"@storybook/builder-vite": "7.0.0-beta.51",
"@storybook/preact": "7.0.0-beta.51"
},
"devDependencies": {
"@types/node": "^16.0.0",
@ -73,5 +73,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preact-webpack5",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [
"storybook"
@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/preact": "7.0.0-beta.50",
"@storybook/preset-preact-webpack": "7.0.0-beta.50",
"@storybook/builder-webpack5": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/preact": "7.0.0-beta.51",
"@storybook/preset-preact-webpack": "7.0.0-beta.51",
"@types/node": "^16.0.0"
},
"devDependencies": {
@ -77,5 +77,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react-vite",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -50,8 +50,8 @@
"dependencies": {
"@joshwooding/vite-plugin-react-docgen-typescript": "^0.2.1",
"@rollup/pluginutils": "^4.2.0",
"@storybook/builder-vite": "7.0.0-beta.50",
"@storybook/react": "7.0.0-beta.50",
"@storybook/builder-vite": "7.0.0-beta.51",
"@storybook/react": "7.0.0-beta.51",
"@vitejs/plugin-react": "^3.0.1",
"ast-types": "^0.14.2",
"magic-string": "^0.27.0",
@ -80,5 +80,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/svelte-vite",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Svelte and Vite: Develop Svelte components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -48,9 +48,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-vite": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/svelte": "7.0.0-beta.50",
"@storybook/builder-vite": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/svelte": "7.0.0-beta.51",
"@sveltejs/vite-plugin-svelte": "^2.0.0",
"magic-string": "^0.27.0",
"svelte": "^3.0.0",
@ -80,5 +80,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/svelte-webpack5",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/preset-svelte-webpack": "7.0.0-beta.50",
"@storybook/svelte": "7.0.0-beta.50"
"@storybook/builder-webpack5": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/preset-svelte-webpack": "7.0.0-beta.51",
"@storybook/svelte": "7.0.0-beta.51"
},
"devDependencies": {
"svelte": "^3.48.0",
@ -78,5 +78,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/sveltekit",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for SvelteKit",
"keywords": [
"storybook",
@ -51,9 +51,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-vite": "7.0.0-beta.50",
"@storybook/svelte": "7.0.0-beta.50",
"@storybook/svelte-vite": "7.0.0-beta.50"
"@storybook/builder-vite": "7.0.0-beta.51",
"@storybook/svelte": "7.0.0-beta.51",
"@storybook/svelte-vite": "7.0.0-beta.51"
},
"devDependencies": {
"@types/node": "^16.0.0",
@ -76,5 +76,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue-vite",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Vue2 and Vite: Develop Vue2 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-vite": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/core-server": "7.0.0-beta.50",
"@storybook/vue": "7.0.0-beta.50",
"@storybook/builder-vite": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/core-server": "7.0.0-beta.51",
"@storybook/vue": "7.0.0-beta.51",
"magic-string": "^0.27.0",
"vue-docgen-api": "^4.40.0"
},
@ -79,5 +79,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue-webpack5",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/preset-vue-webpack": "7.0.0-beta.50",
"@storybook/vue": "7.0.0-beta.50",
"@storybook/builder-webpack5": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/preset-vue-webpack": "7.0.0-beta.51",
"@storybook/vue": "7.0.0-beta.51",
"@types/node": "^16.0.0"
},
"devDependencies": {
@ -83,5 +83,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue3-vite",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Vue3 and Vite: Develop Vue3 components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -48,9 +48,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-vite": "7.0.0-beta.50",
"@storybook/core-server": "7.0.0-beta.50",
"@storybook/vue3": "7.0.0-beta.50",
"@storybook/builder-vite": "7.0.0-beta.51",
"@storybook/core-server": "7.0.0-beta.51",
"@storybook/vue3": "7.0.0-beta.51",
"@vitejs/plugin-vue": "^4.0.0",
"magic-string": "^0.27.0",
"vue-docgen-api": "^4.40.0"
@ -78,5 +78,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue3-webpack5",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-webpack5": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/preset-vue3-webpack": "7.0.0-beta.50",
"@storybook/vue3": "7.0.0-beta.50",
"@storybook/builder-webpack5": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/preset-vue3-webpack": "7.0.0-beta.51",
"@storybook/vue3": "7.0.0-beta.51",
"@types/node": "^16.0.0"
},
"devDependencies": {
@ -80,5 +80,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/web-components-vite",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for web-components and Vite: Develop Web Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/builder-vite": "7.0.0-beta.50",
"@storybook/core-server": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/web-components": "7.0.0-beta.50",
"@storybook/builder-vite": "7.0.0-beta.51",
"@storybook/core-server": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/web-components": "7.0.0-beta.51",
"magic-string": "^0.27.0"
},
"devDependencies": {
@ -75,5 +75,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/web-components-webpack5",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
"keywords": [
"lit",
@ -52,10 +52,10 @@
},
"dependencies": {
"@babel/preset-env": "^7.20.2",
"@storybook/builder-webpack5": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/preset-web-components-webpack": "7.0.0-beta.50",
"@storybook/web-components": "7.0.0-beta.50",
"@storybook/builder-webpack5": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/preset-web-components-webpack": "7.0.0-beta.51",
"@storybook/web-components": "7.0.0-beta.51",
"@types/node": "^16.0.0"
},
"devDependencies": {
@ -80,5 +80,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -2,5 +2,5 @@
"npmClient": "yarn",
"useWorkspaces": true,
"registry": "https://registry.npmjs.org",
"version": "7.0.0-beta.50"
"version": "7.0.0-beta.51"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addons",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook addons store",
"keywords": [
"storybook"
@ -44,9 +44,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50"
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@ -60,5 +60,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/builder-manager",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook manager builder",
"keywords": [
"storybook"
@ -44,9 +44,9 @@
},
"dependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/manager": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/manager": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@types/ejs": "^3.1.1",
"@types/find-cache-dir": "^3.2.1",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10",
@ -73,5 +73,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/builder-vite",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "A plugin to run and build Storybooks with Vite",
"homepage": "https://github.com/storybookjs/storybook/tree/main/code/lib/builder-vite/#readme",
"bugs": {
@ -43,16 +43,16 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channel-postmessage": "7.0.0-beta.50",
"@storybook/channel-websocket": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/csf-plugin": "7.0.0-beta.50",
"@storybook/channel-postmessage": "7.0.0-beta.51",
"@storybook/channel-websocket": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/csf-plugin": "7.0.0-beta.51",
"@storybook/mdx2-csf": "next",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/preview": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/preview": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"browser-assert": "^1.2.1",
"es-module-lexer": "^0.9.3",
"express": "^4.17.3",
@ -101,5 +101,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/builder-webpack5",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -58,25 +58,25 @@
},
"dependencies": {
"@babel/core": "^7.12.10",
"@storybook/addons": "7.0.0-beta.50",
"@storybook/api": "7.0.0-beta.50",
"@storybook/channel-postmessage": "7.0.0-beta.50",
"@storybook/channel-websocket": "7.0.0-beta.50",
"@storybook/channels": "7.0.0-beta.50",
"@storybook/client-api": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/components": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/core-webpack": "7.0.0-beta.50",
"@storybook/addons": "7.0.0-beta.51",
"@storybook/api": "7.0.0-beta.51",
"@storybook/channel-postmessage": "7.0.0-beta.51",
"@storybook/channel-websocket": "7.0.0-beta.51",
"@storybook/channels": "7.0.0-beta.51",
"@storybook/client-api": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/components": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/core-webpack": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/preview": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/router": "7.0.0-beta.50",
"@storybook/store": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/preview": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/router": "7.0.0-beta.51",
"@storybook/store": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.4",
"babel-loader": "^9.0.0",
@ -131,5 +131,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-postmessage",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -43,9 +43,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/channels": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"qs": "^6.10.0",
"telejson": "^7.0.3"
@ -61,5 +61,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-websocket",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -43,8 +43,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/channels": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"telejson": "^7.0.3"
},
@ -59,5 +59,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -53,5 +53,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "sb",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook CLI",
"keywords": [
"storybook"
@ -21,10 +21,10 @@
"license": "MIT",
"bin": "./index.js",
"dependencies": {
"@storybook/cli": "7.0.0-beta.50"
"@storybook/cli": "7.0.0-beta.51"
},
"publishConfig": {
"access": "public"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "storybook",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook CLI",
"keywords": [
"storybook"
@ -24,10 +24,10 @@
"storybook": "./index.js"
},
"dependencies": {
"@storybook/cli": "7.0.0-beta.50"
"@storybook/cli": "7.0.0-beta.51"
},
"publishConfig": {
"access": "public"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/cli",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [
"cli",
@ -56,13 +56,13 @@
"dependencies": {
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@storybook/codemod": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/core-server": "7.0.0-beta.50",
"@storybook/csf-tools": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/telemetry": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/codemod": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/core-server": "7.0.0-beta.51",
"@storybook/csf-tools": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/telemetry": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"@types/semver": "^7.3.4",
"boxen": "^5.1.2",
"chalk": "^4.1.0",
@ -93,7 +93,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@storybook/client-api": "7.0.0-beta.50",
"@storybook/client-api": "7.0.0-beta.51",
"@types/cross-spawn": "^6.0.2",
"@types/prompts": "^2.0.9",
"@types/puppeteer-core": "^2.1.0",
@ -113,5 +113,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -3,7 +3,7 @@ import type { JsPackageManager } from '../js-package-manager';
export interface CheckOptions {
packageManager: JsPackageManager;
rendererPackage?: string;
configDir: string;
configDir?: string;
}
export interface RunOptions<ResultType> {

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-api",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook Client API",
"keywords": [
"storybook"
@ -42,8 +42,8 @@
"prep": "../../../scripts/prepare/facade.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50"
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51"
},
"publishConfig": {
"access": "public"
@ -54,5 +54,5 @@
],
"shim": "@storybook/preview-api/dist/client-api"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -56,5 +56,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/codemod",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "A collection of codemod scripts written with JSCodeshift",
"keywords": [
"storybook"
@ -50,9 +50,9 @@
"@babel/preset-env": "^7.20.2",
"@babel/types": "^7.20.7",
"@storybook/csf": "next",
"@storybook/csf-tools": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/csf-tools": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"cross-spawn": "^7.0.3",
"globby": "^11.0.2",
"jscodeshift": "^0.14.0",
@ -86,5 +86,5 @@
"./src/transforms/upgrade-hierarchy-separators.js"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-client",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -35,8 +35,8 @@
"prep": "../../../scripts/prepare/facade.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50"
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51"
},
"publishConfig": {
"access": "public"
@ -47,5 +47,5 @@
],
"shim": "@storybook/preview-api/dist/core-client"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-common",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -43,8 +43,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"@types/node": "^16.0.0",
"@types/pretty-hrtime": "^1.0.0",
"chalk": "^4.1.0",
@ -80,5 +80,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-events",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Event names used in storybook core",
"keywords": [
"storybook"
@ -53,5 +53,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-server",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -58,18 +58,18 @@
"dependencies": {
"@aw-web-design/x-default-browser": "1.4.88",
"@discoveryjs/json-ext": "^0.5.3",
"@storybook/builder-manager": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/builder-manager": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/csf": "next",
"@storybook/csf-tools": "7.0.0-beta.50",
"@storybook/csf-tools": "7.0.0-beta.51",
"@storybook/docs-mdx": "next",
"@storybook/global": "^5.0.0",
"@storybook/manager": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/telemetry": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/manager": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/telemetry": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"@types/detect-port": "^1.3.0",
"@types/node": "^16.0.0",
"@types/node-fetch": "^2.5.7",
@ -120,5 +120,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/core-webpack",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@ -43,9 +43,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"@types/node": "^16.0.0",
"ts-dedent": "^2.0.0"
},
@ -62,5 +62,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/csf-plugin",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Enrich CSF files via static analysis",
"keywords": [
"storybook"
@ -43,7 +43,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/csf-tools": "7.0.0-beta.50",
"@storybook/csf-tools": "7.0.0-beta.51",
"unplugin": "^0.10.2"
},
"devDependencies": {
@ -64,5 +64,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/csf-tools",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -43,7 +43,7 @@
"dependencies": {
"@babel/types": "^7.20.2",
"@storybook/csf": "next",
"@storybook/types": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.51",
"fs-extra": "^11.1.0",
"recast": "^0.23.1",
"ts-dedent": "^2.0.0"
@ -68,5 +68,5 @@
"cjs"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/docs-tools",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Shared utility functions for frameworks to implement docs",
"keywords": [
"storybook"
@ -44,9 +44,9 @@
},
"dependencies": {
"@babel/core": "^7.12.10",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"@types/doctrine": "^0.0.3",
"doctrine": "^3.0.0",
"lodash": "^4.17.21"
@ -64,5 +64,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/instrumenter",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -43,11 +43,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/channels": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50"
"@storybook/preview-api": "7.0.0-beta.51"
},
"devDependencies": {
"typescript": "~4.9.3"
@ -60,5 +60,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/api",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook Manager API (facade)",
"keywords": [
"storybook"
@ -42,8 +42,8 @@
"prep": "../../../scripts/prepare/facade.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/manager-api": "7.0.0-beta.50"
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/manager-api": "7.0.0-beta.51"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@ -66,5 +66,5 @@
],
"shim": "@storybook/manager-api"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/manager-api",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Core Storybook API & Context",
"keywords": [
"storybook"
@ -42,14 +42,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/channels": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/csf": "next",
"@storybook/global": "^5.0.0",
"@storybook/router": "7.0.0-beta.50",
"@storybook/theming": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/router": "7.0.0-beta.51",
"@storybook/theming": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"dequal": "^2.0.2",
"lodash": "^4.17.21",
"memoizerific": "^1.11.3",
@ -78,5 +78,5 @@
"./src/index.tsx"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1 +1 @@
export const version = '7.0.0-beta.50';
export const version = '7.0.0-beta.51';

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/node-logger",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -60,5 +60,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/postinstall",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook addons postinstall utilities",
"keywords": [
"api",
@ -57,5 +57,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preview-api",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -67,13 +67,13 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channel-postmessage": "7.0.0-beta.50",
"@storybook/channels": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/channel-postmessage": "7.0.0-beta.51",
"@storybook/channels": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/csf": "next",
"@storybook/global": "^5.0.0",
"@storybook/types": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.51",
"@types/qs": "^6.9.5",
"dequal": "^2.0.2",
"lodash": "^4.17.21",
@ -86,7 +86,7 @@
},
"devDependencies": {
"@jest/globals": "^26.6.2",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.51",
"ansi-to-html": "^0.6.11",
"react": "^16.14.0"
},
@ -103,5 +103,5 @@
"./src/store.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preview-web",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -42,8 +42,8 @@
"prep": "../../../scripts/prepare/facade.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50"
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51"
},
"publishConfig": {
"access": "public"
@ -54,5 +54,5 @@
],
"shim": "@storybook/preview-api/dist/preview-web"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preview",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -57,12 +57,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"devDependencies": {
"@storybook/channel-postmessage": "7.0.0-beta.50",
"@storybook/channel-websocket": "7.0.0-beta.50",
"@storybook/channels": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-events": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/channel-postmessage": "7.0.0-beta.51",
"@storybook/channel-websocket": "7.0.0-beta.51",
"@storybook/channels": "7.0.0-beta.51",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-events": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51",
"typescript": "~4.9.3"
},
"publishConfig": {
@ -74,5 +74,5 @@
"./src/globals.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/source-loader",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Source loader",
"keywords": [
"lib",
@ -45,7 +45,7 @@
},
"dependencies": {
"@storybook/csf": "next",
"@storybook/types": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.51",
"estraverse": "^5.2.0",
"lodash": "^4.17.21",
"prettier": "^2.8.0"
@ -67,5 +67,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/store",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "",
"keywords": [
"storybook"
@ -42,8 +42,8 @@
"prep": "../../../scripts/prepare/facade.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.50"
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/preview-api": "7.0.0-beta.51"
},
"publishConfig": {
"access": "public"
@ -55,5 +55,5 @@
"platform": "node",
"shim": "@storybook/preview-api/dist/store"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/telemetry",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Telemetry logging for crash reports and usage statistics",
"keywords": [
"storybook"
@ -43,8 +43,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-common": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-common": "7.0.0-beta.51",
"chalk": "^4.1.0",
"detect-package-manager": "^2.0.1",
"fetch-retry": "^5.0.2",
@ -65,5 +65,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/theming",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@ -49,7 +49,7 @@
},
"dependencies": {
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"memoizerific": "^1.11.3"
},
@ -80,5 +80,5 @@
],
"post": "./scripts/fix-theme-type-export.ts"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/types",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Core Storybook Types",
"keywords": [
"storybook"
@ -43,7 +43,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "7.0.0-beta.50",
"@storybook/channels": "7.0.0-beta.51",
"@types/babel__core": "^7.0.0",
"@types/express": "^4.7.0",
"file-system-cache": "^2.0.0"
@ -61,5 +61,5 @@
"./src/index.ts"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/root",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"private": true,
"homepage": "https://storybook.js.org/",
"repository": {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-create-react-app",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Create React App preset for Storybook",
"keywords": [
"storybook"
@ -50,14 +50,14 @@
"dependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
"@storybook/react-docgen-typescript-plugin": "canary",
"@storybook/types": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.51",
"@types/babel__core": "^7.1.7",
"babel-plugin-react-docgen": "^4.1.0",
"pnp-webpack-plugin": "^1.7.0",
"semver": "^7.3.5"
},
"devDependencies": {
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.51",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.6",
"typescript": "~4.9.3"
@ -77,5 +77,5 @@
"cjs"
]
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-preact-webpack",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [
"storybook"
@ -49,7 +49,7 @@
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.19.0",
"@storybook/core-webpack": "7.0.0-beta.50",
"@storybook/core-webpack": "7.0.0-beta.51",
"@types/node": "^16.0.0"
},
"devDependencies": {
@ -72,5 +72,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-react-webpack",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -71,10 +71,10 @@
"@babel/preset-flow": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@storybook/core-webpack": "7.0.0-beta.50",
"@storybook/docs-tools": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/react": "7.0.0-beta.50",
"@storybook/core-webpack": "7.0.0-beta.51",
"@storybook/docs-tools": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"@storybook/react": "7.0.0-beta.51",
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.4",
@ -117,5 +117,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-server-webpack",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -53,10 +53,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-server": "7.0.0-beta.50",
"@storybook/core-webpack": "7.0.0-beta.50",
"@storybook/core-server": "7.0.0-beta.51",
"@storybook/core-webpack": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/server": "7.0.0-beta.50",
"@storybook/server": "7.0.0-beta.51",
"@types/node": "^16.0.0",
"safe-identifier": "^0.4.1",
"ts-dedent": "^2.0.0",
@ -81,5 +81,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-svelte-webpack",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -63,8 +63,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-beta.50",
"@storybook/node-logger": "7.0.0-beta.50",
"@storybook/core-webpack": "7.0.0-beta.51",
"@storybook/node-logger": "7.0.0-beta.51",
"sveltedoc-parser": "^4.2.1",
"ts-dedent": "^2.0.0"
},
@ -93,5 +93,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-vue-webpack",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -58,8 +58,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-beta.50",
"@storybook/docs-tools": "7.0.0-beta.50",
"@storybook/core-webpack": "7.0.0-beta.51",
"@storybook/docs-tools": "7.0.0-beta.51",
"@types/node": "^16.0.0",
"ts-loader": "^9.2.8",
"vue-docgen-api": "^4.44.23",
@ -95,5 +95,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-vue3-webpack",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -58,8 +58,8 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-beta.50",
"@storybook/docs-tools": "7.0.0-beta.50",
"@storybook/core-webpack": "7.0.0-beta.51",
"@storybook/docs-tools": "7.0.0-beta.51",
"@types/node": "^16.0.0",
"ts-loader": "^9.2.8",
"vue-docgen-api": "^4.46.0",
@ -92,5 +92,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preset-web-components-webpack",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
"keywords": [
"lit",
@ -54,7 +54,7 @@
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.20.2",
"@storybook/core-webpack": "7.0.0-beta.50",
"@storybook/core-webpack": "7.0.0-beta.51",
"@types/node": "^16.0.0",
"babel-loader": "^7.0.0 || ^8.0.0 || ^9.0.0",
"babel-plugin-bundled-import-meta": "^0.3.1"
@ -78,5 +78,5 @@
],
"platform": "node"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/html",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook HTML renderer",
"keywords": [
"storybook"
@ -48,11 +48,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-client": "7.0.0-beta.50",
"@storybook/docs-tools": "7.0.0-beta.50",
"@storybook/core-client": "7.0.0-beta.51",
"@storybook/docs-tools": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@ -74,5 +74,5 @@
],
"platform": "browser"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preact",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook Preact renderer",
"keywords": [
"storybook"
@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-client": "7.0.0-beta.50",
"@storybook/core-client": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@ -74,5 +74,5 @@
],
"platform": "browser"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook React renderer",
"keywords": [
"storybook"
@ -48,12 +48,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-client": "7.0.0-beta.50",
"@storybook/docs-tools": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-client": "7.0.0-beta.51",
"@storybook/docs-tools": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"@types/escodegen": "^0.0.6",
"@types/estree": "^0.0.51",
"@types/node": "^16.0.0",
@ -99,5 +99,5 @@
],
"platform": "browser"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/server",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook Server renderer",
"keywords": [
"storybook"
@ -48,10 +48,10 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-client": "7.0.0-beta.50",
"@storybook/core-client": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
@ -70,5 +70,5 @@
],
"platform": "browser"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/svelte",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook Svelte renderer",
"keywords": [
"storybook"
@ -52,12 +52,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-client": "7.0.0-beta.50",
"@storybook/docs-tools": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-client": "7.0.0-beta.51",
"@storybook/docs-tools": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"sveltedoc-parser": "^4.2.1",
"type-fest": "2.19.0"
},
@ -83,5 +83,5 @@
],
"platform": "browser"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook Vue renderer",
"keywords": [
"storybook"
@ -48,12 +48,12 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.0-beta.50",
"@storybook/core-client": "7.0.0-beta.50",
"@storybook/docs-tools": "7.0.0-beta.50",
"@storybook/client-logger": "7.0.0-beta.51",
"@storybook/core-client": "7.0.0-beta.51",
"@storybook/docs-tools": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"ts-dedent": "^2.0.0",
"type-fest": "2.19.0"
},
@ -86,5 +86,5 @@
],
"platform": "browser"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue3",
"version": "7.0.0-beta.50",
"version": "7.0.0-beta.51",
"description": "Storybook Vue 3 renderer",
"keywords": [
"storybook"
@ -48,11 +48,11 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-client": "7.0.0-beta.50",
"@storybook/docs-tools": "7.0.0-beta.50",
"@storybook/core-client": "7.0.0-beta.51",
"@storybook/docs-tools": "7.0.0-beta.51",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.0-beta.50",
"@storybook/types": "7.0.0-beta.50",
"@storybook/preview-api": "7.0.0-beta.51",
"@storybook/types": "7.0.0-beta.51",
"ts-dedent": "^2.0.0",
"type-fest": "2.19.0"
},
@ -80,5 +80,5 @@
],
"platform": "browser"
},
"gitHead": "ecbe308bda919d3cc60188dbb17dc4511f6b7a0e"
"gitHead": "92ae17be35e8e19be160d4d8acb9b56e40064be2"
}

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