@vite-hub/codemods 0.4.1 → 0.5.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 +94 -4
- package/dist/{cli-main-DfzMGFup.js → cli-main-aLhc0Eyq.js} +2419 -758
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -61,7 +61,8 @@ export declare const codemods: readonly Codemod[];
|
|
|
61
61
|
* keys into `vitehub()`, where `agent-surface` then renames the Agent driver keys. `define-forms` moves the Database
|
|
62
62
|
* files before the import codemods rewrite them. `root-accessors` moves `#vitehub/env/server` to `vite-hub/env` before
|
|
63
63
|
* `one-entry-imports` joins the `vite-hub/env/*` imports with it. `queue-durations` and `result-tuples` run after
|
|
64
|
-
* `queue-workflow-verbs`, so they also read the calls that `queue-workflow-verbs` renamed.
|
|
64
|
+
* `queue-workflow-verbs`, so they also read the calls that `queue-workflow-verbs` renamed. `nuxt-server-imports` runs
|
|
65
|
+
* last and detects again after the others, so it imports the helpers under their new names. The codemods that move an
|
|
65
66
|
* app from another module, such as NuxtHub, are not upgrades, so only `npx @vite-hub/codemods` runs them.
|
|
66
67
|
*/
|
|
67
68
|
export declare const upgradeCodemods: readonly Codemod[];
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as findCodemod, c as runCodemod, d as isCodemodError, i as runMigration, l as codemods, n as detectCodemods, o as formatDiff, r as formatMigrationReport, s as formatReport, t as runCli, u as upgradeCodemods } from "./cli-main-
|
|
1
|
+
import { a as findCodemod, c as runCodemod, d as isCodemodError, i as runMigration, l as codemods, n as detectCodemods, o as formatDiff, r as formatMigrationReport, s as formatReport, t as runCli, u as upgradeCodemods } from "./cli-main-aLhc0Eyq.js";
|
|
2
2
|
export { codemods, detectCodemods, findCodemod, formatDiff, formatMigrationReport, formatReport, isCodemodError, runCli, runCodemod, runMigration, upgradeCodemods };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vite-hub/codemods",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Codemods that move applications to ViteHub.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codemod",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@babel/types": "^7.29.8",
|
|
55
55
|
"@types/node": "^24.19.1",
|
|
56
56
|
"@types/semver": "^7.8.0",
|
|
57
|
-
"@vite-hub/env": "0.
|
|
57
|
+
"@vite-hub/env": "0.5.0",
|
|
58
58
|
"@vite-hub/internal": "0.0.1",
|
|
59
59
|
"publint": "^0.3.25",
|
|
60
60
|
"typescript": "^6.0.3",
|