@storybook/codemod 7.0.0-alpha.31 → 7.0.0-alpha.34
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/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.34",
|
|
4
4
|
"description": "A collection of codemod scripts written with JSCodeshift",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"!__testfixtures__"
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
|
-
"check": "tsc --noEmit",
|
|
34
|
+
"check": "../../../scripts/node_modules/.bin/tsc --noEmit",
|
|
35
35
|
"prep": "node ../../../scripts/prepare.js"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
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.34",
|
|
42
|
+
"@storybook/node-logger": "7.0.0-alpha.34",
|
|
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": "fc90fc875462421c1faa35862ac4bc436de8e75f"
|
|
59
59
|
}
|