Skip to content

Commit 9870638

Browse files
committed
feat(migration): add initial configuration files for Vue framework shim
1 parent 95c9bf1 commit 9870638

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "migration-framework-shim-vue",
3+
"devDependencies": {
4+
"vite": "^7.0.0",
5+
"vue": "^3.0.0"
6+
}
7+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
> vp migrate --no-interactive --no-hooks # migration should add Vue shim when vue dependency is detected
2+
VITE+ - The Unified Toolchain for the Web
3+
4+
◇ Migrated . to Vite+<repeat>
5+
• Node <semver> pnpm <semver>
6+
✓ Dependencies installed in <variable>ms
7+
• 1 config update applied
8+
9+
[1]> cat src/env.d.ts # check Vue shim was written
10+
cat: src/env.d.ts: No such file or directory
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"ignoredPlatforms": ["win32"],
3+
"env": {
4+
"VITE_DISABLE_AUTO_INSTALL": "1",
5+
"CI": "",
6+
"VP_SKIP_INSTALL": ""
7+
},
8+
"commands": [
9+
"vp migrate --no-interactive --no-hooks # migration should add Vue shim when vue dependency is detected",
10+
"cat src/env.d.ts # check Vue shim was written"
11+
]
12+
}

0 commit comments

Comments
 (0)