@storybook/angular 7.0.0-beta.24 → 7.0.0-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -39,8 +39,8 @@ function commandBuilder(options, context) {
|
|
|
39
39
|
tsConfig,
|
|
40
40
|
};
|
|
41
41
|
return standaloneOptions;
|
|
42
|
-
}), (0, operators_1.switchMap)((standaloneOptions) => runInstance(standaloneOptions)), (0, operators_1.map)(() => {
|
|
43
|
-
return { success: true };
|
|
42
|
+
}), (0, operators_1.switchMap)((standaloneOptions) => runInstance(standaloneOptions)), (0, operators_1.map)((port) => {
|
|
43
|
+
return { success: true, info: { port } };
|
|
44
44
|
}));
|
|
45
45
|
}
|
|
46
46
|
async function setup(options, context) {
|
|
@@ -59,6 +59,6 @@ async function setup(options, context) {
|
|
|
59
59
|
function runInstance(options) {
|
|
60
60
|
return new rxjs_1.Observable((observer) => {
|
|
61
61
|
// This Observable intentionally never complete, leaving the process running ;)
|
|
62
|
-
(0, core_server_1.buildDevStandalone)(options).then(() => observer.next(), (error) => observer.error((0, build_standalone_errors_handler_1.buildStandaloneErrorHandler)(error)));
|
|
62
|
+
(0, core_server_1.buildDevStandalone)(options).then(({ port }) => observer.next(port), (error) => observer.error((0, build_standalone_errors_handler_1.buildStandaloneErrorHandler)(error)));
|
|
63
63
|
});
|
|
64
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.26",
|
|
4
4
|
"description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"prep": "../../../scripts/prepare/tsc.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@storybook/builder-webpack5": "7.0.0-beta.
|
|
40
|
-
"@storybook/client-logger": "7.0.0-beta.
|
|
41
|
-
"@storybook/core-client": "7.0.0-beta.
|
|
42
|
-
"@storybook/core-common": "7.0.0-beta.
|
|
43
|
-
"@storybook/core-events": "7.0.0-beta.
|
|
44
|
-
"@storybook/core-server": "7.0.0-beta.
|
|
45
|
-
"@storybook/core-webpack": "7.0.0-beta.
|
|
46
|
-
"@storybook/docs-tools": "7.0.0-beta.
|
|
39
|
+
"@storybook/builder-webpack5": "7.0.0-beta.26",
|
|
40
|
+
"@storybook/client-logger": "7.0.0-beta.26",
|
|
41
|
+
"@storybook/core-client": "7.0.0-beta.26",
|
|
42
|
+
"@storybook/core-common": "7.0.0-beta.26",
|
|
43
|
+
"@storybook/core-events": "7.0.0-beta.26",
|
|
44
|
+
"@storybook/core-server": "7.0.0-beta.26",
|
|
45
|
+
"@storybook/core-webpack": "7.0.0-beta.26",
|
|
46
|
+
"@storybook/docs-tools": "7.0.0-beta.26",
|
|
47
47
|
"@storybook/global": "^5.0.0",
|
|
48
|
-
"@storybook/manager-api": "7.0.0-beta.
|
|
49
|
-
"@storybook/node-logger": "7.0.0-beta.
|
|
50
|
-
"@storybook/preview-api": "7.0.0-beta.
|
|
51
|
-
"@storybook/types": "7.0.0-beta.
|
|
48
|
+
"@storybook/manager-api": "7.0.0-beta.26",
|
|
49
|
+
"@storybook/node-logger": "7.0.0-beta.26",
|
|
50
|
+
"@storybook/preview-api": "7.0.0-beta.26",
|
|
51
|
+
"@storybook/types": "7.0.0-beta.26",
|
|
52
52
|
"@types/node": "^16.0.0",
|
|
53
53
|
"@types/react": "^16.14.34",
|
|
54
54
|
"@types/react-dom": "^16.9.14",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"bundler": {
|
|
128
128
|
"tsConfig": "tsconfig.build.json"
|
|
129
129
|
},
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "4d3ed5ec2eb8db3e688955e2820001def09621c1"
|
|
131
131
|
}
|