@nx/storybook 19.8.2 → 19.8.3
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 +6 -6
- package/src/plugins/plugin.js +15 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/storybook",
|
|
3
|
-
"version": "19.8.
|
|
3
|
+
"version": "19.8.3",
|
|
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,14 +33,14 @@
|
|
|
33
33
|
"migrations": "./migrations.json"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@nx/devkit": "19.8.
|
|
36
|
+
"@nx/devkit": "19.8.3",
|
|
37
37
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
38
38
|
"semver": "^7.5.3",
|
|
39
39
|
"tslib": "^2.3.0",
|
|
40
|
-
"@nx/cypress": "19.8.
|
|
41
|
-
"@nx/js": "19.8.
|
|
42
|
-
"@nx/eslint": "19.8.
|
|
43
|
-
"@nrwl/storybook": "19.8.
|
|
40
|
+
"@nx/cypress": "19.8.3",
|
|
41
|
+
"@nx/js": "19.8.3",
|
|
42
|
+
"@nx/eslint": "19.8.3",
|
|
43
|
+
"@nrwl/storybook": "19.8.3"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
package/src/plugins/plugin.js
CHANGED
|
@@ -98,7 +98,9 @@ function buildTarget(namedInputs, outputs, projectRoot, frameworkIsAngular, proj
|
|
|
98
98
|
externalDependencies: [
|
|
99
99
|
'storybook',
|
|
100
100
|
'@storybook/angular',
|
|
101
|
-
|
|
101
|
+
isStorybookTestRunnerInstalled()
|
|
102
|
+
? '@storybook/test-runner'
|
|
103
|
+
: undefined,
|
|
102
104
|
],
|
|
103
105
|
},
|
|
104
106
|
],
|
|
@@ -115,7 +117,12 @@ function buildTarget(namedInputs, outputs, projectRoot, frameworkIsAngular, proj
|
|
|
115
117
|
? ['production', '^production']
|
|
116
118
|
: ['default', '^default']),
|
|
117
119
|
{
|
|
118
|
-
externalDependencies: [
|
|
120
|
+
externalDependencies: [
|
|
121
|
+
'storybook',
|
|
122
|
+
isStorybookTestRunnerInstalled()
|
|
123
|
+
? '@storybook/test-runner'
|
|
124
|
+
: undefined,
|
|
125
|
+
],
|
|
119
126
|
},
|
|
120
127
|
],
|
|
121
128
|
};
|
|
@@ -146,7 +153,12 @@ function testTarget(projectRoot) {
|
|
|
146
153
|
options: { cwd: projectRoot },
|
|
147
154
|
inputs: [
|
|
148
155
|
{
|
|
149
|
-
externalDependencies: [
|
|
156
|
+
externalDependencies: [
|
|
157
|
+
'storybook',
|
|
158
|
+
isStorybookTestRunnerInstalled()
|
|
159
|
+
? '@storybook/test-runner'
|
|
160
|
+
: undefined,
|
|
161
|
+
],
|
|
150
162
|
},
|
|
151
163
|
],
|
|
152
164
|
};
|