@storybook/angular 7.1.0-alpha.14 → 7.1.0-alpha.16
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.
|
@@ -44,7 +44,7 @@ const runCompodoc = ({ compodocArgs, tsconfig }, context) => {
|
|
|
44
44
|
];
|
|
45
45
|
const packageManager = cli_1.JsPackageManagerFactory.getPackageManager();
|
|
46
46
|
try {
|
|
47
|
-
const stdout = packageManager.runPackageCommandSync('compodoc', finalCompodocArgs, context.workspaceRoot);
|
|
47
|
+
const stdout = packageManager.runPackageCommandSync('compodoc', finalCompodocArgs, context.workspaceRoot, 'inherit');
|
|
48
48
|
context.logger.info(stdout);
|
|
49
49
|
observer.next();
|
|
50
50
|
observer.complete();
|
|
@@ -33,7 +33,7 @@ describe('runCompodoc', () => {
|
|
|
33
33
|
})
|
|
34
34
|
.pipe((0, operators_1.take)(1))
|
|
35
35
|
.subscribe();
|
|
36
|
-
expect(mockRunScript).toHaveBeenCalledWith('compodoc', ['-p', 'path/to/tsconfig.json', '-d', 'path/to/project'], 'path/to/project');
|
|
36
|
+
expect(mockRunScript).toHaveBeenCalledWith('compodoc', ['-p', 'path/to/tsconfig.json', '-d', 'path/to/project'], 'path/to/project', 'inherit');
|
|
37
37
|
});
|
|
38
38
|
it('should run compodoc with tsconfig from compodocArgs', async () => {
|
|
39
39
|
runCompodoc({
|
|
@@ -45,7 +45,7 @@ describe('runCompodoc', () => {
|
|
|
45
45
|
})
|
|
46
46
|
.pipe((0, operators_1.take)(1))
|
|
47
47
|
.subscribe();
|
|
48
|
-
expect(mockRunScript).toHaveBeenCalledWith('compodoc', ['-d', 'path/to/project', '-p', 'path/to/tsconfig.stories.json'], 'path/to/project');
|
|
48
|
+
expect(mockRunScript).toHaveBeenCalledWith('compodoc', ['-d', 'path/to/project', '-p', 'path/to/tsconfig.stories.json'], 'path/to/project', 'inherit');
|
|
49
49
|
});
|
|
50
50
|
it('should run compodoc with default output folder.', async () => {
|
|
51
51
|
runCompodoc({
|
|
@@ -57,7 +57,7 @@ describe('runCompodoc', () => {
|
|
|
57
57
|
})
|
|
58
58
|
.pipe((0, operators_1.take)(1))
|
|
59
59
|
.subscribe();
|
|
60
|
-
expect(mockRunScript).toHaveBeenCalledWith('compodoc', ['-p', 'path/to/tsconfig.json', '-d', 'path/to/project'], 'path/to/project');
|
|
60
|
+
expect(mockRunScript).toHaveBeenCalledWith('compodoc', ['-p', 'path/to/tsconfig.json', '-d', 'path/to/project'], 'path/to/project', 'inherit');
|
|
61
61
|
});
|
|
62
62
|
it('should run with custom output folder specified with --output compodocArgs', async () => {
|
|
63
63
|
runCompodoc({
|
|
@@ -69,7 +69,7 @@ describe('runCompodoc', () => {
|
|
|
69
69
|
})
|
|
70
70
|
.pipe((0, operators_1.take)(1))
|
|
71
71
|
.subscribe();
|
|
72
|
-
expect(mockRunScript).toHaveBeenCalledWith('compodoc', ['-p', 'path/to/tsconfig.json', '--output', 'path/to/customFolder'], 'path/to/project');
|
|
72
|
+
expect(mockRunScript).toHaveBeenCalledWith('compodoc', ['-p', 'path/to/tsconfig.json', '--output', 'path/to/customFolder'], 'path/to/project', 'inherit');
|
|
73
73
|
});
|
|
74
74
|
it('should run with custom output folder specified with -d compodocArgs', async () => {
|
|
75
75
|
runCompodoc({
|
|
@@ -81,6 +81,6 @@ describe('runCompodoc', () => {
|
|
|
81
81
|
})
|
|
82
82
|
.pipe((0, operators_1.take)(1))
|
|
83
83
|
.subscribe();
|
|
84
|
-
expect(mockRunScript).toHaveBeenCalledWith('compodoc', ['-p', 'path/to/tsconfig.json', '-d', 'path/to/customFolder'], 'path/to/project');
|
|
84
|
+
expect(mockRunScript).toHaveBeenCalledWith('compodoc', ['-p', 'path/to/tsconfig.json', '-d', 'path/to/customFolder'], 'path/to/project', 'inherit');
|
|
85
85
|
});
|
|
86
86
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/angular",
|
|
3
|
-
"version": "7.1.0-alpha.
|
|
3
|
+
"version": "7.1.0-alpha.16",
|
|
4
4
|
"description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"prep": "../../../scripts/prepare/tsc.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@storybook/builder-webpack5": "7.1.0-alpha.
|
|
40
|
-
"@storybook/cli": "7.1.0-alpha.
|
|
41
|
-
"@storybook/client-logger": "7.1.0-alpha.
|
|
42
|
-
"@storybook/core-common": "7.1.0-alpha.
|
|
43
|
-
"@storybook/core-events": "7.1.0-alpha.
|
|
44
|
-
"@storybook/core-server": "7.1.0-alpha.
|
|
45
|
-
"@storybook/core-webpack": "7.1.0-alpha.
|
|
46
|
-
"@storybook/docs-tools": "7.1.0-alpha.
|
|
39
|
+
"@storybook/builder-webpack5": "7.1.0-alpha.16",
|
|
40
|
+
"@storybook/cli": "7.1.0-alpha.16",
|
|
41
|
+
"@storybook/client-logger": "7.1.0-alpha.16",
|
|
42
|
+
"@storybook/core-common": "7.1.0-alpha.16",
|
|
43
|
+
"@storybook/core-events": "7.1.0-alpha.16",
|
|
44
|
+
"@storybook/core-server": "7.1.0-alpha.16",
|
|
45
|
+
"@storybook/core-webpack": "7.1.0-alpha.16",
|
|
46
|
+
"@storybook/docs-tools": "7.1.0-alpha.16",
|
|
47
47
|
"@storybook/global": "^5.0.0",
|
|
48
|
-
"@storybook/manager-api": "7.1.0-alpha.
|
|
49
|
-
"@storybook/node-logger": "7.1.0-alpha.
|
|
50
|
-
"@storybook/preview-api": "7.1.0-alpha.
|
|
51
|
-
"@storybook/telemetry": "7.1.0-alpha.
|
|
52
|
-
"@storybook/types": "7.1.0-alpha.
|
|
48
|
+
"@storybook/manager-api": "7.1.0-alpha.16",
|
|
49
|
+
"@storybook/node-logger": "7.1.0-alpha.16",
|
|
50
|
+
"@storybook/preview-api": "7.1.0-alpha.16",
|
|
51
|
+
"@storybook/telemetry": "7.1.0-alpha.16",
|
|
52
|
+
"@storybook/types": "7.1.0-alpha.16",
|
|
53
53
|
"@types/node": "^16.0.0",
|
|
54
54
|
"@types/react": "^16.14.34",
|
|
55
55
|
"@types/react-dom": "^16.9.14",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"bundler": {
|
|
124
124
|
"tsConfig": "tsconfig.build.json"
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "1be6a4fe5e5c1ef7089b55d9e89b53cd1faee069"
|
|
127
127
|
}
|