@depup/cloudflare__vite-plugin 1.45.1-depup.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 +32 -0
- package/bin/cf-vite +2 -0
- package/changes.json +14 -0
- package/dist/cf-vite.mjs +165 -0
- package/dist/chunk-Q72B4Q5Z-izl5Qmnx.mjs +70 -0
- package/dist/chunk-Q72B4Q5Z-izl5Qmnx.mjs.map +1 -0
- package/dist/experimental-config.d.mts +1551 -0
- package/dist/experimental-config.d.mts.map +1 -0
- package/dist/experimental-config.mjs +223 -0
- package/dist/experimental-config.mjs.map +1 -0
- package/dist/index.d.mts +183 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +76684 -0
- package/dist/index.mjs.map +1 -0
- package/dist/open-PBXRGS4R-B5qmtwhS.mjs +529 -0
- package/dist/open-PBXRGS4R-B5qmtwhS.mjs.map +1 -0
- package/dist/package-VLsxxiiN.mjs +93 -0
- package/dist/package-VLsxxiiN.mjs.map +1 -0
- package/dist/workers/asset-worker/index.js +5827 -0
- package/dist/workers/router-worker/index.js +6414 -0
- package/dist/workers/runner-worker/index.js +450 -0
- package/dist/workers/runner-worker/module-runner-legacy.js +1129 -0
- package/dist/workers/runner-worker/module-runner.js +1231 -0
- package/dist/workers/vite-proxy-worker/index.js +31 -0
- package/package.json +121 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
//#region package.json
|
|
2
|
+
var package_default = {
|
|
3
|
+
name: "@cloudflare/vite-plugin",
|
|
4
|
+
version: "1.45.1",
|
|
5
|
+
description: "Cloudflare plugin for Vite",
|
|
6
|
+
keywords: [
|
|
7
|
+
"cloudflare",
|
|
8
|
+
"cloudflare-workers",
|
|
9
|
+
"vite",
|
|
10
|
+
"vite-plugin",
|
|
11
|
+
"workers"
|
|
12
|
+
],
|
|
13
|
+
homepage: "https://github.com/cloudflare/workers-sdk/tree/main/packages/vite-plugin-cloudflare#readme",
|
|
14
|
+
bugs: { "url": "https://github.com/cloudflare/workers-sdk/issues" },
|
|
15
|
+
license: "MIT",
|
|
16
|
+
repository: {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/cloudflare/workers-sdk.git",
|
|
19
|
+
"directory": "packages/vite-plugin-cloudflare"
|
|
20
|
+
},
|
|
21
|
+
bin: { "cf-vite": "./bin/cf-vite" },
|
|
22
|
+
files: ["bin", "dist"],
|
|
23
|
+
type: "module",
|
|
24
|
+
sideEffects: false,
|
|
25
|
+
main: "./dist/index.mjs",
|
|
26
|
+
types: "./dist/index.d.mts",
|
|
27
|
+
exports: {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/index.d.mts",
|
|
30
|
+
"import": "./dist/index.mjs"
|
|
31
|
+
},
|
|
32
|
+
"./experimental-config": {
|
|
33
|
+
"types": "./dist/experimental-config.d.mts",
|
|
34
|
+
"import": "./dist/experimental-config.mjs"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
publishConfig: { "access": "public" },
|
|
38
|
+
scripts: {
|
|
39
|
+
"build": "tsdown",
|
|
40
|
+
"check:type": "tsc --build",
|
|
41
|
+
"dev": "tsdown --watch",
|
|
42
|
+
"test": "vitest run",
|
|
43
|
+
"test:ci": "pnpm test",
|
|
44
|
+
"test:e2e": "vitest run -c e2e/vitest.config.ts",
|
|
45
|
+
"test:watch": "vitest"
|
|
46
|
+
},
|
|
47
|
+
dependencies: {
|
|
48
|
+
"@cloudflare/unenv-preset": "workspace:*",
|
|
49
|
+
"miniflare": "workspace:*",
|
|
50
|
+
"unenv": "2.0.0-rc.24",
|
|
51
|
+
"workerd": "catalog:default",
|
|
52
|
+
"wrangler": "workspace:*",
|
|
53
|
+
"ws": "catalog:default"
|
|
54
|
+
},
|
|
55
|
+
devDependencies: {
|
|
56
|
+
"@cloudflare/config": "workspace:*",
|
|
57
|
+
"@cloudflare/containers-shared": "workspace:*",
|
|
58
|
+
"@cloudflare/mock-npm-registry": "workspace:*",
|
|
59
|
+
"@cloudflare/runtime-types": "workspace:*",
|
|
60
|
+
"@cloudflare/workers-shared": "workspace:*",
|
|
61
|
+
"@cloudflare/workers-tsconfig": "workspace:*",
|
|
62
|
+
"@cloudflare/workers-types": "catalog:default",
|
|
63
|
+
"@cloudflare/workers-utils": "workspace:*",
|
|
64
|
+
"@remix-run/node-fetch-server": "^0.8.0",
|
|
65
|
+
"@types/node": "catalog:default",
|
|
66
|
+
"@types/semver": "^7.5.1",
|
|
67
|
+
"@types/ws": "^8.5.13",
|
|
68
|
+
"defu": "^6.1.4",
|
|
69
|
+
"get-port": "^7.1.0",
|
|
70
|
+
"magic-string": "^0.30.12",
|
|
71
|
+
"mlly": "^1.7.4",
|
|
72
|
+
"open": "catalog:default",
|
|
73
|
+
"picocolors": "^1.1.1",
|
|
74
|
+
"qr": "^0.6.0",
|
|
75
|
+
"semver": "^7.7.1",
|
|
76
|
+
"tinyglobby": "catalog:default",
|
|
77
|
+
"tree-kill": "catalog:default",
|
|
78
|
+
"tsdown": "0.16.3",
|
|
79
|
+
"typescript": "catalog:default",
|
|
80
|
+
"vite": "catalog:default",
|
|
81
|
+
"vite-legacy": "npm:vite@7.1.12",
|
|
82
|
+
"vitest": "catalog:default"
|
|
83
|
+
},
|
|
84
|
+
peerDependencies: {
|
|
85
|
+
"vite": "^6.1.0 || ^7.0.0 || ^8.0.0",
|
|
86
|
+
"wrangler": "workspace:^"
|
|
87
|
+
},
|
|
88
|
+
"workers-sdk": { "prerelease": true }
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
//#endregion
|
|
92
|
+
export { package_default as default };
|
|
93
|
+
//# sourceMappingURL=package-VLsxxiiN.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-VLsxxiiN.mjs","names":[],"sources":["../package.json"],"sourcesContent":["{\n\t\"name\": \"@cloudflare/vite-plugin\",\n\t\"version\": \"1.45.1\",\n\t\"description\": \"Cloudflare plugin for Vite\",\n\t\"keywords\": [\n\t\t\"cloudflare\",\n\t\t\"cloudflare-workers\",\n\t\t\"vite\",\n\t\t\"vite-plugin\",\n\t\t\"workers\"\n\t],\n\t\"homepage\": \"https://github.com/cloudflare/workers-sdk/tree/main/packages/vite-plugin-cloudflare#readme\",\n\t\"bugs\": {\n\t\t\"url\": \"https://github.com/cloudflare/workers-sdk/issues\"\n\t},\n\t\"license\": \"MIT\",\n\t\"repository\": {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"https://github.com/cloudflare/workers-sdk.git\",\n\t\t\"directory\": \"packages/vite-plugin-cloudflare\"\n\t},\n\t\"bin\": {\n\t\t\"cf-vite\": \"./bin/cf-vite\"\n\t},\n\t\"files\": [\n\t\t\"bin\",\n\t\t\"dist\"\n\t],\n\t\"type\": \"module\",\n\t\"sideEffects\": false,\n\t\"main\": \"./dist/index.mjs\",\n\t\"types\": \"./dist/index.d.mts\",\n\t\"exports\": {\n\t\t\".\": {\n\t\t\t\"types\": \"./dist/index.d.mts\",\n\t\t\t\"import\": \"./dist/index.mjs\"\n\t\t},\n\t\t\"./experimental-config\": {\n\t\t\t\"types\": \"./dist/experimental-config.d.mts\",\n\t\t\t\"import\": \"./dist/experimental-config.mjs\"\n\t\t}\n\t},\n\t\"publishConfig\": {\n\t\t\"access\": \"public\"\n\t},\n\t\"scripts\": {\n\t\t\"build\": \"tsdown\",\n\t\t\"check:type\": \"tsc --build\",\n\t\t\"dev\": \"tsdown --watch\",\n\t\t\"test\": \"vitest run\",\n\t\t\"test:ci\": \"pnpm test\",\n\t\t\"test:e2e\": \"vitest run -c e2e/vitest.config.ts\",\n\t\t\"test:watch\": \"vitest\"\n\t},\n\t\"dependencies\": {\n\t\t\"@cloudflare/unenv-preset\": \"workspace:*\",\n\t\t\"miniflare\": \"workspace:*\",\n\t\t\"unenv\": \"2.0.0-rc.24\",\n\t\t\"workerd\": \"catalog:default\",\n\t\t\"wrangler\": \"workspace:*\",\n\t\t\"ws\": \"catalog:default\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@cloudflare/config\": \"workspace:*\",\n\t\t\"@cloudflare/containers-shared\": \"workspace:*\",\n\t\t\"@cloudflare/mock-npm-registry\": \"workspace:*\",\n\t\t\"@cloudflare/runtime-types\": \"workspace:*\",\n\t\t\"@cloudflare/workers-shared\": \"workspace:*\",\n\t\t\"@cloudflare/workers-tsconfig\": \"workspace:*\",\n\t\t\"@cloudflare/workers-types\": \"catalog:default\",\n\t\t\"@cloudflare/workers-utils\": \"workspace:*\",\n\t\t\"@remix-run/node-fetch-server\": \"^0.8.0\",\n\t\t\"@types/node\": \"catalog:default\",\n\t\t\"@types/semver\": \"^7.5.1\",\n\t\t\"@types/ws\": \"^8.5.13\",\n\t\t\"defu\": \"^6.1.4\",\n\t\t\"get-port\": \"^7.1.0\",\n\t\t\"magic-string\": \"^0.30.12\",\n\t\t\"mlly\": \"^1.7.4\",\n\t\t\"open\": \"catalog:default\",\n\t\t\"picocolors\": \"^1.1.1\",\n\t\t\"qr\": \"^0.6.0\",\n\t\t\"semver\": \"^7.7.1\",\n\t\t\"tinyglobby\": \"catalog:default\",\n\t\t\"tree-kill\": \"catalog:default\",\n\t\t\"tsdown\": \"0.16.3\",\n\t\t\"typescript\": \"catalog:default\",\n\t\t\"vite\": \"catalog:default\",\n\t\t\"vite-legacy\": \"npm:vite@7.1.12\",\n\t\t\"vitest\": \"catalog:default\"\n\t},\n\t\"peerDependencies\": {\n\t\t\"vite\": \"^6.1.0 || ^7.0.0 || ^8.0.0\",\n\t\t\"wrangler\": \"workspace:^\"\n\t},\n\t\"workers-sdk\": {\n\t\t\"prerelease\": true\n\t}\n}\n"],"mappings":";sBAAA;OACS;UACG;cACI;WACH;EACX;EACA;EACA;EACA;EACA;EACA;WACW;OACJ,EACP,OAAO,oDACP;UACU;aACG;EACb,QAAQ;EACR,OAAO;EACP,aAAa;EACb;MACM,EACN,WAAW,iBACX;QACQ,CACR,OACA,OACA;OACO;cACO;OACP;QACC;UACE;EACV,KAAK;GACJ,SAAS;GACT,UAAU;GACV;EACD,yBAAyB;GACxB,SAAS;GACT,UAAU;GACV;EACD;gBACgB,EAChB,UAAU,UACV;UACU;EACV,SAAS;EACT,cAAc;EACd,OAAO;EACP,QAAQ;EACR,WAAW;EACX,YAAY;EACZ,cAAc;EACd;eACe;EACf,4BAA4B;EAC5B,aAAa;EACb,SAAS;EACT,WAAW;EACX,YAAY;EACZ,MAAM;EACN;kBACkB;EAClB,sBAAsB;EACtB,iCAAiC;EACjC,iCAAiC;EACjC,6BAA6B;EAC7B,8BAA8B;EAC9B,gCAAgC;EAChC,6BAA6B;EAC7B,6BAA6B;EAC7B,gCAAgC;EAChC,eAAe;EACf,iBAAiB;EACjB,aAAa;EACb,QAAQ;EACR,YAAY;EACZ,gBAAgB;EAChB,QAAQ;EACR,QAAQ;EACR,cAAc;EACd,MAAM;EACN,UAAU;EACV,cAAc;EACd,aAAa;EACb,UAAU;EACV,cAAc;EACd,QAAQ;EACR,eAAe;EACf,UAAU;EACV;mBACmB;EACnB,QAAQ;EACR,YAAY;EACZ;CACD,eAAe,EACd,cAAc,MACd;CACD"}
|