File tree Expand file tree Collapse file tree
packages/cli/snap-tests-global/migration-framework-shim-astro Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "name" : " migration-framework-shim-astro" ,
3+ "devDependencies" : {
4+ "astro" : " ^4.0.0" ,
5+ "vite" : " ^7.0.0"
6+ }
7+ }
Original file line number Diff line number Diff line change 1+ > vp migrate --no-interactive --no-hooks # migration should add Astro shim when astro 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+ • TypeScript shim added for framework component files
9+
10+ > cat src/env.d.ts # check Astro shim was written
11+ /// <reference types="astro/client" />
Original file line number Diff line number Diff line change 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 Astro shim when astro dependency is detected" ,
10+ " cat src/env.d.ts # check Astro shim was written"
11+ ]
12+ }
You can’t perform that action at this time.
0 commit comments