mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-02 05:03:44 +08:00
Fix standalone tests
This commit is contained in:
parent
8b434babcf
commit
dd15eebc2c
@ -45,6 +45,7 @@
|
||||
"@storybook/core-client": "6.5.0-alpha.61",
|
||||
"@storybook/core-common": "6.5.0-alpha.61",
|
||||
"@storybook/core-events": "6.5.0-alpha.61",
|
||||
"@storybook/core-server": "6.5.0-alpha.61",
|
||||
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
||||
"@storybook/docs-tools": "6.5.0-alpha.61",
|
||||
"@storybook/node-logger": "6.5.0-alpha.61",
|
||||
|
2
app/angular/standalone.js
vendored
2
app/angular/standalone.js
vendored
@ -1,4 +1,4 @@
|
||||
const build = require('@storybook/core/standalone');
|
||||
const build = require('@storybook/core-server/standalone');
|
||||
const frameworkOptions = require('./dist/ts3.9/server/options').default;
|
||||
|
||||
async function buildStandalone(options) {
|
||||
|
@ -38,6 +38,7 @@
|
||||
"dependencies": {
|
||||
"@storybook/core-client": "6.5.0-alpha.61",
|
||||
"@storybook/core-common": "6.5.0-alpha.61",
|
||||
"@storybook/core-server": "6.5.0-alpha.61",
|
||||
"@storybook/docs-tools": "6.5.0-alpha.61",
|
||||
"@storybook/store": "6.5.0-alpha.61",
|
||||
"core-js": "^3.8.2",
|
||||
|
@ -1,4 +1,4 @@
|
||||
const build = require('@storybook/core/standalone');
|
||||
const build = require('@storybook/core-server/standalone');
|
||||
const frameworkOptions = require('./dist/cjs/server/options').default;
|
||||
|
||||
async function buildStandalone(options) {
|
||||
|
@ -42,6 +42,7 @@
|
||||
"@storybook/addons": "6.5.0-alpha.61",
|
||||
"@storybook/core-client": "6.5.0-alpha.61",
|
||||
"@storybook/core-common": "6.5.0-alpha.61",
|
||||
"@storybook/core-server": "6.5.0-alpha.61",
|
||||
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
||||
"@storybook/docs-tools": "6.5.0-alpha.61",
|
||||
"@storybook/preview-web": "6.5.0-alpha.61",
|
||||
|
@ -1,4 +1,4 @@
|
||||
const build = require('@storybook/core/standalone');
|
||||
const build = require('@storybook/core-server/standalone');
|
||||
const frameworkOptions = require('./dist/cjs/server/options').default;
|
||||
|
||||
async function buildStandalone(options) {
|
||||
|
@ -43,6 +43,7 @@
|
||||
"@storybook/addons": "6.5.0-alpha.61",
|
||||
"@storybook/core-client": "6.5.0-alpha.61",
|
||||
"@storybook/core-common": "6.5.0-alpha.61",
|
||||
"@storybook/core-server": "6.5.0-alpha.61",
|
||||
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
||||
"@storybook/store": "6.5.0-alpha.61",
|
||||
"@types/node": "^14.14.20 || ^16.0.0",
|
||||
|
@ -1,4 +1,4 @@
|
||||
const build = require('@storybook/core/standalone');
|
||||
const build = require('@storybook/core-server/standalone');
|
||||
const frameworkOptions = require('./dist/cjs/server/options').default;
|
||||
|
||||
async function buildStandalone(options) {
|
||||
|
@ -47,6 +47,7 @@
|
||||
"@storybook/client-logger": "6.5.0-alpha.61",
|
||||
"@storybook/core-client": "6.5.0-alpha.61",
|
||||
"@storybook/core-common": "6.5.0-alpha.61",
|
||||
"@storybook/core-server": "6.5.0-alpha.61",
|
||||
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
||||
"@storybook/docs-tools": "6.5.0-alpha.61",
|
||||
"@storybook/node-logger": "6.5.0-alpha.61",
|
||||
|
@ -1,4 +1,4 @@
|
||||
const build = require('@storybook/core/standalone');
|
||||
const build = require('@storybook/core-server/standalone');
|
||||
const frameworkOptions = require('./dist/cjs/server/options').default;
|
||||
|
||||
async function buildStandalone(options) {
|
||||
|
@ -44,6 +44,7 @@
|
||||
"@storybook/client-api": "6.5.0-alpha.61",
|
||||
"@storybook/core-client": "6.5.0-alpha.61",
|
||||
"@storybook/core-common": "6.5.0-alpha.61",
|
||||
"@storybook/core-server": "6.5.0-alpha.61",
|
||||
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
||||
"@storybook/node-logger": "6.5.0-alpha.61",
|
||||
"@storybook/preview-web": "6.5.0-alpha.61",
|
||||
|
@ -1,4 +1,4 @@
|
||||
const build = require('@storybook/core/standalone');
|
||||
const build = require('@storybook/core-server/standalone');
|
||||
const frameworkOptions = require('./dist/cjs/server/options').default;
|
||||
|
||||
async function buildStandalone(options) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import build from '@storybook/core/standalone';
|
||||
import build from '@storybook/core-server/standalone';
|
||||
|
||||
jest.mock('@storybook/core/standalone');
|
||||
jest.mock('@storybook/core-server/standalone');
|
||||
|
||||
describe.each([
|
||||
['angular'],
|
||||
|
@ -44,6 +44,7 @@
|
||||
"@storybook/client-logger": "6.5.0-alpha.61",
|
||||
"@storybook/core-client": "6.5.0-alpha.61",
|
||||
"@storybook/core-common": "6.5.0-alpha.61",
|
||||
"@storybook/core-server": "6.5.0-alpha.61",
|
||||
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
||||
"@storybook/docs-tools": "6.5.0-alpha.61",
|
||||
"@storybook/node-logger": "6.5.0-alpha.61",
|
||||
|
@ -1,4 +1,4 @@
|
||||
const build = require('@storybook/core/standalone');
|
||||
const build = require('@storybook/core-server/standalone');
|
||||
const frameworkOptions = require('./dist/cjs/server/options').default;
|
||||
|
||||
async function buildStandalone(options) {
|
||||
|
@ -43,6 +43,7 @@
|
||||
"@storybook/client-logger": "6.5.0-alpha.61",
|
||||
"@storybook/core-client": "6.5.0-alpha.61",
|
||||
"@storybook/core-common": "6.5.0-alpha.61",
|
||||
"@storybook/core-server": "6.5.0-alpha.61",
|
||||
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
||||
"@storybook/docs-tools": "6.5.0-alpha.61",
|
||||
"@storybook/store": "6.5.0-alpha.61",
|
||||
|
@ -1,4 +1,4 @@
|
||||
const build = require('@storybook/core/standalone');
|
||||
const build = require('@storybook/core-server/standalone');
|
||||
const frameworkOptions = require('./dist/cjs/server/options').default;
|
||||
|
||||
async function buildStandalone(options) {
|
||||
|
@ -43,6 +43,7 @@
|
||||
"@storybook/addons": "6.5.0-alpha.61",
|
||||
"@storybook/core-client": "6.5.0-alpha.61",
|
||||
"@storybook/core-common": "6.5.0-alpha.61",
|
||||
"@storybook/core-server": "6.5.0-alpha.61",
|
||||
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
||||
"@storybook/docs-tools": "6.5.0-alpha.61",
|
||||
"@storybook/store": "6.5.0-alpha.61",
|
||||
|
@ -1,4 +1,4 @@
|
||||
const build = require('@storybook/core/standalone');
|
||||
const build = require('@storybook/core-server/standalone');
|
||||
const frameworkOptions = require('./dist/cjs/server/options').default;
|
||||
|
||||
async function buildStandalone(options) {
|
||||
|
@ -49,6 +49,7 @@
|
||||
"@storybook/client-logger": "6.5.0-alpha.61",
|
||||
"@storybook/core-client": "6.5.0-alpha.61",
|
||||
"@storybook/core-common": "6.5.0-alpha.61",
|
||||
"@storybook/core-server": "6.5.0-alpha.61",
|
||||
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
||||
"@storybook/docs-tools": "6.5.0-alpha.61",
|
||||
"@storybook/preview-web": "6.5.0-alpha.61",
|
||||
|
@ -1,4 +1,4 @@
|
||||
const build = require('@storybook/core/standalone');
|
||||
const build = require('@storybook/core-server/standalone');
|
||||
const frameworkOptions = require('./dist/cjs/server/options').default;
|
||||
|
||||
async function buildStandalone(options) {
|
||||
|
10
yarn.lock
10
yarn.lock
@ -6987,6 +6987,7 @@ __metadata:
|
||||
"@storybook/core-client": 6.5.0-alpha.61
|
||||
"@storybook/core-common": 6.5.0-alpha.61
|
||||
"@storybook/core-events": 6.5.0-alpha.61
|
||||
"@storybook/core-server": 6.5.0-alpha.61
|
||||
"@storybook/csf": 0.0.2--canary.7c6c115.0
|
||||
"@storybook/docs-tools": 6.5.0-alpha.61
|
||||
"@storybook/node-logger": 6.5.0-alpha.61
|
||||
@ -7743,6 +7744,7 @@ __metadata:
|
||||
dependencies:
|
||||
"@storybook/core-client": 6.5.0-alpha.61
|
||||
"@storybook/core-common": 6.5.0-alpha.61
|
||||
"@storybook/core-server": 6.5.0-alpha.61
|
||||
"@storybook/docs-tools": 6.5.0-alpha.61
|
||||
"@storybook/store": 6.5.0-alpha.61
|
||||
core-js: ^3.8.2
|
||||
@ -7845,6 +7847,7 @@ __metadata:
|
||||
"@storybook/addons": 6.5.0-alpha.61
|
||||
"@storybook/core-client": 6.5.0-alpha.61
|
||||
"@storybook/core-common": 6.5.0-alpha.61
|
||||
"@storybook/core-server": 6.5.0-alpha.61
|
||||
"@storybook/csf": 0.0.2--canary.7c6c115.0
|
||||
"@storybook/docs-tools": 6.5.0-alpha.61
|
||||
"@storybook/preview-web": 6.5.0-alpha.61
|
||||
@ -8109,6 +8112,7 @@ __metadata:
|
||||
"@storybook/addons": 6.5.0-alpha.61
|
||||
"@storybook/core-client": 6.5.0-alpha.61
|
||||
"@storybook/core-common": 6.5.0-alpha.61
|
||||
"@storybook/core-server": 6.5.0-alpha.61
|
||||
"@storybook/csf": 0.0.2--canary.7c6c115.0
|
||||
"@storybook/store": 6.5.0-alpha.61
|
||||
"@types/node": ^14.14.20 || ^16.0.0
|
||||
@ -8214,6 +8218,7 @@ __metadata:
|
||||
"@storybook/client-logger": 6.5.0-alpha.61
|
||||
"@storybook/core-client": 6.5.0-alpha.61
|
||||
"@storybook/core-common": 6.5.0-alpha.61
|
||||
"@storybook/core-server": 6.5.0-alpha.61
|
||||
"@storybook/csf": 0.0.2--canary.7c6c115.0
|
||||
"@storybook/docs-tools": 6.5.0-alpha.61
|
||||
"@storybook/node-logger": 6.5.0-alpha.61
|
||||
@ -8578,6 +8583,7 @@ __metadata:
|
||||
"@storybook/client-api": 6.5.0-alpha.61
|
||||
"@storybook/core-client": 6.5.0-alpha.61
|
||||
"@storybook/core-common": 6.5.0-alpha.61
|
||||
"@storybook/core-server": 6.5.0-alpha.61
|
||||
"@storybook/csf": 0.0.2--canary.7c6c115.0
|
||||
"@storybook/node-logger": 6.5.0-alpha.61
|
||||
"@storybook/preview-web": 6.5.0-alpha.61
|
||||
@ -8651,6 +8657,7 @@ __metadata:
|
||||
"@storybook/client-logger": 6.5.0-alpha.61
|
||||
"@storybook/core-client": 6.5.0-alpha.61
|
||||
"@storybook/core-common": 6.5.0-alpha.61
|
||||
"@storybook/core-server": 6.5.0-alpha.61
|
||||
"@storybook/csf": 0.0.2--canary.7c6c115.0
|
||||
"@storybook/docs-tools": 6.5.0-alpha.61
|
||||
"@storybook/node-logger": 6.5.0-alpha.61
|
||||
@ -8798,6 +8805,7 @@ __metadata:
|
||||
"@storybook/addons": 6.5.0-alpha.61
|
||||
"@storybook/core-client": 6.5.0-alpha.61
|
||||
"@storybook/core-common": 6.5.0-alpha.61
|
||||
"@storybook/core-server": 6.5.0-alpha.61
|
||||
"@storybook/csf": 0.0.2--canary.7c6c115.0
|
||||
"@storybook/docs-tools": 6.5.0-alpha.61
|
||||
"@storybook/store": 6.5.0-alpha.61
|
||||
@ -8833,6 +8841,7 @@ __metadata:
|
||||
"@storybook/client-logger": 6.5.0-alpha.61
|
||||
"@storybook/core-client": 6.5.0-alpha.61
|
||||
"@storybook/core-common": 6.5.0-alpha.61
|
||||
"@storybook/core-server": 6.5.0-alpha.61
|
||||
"@storybook/csf": 0.0.2--canary.7c6c115.0
|
||||
"@storybook/docs-tools": 6.5.0-alpha.61
|
||||
"@storybook/store": 6.5.0-alpha.61
|
||||
@ -8874,6 +8883,7 @@ __metadata:
|
||||
"@storybook/client-logger": 6.5.0-alpha.61
|
||||
"@storybook/core-client": 6.5.0-alpha.61
|
||||
"@storybook/core-common": 6.5.0-alpha.61
|
||||
"@storybook/core-server": 6.5.0-alpha.61
|
||||
"@storybook/csf": 0.0.2--canary.7c6c115.0
|
||||
"@storybook/docs-tools": 6.5.0-alpha.61
|
||||
"@storybook/preview-web": 6.5.0-alpha.61
|
||||
|
Loading…
x
Reference in New Issue
Block a user