vite-plugin-vercel 10.0.0 → 11.0.0-beta.3

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/meta.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ import type { VercelEntryOptions } from "./src/types";
2
+
3
+ declare module "@universal-deploy/store" {
4
+ export interface EntryMeta {
5
+ vercel?: VercelEntryOptions;
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,63 +1,59 @@
1
1
  {
2
2
  "name": "vite-plugin-vercel",
3
- "version": "10.0.0",
3
+ "version": "11.0.0-beta.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
7
7
  "*.d.ts"
8
8
  ],
9
- "main": "./dist/index.cjs",
10
9
  "module": "./dist/index.js",
11
10
  "exports": {
12
- ".": {
13
- "types": "./index.d.ts",
14
- "import": "./dist/index.js",
15
- "require": "./dist/index.cjs"
16
- },
11
+ ".": "./dist/index.js",
12
+ "./vite": "./dist/vite.js",
13
+ "./api": "./dist/api.js",
17
14
  "./types": {
18
- "types": "./index.d.ts"
15
+ "types": "./dist/types.d.ts"
19
16
  }
20
17
  },
21
- "types": "./index.d.ts",
22
18
  "description": "Vercel adapter for vite",
23
19
  "author": "Joël Charles <joel.charles91@gmail.com>",
24
20
  "repository": "https://github.com/magne4000/vite-plugin-vercel",
25
21
  "license": "MIT",
26
22
  "peerDependencies": {
27
- "vike": "*",
28
- "vite": "^4.4 || ^5.0.2 || ^6",
29
- "@vite-plugin-vercel/vike": "9.1.0"
30
- },
31
- "peerDependenciesMeta": {
32
- "@vite-plugin-vercel/vike": {
33
- "optional": true
34
- },
35
- "vike": {
36
- "optional": true
37
- }
23
+ "vite": ">=7.1"
38
24
  },
39
25
  "devDependencies": {
40
- "@types/node": "^18.19.130",
41
- "tsup": "^8.5.1",
26
+ "@types/node": "^22.19.3",
27
+ "@universal-middleware/express": "^0.4.22",
28
+ "@vercel/node": "^5.5.15",
29
+ "tsdown": "^0.18.4",
42
30
  "typescript": "^5.9.3",
43
- "vike": "^0.4.249",
44
- "vite": "^6.4.1",
45
- "@vite-plugin-vercel/vike": "9.1.0"
31
+ "vite": "^7.2.4",
32
+ "vitest": "^4.0.16"
46
33
  },
47
34
  "dependencies": {
48
- "@brillout/libassert": "^0.5.8",
49
- "@manypkg/find-root": "^2.2.3",
50
- "@vercel/build-utils": "^8.8.0",
51
- "@vercel/nft": "^0.27.10",
35
+ "@manypkg/find-root": "^3.1.0",
36
+ "@universal-deploy/store": "^0.0.2",
37
+ "@universal-middleware/core": "^0.4.13",
38
+ "@universal-middleware/vercel": "^0.4.29",
39
+ "@vercel/build-utils": "^13.2.3",
40
+ "@vercel/nft": "^1.1.1",
52
41
  "@vercel/routing-utils": "^5.3.1",
53
- "esbuild": "^0.25.12",
42
+ "@vite-plugin-vercel/schemas": "latest",
43
+ "convert-route": "^1.0.0",
54
44
  "fast-glob": "^3.3.3",
55
- "magicast": "^0.3.5",
56
- "zod": "^3.25.76"
45
+ "magicast": "^0.5.1",
46
+ "nf3": "^0.3.1",
47
+ "p-limit": "^7.2.0",
48
+ "path-to-regexp": "^8.3.0",
49
+ "rolldown": "^1.0.0-beta.58",
50
+ "strip-ansi": "^7.1.2",
51
+ "vite-plugin-wasm": "^3.5.0"
57
52
  },
58
53
  "scripts": {
59
- "build": "tsup",
60
- "dev": "tsup --watch",
61
- "typecheck": "tsc -p tsconfig.json --noEmit"
54
+ "dev": "tsdown --watch",
55
+ "build": "tsdown",
56
+ "test": "vitest run",
57
+ "test:types": "tsc --noEmit"
62
58
  }
63
59
  }