@nx/storybook 17.1.0-beta.0 → 17.1.0-beta.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/storybook",
|
|
3
|
-
"version": "17.1.0-beta.
|
|
3
|
+
"version": "17.1.0-beta.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Storybook contains executors and generators for allowing your workspace to use the powerful Storybook integration testing & documenting capabilities.",
|
|
6
6
|
"repository": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
34
34
|
"semver": "7.5.3",
|
|
35
35
|
"tslib": "^2.3.0",
|
|
36
|
-
"@nx/cypress": "17.1.0-beta.
|
|
37
|
-
"@nx/devkit": "17.1.0-beta.
|
|
38
|
-
"@nx/js": "17.1.0-beta.
|
|
39
|
-
"@nx/eslint": "17.1.0-beta.
|
|
40
|
-
"@nrwl/storybook": "17.1.0-beta.
|
|
36
|
+
"@nx/cypress": "17.1.0-beta.2",
|
|
37
|
+
"@nx/devkit": "17.1.0-beta.2",
|
|
38
|
+
"@nx/js": "17.1.0-beta.2",
|
|
39
|
+
"@nx/eslint": "17.1.0-beta.2",
|
|
40
|
+
"@nrwl/storybook": "17.1.0-beta.2"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
@@ -14,7 +14,7 @@ function callUpgrade(schema) {
|
|
|
14
14
|
],
|
|
15
15
|
color: 'blue',
|
|
16
16
|
});
|
|
17
|
-
(0, child_process_1.execSync)(`${pm.
|
|
17
|
+
(0, child_process_1.execSync)(`${pm.dlx} storybook@latest upgrade ${schema.autoAcceptAllPrompts ? '--yes' : ''}`, {
|
|
18
18
|
stdio: [0, 1, 2],
|
|
19
19
|
});
|
|
20
20
|
devkit_1.output.log({
|
|
@@ -56,7 +56,7 @@ function callAutomigrate(allStorybookProjects, schema) {
|
|
|
56
56
|
};
|
|
57
57
|
Object.entries(allStorybookProjects).forEach(([projectName, storybookProjectInfo]) => {
|
|
58
58
|
const pm = (0, devkit_1.getPackageManagerCommand)();
|
|
59
|
-
const commandToRun = `${pm.
|
|
59
|
+
const commandToRun = `${pm.dlx} storybook@latest automigrate --config-dir ${storybookProjectInfo.configDir} --renderer ${storybookProjectInfo.uiFramework}`;
|
|
60
60
|
try {
|
|
61
61
|
devkit_1.output.log({
|
|
62
62
|
title: `Calling sb automigrate for ${projectName}`,
|