@cedarjs/codemods 2.4.1 → 2.4.2-next.143
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/README.md +3 -3
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -64,13 +64,13 @@ Codemods are sometimes really simple, e.g. just normal string replace or updatin
|
|
|
64
64
|
|
|
65
65
|
Here are a few different examples to help you get familiarised:
|
|
66
66
|
|
|
67
|
-
- [Rename config in Redwood.toml](packages/codemods/src/codemods/v0.38.x/renameApiProxyPath)—
|
|
67
|
+
- [Rename config in Redwood.toml](packages/codemods/src/codemods/redwood/v0.38.x/renameApiProxyPath)—
|
|
68
68
|
Simple string replace on the user's `redwood.toml`. No ASTs, no complications!
|
|
69
69
|
|
|
70
|
-
- [Add Directives](packages/codemods/src/codemods/v0.37.x/addDirectives)—
|
|
70
|
+
- [Add Directives](packages/codemods/src/codemods/redwood/v0.37.x/addDirectives)—
|
|
71
71
|
Download files from the RedwoodJS template because we've added new files that are needed in a user's project. No ASTs involved
|
|
72
72
|
|
|
73
|
-
- [Update GraphQL Function](packages/codemods/src/codemods/v0.37.x/updateGraphQLFunction)—
|
|
73
|
+
- [Update GraphQL Function](packages/codemods/src/codemods/redwood/v0.37.x/updateGraphQLFunction)—
|
|
74
74
|
A more complex example, which uses `jscodeshift` and ASTs to update code in a user's project
|
|
75
75
|
|
|
76
76
|
The rest of the docs will focus on the more complex cases (the third example).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/codemods",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2-next.143+b69a4494c",
|
|
4
4
|
"description": "Codemods to ease upgrading a CedarJS Project",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,41 +24,41 @@
|
|
|
24
24
|
"test:watch": "vitest watch"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@babel/cli": "7.28.
|
|
27
|
+
"@babel/cli": "7.28.6",
|
|
28
28
|
"@babel/core": "^7.26.10",
|
|
29
|
-
"@babel/parser": "7.28.
|
|
29
|
+
"@babel/parser": "7.28.6",
|
|
30
30
|
"@babel/plugin-transform-typescript": "^7.26.8",
|
|
31
|
-
"@babel/runtime-corejs3": "7.28.
|
|
32
|
-
"@babel/traverse": "7.28.
|
|
33
|
-
"@cedarjs/project-config": "2.4.
|
|
31
|
+
"@babel/runtime-corejs3": "7.28.6",
|
|
32
|
+
"@babel/traverse": "7.28.6",
|
|
33
|
+
"@cedarjs/project-config": "2.4.2-next.143+b69a4494c",
|
|
34
34
|
"@svgr/core": "8.1.0",
|
|
35
35
|
"@svgr/plugin-jsx": "8.1.0",
|
|
36
36
|
"@vscode/ripgrep": "1.17.0",
|
|
37
37
|
"@whatwg-node/fetch": "0.10.13",
|
|
38
|
-
"cheerio": "1.
|
|
39
|
-
"core-js": "3.
|
|
38
|
+
"cheerio": "1.2.0",
|
|
39
|
+
"core-js": "3.48.0",
|
|
40
40
|
"deepmerge": "4.3.1",
|
|
41
41
|
"execa": "5.1.1",
|
|
42
42
|
"fast-glob": "3.3.3",
|
|
43
43
|
"graphql": "16.12.0",
|
|
44
44
|
"jscodeshift": "17.0.0",
|
|
45
45
|
"pascalcase": "1.0.0",
|
|
46
|
-
"prettier": "3.
|
|
47
|
-
"tasuku": "2.0.
|
|
46
|
+
"prettier": "3.8.1",
|
|
47
|
+
"tasuku": "2.0.7",
|
|
48
48
|
"typescript": "5.9.3",
|
|
49
49
|
"yargs": "17.7.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@cedarjs/framework-tools": "
|
|
52
|
+
"@cedarjs/framework-tools": "2.4.2-next.143",
|
|
53
53
|
"@types/babel__core": "7.20.5",
|
|
54
54
|
"@types/jscodeshift": "0.12.0",
|
|
55
55
|
"@types/yargs": "17.0.35",
|
|
56
|
-
"publint": "0.3.
|
|
56
|
+
"publint": "0.3.17",
|
|
57
57
|
"tsx": "4.21.0",
|
|
58
58
|
"vitest": "3.2.4"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "b69a4494c40b0a4807f6b492ae65d0596f374e8a"
|
|
64
64
|
}
|