@netlify/vite-plugin-tanstack-start 0.0.0 → 1.0.0

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/README.md CHANGED
@@ -24,7 +24,13 @@ The plugin accepts the following options:
24
24
 
25
25
  ```typescript
26
26
  {
27
- edgeSSR: boolean, // Deploy your app to Netlify Edge Functions (default: false)
27
+ dev: {
28
+ edgeFunctions: {
29
+ enabled: false,
30
+ },
31
+ // ... All dev options are supported here.
32
+ // See https://www.npmjs.com/package/@netlify/vite-plugin.
33
+ },
28
34
  }
29
35
  ```
30
36
 
package/dist/main.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import * as vite from 'vite';
2
- import { Features } from '@netlify/dev';
1
+ import { Plugin } from 'vite';
2
+ import { NetlifyPluginOptions } from '@netlify/vite-plugin';
3
3
 
4
+ type DevOptions = Omit<NetlifyPluginOptions, 'build' | 'middleware'>;
4
5
  interface PluginOptions {
5
6
  /**
6
7
  * Deploy SSR handler to Netlify Edge Functions instead of Netlify Functions (default: false).
@@ -10,8 +11,8 @@ interface PluginOptions {
10
11
  * Optional configuration of Netlify dev features
11
12
  * @see {link https://www.npmjs.com/package/@netlify/vite-plugin}
12
13
  */
13
- dev?: Features;
14
+ dev?: DevOptions;
14
15
  }
15
- declare function createNetlifyTanstackStartPlugin(options?: PluginOptions): vite.Plugin<any>[];
16
+ declare function createNetlifyTanstackStartPlugin(options?: PluginOptions): Plugin[];
16
17
 
17
18
  export { type PluginOptions, createNetlifyTanstackStartPlugin as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/vite-plugin-tanstack-start",
3
- "version": "0.0.0",
3
+ "version": "1.0.0",
4
4
  "description": "Vite plugin for TanStack Start on Netlify",
5
5
  "type": "module",
6
6
  "engines": {
@@ -36,17 +36,17 @@
36
36
  },
37
37
  "author": "Netlify Inc.",
38
38
  "devDependencies": {
39
- "@netlify/dev-utils": "^4.1.3",
39
+ "@netlify/dev-utils": "^4.2.0",
40
40
  "@types/node": "^22.18.5",
41
41
  "normalize-package-data": "^8.0.0",
42
42
  "playwright": "^1.52.0",
43
+ "semver": "^7.7.2",
43
44
  "tsup": "^8.0.0",
44
45
  "vite": "^7.1.5",
45
46
  "vitest": "^3.0.0"
46
47
  },
47
48
  "dependencies": {
48
- "@netlify/dev": "^4.5.9",
49
- "@netlify/vite-plugin": "^2.5.10"
49
+ "@netlify/vite-plugin": "^2.6.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@tanstack/react-start": "alpha",