@nx/storybook 16.0.0-beta.4 → 16.0.0-beta.5
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": "16.0.0-beta.
|
|
3
|
+
"version": "16.0.0-beta.5",
|
|
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": {
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"migrations": "./migrations.json"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nrwl/storybook": "16.0.0-beta.
|
|
34
|
-
"@nx/cypress": "16.0.0-beta.
|
|
35
|
-
"@nx/devkit": "16.0.0-beta.
|
|
36
|
-
"@nx/js": "16.0.0-beta.
|
|
37
|
-
"@nx/linter": "16.0.0-beta.
|
|
38
|
-
"@nx/workspace": "16.0.0-beta.
|
|
33
|
+
"@nrwl/storybook": "16.0.0-beta.5",
|
|
34
|
+
"@nx/cypress": "16.0.0-beta.5",
|
|
35
|
+
"@nx/devkit": "16.0.0-beta.5",
|
|
36
|
+
"@nx/js": "16.0.0-beta.5",
|
|
37
|
+
"@nx/linter": "16.0.0-beta.5",
|
|
38
|
+
"@nx/workspace": "16.0.0-beta.5",
|
|
39
39
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
40
40
|
"dotenv": "~10.0.0",
|
|
41
41
|
"enquirer": "~2.3.6",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"types": "./index.d.ts",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "04fed26279d04c2b02663df5872c6857eb7914bf"
|
|
49
49
|
}
|
|
@@ -7,7 +7,15 @@ const utilities_1 = require("../../utils/utilities");
|
|
|
7
7
|
function changeStorybookTargets(tree) {
|
|
8
8
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
9
9
|
const storybookVersion = (0, utilities_1.storybookMajorVersion)();
|
|
10
|
-
if (!storybookVersion
|
|
10
|
+
if (!storybookVersion) {
|
|
11
|
+
/**
|
|
12
|
+
* This just checks if Storybook is installed in the workspace.
|
|
13
|
+
* The thing here is that during the previous step of the migration,
|
|
14
|
+
* during packageJsonUpdates, Nx has already set Storybook
|
|
15
|
+
* to version 7, if Storybook exists in the workspace.
|
|
16
|
+
* So, it makes no sense here to check if the version is
|
|
17
|
+
* 7, because it will always be.
|
|
18
|
+
*/
|
|
11
19
|
return;
|
|
12
20
|
}
|
|
13
21
|
output_1.output.log({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sb-7.js","sourceRoot":"","sources":["../../../../../../packages/storybook/src/migrations/update-16-0-0/update-sb-7.ts"],"names":[],"mappings":";;;AACA,gDAA6C;AAC7C,oEAAqE;AACrE,qDAA8D;AAE9D,SAA8B,sBAAsB,CAAC,IAAU;;QAC7D,MAAM,gBAAgB,GAAG,IAAA,iCAAqB,GAAE,CAAC;QACjD,IAAI,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"update-sb-7.js","sourceRoot":"","sources":["../../../../../../packages/storybook/src/migrations/update-16-0-0/update-sb-7.ts"],"names":[],"mappings":";;;AACA,gDAA6C;AAC7C,oEAAqE;AACrE,qDAA8D;AAE9D,SAA8B,sBAAsB,CAAC,IAAU;;QAC7D,MAAM,gBAAgB,GAAG,IAAA,iCAAqB,GAAE,CAAC;QACjD,IAAI,CAAC,gBAAgB,EAAE;YACrB;;;;;;;eAOG;YACH,OAAO;SACR;QAED,eAAM,CAAC,GAAG,CAAC;YACT,KAAK,EAAE,2BAA2B;YAClC,SAAS,EAAE;gBACT,mEAAmE;gBACnE,6DAA6D;gBAC7D,0EAA0E;gBAC1E,wDAAwD;aACzD;SACF,CAAC,CAAC;QACH,OAAO,IAAA,mBAAiB,EAAC,IAAI,EAAE,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,CAAC;IACjE,CAAC;CAAA;AAxBD,yCAwBC"}
|