@cedarjs/codemods 2.0.1-rc.2 → 2.0.2-next.24
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/codemods/v2.3.x/tsconfigForRouteHooks/tsconfigForRouteHooks.yargs.js +1 -1
- package/dist/codemods/v2.x.x/updateResolverTypes/updateResolverTypes.yargs.js +1 -1
- package/dist/codemods/v4.2.x/updateClerkGetCurrentUser/updateClerkGetCurrentUser.yargs.js +1 -1
- package/dist/codemods/v4.x.x/useArmor/useArmor.yargs.js +1 -1
- package/dist/codemods/v5.x.x/cellQueryResult/cellQueryResult.yargs.js +1 -1
- package/dist/codemods/v5.x.x/renameValidateWith/renameValidateWith.yargs.js +1 -1
- package/dist/codemods/v5.x.x/updateAuth0ToV2/updateAuth0ToV2.yargs.js +1 -1
- package/dist/codemods/v6.x.x/changeGlobalToGlobalThis/changeGlobalToGlobalThis.yargs.js +1 -1
- package/dist/codemods/v6.x.x/entryClientNullCheck/entryClientNullCheck.yargs.js +1 -1
- package/dist/codemods/v6.x.x/processEnvDotNotation/processEnvDotNotation.yargs.js +1 -1
- package/dist/codemods/v6.x.x/replaceComponentSvgs/replaceComponentSvgs.yargs.js +1 -1
- package/dist/codemods/v6.x.x/updateThemeConfig/updateThemeConfig.yargs.js +1 -1
- package/package.json +6 -6
|
@@ -40,7 +40,7 @@ const description = "(v2.3.x->v2.3.x) Allow $api imports in *.routesHooks.ts fil
|
|
|
40
40
|
const handler = () => {
|
|
41
41
|
(0, import_tasuku.default)("Tsconfig For Route Hooks", async ({ setOutput }) => {
|
|
42
42
|
(0, import_tsconfigForRouteHooks.default)();
|
|
43
|
-
setOutput("All done! Run `yarn
|
|
43
|
+
setOutput("All done! Run `yarn cedar lint --fix` to prettify your code");
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -51,7 +51,7 @@ const handler = () => {
|
|
|
51
51
|
absolute: true
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
setOutput("All done! Run `yarn
|
|
54
|
+
setOutput("All done! Run `yarn cedar lint --fix` to prettify your code");
|
|
55
55
|
});
|
|
56
56
|
};
|
|
57
57
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -47,7 +47,7 @@ const handler = () => {
|
|
|
47
47
|
transformPath: import_path.default.join(__dirname, "updateClerkGetCurrentUser.js"),
|
|
48
48
|
targetPaths: [import_path.default.join((0, import_project_config.getPaths)().api.base, "src", "lib", authFile)]
|
|
49
49
|
});
|
|
50
|
-
setOutput("All done! Run `yarn
|
|
50
|
+
setOutput("All done! Run `yarn cedar lint --fix` to prettify your code");
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -50,7 +50,7 @@ const handler = () => {
|
|
|
50
50
|
]
|
|
51
51
|
});
|
|
52
52
|
setOutput(
|
|
53
|
-
"Updating createGraphQLHandler for useArmor config is done! Run `yarn
|
|
53
|
+
"Updating createGraphQLHandler for useArmor config is done! Run `yarn cedar lint --fix` to prettify your code"
|
|
54
54
|
);
|
|
55
55
|
});
|
|
56
56
|
};
|
|
@@ -46,7 +46,7 @@ const handler = () => {
|
|
|
46
46
|
targetPaths: (0, import_cells.findCells)()
|
|
47
47
|
});
|
|
48
48
|
setOutput(
|
|
49
|
-
"Updates to your cells are complete! Please run `yarn
|
|
49
|
+
"Updates to your cells are complete! Please run `yarn cedar lint --fix` to prettify your code"
|
|
50
50
|
);
|
|
51
51
|
});
|
|
52
52
|
};
|
|
@@ -53,7 +53,7 @@ const handler = () => {
|
|
|
53
53
|
transformPath: import_path.default.join(__dirname, "renameValidateWith.js"),
|
|
54
54
|
targetPaths: files
|
|
55
55
|
});
|
|
56
|
-
setOutput("All done! Run `yarn
|
|
56
|
+
setOutput("All done! Run `yarn cedar lint --fix` to prettify your code");
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
59
|
};
|
|
@@ -57,7 +57,7 @@ const handler = () => {
|
|
|
57
57
|
transformPath: import_path.default.join(__dirname, "updateAuth0ToV2.js"),
|
|
58
58
|
targetPaths: [import_path.default.join((0, import_project_config.getPaths)().web.src, authFile)]
|
|
59
59
|
});
|
|
60
|
-
setOutput("All done! Run `yarn
|
|
60
|
+
setOutput("All done! Run `yarn cedar lint --fix` to prettify your code");
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -49,7 +49,7 @@ const handler = () => {
|
|
|
49
49
|
absolute: true
|
|
50
50
|
})
|
|
51
51
|
});
|
|
52
|
-
setOutput("All done! Run `yarn
|
|
52
|
+
setOutput("All done! Run `yarn cedar lint --fix` to prettify your code");
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
55
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -49,7 +49,7 @@ const handler = () => {
|
|
|
49
49
|
absolute: true
|
|
50
50
|
})
|
|
51
51
|
});
|
|
52
|
-
setOutput("All done! Run `yarn
|
|
52
|
+
setOutput("All done! Run `yarn cedar lint --fix` to prettify your code");
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
55
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -49,7 +49,7 @@ const handler = () => {
|
|
|
49
49
|
absolute: true
|
|
50
50
|
})
|
|
51
51
|
});
|
|
52
|
-
setOutput("All done! Run `yarn
|
|
52
|
+
setOutput("All done! Run `yarn cedar lint --fix` to prettify your code");
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
55
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -50,7 +50,7 @@ const handler = () => {
|
|
|
50
50
|
transformPath: import_path.default.join(__dirname, "replaceComponentSvgs.js"),
|
|
51
51
|
targetPaths
|
|
52
52
|
});
|
|
53
|
-
setOutput("All done! Run `yarn
|
|
53
|
+
setOutput("All done! Run `yarn cedar lint --fix` to prettify your code");
|
|
54
54
|
});
|
|
55
55
|
};
|
|
56
56
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -50,7 +50,7 @@ const handler = () => {
|
|
|
50
50
|
transformPath: import_path.default.join(__dirname, "updateThemeConfig.js"),
|
|
51
51
|
targetPaths
|
|
52
52
|
});
|
|
53
|
-
setOutput("All done! Run `yarn
|
|
53
|
+
setOutput("All done! Run `yarn cedar lint --fix` to prettify your code");
|
|
54
54
|
});
|
|
55
55
|
};
|
|
56
56
|
// Annotate the CommonJS export names for ESM import in node:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/codemods",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2-next.24+7d862a743",
|
|
4
4
|
"description": "Codemods to ease upgrading a CedarJS Project",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@babel/plugin-transform-typescript": "^7.26.8",
|
|
31
31
|
"@babel/runtime-corejs3": "7.27.6",
|
|
32
32
|
"@babel/traverse": "7.27.4",
|
|
33
|
-
"@cedarjs/project-config": "2.0.
|
|
33
|
+
"@cedarjs/project-config": "2.0.2-next.24+7d862a743",
|
|
34
34
|
"@svgr/core": "8.1.0",
|
|
35
35
|
"@svgr/plugin-jsx": "8.1.0",
|
|
36
36
|
"@vscode/ripgrep": "1.15.14",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"pascalcase": "1.0.0",
|
|
46
46
|
"prettier": "3.6.2",
|
|
47
47
|
"tasuku": "2.0.1",
|
|
48
|
-
"typescript": "5.9.
|
|
48
|
+
"typescript": "5.9.3",
|
|
49
49
|
"yargs": "17.7.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@cedarjs/framework-tools": "2.0.
|
|
52
|
+
"@cedarjs/framework-tools": "2.0.2-next.24",
|
|
53
53
|
"@types/babel__core": "7.20.5",
|
|
54
54
|
"@types/fs-extra": "11.0.4",
|
|
55
55
|
"@types/jscodeshift": "0.12.0",
|
|
56
|
-
"@types/yargs": "17.0.
|
|
56
|
+
"@types/yargs": "17.0.35",
|
|
57
57
|
"fs-extra": "11.2.0",
|
|
58
58
|
"publint": "0.3.12",
|
|
59
59
|
"tempy": "1.0.1",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "7d862a7432fd0821b6da7194f2fd88f3d4adb1a0"
|
|
67
67
|
}
|