@specverse/engines 4.3.3 → 4.3.4
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.
|
@@ -78,6 +78,19 @@ export default function generatePackageJson(context: TemplateContext): string {
|
|
|
78
78
|
pkg.devDependencies = {
|
|
79
79
|
'@playwright/test': '^1.40.0',
|
|
80
80
|
};
|
|
81
|
+
|
|
82
|
+
// Pin esbuild to a single version across all workspaces. Without
|
|
83
|
+
// this, tsx (backend) and vite (frontend) each pull a different
|
|
84
|
+
// esbuild range, and npm's hoisting can land a JS host and native
|
|
85
|
+
// binary from different patch versions in the same node_modules
|
|
86
|
+
// tree — causing `Host 0.27.7 does not match binary 0.27.1` at
|
|
87
|
+
// first `tsx watch`. Overriding forces one version down through
|
|
88
|
+
// every transitive, including the platform-specific binary
|
|
89
|
+
// (@esbuild/darwin-arm64 etc). Version tracks tsx's esbuild range
|
|
90
|
+
// since tsx runs the backend dev loop where the error surfaces.
|
|
91
|
+
pkg.overrides = {
|
|
92
|
+
'esbuild': '0.27.7',
|
|
93
|
+
};
|
|
81
94
|
} else {
|
|
82
95
|
// Standalone mode - merge all scripts
|
|
83
96
|
pkg.scripts = {
|