create-nodejs-fn 0.0.1
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 +289 -0
- package/dist/chunk-XP4XDEWF.mjs +17 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +356 -0
- package/dist/cli.mjs +455 -0
- package/dist/index.d.mts +36 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +1013 -0
- package/dist/index.mjs +970 -0
- package/package.json +87 -0
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-nodejs-fn",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Vite plugin to enable calling Node.js-dependent functions directly from Cloudflare Workers",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"create-nodejs-fn": "./dist/cli.mjs"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"ci:publish": "pnpm run release:publish",
|
|
13
|
+
"build": "tsup src/index.ts src/cli.ts --dts --format esm",
|
|
14
|
+
"typecheck": "tsc --noEmit",
|
|
15
|
+
"lint": "biome check",
|
|
16
|
+
"lint:fix": "biome check --write",
|
|
17
|
+
"changeset": "changeset",
|
|
18
|
+
"release:version": "changeset version",
|
|
19
|
+
"release:publish": "pnpm run build && npm publish --provenance --access public",
|
|
20
|
+
"release": "pnpm run release:publish",
|
|
21
|
+
"prepublishOnly": "pnpm run build",
|
|
22
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"cloudflare",
|
|
26
|
+
"workers",
|
|
27
|
+
"containers",
|
|
28
|
+
"durable-objects",
|
|
29
|
+
"vite",
|
|
30
|
+
"vite-plugin",
|
|
31
|
+
"node",
|
|
32
|
+
"rpc"
|
|
33
|
+
],
|
|
34
|
+
"author": "inaridiy",
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"files": [
|
|
37
|
+
"dist"
|
|
38
|
+
],
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"url": "git+https://github.com/inaridiy/create-nodejs-fn.git"
|
|
45
|
+
},
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/inaridiy/create-nodejs-fn/issues"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://github.com/inaridiy/create-nodejs-fn#readme",
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=18.17"
|
|
52
|
+
},
|
|
53
|
+
"exports": {
|
|
54
|
+
".": {
|
|
55
|
+
"types": "./dist/index.d.ts",
|
|
56
|
+
"import": "./dist/index.mjs",
|
|
57
|
+
"require": "./dist/index.js"
|
|
58
|
+
},
|
|
59
|
+
"./cli": {
|
|
60
|
+
"types": "./dist/cli.d.ts",
|
|
61
|
+
"import": "./dist/cli.mjs",
|
|
62
|
+
"require": "./dist/cli.js"
|
|
63
|
+
},
|
|
64
|
+
"./package.json": "./package.json"
|
|
65
|
+
},
|
|
66
|
+
"packageManager": "pnpm@10.12.3",
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@biomejs/biome": "^2.3.8",
|
|
69
|
+
"@changesets/cli": "^2.29.8",
|
|
70
|
+
"@types/node": "^25.0.1",
|
|
71
|
+
"tsup": "^8.5.1",
|
|
72
|
+
"typescript": "^5.9.3",
|
|
73
|
+
"vite": "^7.2.7"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"esbuild": "^0.27.1",
|
|
77
|
+
"glob": "^13.0.0",
|
|
78
|
+
"gunshi": "^0.27.0",
|
|
79
|
+
"picocolors": "^1.1.1",
|
|
80
|
+
"ts-morph": "^27.0.2"
|
|
81
|
+
},
|
|
82
|
+
"peerDependencies": {
|
|
83
|
+
"@cloudflare/containers": ">=0.0.31",
|
|
84
|
+
"capnweb": ">=0.2.0",
|
|
85
|
+
"vite": ">=5 <8"
|
|
86
|
+
}
|
|
87
|
+
}
|