@nx/storybook 23.0.0 → 23.1.0-beta.0
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.
package/README.md
CHANGED
|
@@ -7,13 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
<div style="text-align: center;">
|
|
9
9
|
|
|
10
|
-
[](https://circleci.com/gh/nrwl/nx)
|
|
11
10
|
[]()
|
|
12
11
|
[](https://www.npmjs.com/package/nx)
|
|
13
12
|
[]()
|
|
14
13
|
[](http://commitizen.github.io/cz-cli/)
|
|
15
|
-
[](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
16
14
|
[](https://go.nx.dev/community)
|
|
15
|
+
[](https://nx.dev/docs/features/ci-features/sandboxing)
|
|
17
16
|
|
|
18
17
|
</div>
|
|
19
18
|
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.editRootTsConfig = editRootTsConfig;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const js_1 = require("@nx/js");
|
|
6
|
+
const internal_1 = require("@nx/js/internal");
|
|
6
7
|
const utilities_1 = require("../../../utils/utilities");
|
|
7
8
|
/**
|
|
8
9
|
* This is a temporary fix for Storybook to support TypeScript configuration files.
|
|
@@ -22,7 +23,8 @@ function editRootTsConfig(tree) {
|
|
|
22
23
|
json['ts-node'] ??= {};
|
|
23
24
|
json['ts-node'].compilerOptions ??= {};
|
|
24
25
|
json['ts-node'].compilerOptions.module = 'commonjs';
|
|
25
|
-
json['ts-node'].compilerOptions.moduleResolution =
|
|
26
|
+
json['ts-node'].compilerOptions.moduleResolution =
|
|
27
|
+
(0, internal_1.getTsConfigModuleResolution)(tree);
|
|
26
28
|
if (json.compilerOptions?.customConditions) {
|
|
27
29
|
json['ts-node'].compilerOptions.customConditions = null;
|
|
28
30
|
}
|
|
@@ -3,81 +3,81 @@ import { AggregatedLog } from '@nx/devkit/internal';
|
|
|
3
3
|
export declare function getConfigFilePath(tree: Tree, configDir: string): string;
|
|
4
4
|
export declare function addConfigValuesToConfigFile(tree: Tree, configFile: string, configValues: Record<string, Record<string, unknown>>): void;
|
|
5
5
|
declare const MODERN_STORYBOOK_PROP_MAPPING: {
|
|
6
|
-
readonly port:
|
|
7
|
-
readonly previewUrl:
|
|
8
|
-
readonly host:
|
|
9
|
-
readonly docs:
|
|
10
|
-
readonly configDir:
|
|
11
|
-
readonly logLevel:
|
|
12
|
-
readonly quiet:
|
|
13
|
-
readonly webpackStatsJson:
|
|
14
|
-
readonly debugWebpack:
|
|
15
|
-
readonly disableTelemetry:
|
|
16
|
-
readonly https:
|
|
17
|
-
readonly sslCa:
|
|
18
|
-
readonly sslCert:
|
|
19
|
-
readonly sslKey:
|
|
20
|
-
readonly smokeTest:
|
|
21
|
-
readonly noOpen:
|
|
22
|
-
readonly outputDir:
|
|
6
|
+
readonly port: 'port';
|
|
7
|
+
readonly previewUrl: 'preview-url';
|
|
8
|
+
readonly host: 'host';
|
|
9
|
+
readonly docs: 'docs';
|
|
10
|
+
readonly configDir: 'config-dir';
|
|
11
|
+
readonly logLevel: 'loglevel';
|
|
12
|
+
readonly quiet: 'quiet';
|
|
13
|
+
readonly webpackStatsJson: 'stats-json';
|
|
14
|
+
readonly debugWebpack: 'debug-webpack';
|
|
15
|
+
readonly disableTelemetry: 'disable-telemetry';
|
|
16
|
+
readonly https: 'https';
|
|
17
|
+
readonly sslCa: 'ssl-ca';
|
|
18
|
+
readonly sslCert: 'ssl-cert';
|
|
19
|
+
readonly sslKey: 'ssl-key';
|
|
20
|
+
readonly smokeTest: 'smoke-test';
|
|
21
|
+
readonly noOpen: 'no-open';
|
|
22
|
+
readonly outputDir: 'output-dir';
|
|
23
23
|
};
|
|
24
24
|
export declare const STORYBOOK_PROP_MAPPINGS: {
|
|
25
25
|
readonly v8: {
|
|
26
|
-
readonly port:
|
|
27
|
-
readonly previewUrl:
|
|
28
|
-
readonly host:
|
|
29
|
-
readonly docs:
|
|
30
|
-
readonly configDir:
|
|
31
|
-
readonly logLevel:
|
|
32
|
-
readonly quiet:
|
|
33
|
-
readonly webpackStatsJson:
|
|
34
|
-
readonly debugWebpack:
|
|
35
|
-
readonly disableTelemetry:
|
|
36
|
-
readonly https:
|
|
37
|
-
readonly sslCa:
|
|
38
|
-
readonly sslCert:
|
|
39
|
-
readonly sslKey:
|
|
40
|
-
readonly smokeTest:
|
|
41
|
-
readonly noOpen:
|
|
42
|
-
readonly outputDir:
|
|
26
|
+
readonly port: 'port';
|
|
27
|
+
readonly previewUrl: 'preview-url';
|
|
28
|
+
readonly host: 'host';
|
|
29
|
+
readonly docs: 'docs';
|
|
30
|
+
readonly configDir: 'config-dir';
|
|
31
|
+
readonly logLevel: 'loglevel';
|
|
32
|
+
readonly quiet: 'quiet';
|
|
33
|
+
readonly webpackStatsJson: 'stats-json';
|
|
34
|
+
readonly debugWebpack: 'debug-webpack';
|
|
35
|
+
readonly disableTelemetry: 'disable-telemetry';
|
|
36
|
+
readonly https: 'https';
|
|
37
|
+
readonly sslCa: 'ssl-ca';
|
|
38
|
+
readonly sslCert: 'ssl-cert';
|
|
39
|
+
readonly sslKey: 'ssl-key';
|
|
40
|
+
readonly smokeTest: 'smoke-test';
|
|
41
|
+
readonly noOpen: 'no-open';
|
|
42
|
+
readonly outputDir: 'output-dir';
|
|
43
43
|
};
|
|
44
44
|
readonly v9: {
|
|
45
|
-
readonly port:
|
|
46
|
-
readonly previewUrl:
|
|
47
|
-
readonly host:
|
|
48
|
-
readonly docs:
|
|
49
|
-
readonly configDir:
|
|
50
|
-
readonly logLevel:
|
|
51
|
-
readonly quiet:
|
|
52
|
-
readonly webpackStatsJson:
|
|
53
|
-
readonly debugWebpack:
|
|
54
|
-
readonly disableTelemetry:
|
|
55
|
-
readonly https:
|
|
56
|
-
readonly sslCa:
|
|
57
|
-
readonly sslCert:
|
|
58
|
-
readonly sslKey:
|
|
59
|
-
readonly smokeTest:
|
|
60
|
-
readonly noOpen:
|
|
61
|
-
readonly outputDir:
|
|
45
|
+
readonly port: 'port';
|
|
46
|
+
readonly previewUrl: 'preview-url';
|
|
47
|
+
readonly host: 'host';
|
|
48
|
+
readonly docs: 'docs';
|
|
49
|
+
readonly configDir: 'config-dir';
|
|
50
|
+
readonly logLevel: 'loglevel';
|
|
51
|
+
readonly quiet: 'quiet';
|
|
52
|
+
readonly webpackStatsJson: 'stats-json';
|
|
53
|
+
readonly debugWebpack: 'debug-webpack';
|
|
54
|
+
readonly disableTelemetry: 'disable-telemetry';
|
|
55
|
+
readonly https: 'https';
|
|
56
|
+
readonly sslCa: 'ssl-ca';
|
|
57
|
+
readonly sslCert: 'ssl-cert';
|
|
58
|
+
readonly sslKey: 'ssl-key';
|
|
59
|
+
readonly smokeTest: 'smoke-test';
|
|
60
|
+
readonly noOpen: 'no-open';
|
|
61
|
+
readonly outputDir: 'output-dir';
|
|
62
62
|
};
|
|
63
63
|
readonly v10: {
|
|
64
|
-
readonly port:
|
|
65
|
-
readonly previewUrl:
|
|
66
|
-
readonly host:
|
|
67
|
-
readonly docs:
|
|
68
|
-
readonly configDir:
|
|
69
|
-
readonly logLevel:
|
|
70
|
-
readonly quiet:
|
|
71
|
-
readonly webpackStatsJson:
|
|
72
|
-
readonly debugWebpack:
|
|
73
|
-
readonly disableTelemetry:
|
|
74
|
-
readonly https:
|
|
75
|
-
readonly sslCa:
|
|
76
|
-
readonly sslCert:
|
|
77
|
-
readonly sslKey:
|
|
78
|
-
readonly smokeTest:
|
|
79
|
-
readonly noOpen:
|
|
80
|
-
readonly outputDir:
|
|
64
|
+
readonly port: 'port';
|
|
65
|
+
readonly previewUrl: 'preview-url';
|
|
66
|
+
readonly host: 'host';
|
|
67
|
+
readonly docs: 'docs';
|
|
68
|
+
readonly configDir: 'config-dir';
|
|
69
|
+
readonly logLevel: 'loglevel';
|
|
70
|
+
readonly quiet: 'quiet';
|
|
71
|
+
readonly webpackStatsJson: 'stats-json';
|
|
72
|
+
readonly debugWebpack: 'debug-webpack';
|
|
73
|
+
readonly disableTelemetry: 'disable-telemetry';
|
|
74
|
+
readonly https: 'https';
|
|
75
|
+
readonly sslCa: 'ssl-ca';
|
|
76
|
+
readonly sslCert: 'ssl-cert';
|
|
77
|
+
readonly sslKey: 'ssl-key';
|
|
78
|
+
readonly smokeTest: 'smoke-test';
|
|
79
|
+
readonly noOpen: 'no-open';
|
|
80
|
+
readonly outputDir: 'output-dir';
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
export declare function getStorybookPropMappings(tree: Tree): typeof MODERN_STORYBOOK_PROP_MAPPING;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/storybook",
|
|
3
|
-
"version": "23.0.0",
|
|
3
|
+
"version": "23.1.0-beta.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
@@ -92,18 +92,18 @@
|
|
|
92
92
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
93
93
|
"semver": "^7.6.3",
|
|
94
94
|
"tslib": "^2.3.0",
|
|
95
|
-
"@nx/devkit": "23.0.0",
|
|
96
|
-
"@nx/cypress": "23.0.0",
|
|
97
|
-
"@nx/js": "23.0.0",
|
|
98
|
-
"@nx/eslint": "23.0.0"
|
|
95
|
+
"@nx/devkit": "23.1.0-beta.0",
|
|
96
|
+
"@nx/cypress": "23.1.0-beta.0",
|
|
97
|
+
"@nx/js": "23.1.0-beta.0",
|
|
98
|
+
"@nx/eslint": "23.1.0-beta.0"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"storybook": "9.0.6",
|
|
102
|
-
"nx": "23.0.0"
|
|
102
|
+
"nx": "23.1.0-beta.0"
|
|
103
103
|
},
|
|
104
104
|
"peerDependencies": {
|
|
105
105
|
"storybook": ">=8.0.0 <11.0.0",
|
|
106
|
-
"@nx/web": "23.0.0"
|
|
106
|
+
"@nx/web": "23.1.0-beta.0"
|
|
107
107
|
},
|
|
108
108
|
"peerDependenciesMeta": {
|
|
109
109
|
"@nx/web": {
|