@storybook/codemod 7.0.0-alpha.31 → 7.0.0-alpha.33
Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js
CHANGED
@@ -118,7 +118,8 @@ async function runCodemod(codemod, {
|
|
118
118
|
if (!dryRun) {
|
119
119
|
var parserArgs = inferredParser ? ['--parser', inferredParser] : [];
|
120
120
|
(0, _crossSpawn.sync)('npx', ['jscodeshift', '-t', `${TRANSFORM_DIR}/${codemod}.js`, ...parserArgs, ...files], {
|
121
|
-
stdio: 'inherit'
|
121
|
+
stdio: 'inherit',
|
122
|
+
shell: true
|
122
123
|
});
|
123
124
|
}
|
124
125
|
|
package/dist/esm/index.js
CHANGED
@@ -76,7 +76,8 @@ export async function runCodemod(codemod, {
|
|
76
76
|
if (!dryRun) {
|
77
77
|
var parserArgs = inferredParser ? ['--parser', inferredParser] : [];
|
78
78
|
spawnSync('npx', ['jscodeshift', '-t', `${TRANSFORM_DIR}/${codemod}.js`, ...parserArgs, ...files], {
|
79
|
-
stdio: 'inherit'
|
79
|
+
stdio: 'inherit',
|
80
|
+
shell: true
|
80
81
|
});
|
81
82
|
}
|
82
83
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/codemod",
|
3
|
-
"version": "7.0.0-alpha.
|
3
|
+
"version": "7.0.0-alpha.33",
|
4
4
|
"description": "A collection of codemod scripts written with JSCodeshift",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -38,8 +38,8 @@
|
|
38
38
|
"@babel/types": "^7.12.11",
|
39
39
|
"@mdx-js/mdx": "^1.6.22",
|
40
40
|
"@storybook/csf": "0.0.2--canary.0899bb7.0",
|
41
|
-
"@storybook/csf-tools": "7.0.0-alpha.
|
42
|
-
"@storybook/node-logger": "7.0.0-alpha.
|
41
|
+
"@storybook/csf-tools": "7.0.0-alpha.33",
|
42
|
+
"@storybook/node-logger": "7.0.0-alpha.33",
|
43
43
|
"cross-spawn": "^7.0.3",
|
44
44
|
"globby": "^11.0.2",
|
45
45
|
"jscodeshift": "^0.13.1",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"publishConfig": {
|
56
56
|
"access": "public"
|
57
57
|
},
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "5da5b0fabd04cc5cd5771e8242a960f05d03234a"
|
59
59
|
}
|