@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.
@@ -50,7 +50,7 @@ function generatePackageJson(context) {
50
50
  "@playwright/test": "^1.40.0"
51
51
  };
52
52
  pkg.overrides = {
53
- "esbuild": "0.27.7"
53
+ "esbuild": "0.25.12"
54
54
  };
55
55
  } else {
56
56
  pkg.scripts = {
@@ -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 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.
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.27.7',
96
+ 'esbuild': '0.25.12',
93
97
  };
94
98
  } else {
95
99
  // Standalone mode - merge all scripts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@specverse/engines",
3
- "version": "4.3.4",
3
+ "version": "4.3.5",
4
4
  "description": "SpecVerse toolchain — parser, inference, realize, generators, AI, registry",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",