@specverse/engines 4.3.4 → 4.3.5
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.
|
@@ -83,13 +83,17 @@ export default function generatePackageJson(context: TemplateContext): string {
|
|
|
83
83
|
// this, tsx (backend) and vite (frontend) each pull a different
|
|
84
84
|
// esbuild range, and npm's hoisting can land a JS host and native
|
|
85
85
|
// binary from different patch versions in the same node_modules
|
|
86
|
-
// tree — causing `Host
|
|
87
|
-
//
|
|
88
|
-
//
|
|
89
|
-
// (
|
|
90
|
-
//
|
|
86
|
+
// tree — causing `Host X does not match binary Y` at first
|
|
87
|
+
// `tsx watch`.
|
|
88
|
+
//
|
|
89
|
+
// Version tracks VITE's range (^0.25), not tsx's (^0.27). Vite's
|
|
90
|
+
// build step has a known destructuring-transform regression on
|
|
91
|
+
// 0.27 that triggers "Transforming destructuring to the
|
|
92
|
+
// configured target environment is not supported yet" when it
|
|
93
|
+
// emits arrow-destructured useState pairs, even for targets that
|
|
94
|
+
// natively support destructuring. tsx is tolerant of 0.25.
|
|
91
95
|
pkg.overrides = {
|
|
92
|
-
'esbuild': '0.
|
|
96
|
+
'esbuild': '0.25.12',
|
|
93
97
|
};
|
|
94
98
|
} else {
|
|
95
99
|
// Standalone mode - merge all scripts
|