@lovable.dev/vite-tanstack-config 2.7.5-rc.6 → 2.7.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.
package/dist/index.cjs CHANGED
@@ -784,7 +784,15 @@ function defineConfig(configOrOptions = {}) {
784
784
  validateConfig(config);
785
785
  config = cleanServerConfig(
786
786
  (0, import_vite.mergeConfig)(config, {
787
- server: { host: "::", port: 8080, strictPort: true, watch: { ignored: [...TOOL_MANAGED_WATCH_IGNORES] } }
787
+ server: {
788
+ host: "::",
789
+ port: 8080,
790
+ strictPort: true,
791
+ watch: { ignored: [...TOOL_MANAGED_WATCH_IGNORES] },
792
+ // The editor consumes the same vite:error HMR frame; the in-iframe
793
+ // overlay would paint raw stack traces at end users mid-build.
794
+ hmr: { overlay: false }
795
+ }
788
796
  })
789
797
  );
790
798
  } else {
package/dist/index.js CHANGED
@@ -749,7 +749,15 @@ function defineConfig(configOrOptions = {}) {
749
749
  validateConfig(config);
750
750
  config = cleanServerConfig(
751
751
  mergeConfig(config, {
752
- server: { host: "::", port: 8080, strictPort: true, watch: { ignored: [...TOOL_MANAGED_WATCH_IGNORES] } }
752
+ server: {
753
+ host: "::",
754
+ port: 8080,
755
+ strictPort: true,
756
+ watch: { ignored: [...TOOL_MANAGED_WATCH_IGNORES] },
757
+ // The editor consumes the same vite:error HMR frame; the in-iframe
758
+ // overlay would paint raw stack traces at end users mid-build.
759
+ hmr: { overlay: false }
760
+ }
753
761
  })
754
762
  );
755
763
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovable.dev/vite-tanstack-config",
3
- "version": "2.7.5-rc.6",
3
+ "version": "2.7.5",
4
4
  "description": "Vite config wrapper for Lovable TanStack Start projects",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -17,18 +17,18 @@
17
17
  ],
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
- "@lovable.dev/vite-plugin-dev-server-bridge": "^1.0.2",
21
- "@lovable.dev/vite-plugin-hmr-gate": "^1.1.1",
20
+ "@lovable.dev/vite-plugin-dev-server-bridge": "^1.1.1",
21
+ "@lovable.dev/vite-plugin-hmr-gate": "^1.1.3",
22
22
  "@tanstack/devtools-vite": "^0.8.1",
23
23
  "lightningcss": "^1.30.0"
24
24
  },
25
25
  "peerDependencies": {
26
+ "vite": ">=5.0.0 <9.0.0",
26
27
  "@tailwindcss/vite": ">=4.0.0",
27
- "@tanstack/react-start": ">=1.100.0",
28
- "@vitejs/plugin-react": ">=4.0.0",
28
+ "vite-tsconfig-paths": ">=6.0.0",
29
29
  "nitro": ">=3.0.260603-beta",
30
- "vite": ">=5.0.0 <9.0.0",
31
- "vite-tsconfig-paths": ">=6.0.0"
30
+ "@tanstack/react-start": ">=1.100.0",
31
+ "@vitejs/plugin-react": ">=4.0.0"
32
32
  },
33
33
  "peerDependenciesMeta": {
34
34
  "nitro": {
@@ -36,11 +36,11 @@
36
36
  }
37
37
  },
38
38
  "devDependencies": {
39
- "@tailwindcss/vite": "^4.3.0",
39
+ "nitro": "3.0.260603-beta",
40
40
  "@tanstack/react-start": "^1.167.50",
41
- "@types/node": "22.13.13",
42
41
  "@vitejs/plugin-react": "^5.2.0",
43
- "nitro": "3.0.260603-beta",
42
+ "@tailwindcss/vite": "^4.3.0",
43
+ "@types/node": "22.13.13",
44
44
  "rimraf": "^5.0.0",
45
45
  "tsup": "^7.2.0",
46
46
  "typescript": "^5.9.3",
@@ -55,7 +55,6 @@
55
55
  },
56
56
  "scripts": {
57
57
  "build": "tsup src/index.ts --format cjs,esm --dts --outDir dist",
58
- "check:package": "tmp=$(mktemp -d) && pnpm pack --out \"$tmp/pkg.tgz\" && tar -xzf \"$tmp/pkg.tgz\" -C \"$tmp\" && publint \"$tmp/package\" --strict && attw \"$tmp/pkg.tgz\"",
59
58
  "typecheck": "tsgo --noEmit",
60
59
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
61
60
  "test": "vitest",