@vite-hub/codemods 0.5.1 → 0.6.0
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 +50 -5
- package/dist/{cli-main-BPr3LL6y.js → cli-main-ICe6yfP7.js} +1312 -238
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -112,6 +112,8 @@ interface MigrationStep {
|
|
|
112
112
|
result?: CodemodResult;
|
|
113
113
|
/** Why the codemod could not migrate. Its edits are not applied. */
|
|
114
114
|
error?: string;
|
|
115
|
+
/** How to fix the problem before retrying the codemod. */
|
|
116
|
+
fix?: string;
|
|
115
117
|
}
|
|
116
118
|
interface Migration {
|
|
117
119
|
cwd: string;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { l as codemods, n as detectCodemods, a as findCodemod, o as formatDiff, r as formatMigrationReport, s as formatReport, d as isCodemodError, t as runCli, c as runCodemod, i as runMigration, u as upgradeCodemods } from "./cli-main-
|
|
1
|
+
export { l as codemods, n as detectCodemods, a as findCodemod, o as formatDiff, r as formatMigrationReport, s as formatReport, d as isCodemodError, t as runCli, c as runCodemod, i as runMigration, u as upgradeCodemods } from "./cli-main-ICe6yfP7.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vite-hub/codemods",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Codemods that move applications to ViteHub.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codemod",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@babel/types": "^8.1.3",
|
|
55
55
|
"@types/node": "^24.19.2",
|
|
56
56
|
"@types/semver": "^7.8.0",
|
|
57
|
-
"@vite-hub/env": "0.
|
|
57
|
+
"@vite-hub/env": "0.6.0",
|
|
58
58
|
"@vite-hub/internal": "0.0.1",
|
|
59
59
|
"publint": "^0.3.25",
|
|
60
60
|
"typescript": "^6.0.3",
|