Skip to content

Commit aadef99

Browse files
authored
fix(codemods): Allow pf-codemods command to run locally (#824)
1 parent baef409 commit aadef99

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"test:v4": "mocha packages/eslint-plugin-pf-codemods/test/rules/v4",
99
"test:v5": "mocha packages/eslint-plugin-pf-codemods/test/rules/v5",
1010
"test:v6": "yarn build && mocha packages/eslint-plugin-pf-codemods/dist/js/rules/v6/*/*.test.js",
11-
"test:v4:single": "pf-codemods --v4 --no-cache test/v4test.tsx",
12-
"test:v5:single": "pf-codemods --no-cache test/test.tsx",
13-
"test:v6:single": "yarn build && pf-codemods --v6 --no-cache packages/eslint-plugin-pf-codemods/src/rules/v6/*/*Input.tsx",
14-
"test:v6:single:output": "yarn build && pf-codemods --v6 --no-cache packages/eslint-plugin-pf-codemods/src/rules/v6/*/*Output.tsx",
15-
"test:koku": "pf-codemods --v6 --no-cache test/koku-ui",
16-
"test:console": "pf-codemods --v6 --no-cache test/console/frontend",
17-
"test:integreatly": "pf-codemods --v6 --no-cache test/tutorial-web-app",
11+
"test:v4:single": "node packages/pf-codemods/index.js --v4 --no-cache test/v4test.tsx",
12+
"test:v5:single": "node packages/pf-codemods/index.js --no-cache test/test.tsx",
13+
"test:v6:single": "yarn build && node packages/pf-codemods/index.js --v6 --no-cache packages/eslint-plugin-pf-codemods/src/rules/v6/*/*Input.tsx",
14+
"test:v6:single:output": "yarn build && node packages/pf-codemods/index.js --v6 --no-cache packages/eslint-plugin-pf-codemods/src/rules/v6/*/*Output.tsx",
15+
"test:koku": "node packages/pf-codemods/index.js --v6 --no-cache test/koku-ui",
16+
"test:console": "node packages/pf-codemods/index.js --v6 --no-cache test/console/frontend",
17+
"test:integreatly": "node packages/pf-codemods/index.js --v6 --no-cache test/tutorial-web-app",
1818
"test:packages": "yarn get:packages && node --unhandled-rejections=strict packages/pf-codemods/index.js --v6 --no-cache test/packages",
1919
"test:classnames": "lerna run test --scope=@patternfly/class-name-updater --stream",
2020
"test:classnames:v5": "yarn build:classnames && lerna run test:v5 --scope=@patternfly/class-name-updater --stream",

0 commit comments

Comments
 (0)