@nx/storybook 23.0.0-beta.0 → 23.0.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": "23.0.0-beta.
|
|
3
|
+
"version": "23.0.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": {
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
"migrations": "./migrations.json"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@nx/devkit": "23.0.0-beta.
|
|
37
|
+
"@nx/devkit": "23.0.0-beta.2",
|
|
38
38
|
"@phenomnomnominal/tsquery": "~6.1.4",
|
|
39
39
|
"semver": "^7.6.3",
|
|
40
40
|
"tslib": "^2.3.0",
|
|
41
|
-
"@nx/cypress": "23.0.0-beta.
|
|
42
|
-
"@nx/js": "23.0.0-beta.
|
|
43
|
-
"@nx/eslint": "23.0.0-beta.
|
|
41
|
+
"@nx/cypress": "23.0.0-beta.2",
|
|
42
|
+
"@nx/js": "23.0.0-beta.2",
|
|
43
|
+
"@nx/eslint": "23.0.0-beta.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"nx": "23.0.0-beta.
|
|
46
|
+
"nx": "23.0.0-beta.2",
|
|
47
47
|
"storybook": "9.0.6"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@nx/web": "23.0.0-beta.
|
|
50
|
+
"@nx/web": "23.0.0-beta.2",
|
|
51
51
|
"storybook": ">=7.0.0 <11.0.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../packages/storybook/src/generators/convert-to-inferred/lib/utils.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../packages/storybook/src/generators/convert-to-inferred/lib/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,IAAI,EACV,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,gEAAgE,CAAC;AAK/F,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,UAS9D;AAED,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,QAgCtD;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCnC,CAAC;AAEF,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,aAAa,QAmE7B;AAED,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,MAAM,GACd,MAAM,GAAG,IAAI,CAGf;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM;;;EAKzE"}
|
|
@@ -126,11 +126,11 @@ function ensureViteConfigPathIsRelative(tree, configPath, projectName, projectRo
|
|
|
126
126
|
tree.write(configPath, `${configFileContents.slice(0, viteConfigPathNode.getStart() + 1)}${relativePathToViteConfig}${configFileContents.slice(viteConfigPathNode.getEnd() - 1)}`);
|
|
127
127
|
}
|
|
128
128
|
function getInstalledPackageVersion(tree, pkgName) {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
return version;
|
|
129
|
+
// resolves pnpm catalog: refs (and yarn catalog refs)
|
|
130
|
+
return (0, devkit_1.getDependencyVersionFromPackageJson)(tree, pkgName);
|
|
132
131
|
}
|
|
133
132
|
function getInstalledPackageVersionInfo(tree, pkgName) {
|
|
134
133
|
const version = getInstalledPackageVersion(tree, pkgName);
|
|
135
|
-
|
|
134
|
+
const coerced = version ? (0, semver_1.coerce)(version) : null;
|
|
135
|
+
return coerced ? { major: (0, semver_1.major)(coerced), version } : null;
|
|
136
136
|
}
|