Skip to content

Commit f97dd6d

Browse files
chore: refactor codemod metadata and structure
1 parent 270b836 commit f97dd6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

recipes/json-imports-to-default-imports/workflow.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
version: "1"
22
nodes:
3-
- id: webpack-json-imports
4-
name: Transform webpack JSON named imports to default imports
3+
- id: apply-transforms
4+
name: Apply AST Transformations
55
type: automatic
66
steps:
77
- name: Transform JSON named imports to default imports
88
js-ast-grep:
9-
js_file: codemod/main-codemod.ts
9+
js_file: src/workflow.ts
1010
base_path: .
1111
include:
1212
- "**/*.tsx"

recipes/migrate-library-target-to-library-object/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"repository": {
1010
"type": "git",
1111
"url": "git+https://github.com/akash-kumar-dev/webpack-codemods.git",
12-
"directory": "recipes/set-target-to-false-and-update-plugins",
12+
"directory": "recipes/migrate-library-target-to-library-object",
1313
"bugs": "https://github.com/akash-kumar-dev/webpack-codemods/issues"
1414
},
1515
"author": "akash-kumar-dev",

0 commit comments

Comments
 (0)