create-bakery 1.2.2 → 2.0.0-alpha.1
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/package.json +1 -1
- package/src/template.ts +9 -1
package/package.json
CHANGED
package/src/template.ts
CHANGED
|
@@ -482,7 +482,15 @@ export function templateFiles(
|
|
|
482
482
|
// worth more than this convenience.
|
|
483
483
|
devDependencies: {
|
|
484
484
|
'bun-types': '^1.3.14',
|
|
485
|
-
|
|
485
|
+
// **`^5`, not `^7`, and the reason is `vue-tsc`.** TypeScript 7 is the
|
|
486
|
+
// native port and does not ship `typescript/lib/tsc`, which `vue-tsc`
|
|
487
|
+
// requires to patch — so a Vue app that installs TS 7 gets
|
|
488
|
+
// `Cannot find module 'typescript/lib/tsc'` the first time it typechecks
|
|
489
|
+
// an SFC. Measured on a real app: 7.0.2 crashes, 5.9.3 runs.
|
|
490
|
+
//
|
|
491
|
+
// A generated app has no reason to be on the newest major the day it is
|
|
492
|
+
// released, and the floor here decides what every Bakery app installs.
|
|
493
|
+
typescript: '^5.9.0',
|
|
486
494
|
},
|
|
487
495
|
}
|
|
488
496
|
|