mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 18:41:06 +08:00
Merge branch 'next' into angular/fix-builder-error-handler
This commit is contained in:
commit
494d432e4c
24
CHANGELOG.md
24
CHANGELOG.md
@ -1,3 +1,27 @@
|
||||
## 6.4.0-alpha.34 (September 7, 2021)
|
||||
|
||||
### Features
|
||||
|
||||
- Angular: Support storybook configuration for projects with only angular Library ([#15744](https://github.com/storybookjs/storybook/pull/15744))
|
||||
- CLI: Show framework name in startup banner ([#15966](https://github.com/storybookjs/storybook/pull/15966))
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- CLI: Fix sb link to yarn3 repos ([#15989](https://github.com/storybookjs/storybook/pull/15989))
|
||||
- Core: Pass proper stack of an error ([#15864](https://github.com/storybookjs/storybook/pull/15864))
|
||||
- Addon-docs/Angular: Fix default values in ArgsTable ([#15881](https://github.com/storybookjs/storybook/pull/15881))
|
||||
|
||||
### Maintenance
|
||||
|
||||
- Core: Replaced `process.env` override in `DefinePlugin` config ([#15925](https://github.com/storybookjs/storybook/pull/15925))
|
||||
- CSF: Infer defaultValue of argtype based on arg ([#15798](https://github.com/storybookjs/storybook/pull/15798))
|
||||
|
||||
## 6.3.8 (September 3, 2021)
|
||||
|
||||
### Maintenance
|
||||
|
||||
- Core: Write JSON stats file in streaming fashion and omit `chunks` for brevity ([#15889](https://github.com/storybookjs/storybook/pull/15889))
|
||||
|
||||
## 6.4.0-alpha.33 (September 1, 2021)
|
||||
|
||||
### Bug Fixes
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-a11y",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Test component compliance with web accessibility standards",
|
||||
"keywords": [
|
||||
"a11y",
|
||||
@ -45,14 +45,14 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/channels": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/channels": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"axe-core": "^4.2.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -81,7 +81,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Accessibility",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-actions",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Get UI feedback when an action is performed on an interactive element",
|
||||
"keywords": [
|
||||
"storybook",
|
||||
@ -41,12 +41,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"global": "^4.4.0",
|
||||
@ -78,7 +78,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Actions",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-backgrounds",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Switch backgrounds to view components in different settings",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -45,12 +45,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"memoizerific": "^1.11.3",
|
||||
@ -76,7 +76,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Backgrounds",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-controls",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Interact with component inputs dynamically in the Storybook UI",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -45,12 +45,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"ts-dedent": "^2.0.0"
|
||||
},
|
||||
@ -69,7 +69,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/register.js",
|
||||
"storybook": {
|
||||
"displayName": "Controls",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-docs",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Document component usage and properties in Markdown",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -63,20 +63,20 @@
|
||||
"@mdx-js/loader": "^1.6.22",
|
||||
"@mdx-js/mdx": "^1.6.22",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/csf-tools": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/postinstall": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/csf-tools": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/postinstall": "6.4.0-alpha.34",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"acorn": "^7.4.1",
|
||||
"acorn-jsx": "^5.3.1",
|
||||
"acorn-walk": "^7.2.0",
|
||||
@ -105,10 +105,10 @@
|
||||
"@babel/core": "^7.12.10",
|
||||
"@emotion/core": "^10.1.1",
|
||||
"@emotion/styled": "^10.0.27",
|
||||
"@storybook/angular": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/vue": "6.4.0-alpha.33",
|
||||
"@storybook/web-components": "6.4.0-alpha.33",
|
||||
"@storybook/angular": "6.4.0-alpha.34",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"@storybook/vue": "6.4.0-alpha.34",
|
||||
"@storybook/web-components": "6.4.0-alpha.34",
|
||||
"@types/cross-spawn": "^6.0.2",
|
||||
"@types/doctrine": "^0.0.3",
|
||||
"@types/enzyme": "^3.10.8",
|
||||
@ -138,10 +138,10 @@
|
||||
"zone.js": "^0.11.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/angular": "6.4.0-alpha.33",
|
||||
"@storybook/vue": "6.4.0-alpha.33",
|
||||
"@storybook/vue3": "6.4.0-alpha.33",
|
||||
"@storybook/web-components": "6.4.0-alpha.33",
|
||||
"@storybook/angular": "6.4.0-alpha.34",
|
||||
"@storybook/vue": "6.4.0-alpha.34",
|
||||
"@storybook/vue3": "6.4.0-alpha.34",
|
||||
"@storybook/web-components": "6.4.0-alpha.34",
|
||||
"lit": "^2.0.0-rc.1",
|
||||
"lit-html": "^1.4.1 || ^2.0.0-rc.3",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
@ -192,7 +192,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Docs",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-essentials",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Curated addons to bring out the best of Storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -39,31 +39,31 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/addon-measure": "6.4.0-alpha.33",
|
||||
"@storybook/addon-outline": "6.4.0-alpha.33",
|
||||
"@storybook/addon-toolbars": "6.4.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/addon-measure": "6.4.0-alpha.34",
|
||||
"@storybook/addon-outline": "6.4.0-alpha.34",
|
||||
"@storybook/addon-toolbars": "6.4.0-alpha.34",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"ts-dedent": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@storybook/vue": "6.4.0-alpha.33",
|
||||
"@storybook/vue": "6.4.0-alpha.34",
|
||||
"@types/jest": "^26.0.16",
|
||||
"@types/webpack-env": "^1.16.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.9.6",
|
||||
"@storybook/vue": "6.4.0-alpha.33",
|
||||
"@storybook/web-components": "6.4.0-alpha.33",
|
||||
"@storybook/vue": "6.4.0-alpha.34",
|
||||
"@storybook/web-components": "6.4.0-alpha.34",
|
||||
"babel-loader": "^8.0.0",
|
||||
"lit-html": "^1.4.1 || ^2.0.0-rc.3",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
@ -93,6 +93,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-jest",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "React storybook addon that show component jest report",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -47,11 +47,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react-sizeme": "^3.0.1",
|
||||
@ -76,7 +76,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Jest",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-links",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Link stories together to build demos and prototypes with your UI components",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -41,11 +41,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/router": "6.4.0-alpha.33",
|
||||
"@storybook/router": "6.4.0-alpha.34",
|
||||
"@types/qs": "^6.9.5",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -72,7 +72,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Links",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-measure",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Inspect layouts by visualizing the box model",
|
||||
"keywords": [
|
||||
"storybook-addons",
|
||||
@ -44,11 +44,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0"
|
||||
},
|
||||
@ -70,7 +70,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Measure",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-outline",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Outline all elements with CSS to help with layout placement and alignment",
|
||||
"keywords": [
|
||||
"storybook-addons",
|
||||
@ -47,11 +47,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
@ -75,7 +75,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Outline",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Take a code snapshot of every story automatically with Jest",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -45,10 +45,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jest/transform": "^26.6.2",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@types/glob": "^7.1.3",
|
||||
"@types/jest": "^26.0.16",
|
||||
"@types/jest-specific-snapshot": "^0.5.3",
|
||||
@ -67,11 +67,11 @@
|
||||
"devDependencies": {
|
||||
"@angular/core": "^11.2.0",
|
||||
"@angular/platform-browser-dynamic": "^11.2.0",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/angular": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/vue": "6.4.0-alpha.33",
|
||||
"@storybook/vue3": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/angular": "6.4.0-alpha.34",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"@storybook/vue": "6.4.0-alpha.34",
|
||||
"@storybook/vue3": "6.4.0-alpha.34",
|
||||
"babel-loader": "^8.0.0",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-to-json": "^3.6.1",
|
||||
@ -149,7 +149,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"storybook": {
|
||||
"displayName": "Storyshots",
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots-puppeteer",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Image snapshots addition to StoryShots based on puppeteer",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -42,7 +42,7 @@
|
||||
"dependencies": {
|
||||
"@axe-core/puppeteer": "^4.2.0",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@types/jest-image-snapshot": "^4.1.3",
|
||||
"core-js": "^3.8.2",
|
||||
"jest-image-snapshot": "^4.3.0",
|
||||
@ -53,7 +53,7 @@
|
||||
"@types/puppeteer": "^5.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"puppeteer": "^2.0.0 || ^3.0.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
@ -64,5 +64,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98"
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storysource",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "View a story’s source code to see how it works and paste into your app",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -41,13 +41,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/router": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/router": "6.4.0-alpha.34",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"estraverse": "^5.2.0",
|
||||
"loader-utils": "^2.0.0",
|
||||
@ -75,7 +75,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Storysource",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-toolbars",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Create your own toolbar items that control story rendering",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -45,11 +45,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"regenerator-runtime": "^0.13.7"
|
||||
},
|
||||
@ -68,7 +68,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/register.js",
|
||||
"storybook": {
|
||||
"displayName": "Toolbars",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-viewport",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Build responsive components by adjusting Storybook’s viewport size and orientation",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -42,12 +42,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"memoizerific": "^1.11.3",
|
||||
@ -69,7 +69,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/preview.js",
|
||||
"storybook": {
|
||||
"displayName": "Viewport",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/angular",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,12 +45,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"autoprefixer": "^9.8.6",
|
||||
"core-js": "^3.8.2",
|
||||
@ -129,5 +129,5 @@
|
||||
"access": "public"
|
||||
},
|
||||
"builders": "dist/ts3.9/builders/builders.json",
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98"
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57"
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ describe('Build Storybook Builder', () => {
|
||||
jest.clearAllMocks();
|
||||
});
|
||||
|
||||
it('should work', async () => {
|
||||
it('should start storybook with angularBrowserTarget', async () => {
|
||||
const run = await architect.scheduleBuilder('@storybook/angular:build-storybook', {
|
||||
browserTarget: 'angular-cli:build-2',
|
||||
compodoc: false,
|
||||
@ -74,7 +74,6 @@ describe('Build Storybook Builder', () => {
|
||||
expect(cpSpawnMock.spawn).not.toHaveBeenCalledWith();
|
||||
expect(buildStandaloneMock).toHaveBeenCalledWith({
|
||||
angularBrowserTarget: 'angular-cli:build-2',
|
||||
browserTarget: 'angular-cli:build-2',
|
||||
configDir: '.storybook',
|
||||
docsMode: false,
|
||||
loglevel: undefined,
|
||||
@ -84,6 +83,34 @@ describe('Build Storybook Builder', () => {
|
||||
mode: 'static',
|
||||
compodoc: false,
|
||||
compodocArgs: ['-e', 'json'],
|
||||
tsConfig: 'src/tsconfig.app.json',
|
||||
});
|
||||
});
|
||||
|
||||
it('should start storybook with tsConfig', async () => {
|
||||
const run = await architect.scheduleBuilder('@storybook/angular:build-storybook', {
|
||||
tsConfig: 'path/to/tsConfig.json',
|
||||
compodoc: false,
|
||||
});
|
||||
|
||||
const output = await run.result;
|
||||
|
||||
await run.stop();
|
||||
|
||||
expect(output.success).toBeTruthy();
|
||||
expect(cpSpawnMock.spawn).not.toHaveBeenCalledWith();
|
||||
expect(buildStandaloneMock).toHaveBeenCalledWith({
|
||||
angularBrowserTarget: null,
|
||||
configDir: '.storybook',
|
||||
docsMode: false,
|
||||
loglevel: undefined,
|
||||
quiet: false,
|
||||
outputDir: 'storybook-static',
|
||||
staticDir: [],
|
||||
mode: 'static',
|
||||
compodoc: false,
|
||||
compodocArgs: ['-e', 'json'],
|
||||
tsConfig: 'path/to/tsConfig.json',
|
||||
});
|
||||
});
|
||||
|
||||
@ -128,7 +155,6 @@ describe('Build Storybook Builder', () => {
|
||||
]);
|
||||
expect(buildStandaloneMock).toHaveBeenCalledWith({
|
||||
angularBrowserTarget: 'angular-cli:build-2',
|
||||
browserTarget: 'angular-cli:build-2',
|
||||
configDir: '.storybook',
|
||||
docsMode: false,
|
||||
loglevel: undefined,
|
||||
@ -138,6 +164,7 @@ describe('Build Storybook Builder', () => {
|
||||
mode: 'static',
|
||||
compodoc: true,
|
||||
compodocArgs: ['-e', 'json'],
|
||||
tsConfig: 'src/tsconfig.app.json',
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -3,11 +3,12 @@ import {
|
||||
BuilderOutput,
|
||||
createBuilder,
|
||||
targetFromTargetString,
|
||||
Target,
|
||||
} from '@angular-devkit/architect';
|
||||
import { JsonObject } from '@angular-devkit/core';
|
||||
import { from, Observable, of, throwError } from 'rxjs';
|
||||
import { CLIOptions } from '@storybook/core-common';
|
||||
import { catchError, map, switchMap } from 'rxjs/operators';
|
||||
import { catchError, map, mapTo, switchMap } from 'rxjs/operators';
|
||||
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import buildStandalone, { StandaloneOptions } from '@storybook/angular/standalone';
|
||||
@ -16,7 +17,8 @@ import { runCompodoc } from '../utils/run-compodoc';
|
||||
import { buildStandaloneErrorHandler } from '../utils/build-standalone-errors-handler';
|
||||
|
||||
export type StorybookBuilderOptions = JsonObject & {
|
||||
browserTarget: string;
|
||||
browserTarget?: string | null;
|
||||
tsConfig?: string;
|
||||
compodoc: boolean;
|
||||
compodocArgs: string[];
|
||||
} & Pick<
|
||||
@ -34,18 +36,24 @@ function commandBuilder(
|
||||
context: BuilderContext
|
||||
): Observable<StorybookBuilderOutput> {
|
||||
return from(setup(options, context)).pipe(
|
||||
switchMap(({ browserOptions }) =>
|
||||
options.compodoc
|
||||
? runCompodoc(
|
||||
{ compodocArgs: options.compodocArgs, tsconfig: browserOptions.tsConfig },
|
||||
context
|
||||
switchMap(({ tsConfig }) => {
|
||||
const runCompodoc$ = options.compodoc
|
||||
? runCompodoc({ compodocArgs: options.compodocArgs, tsconfig: tsConfig }, context).pipe(
|
||||
mapTo({ tsConfig })
|
||||
)
|
||||
: of({})
|
||||
),
|
||||
map(() => ({
|
||||
...options,
|
||||
angularBrowserTarget: options.browserTarget,
|
||||
})),
|
||||
: of({});
|
||||
|
||||
return runCompodoc$.pipe(mapTo({ tsConfig }));
|
||||
}),
|
||||
map(({ tsConfig }) => {
|
||||
const { browserTarget, ...otherOptions } = options;
|
||||
|
||||
return {
|
||||
...otherOptions,
|
||||
angularBrowserTarget: browserTarget,
|
||||
tsConfig,
|
||||
};
|
||||
}),
|
||||
switchMap((standaloneOptions) => runInstance({ ...standaloneOptions, mode: 'static' })),
|
||||
map(() => {
|
||||
return { success: true };
|
||||
@ -54,15 +62,19 @@ function commandBuilder(
|
||||
}
|
||||
|
||||
async function setup(options: StorybookBuilderOptions, context: BuilderContext) {
|
||||
const browserTarget = targetFromTargetString(options.browserTarget);
|
||||
const browserOptions = await context.validateOptions<JsonObject & BrowserBuilderOptions>(
|
||||
await context.getTargetOptions(browserTarget),
|
||||
await context.getBuilderNameForTarget(browserTarget)
|
||||
);
|
||||
let browserOptions: (JsonObject & BrowserBuilderOptions) | undefined;
|
||||
let browserTarget: Target | undefined;
|
||||
|
||||
if (options.browserTarget) {
|
||||
browserTarget = targetFromTargetString(options.browserTarget);
|
||||
browserOptions = await context.validateOptions<JsonObject & BrowserBuilderOptions>(
|
||||
await context.getTargetOptions(browserTarget),
|
||||
await context.getBuilderNameForTarget(browserTarget)
|
||||
);
|
||||
}
|
||||
|
||||
return {
|
||||
browserOptions,
|
||||
browserTarget,
|
||||
tsConfig: options.tsConfig ?? browserOptions.tsConfig ?? undefined,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,12 @@
|
||||
"browserTarget": {
|
||||
"type": "string",
|
||||
"description": "Build target to be served in project-name:builder:config format. Should generally target on the builder: '@angular-devkit/build-angular:browser'. Useful for Storybook to use options (styles, assets, ...).",
|
||||
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
||||
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$",
|
||||
"default": null
|
||||
},
|
||||
"tsConfig": {
|
||||
"type": "string",
|
||||
"description": "The full path for the TypeScript configuration file, relative to the current workspace."
|
||||
},
|
||||
"staticDir": {
|
||||
"type": "array",
|
||||
@ -56,5 +61,12 @@
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": ["browserTarget"]
|
||||
"oneOf": [
|
||||
{
|
||||
"required": ["browserTarget"]
|
||||
},
|
||||
{
|
||||
"required": ["tsConfig"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ describe('Start Storybook Builder', () => {
|
||||
jest.clearAllMocks();
|
||||
});
|
||||
|
||||
it('should work', async () => {
|
||||
it('should start storybook with angularBrowserTarget', async () => {
|
||||
const run = await architect.scheduleBuilder('@storybook/angular:start-storybook', {
|
||||
browserTarget: 'angular-cli:build-2',
|
||||
port: 4400,
|
||||
@ -75,7 +75,6 @@ describe('Start Storybook Builder', () => {
|
||||
expect(cpSpawnMock.spawn).not.toHaveBeenCalledWith();
|
||||
expect(buildStandaloneMock).toHaveBeenCalledWith({
|
||||
angularBrowserTarget: 'angular-cli:build-2',
|
||||
browserTarget: 'angular-cli:build-2',
|
||||
ci: false,
|
||||
configDir: '.storybook',
|
||||
docsMode: false,
|
||||
@ -90,6 +89,40 @@ describe('Start Storybook Builder', () => {
|
||||
staticDir: [],
|
||||
compodoc: false,
|
||||
compodocArgs: ['-e', 'json'],
|
||||
tsConfig: 'src/tsconfig.app.json',
|
||||
});
|
||||
});
|
||||
|
||||
it('should start storybook with tsConfig', async () => {
|
||||
const run = await architect.scheduleBuilder('@storybook/angular:start-storybook', {
|
||||
tsConfig: 'path/to/tsConfig.json',
|
||||
port: 4400,
|
||||
compodoc: false,
|
||||
});
|
||||
|
||||
const output = await run.result;
|
||||
|
||||
await run.stop();
|
||||
|
||||
expect(output.success).toBeTruthy();
|
||||
expect(cpSpawnMock.spawn).not.toHaveBeenCalledWith();
|
||||
expect(buildStandaloneMock).toHaveBeenCalledWith({
|
||||
angularBrowserTarget: null,
|
||||
ci: false,
|
||||
configDir: '.storybook',
|
||||
docsMode: false,
|
||||
host: 'localhost',
|
||||
https: false,
|
||||
port: 4400,
|
||||
quiet: false,
|
||||
smokeTest: false,
|
||||
sslCa: undefined,
|
||||
sslCert: undefined,
|
||||
sslKey: undefined,
|
||||
staticDir: [],
|
||||
compodoc: false,
|
||||
compodocArgs: ['-e', 'json'],
|
||||
tsConfig: 'path/to/tsConfig.json',
|
||||
});
|
||||
});
|
||||
|
||||
@ -134,7 +167,6 @@ describe('Start Storybook Builder', () => {
|
||||
]);
|
||||
expect(buildStandaloneMock).toHaveBeenCalledWith({
|
||||
angularBrowserTarget: 'angular-cli:build-2',
|
||||
browserTarget: 'angular-cli:build-2',
|
||||
ci: false,
|
||||
configDir: '.storybook',
|
||||
docsMode: false,
|
||||
@ -149,6 +181,7 @@ describe('Start Storybook Builder', () => {
|
||||
staticDir: [],
|
||||
compodoc: true,
|
||||
compodocArgs: ['-e', 'json'],
|
||||
tsConfig: 'src/tsconfig.app.json',
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -3,12 +3,13 @@ import {
|
||||
BuilderOutput,
|
||||
createBuilder,
|
||||
targetFromTargetString,
|
||||
Target,
|
||||
} from '@angular-devkit/architect';
|
||||
import { JsonObject } from '@angular-devkit/core';
|
||||
import { BrowserBuilderOptions } from '@angular-devkit/build-angular';
|
||||
import { from, Observable, of } from 'rxjs';
|
||||
import { CLIOptions } from '@storybook/core-common';
|
||||
import { map, switchMap } from 'rxjs/operators';
|
||||
import { map, switchMap, mapTo } from 'rxjs/operators';
|
||||
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import buildStandalone, { StandaloneOptions } from '@storybook/angular/standalone';
|
||||
@ -16,7 +17,8 @@ import { runCompodoc } from '../utils/run-compodoc';
|
||||
import { buildStandaloneErrorHandler } from '../utils/build-standalone-errors-handler';
|
||||
|
||||
export type StorybookBuilderOptions = JsonObject & {
|
||||
browserTarget: string;
|
||||
browserTarget?: string | null;
|
||||
tsConfig?: string;
|
||||
compodoc: boolean;
|
||||
compodocArgs: string[];
|
||||
} & Pick<
|
||||
@ -45,18 +47,24 @@ function commandBuilder(
|
||||
context: BuilderContext
|
||||
): Observable<StorybookBuilderOutput> {
|
||||
return from(setup(options, context)).pipe(
|
||||
switchMap(({ browserOptions }) =>
|
||||
options.compodoc
|
||||
? runCompodoc(
|
||||
{ compodocArgs: options.compodocArgs, tsconfig: browserOptions.tsConfig },
|
||||
context
|
||||
switchMap(({ tsConfig }) => {
|
||||
const runCompodoc$ = options.compodoc
|
||||
? runCompodoc({ compodocArgs: options.compodocArgs, tsconfig: tsConfig }, context).pipe(
|
||||
mapTo({ tsConfig })
|
||||
)
|
||||
: of({})
|
||||
),
|
||||
map(() => ({
|
||||
...options,
|
||||
angularBrowserTarget: options.browserTarget,
|
||||
})),
|
||||
: of({});
|
||||
|
||||
return runCompodoc$.pipe(mapTo({ tsConfig }));
|
||||
}),
|
||||
map(({ tsConfig }) => {
|
||||
const { browserTarget, ...otherOptions } = options;
|
||||
|
||||
return {
|
||||
...otherOptions,
|
||||
angularBrowserTarget: browserTarget,
|
||||
tsConfig,
|
||||
};
|
||||
}),
|
||||
switchMap((standaloneOptions) => runInstance(standaloneOptions)),
|
||||
map(() => {
|
||||
return { success: true };
|
||||
@ -65,15 +73,19 @@ function commandBuilder(
|
||||
}
|
||||
|
||||
async function setup(options: StorybookBuilderOptions, context: BuilderContext) {
|
||||
const browserTarget = targetFromTargetString(options.browserTarget);
|
||||
const browserOptions = await context.validateOptions<JsonObject & BrowserBuilderOptions>(
|
||||
await context.getTargetOptions(browserTarget),
|
||||
await context.getBuilderNameForTarget(browserTarget)
|
||||
);
|
||||
let browserOptions: (JsonObject & BrowserBuilderOptions) | undefined;
|
||||
let browserTarget: Target | undefined;
|
||||
|
||||
if (options.browserTarget) {
|
||||
browserTarget = targetFromTargetString(options.browserTarget);
|
||||
browserOptions = await context.validateOptions<JsonObject & BrowserBuilderOptions>(
|
||||
await context.getTargetOptions(browserTarget),
|
||||
await context.getBuilderNameForTarget(browserTarget)
|
||||
);
|
||||
}
|
||||
|
||||
return {
|
||||
browserOptions,
|
||||
browserTarget,
|
||||
tsConfig: options.tsConfig ?? browserOptions.tsConfig ?? undefined,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,12 @@
|
||||
"browserTarget": {
|
||||
"type": "string",
|
||||
"description": "Build target to be served in project-name:builder:config format. Should generally target on the builder: '@angular-devkit/build-angular:browser'. Useful for Storybook to use options (styles, assets, ...).",
|
||||
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
||||
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$",
|
||||
"default": null
|
||||
},
|
||||
"tsConfig": {
|
||||
"type": "string",
|
||||
"description": "The full path for the TypeScript configuration file, relative to the current workspace."
|
||||
},
|
||||
"port": {
|
||||
"type": "number",
|
||||
@ -83,5 +88,12 @@
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": ["browserTarget"]
|
||||
"oneOf": [
|
||||
{
|
||||
"required": ["browserTarget"]
|
||||
},
|
||||
{
|
||||
"required": ["tsConfig"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -0,0 +1,28 @@
|
||||
{
|
||||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||||
"version": 1,
|
||||
"newProjectRoot": "projects",
|
||||
"projects": {
|
||||
"pattern-lib": {
|
||||
"projectType": "library",
|
||||
"root": "projects/pattern-lib",
|
||||
"sourceRoot": "projects/pattern-lib/src",
|
||||
"prefix": "lib",
|
||||
"architect": {
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:ng-packagr",
|
||||
"options": {
|
||||
"tsConfig": "projects/pattern-lib/tsconfig.lib.json",
|
||||
"project": "projects/pattern-lib/ng-package.json"
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"tsConfig": "projects/pattern-lib/tsconfig.lib.prod.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultProject": "pattern-lib"
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
// To avoid "No inputs were found in config file" tsc error
|
||||
export const not = 'empty';
|
@ -0,0 +1,25 @@
|
||||
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../out-tsc/lib",
|
||||
"target": "es2015",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"inlineSources": true,
|
||||
"types": [],
|
||||
"lib": [
|
||||
"dom",
|
||||
"es2018"
|
||||
]
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"skipTemplateCodegen": true,
|
||||
"strictMetadataEmit": true,
|
||||
"enableResourceInlining": true
|
||||
},
|
||||
"exclude": [
|
||||
"src/test.ts",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"sourceMap": true,
|
||||
"moduleResolution": "node",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"target": "es5",
|
||||
"lib": ["es2017", "dom"]
|
||||
}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
// To avoid "No inputs were found in config file" tsc error
|
||||
export const not = 'empty';
|
@ -0,0 +1,25 @@
|
||||
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../out-tsc/lib",
|
||||
"target": "es2015",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"inlineSources": true,
|
||||
"types": [],
|
||||
"lib": [
|
||||
"dom",
|
||||
"es2018"
|
||||
]
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"skipTemplateCodegen": true,
|
||||
"strictMetadataEmit": true,
|
||||
"enableResourceInlining": true
|
||||
},
|
||||
"exclude": [
|
||||
"src/test.ts",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"sourceMap": true,
|
||||
"moduleResolution": "node",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"target": "es5",
|
||||
"lib": ["es2017", "dom"]
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
{
|
||||
"version": 1,
|
||||
"projects": {
|
||||
"foo-project": {
|
||||
"root": "",
|
||||
"architect": {
|
||||
"build": {
|
||||
"options": {
|
||||
"assets": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultProject": "foo-project"
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
// To avoid "No inputs were found in config file" tsc error
|
||||
export const not = 'empty';
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./",
|
||||
"module": "es2015",
|
||||
"types": ["node"]
|
||||
},
|
||||
"exclude": ["karma.ts", "**/*.spec.ts"]
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"sourceMap": true,
|
||||
"moduleResolution": "node",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"target": "es5",
|
||||
"lib": ["es2017", "dom"]
|
||||
}
|
||||
}
|
@ -70,9 +70,8 @@ const buildWebpackConfigOptions = async (
|
||||
): Promise<WebpackConfigOptions> => {
|
||||
const { options: projectBuildOptions = {} } = target;
|
||||
|
||||
const requiredOptions = ['tsConfig', 'assets', 'optimization'];
|
||||
|
||||
if (!requiredOptions.every((key) => key in projectBuildOptions)) {
|
||||
const requiredOptions = ['tsConfig'];
|
||||
if (!requiredOptions.every((key) => !!projectBuildOptions[key])) {
|
||||
throw new Error(
|
||||
`Missing required options in project target. Check "${requiredOptions.join(', ')}"`
|
||||
);
|
||||
|
@ -141,7 +141,7 @@ describe('framework-preset-angular-cli', () => {
|
||||
});
|
||||
it('throws error', async () => {
|
||||
await expect(() => webpackFinal(newWebpackConfiguration(), options)).rejects.toThrowError(
|
||||
'Missing required options in project target. Check "tsConfig, assets, optimization"'
|
||||
'Missing required options in project target. Check "tsConfig"'
|
||||
);
|
||||
expect(logger.error).toHaveBeenCalledWith(`=> Could not get angular cli webpack config`);
|
||||
});
|
||||
@ -353,6 +353,19 @@ describe('framework-preset-angular-cli', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('when angular.json haven\'t "options.tsConfig" config', () => {
|
||||
beforeEach(() => {
|
||||
initMockWorkspace('without-tsConfig');
|
||||
});
|
||||
|
||||
it('throws error', async () => {
|
||||
await expect(() => webpackFinal(newWebpackConfiguration(), options)).rejects.toThrowError(
|
||||
'Missing required options in project target. Check "tsConfig"'
|
||||
);
|
||||
expect(logger.error).toHaveBeenCalledWith(`=> Could not get angular cli webpack config`);
|
||||
});
|
||||
});
|
||||
|
||||
describe('when is a nx with angular.json', () => {
|
||||
beforeEach(() => {
|
||||
initMockWorkspace('with-nx');
|
||||
@ -509,6 +522,60 @@ describe('framework-preset-angular-cli', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('when angular.json have only one lib project', () => {
|
||||
beforeEach(() => {
|
||||
initMockWorkspace('with-lib');
|
||||
});
|
||||
|
||||
it('should extends webpack base config', async () => {
|
||||
const baseWebpackConfig = newWebpackConfiguration();
|
||||
const webpackFinalConfig = await webpackFinal(baseWebpackConfig, options);
|
||||
|
||||
expect(webpackFinalConfig).toEqual({
|
||||
...baseWebpackConfig,
|
||||
entry: [...(baseWebpackConfig.entry as any[])],
|
||||
module: { ...baseWebpackConfig.module, rules: expect.anything() },
|
||||
plugins: expect.anything(),
|
||||
resolve: {
|
||||
...baseWebpackConfig.resolve,
|
||||
modules: expect.arrayContaining(baseWebpackConfig.resolve.modules),
|
||||
// the base resolve.plugins are not kept 🤷♂️
|
||||
plugins: expect.not.arrayContaining(baseWebpackConfig.resolve.plugins),
|
||||
},
|
||||
resolveLoader: expect.anything(),
|
||||
});
|
||||
});
|
||||
|
||||
it('should set webpack "module.rules"', async () => {
|
||||
const baseWebpackConfig = newWebpackConfiguration();
|
||||
const webpackFinalConfig = await webpackFinal(baseWebpackConfig, options);
|
||||
|
||||
expect(webpackFinalConfig.module.rules).toEqual([
|
||||
{
|
||||
exclude: [],
|
||||
test: /\.css$/,
|
||||
use: expect.anything(),
|
||||
},
|
||||
{
|
||||
exclude: [],
|
||||
test: /\.scss$|\.sass$/,
|
||||
use: expect.anything(),
|
||||
},
|
||||
{
|
||||
exclude: [],
|
||||
test: /\.less$/,
|
||||
use: expect.anything(),
|
||||
},
|
||||
{
|
||||
exclude: [],
|
||||
test: /\.styl$/,
|
||||
use: expect.anything(),
|
||||
},
|
||||
...baseWebpackConfig.module.rules,
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
describe('when angular.json have some config', () => {
|
||||
beforeEach(() => {
|
||||
initMockWorkspace('some-config');
|
||||
@ -545,6 +612,28 @@ describe('framework-preset-angular-cli', () => {
|
||||
expect(logger.info).toHaveBeenNthCalledWith(3, '=> Using angular-cli webpack config');
|
||||
});
|
||||
});
|
||||
|
||||
describe('with only tsConfig option', () => {
|
||||
beforeEach(() => {
|
||||
initMockWorkspace('without-projects-entry');
|
||||
options = {
|
||||
tsConfig: 'projects/pattern-lib/tsconfig.lib.json',
|
||||
angularBrowserTarget: null,
|
||||
} as Options;
|
||||
});
|
||||
it('should log', async () => {
|
||||
const baseWebpackConfig = newWebpackConfiguration();
|
||||
await webpackFinal(baseWebpackConfig, options);
|
||||
|
||||
expect(logger.info).toHaveBeenCalledTimes(3);
|
||||
expect(logger.info).toHaveBeenNthCalledWith(1, '=> Loading angular-cli config');
|
||||
expect(logger.info).toHaveBeenNthCalledWith(
|
||||
2,
|
||||
'=> Using default angular project with "tsConfig:projects/pattern-lib/tsconfig.lib.json"'
|
||||
);
|
||||
expect(logger.info).toHaveBeenNthCalledWith(3, '=> Using angular-cli webpack config');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
const newWebpackConfiguration = (
|
||||
|
@ -19,6 +19,7 @@ import { filterOutStylingRules } from './utils/filter-out-styling-rules';
|
||||
|
||||
export type Options = CoreOptions & {
|
||||
angularBrowserTarget?: string;
|
||||
tsConfig?: string;
|
||||
};
|
||||
|
||||
export async function webpackFinal(baseConfig: webpack.Configuration, options: Options) {
|
||||
@ -45,26 +46,36 @@ export async function webpackFinal(baseConfig: webpack.Configuration, options: O
|
||||
// Find angular project target
|
||||
let project: workspaces.ProjectDefinition;
|
||||
let target: workspaces.TargetDefinition;
|
||||
let browserTarget;
|
||||
try {
|
||||
browserTarget = options.angularBrowserTarget
|
||||
? targetFromTargetString(options.angularBrowserTarget)
|
||||
: ({
|
||||
configuration: undefined,
|
||||
project: getDefaultProjectName(workspaceConfig),
|
||||
target: 'build',
|
||||
} as Target);
|
||||
// Default behavior when `angularBrowserTarget` are not explicitly defined to null
|
||||
if (options.angularBrowserTarget !== null) {
|
||||
const browserTarget = options.angularBrowserTarget
|
||||
? targetFromTargetString(options.angularBrowserTarget)
|
||||
: ({
|
||||
configuration: undefined,
|
||||
project: getDefaultProjectName(workspaceConfig),
|
||||
target: 'build',
|
||||
} as Target);
|
||||
|
||||
const fondProject = findAngularProjectTarget(
|
||||
workspaceConfig,
|
||||
browserTarget.project,
|
||||
browserTarget.target
|
||||
);
|
||||
project = fondProject.project;
|
||||
target = fondProject.target;
|
||||
logger.info(
|
||||
`=> Using angular project "${browserTarget.project}:${browserTarget.target}" for configuring Storybook`
|
||||
);
|
||||
const fondProject = findAngularProjectTarget(
|
||||
workspaceConfig,
|
||||
browserTarget.project,
|
||||
browserTarget.target
|
||||
);
|
||||
project = fondProject.project;
|
||||
target = fondProject.target;
|
||||
|
||||
logger.info(
|
||||
`=> Using angular project "${browserTarget.project}:${browserTarget.target}" for configuring Storybook`
|
||||
);
|
||||
}
|
||||
// Start storybook when only tsConfig is provided.
|
||||
if (options.angularBrowserTarget === null && options.tsConfig) {
|
||||
logger.info(`=> Using default angular project with "tsConfig:${options.tsConfig}"`);
|
||||
|
||||
project = { root: '', extensions: {}, targets: undefined };
|
||||
target = { builder: '', options: { tsConfig: options.tsConfig } };
|
||||
}
|
||||
} catch (error) {
|
||||
logger.error(`=> Could not find angular project: ${error.message}`);
|
||||
logger.info(`=> Fail to load angular-cli config. Using base config`);
|
||||
@ -72,7 +83,7 @@ export async function webpackFinal(baseConfig: webpack.Configuration, options: O
|
||||
}
|
||||
|
||||
// Use angular-cli to get some webpack config
|
||||
let angularCliWebpackConfig;
|
||||
let angularCliWebpackConfig: AngularCliWebpackConfig;
|
||||
try {
|
||||
angularCliWebpackConfig = await extractAngularCliWebpackConfig(dirToSearch, project, target);
|
||||
logger.info(`=> Using angular-cli webpack config`);
|
||||
|
3
app/angular/standalone.d.ts
vendored
3
app/angular/standalone.d.ts
vendored
@ -5,7 +5,8 @@ export type StandaloneOptions = Partial<
|
||||
LoadOptions &
|
||||
BuilderOptions & {
|
||||
mode?: 'static' | 'dev';
|
||||
angularBrowserTarget: string;
|
||||
angularBrowserTarget?: string | null;
|
||||
tsConfig?: string;
|
||||
}
|
||||
>;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/ember",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/main/app/ember",
|
||||
"bugs": {
|
||||
@ -43,8 +43,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ember/test-helpers": "^2.1.4",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react": "16.14.0",
|
||||
@ -65,6 +65,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/html",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,10 +45,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -68,6 +68,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/preact",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook for Preact: Develop Preact Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -46,9 +46,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.12.12",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -72,6 +72,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/react",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -49,10 +49,10 @@
|
||||
"@babel/preset-flow": "^7.12.1",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.0-rc.2",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.253f8c1.0",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
@ -71,7 +71,7 @@
|
||||
"webpack": "4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@types/node": "^14.14.20",
|
||||
"@types/prompts": "^2.0.9"
|
||||
},
|
||||
@ -94,6 +94,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/server",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,12 +45,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -72,6 +72,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/svelte",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,9 +45,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react": "16.14.0",
|
||||
@ -73,6 +73,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/vue",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,9 +45,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -81,6 +81,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/vue3",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,9 +45,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -79,6 +79,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/web-components",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"lit-html",
|
||||
@ -50,10 +50,10 @@
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
||||
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"babel-plugin-bundled-import-meta": "^0.3.1",
|
||||
"core-js": "^3.8.2",
|
||||
@ -76,6 +76,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
{"version":"6.4.0-alpha.33","info":{"plain":"### Bug Fixes\n\n- TypeScript: Fix glob pattern used in package `typesVersions` config ([#15918](https://github.com/storybookjs/storybook/pull/15918))\n\n### Maintenance\n\n- Core: Add Babel mode v7 ([#15928](https://github.com/storybookjs/storybook/pull/15928))\n- Core: Write JSON stats file in streaming fashion and omit `chunks` for brevity ([#15889](https://github.com/storybookjs/storybook/pull/15889))\n- UI: Add playback icons ([#15909](https://github.com/storybookjs/storybook/pull/15909))\n- Misc: Generate and push repros to a GitHub repo every night ([#15877](https://github.com/storybookjs/storybook/pull/15877))\n\n### Dependency Upgrades\n\n- Bump cpy to 8.1.2 for security ([#15953](https://github.com/storybookjs/storybook/pull/15953))"}}
|
||||
{"version":"6.4.0-alpha.34","info":{"plain":"### Features\n\n- Angular: Support storybook configuration for projects with only angular Library ([#15744](https://github.com/storybookjs/storybook/pull/15744))\n- CLI: Show framework name in startup banner ([#15966](https://github.com/storybookjs/storybook/pull/15966))\n\n### Bug Fixes\n\n- CLI: Fix sb link to yarn3 repos ([#15989](https://github.com/storybookjs/storybook/pull/15989))\n- Core: Pass proper stack of an error ([#15864](https://github.com/storybookjs/storybook/pull/15864))\n- Addon-docs/Angular: Fix default values in ArgsTable ([#15881](https://github.com/storybookjs/storybook/pull/15881))\n\n### Maintenance\n\n- Core: Replaced `process.env` override in `DefinePlugin` config ([#15925](https://github.com/storybookjs/storybook/pull/15925))\n- CSF: Infer defaultValue of argtype based on arg ([#15798](https://github.com/storybookjs/storybook/pull/15798))"}}
|
@ -104,6 +104,24 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"without-browser-target": {
|
||||
"root": "",
|
||||
"projectType": "library",
|
||||
"architect": {
|
||||
"storybook": {
|
||||
"builder": "@storybook/angular:start-storybook",
|
||||
"options": {
|
||||
"tsConfig": "src/tsconfig.app.json"
|
||||
}
|
||||
},
|
||||
"build-storybook": {
|
||||
"builder": "@storybook/angular:build-storybook",
|
||||
"options": {
|
||||
"tsConfig": "src/tsconfig.app.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultProject": "angular-cli"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-cli",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
@ -39,18 +39,18 @@
|
||||
"@angular/compiler-cli": "^11.2.14",
|
||||
"@angular/elements": "^11.2.14",
|
||||
"@compodoc/compodoc": "^1.1.14",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/angular": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/addon-jest": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/angular": "6.4.0-alpha.34",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"@types/core-js": "^2.5.4",
|
||||
"@types/jest": "^26.0.16",
|
||||
"@types/node": "^14.14.20",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-kitchen-sink",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -11,7 +11,7 @@
|
||||
"test": "react-scripts test --env=jsdom"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"global": "^4.4.0",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "16.14.0",
|
||||
@ -21,19 +21,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/addon-ie11": "^0.0.6",
|
||||
"@storybook/addon-jest": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.34",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"webpack": "4"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-react15",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -18,14 +18,14 @@
|
||||
"react-scripts": "3.4.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-ie11": "^0.0.6",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.34",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"babel-core": "6",
|
||||
"babel-runtime": "6",
|
||||
"webpack": "4"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-essentials",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,12 +34,12 @@
|
||||
"typescript": "^3.9.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.33",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.34",
|
||||
"@storybook/addon-ie11": "^0.0.6",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.34",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"webpack": "4"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-kitchen-sink",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,15 +34,15 @@
|
||||
"typescript": "^3.9.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/addon-ie11": "^0.0.6",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.34",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"@types/enzyme": "^3.10.8",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.9.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ember-example",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "ember build --output-path ember-output",
|
||||
@ -17,18 +17,18 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@ember/optional-features": "^2.0.0",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/ember": "6.4.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.34",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/ember": "6.4.0-alpha.34",
|
||||
"@storybook/ember-cli-storybook": "^0.2.1",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"babel-loader": "^8.0.0",
|
||||
"broccoli-asset-rev": "^3.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "html-kitchen-sink",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -13,23 +13,23 @@
|
||||
"storybook": "start-storybook -p 9006 --no-manager-cache"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/addon-jest": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addon-postcss": "^2.0.0",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/html": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.34",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/html": "6.4.0-alpha.34",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"autoprefixer": "^10.0.1",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"format-json": "^1.0.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "official-storybook",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -14,27 +14,27 @@
|
||||
"devDependencies": {
|
||||
"@packtracker/webpack-plugin": "^2.3.0",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.33",
|
||||
"@storybook/addon-toolbars": "6.4.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/cli": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/addon-jest": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.34",
|
||||
"@storybook/addon-toolbars": "6.4.0-alpha.34",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/cli": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/design-system": "^5.4.7",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"@testing-library/dom": "^7.31.2",
|
||||
"@testing-library/user-event": "^13.1.9",
|
||||
"chromatic": "^5.6.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "preact-example",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,16 +15,16 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@babel/plugin-transform-runtime": "^7.12.10",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/preact": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.34",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/preact": "6.4.0-alpha.34",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"@types/prop-types": "^15.7.3",
|
||||
"@types/react": "^17",
|
||||
"@types/react-dom": "^17",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-react-ts-webpack4",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -8,10 +8,10 @@
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ --no-manager-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.34",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.34",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"@types/react": "^16.14.2",
|
||||
"@types/react-dom": "^16.9.10",
|
||||
"prop-types": "15.7.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-react-ts",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -17,12 +17,12 @@
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"@testing-library/dom": "^7.31.2",
|
||||
"@testing-library/user-event": "^13.1.9",
|
||||
"@types/babel__preset-env": "^7",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "server-kitchen-sink",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -14,13 +14,13 @@
|
||||
"storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/server": "6.4.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/server": "6.4.0-alpha.34",
|
||||
"concurrently": "^5.3.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "~4.17.1",
|
||||
|
@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "standalone-preview",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"storybook": "parcel ./storybook.html --port 1337"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"parcel": "^1.12.4",
|
||||
"react": "16.14.0",
|
||||
"react-dom": "16.14.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svelte-example",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -s public",
|
||||
@ -10,18 +10,18 @@
|
||||
"global": "^4.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/svelte": "6.4.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.34",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"@storybook/svelte": "6.4.0-alpha.34",
|
||||
"svelte-jester": "1.3.0",
|
||||
"svelte-preprocess": "4.6.8"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-3-cli-example",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "vue-cli-service build",
|
||||
@ -14,11 +14,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/vue3": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"@storybook/vue3": "6.4.0-alpha.34",
|
||||
"@vue/cli-plugin-babel": "~4.5.0",
|
||||
"@vue/cli-plugin-typescript": "~4.5.0",
|
||||
"@vue/cli-service": "~4.5.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-cli-example",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "vue-cli-service build",
|
||||
@ -15,11 +15,11 @@
|
||||
"vue-property-decorator": "^9.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.34",
|
||||
"@storybook/preset-scss": "^1.0.3",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/vue": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"@storybook/vue": "6.4.0-alpha.34",
|
||||
"@vue/cli-plugin-babel": "~4.3.1",
|
||||
"@vue/cli-plugin-typescript": "~4.3.1",
|
||||
"@vue/cli-service": "~4.3.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-example",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -14,18 +14,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/vue": "6.4.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.34",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"@storybook/vue": "6.4.0-alpha.34",
|
||||
"@vue/babel-preset-jsx": "^1.2.4",
|
||||
"babel-loader": "^8.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
|
@ -85,9 +85,7 @@ if (process.env.NODE_ENV === 'production') {
|
||||
// http://vue-loader.vuejs.org/en/workflow/production.html
|
||||
module.exports.plugins = (module.exports.plugins || []).concat([
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
NODE_ENV: '"production"',
|
||||
},
|
||||
'process.env.NODE_ENV': '"production"',
|
||||
}),
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
sourceMap: true,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "web-components-kitchen-sink",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
|
@ -2,5 +2,5 @@
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"registry": "https://registry.npmjs.org",
|
||||
"version": "6.4.0-alpha.33"
|
||||
"version": "6.4.0-alpha.34"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addons",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook addons store",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -40,12 +40,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/channels": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/router": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/channels": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/router": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"regenerator-runtime": "^0.13.7"
|
||||
@ -57,6 +57,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/public_api.js"
|
||||
}
|
||||
|
@ -36,16 +36,20 @@ export interface Args {
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export interface ArgType {
|
||||
export interface ArgType<Arg = unknown> {
|
||||
name?: string;
|
||||
description?: string;
|
||||
defaultValue?: any;
|
||||
defaultValue?: Arg;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export type ArgTypes<Args = Record<string, any>> = {
|
||||
[key in keyof Partial<Args>]: ArgType;
|
||||
};
|
||||
export type ArgTypes<GenericArgs = Args> = {
|
||||
[key in keyof Partial<GenericArgs>]: ArgType<GenericArgs[key]>;
|
||||
} &
|
||||
{
|
||||
// for custom defined args
|
||||
[key in string]: ArgType<unknown>;
|
||||
};
|
||||
|
||||
export interface StoryIdentifier {
|
||||
id: StoryId;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/api",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Core Storybook API & Context",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -39,13 +39,13 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@reach/router": "^1.3.4",
|
||||
"@storybook/channels": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/channels": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/router": "6.4.0-alpha.33",
|
||||
"@storybook/router": "6.4.0-alpha.34",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"@types/reach__router": "^1.3.7",
|
||||
"core-js": "^3.8.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
@ -72,6 +72,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = '6.4.0-alpha.33';
|
||||
export const version = '6.4.0-alpha.34';
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/builder-webpack4",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -61,20 +61,20 @@
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/channel-postmessage": "6.4.0-alpha.33",
|
||||
"@storybook/channels": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/router": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/channel-postmessage": "6.4.0-alpha.34",
|
||||
"@storybook/channels": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/router": "6.4.0-alpha.34",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/ui": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"@storybook/ui": "6.4.0-alpha.34",
|
||||
"@types/node": "^14.0.10",
|
||||
"@types/webpack": "^4.41.26",
|
||||
"autoprefixer": "^9.8.6",
|
||||
@ -132,6 +132,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ import themingPaths from '@storybook/theming/paths';
|
||||
|
||||
import {
|
||||
toRequireContextString,
|
||||
stringifyEnvs,
|
||||
stringifyProcessEnvs,
|
||||
es6Transpiler,
|
||||
interpolate,
|
||||
nodeModulesPaths,
|
||||
@ -178,7 +178,7 @@ export default async ({
|
||||
template,
|
||||
}),
|
||||
new DefinePlugin({
|
||||
'process.env': stringifyEnvs(envs),
|
||||
...stringifyProcessEnvs(envs),
|
||||
NODE_ENV: JSON.stringify(envs.NODE_ENV),
|
||||
}),
|
||||
isProd ? null : new WatchMissingNodeModulesPlugin(nodeModulesPaths),
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/builder-webpack5",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -60,19 +60,19 @@
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/channel-postmessage": "6.4.0-alpha.33",
|
||||
"@storybook/channels": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/router": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/channel-postmessage": "6.4.0-alpha.34",
|
||||
"@storybook/channels": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/router": "6.4.0-alpha.34",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"@types/node": "^14.0.10",
|
||||
"babel-loader": "^8.0.0",
|
||||
"babel-plugin-macros": "^3.0.1",
|
||||
@ -118,6 +118,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ import themingPaths from '@storybook/theming/paths';
|
||||
import {
|
||||
toRequireContextString,
|
||||
es6Transpiler,
|
||||
stringifyEnvs,
|
||||
stringifyProcessEnvs,
|
||||
nodeModulesPaths,
|
||||
interpolate,
|
||||
Options,
|
||||
@ -178,7 +178,7 @@ export default async ({
|
||||
template,
|
||||
}),
|
||||
new DefinePlugin({
|
||||
'process.env': stringifyEnvs(envs),
|
||||
...stringifyProcessEnvs(envs),
|
||||
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
|
||||
}),
|
||||
isProd ? null : new WatchMissingNodeModulesPlugin(nodeModulesPaths),
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-postmessage",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -40,9 +40,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/channels": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"qs": "^6.10.0",
|
||||
@ -51,6 +51,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-websocket",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -40,7 +40,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.4.0-alpha.33",
|
||||
"@storybook/channels": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"telejson": "^5.3.2"
|
||||
@ -48,6 +48,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channels",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -47,6 +47,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sb",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -24,10 +24,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.4.0-alpha.33"
|
||||
"@storybook/cli": "6.4.0-alpha.34"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98"
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "storybook",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,10 +27,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.4.0-alpha.33"
|
||||
"@storybook/cli": "6.4.0-alpha.34"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98"
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/cli",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
|
||||
"keywords": [
|
||||
"cli",
|
||||
@ -48,9 +48,9 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@storybook/codemod": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/codemod": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"boxen": "^4.2.0",
|
||||
"chalk": "^4.1.0",
|
||||
@ -75,7 +75,7 @@
|
||||
"update-notifier": "^5.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@types/cross-spawn": "^6.0.2",
|
||||
"@types/prompts": "^2.0.9",
|
||||
"@types/puppeteer-core": "^2.1.0",
|
||||
@ -91,5 +91,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98"
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57"
|
||||
}
|
||||
|
@ -38,8 +38,8 @@ export const link = async ({ target, local }: LinkOptions) => {
|
||||
stdio: 'pipe',
|
||||
}).stdout.toString();
|
||||
|
||||
if (!version.startsWith('2.')) {
|
||||
logger.warn(`🚨 Expected yarn 2 in ${reproDir}!`);
|
||||
if (!/^[23]\./.test(version)) {
|
||||
logger.warn(`🚨 Expected yarn 2 or 3 in ${reproDir}!`);
|
||||
logger.warn('');
|
||||
logger.warn('Please set it up with `yarn set version berry`,');
|
||||
logger.warn(`then link '${reproDir}' with the '--local' flag.`);
|
||||
|
@ -1,57 +1,57 @@
|
||||
{
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.33",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.33",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.4.0-alpha.33",
|
||||
"@storybook/addon-links": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.4.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.33",
|
||||
"@storybook/addon-toolbars": "6.4.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/angular": "6.4.0-alpha.33",
|
||||
"@storybook/api": "6.4.0-alpha.33",
|
||||
"@storybook/aurelia": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack5": "6.4.0-alpha.33",
|
||||
"@storybook/channel-postmessage": "6.4.0-alpha.33",
|
||||
"@storybook/channel-websocket": "6.4.0-alpha.33",
|
||||
"@storybook/channels": "6.4.0-alpha.33",
|
||||
"@storybook/cli": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/codemod": "6.4.0-alpha.33",
|
||||
"@storybook/components": "6.4.0-alpha.33",
|
||||
"@storybook/core": "6.4.0-alpha.33",
|
||||
"@storybook/core-client": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/core-server": "6.4.0-alpha.33",
|
||||
"@storybook/csf-tools": "6.4.0-alpha.33",
|
||||
"@storybook/ember": "6.4.0-alpha.33",
|
||||
"@storybook/html": "6.4.0-alpha.33",
|
||||
"@storybook/manager-webpack4": "6.4.0-alpha.33",
|
||||
"@storybook/manager-webpack5": "6.4.0-alpha.33",
|
||||
"@storybook/marionette": "6.4.0-alpha.33",
|
||||
"@storybook/marko": "6.4.0-alpha.33",
|
||||
"@storybook/mithril": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/postinstall": "6.4.0-alpha.33",
|
||||
"@storybook/preact": "6.4.0-alpha.33",
|
||||
"@storybook/rax": "6.4.0-alpha.33",
|
||||
"@storybook/react": "6.4.0-alpha.33",
|
||||
"@storybook/riot": "6.4.0-alpha.33",
|
||||
"@storybook/router": "6.4.0-alpha.33",
|
||||
"@storybook/server": "6.4.0-alpha.33",
|
||||
"@storybook/source-loader": "6.4.0-alpha.33",
|
||||
"@storybook/svelte": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/ui": "6.4.0-alpha.33",
|
||||
"@storybook/vue": "6.4.0-alpha.33",
|
||||
"@storybook/vue3": "6.4.0-alpha.33",
|
||||
"@storybook/web-components": "6.4.0-alpha.33"
|
||||
"@storybook/addon-a11y": "6.4.0-alpha.34",
|
||||
"@storybook/addon-actions": "6.4.0-alpha.34",
|
||||
"@storybook/addon-backgrounds": "6.4.0-alpha.34",
|
||||
"@storybook/addon-controls": "6.4.0-alpha.34",
|
||||
"@storybook/addon-docs": "6.4.0-alpha.34",
|
||||
"@storybook/addon-essentials": "6.4.0-alpha.34",
|
||||
"@storybook/addon-jest": "6.4.0-alpha.34",
|
||||
"@storybook/addon-links": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.4.0-alpha.34",
|
||||
"@storybook/addon-storysource": "6.4.0-alpha.34",
|
||||
"@storybook/addon-toolbars": "6.4.0-alpha.34",
|
||||
"@storybook/addon-viewport": "6.4.0-alpha.34",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/angular": "6.4.0-alpha.34",
|
||||
"@storybook/api": "6.4.0-alpha.34",
|
||||
"@storybook/aurelia": "6.4.0-alpha.34",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.34",
|
||||
"@storybook/builder-webpack5": "6.4.0-alpha.34",
|
||||
"@storybook/channel-postmessage": "6.4.0-alpha.34",
|
||||
"@storybook/channel-websocket": "6.4.0-alpha.34",
|
||||
"@storybook/channels": "6.4.0-alpha.34",
|
||||
"@storybook/cli": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/codemod": "6.4.0-alpha.34",
|
||||
"@storybook/components": "6.4.0-alpha.34",
|
||||
"@storybook/core": "6.4.0-alpha.34",
|
||||
"@storybook/core-client": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/core-server": "6.4.0-alpha.34",
|
||||
"@storybook/csf-tools": "6.4.0-alpha.34",
|
||||
"@storybook/ember": "6.4.0-alpha.34",
|
||||
"@storybook/html": "6.4.0-alpha.34",
|
||||
"@storybook/manager-webpack4": "6.4.0-alpha.34",
|
||||
"@storybook/manager-webpack5": "6.4.0-alpha.34",
|
||||
"@storybook/marionette": "6.4.0-alpha.34",
|
||||
"@storybook/marko": "6.4.0-alpha.34",
|
||||
"@storybook/mithril": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/postinstall": "6.4.0-alpha.34",
|
||||
"@storybook/preact": "6.4.0-alpha.34",
|
||||
"@storybook/rax": "6.4.0-alpha.34",
|
||||
"@storybook/react": "6.4.0-alpha.34",
|
||||
"@storybook/riot": "6.4.0-alpha.34",
|
||||
"@storybook/router": "6.4.0-alpha.34",
|
||||
"@storybook/server": "6.4.0-alpha.34",
|
||||
"@storybook/source-loader": "6.4.0-alpha.34",
|
||||
"@storybook/svelte": "6.4.0-alpha.34",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"@storybook/ui": "6.4.0-alpha.34",
|
||||
"@storybook/vue": "6.4.0-alpha.34",
|
||||
"@storybook/vue3": "6.4.0-alpha.34",
|
||||
"@storybook/web-components": "6.4.0-alpha.34"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-api",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook Client API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -40,11 +40,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/channel-postmessage": "6.4.0-alpha.33",
|
||||
"@storybook/channels": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/channel-postmessage": "6.4.0-alpha.34",
|
||||
"@storybook/channels": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@types/qs": "^6.9.5",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
@ -66,6 +66,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-logger",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -46,6 +46,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/codemod",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "A collection of codemod scripts written with JSCodeshift",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -44,8 +44,8 @@
|
||||
"@babel/types": "^7.12.11",
|
||||
"@mdx-js/mdx": "^1.6.22",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/csf-tools": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/csf-tools": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"core-js": "^3.8.2",
|
||||
"cross-spawn": "^7.0.3",
|
||||
"globby": "^11.0.2",
|
||||
@ -62,6 +62,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/components",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Core Storybook Components",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,9 +41,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@popperjs/core": "^2.6.0",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/theming": "6.4.0-alpha.33",
|
||||
"@storybook/theming": "6.4.0-alpha.34",
|
||||
"@types/color-convert": "^2.0.0",
|
||||
"@types/overlayscrollbars": "^1.12.0",
|
||||
"@types/react-syntax-highlighter": "11.0.5",
|
||||
@ -76,6 +76,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ const Container = styled.div<{}>(({ theme }) => ({
|
||||
|
||||
export const ActionButton = styled.button<{ disabled: boolean }>(
|
||||
({ theme }) => ({
|
||||
margin: 0,
|
||||
border: '0 none',
|
||||
padding: '4px 10px',
|
||||
cursor: 'pointer',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core-client",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -40,13 +40,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-alpha.33",
|
||||
"@storybook/channel-postmessage": "6.4.0-alpha.33",
|
||||
"@storybook/client-api": "6.4.0-alpha.33",
|
||||
"@storybook/client-logger": "6.4.0-alpha.33",
|
||||
"@storybook/core-events": "6.4.0-alpha.33",
|
||||
"@storybook/addons": "6.4.0-alpha.34",
|
||||
"@storybook/channel-postmessage": "6.4.0-alpha.34",
|
||||
"@storybook/client-api": "6.4.0-alpha.34",
|
||||
"@storybook/client-logger": "6.4.0-alpha.34",
|
||||
"@storybook/core-events": "6.4.0-alpha.34",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/ui": "6.4.0-alpha.33",
|
||||
"@storybook/ui": "6.4.0-alpha.34",
|
||||
"airbnb-js-shims": "^2.2.1",
|
||||
"ansi-to-html": "^0.6.11",
|
||||
"core-js": "^3.8.2",
|
||||
@ -72,6 +72,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -49,7 +49,8 @@ const loadStories = (
|
||||
typeof req.resolve === 'function' ? req.resolve(filename) : filename
|
||||
);
|
||||
} catch (error) {
|
||||
logger.warn(`Unexpected error while loading ${filename}: ${error}`);
|
||||
const errorString = error.message && error.stack ? `${error.message}\n ${error.stack}` : error.toString();
|
||||
logger.warn(`Unexpected error while loading ${filename}: ${errorString}`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core-common",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -61,7 +61,7 @@
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@babel/register": "^7.12.1",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@types/micromatch": "^4.0.1",
|
||||
"@types/node": "^14.0.10",
|
||||
@ -105,6 +105,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -42,8 +42,21 @@ export function loadEnvs(
|
||||
};
|
||||
}
|
||||
|
||||
/** @deprecated use `stringifyProcessEnvs` */
|
||||
export const stringifyEnvs = (raw: Record<string, string>): Record<string, string> =>
|
||||
Object.entries(raw).reduce<Record<string, string>>((acc, [key, value]) => {
|
||||
acc[key] = JSON.stringify(value);
|
||||
return acc;
|
||||
}, {});
|
||||
|
||||
export const stringifyProcessEnvs = (raw: Record<string, string>): Record<string, string> =>
|
||||
Object.entries(raw).reduce<Record<string, string>>(
|
||||
(acc, [key, value]) => {
|
||||
acc[`process.env.${key}`] = JSON.stringify(value);
|
||||
return acc;
|
||||
},
|
||||
{
|
||||
// Default fallback
|
||||
'process.env.XSTORYBOOK_EXAMPLE_APP': '""',
|
||||
}
|
||||
);
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core-events",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Event names used in storybook core",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,6 +45,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core-server",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,12 +41,12 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@discoveryjs/json-ext": "^0.5.3",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.33",
|
||||
"@storybook/core-client": "6.4.0-alpha.33",
|
||||
"@storybook/core-common": "6.4.0-alpha.33",
|
||||
"@storybook/csf-tools": "6.4.0-alpha.33",
|
||||
"@storybook/manager-webpack4": "6.4.0-alpha.33",
|
||||
"@storybook/node-logger": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack4": "6.4.0-alpha.34",
|
||||
"@storybook/core-client": "6.4.0-alpha.34",
|
||||
"@storybook/core-common": "6.4.0-alpha.34",
|
||||
"@storybook/csf-tools": "6.4.0-alpha.34",
|
||||
"@storybook/manager-webpack4": "6.4.0-alpha.34",
|
||||
"@storybook/node-logger": "6.4.0-alpha.34",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@types/node": "^14.0.10",
|
||||
"@types/node-fetch": "^2.5.7",
|
||||
@ -76,15 +76,15 @@
|
||||
"webpack": "4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/builder-webpack5": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack5": "6.4.0-alpha.34",
|
||||
"@types/compression": "^1.7.0",
|
||||
"@types/ip": "^1.1.0",
|
||||
"@types/serve-favicon": "^2.5.2",
|
||||
"jest-specific-snapshot": "^4.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/builder-webpack5": "6.4.0-alpha.33",
|
||||
"@storybook/manager-webpack5": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack5": "6.4.0-alpha.34",
|
||||
"@storybook/manager-webpack5": "6.4.0-alpha.34",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
"react-dom": "^16.8.0 || ^17.0.0"
|
||||
},
|
||||
@ -102,6 +102,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ import { getManagerBuilder } from './utils/get-manager-builder';
|
||||
|
||||
export async function buildDevStandalone(options: CLIOptions & LoadOptions & BuilderOptions) {
|
||||
const { packageJson, versionUpdates, releaseNotes } = options;
|
||||
const { version } = packageJson;
|
||||
const { version, name = '' } = packageJson;
|
||||
|
||||
// updateInfo and releaseNotesData are cached, so this is typically pretty fast
|
||||
const [port, versionCheck, releaseNotesData] = await Promise.all([
|
||||
@ -110,9 +110,14 @@ export async function buildDevStandalone(options: CLIOptions & LoadOptions & Bui
|
||||
return;
|
||||
}
|
||||
|
||||
// Get package name and capitalize it e.g. @storybook/react -> React
|
||||
const packageName = name.split('@storybook/').length > 0 ? name.split('@storybook/')[1] : name;
|
||||
const frameworkName = packageName.charAt(0).toUpperCase() + packageName.slice(1);
|
||||
|
||||
outputStartupInformation({
|
||||
updateInfo: versionCheck,
|
||||
version,
|
||||
name: frameworkName,
|
||||
address,
|
||||
networkAddress,
|
||||
managerTotalTime,
|
||||
|
@ -10,6 +10,7 @@ import { createUpdateMessage } from './update-check';
|
||||
export function outputStartupInformation(options: {
|
||||
updateInfo: VersionCheck;
|
||||
version: string;
|
||||
name: string;
|
||||
address: string;
|
||||
networkAddress: string;
|
||||
managerTotalTime?: [number, number];
|
||||
@ -18,6 +19,7 @@ export function outputStartupInformation(options: {
|
||||
const {
|
||||
updateInfo,
|
||||
version,
|
||||
name,
|
||||
address,
|
||||
networkAddress,
|
||||
managerTotalTime,
|
||||
@ -67,7 +69,7 @@ export function outputStartupInformation(options: {
|
||||
console.log(
|
||||
boxen(
|
||||
dedent`
|
||||
${colors.green(`Storybook ${chalk.bold(version)} started`)}
|
||||
${colors.green(`Storybook ${chalk.bold(version)} for ${chalk.bold(name)} started`)}
|
||||
${chalk.gray(timeStatement)}
|
||||
|
||||
${serveMessage.toString()}${updateMessage ? `\n\n${updateMessage}` : ''}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -40,11 +40,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core-client": "6.4.0-alpha.33",
|
||||
"@storybook/core-server": "6.4.0-alpha.33"
|
||||
"@storybook/core-client": "6.4.0-alpha.34",
|
||||
"@storybook/core-server": "6.4.0-alpha.34"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/builder-webpack5": "6.4.0-alpha.33",
|
||||
"@storybook/builder-webpack5": "6.4.0-alpha.34",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
"react-dom": "^16.8.0 || ^17.0.0",
|
||||
"webpack": "*"
|
||||
@ -60,6 +60,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/csf-tools",
|
||||
"version": "6.4.0-alpha.33",
|
||||
"version": "6.4.0-alpha.34",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -65,6 +65,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "269aa6d39991bd4002754fda53f45d3b3d34ba98",
|
||||
"gitHead": "ccd25210cd159e42110b700b0562e951bb9b3a57",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user