better-grpc 0.0.1 → 0.1.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/LICENSE +21 -0
- package/README.md +156 -2
- package/dist/index.cjs +24460 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +57 -0
- package/dist/index.d.ts +57 -0
- package/dist/index.js +24454 -0
- package/dist/index.js.map +1 -0
- package/package.json +63 -8
- package/index.js +0 -4
package/package.json
CHANGED
|
@@ -1,13 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-grpc",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Simple, typed gRPC for TypeScript",
|
|
5
|
+
"author": "Photon AI",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/photon-hq/better-grpc.git"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"registry": "https://registry.npmjs.org/",
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./dist/index.cjs",
|
|
17
|
+
"module": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.js",
|
|
23
|
+
"require": "./dist/index.cjs"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
6
31
|
"keywords": [
|
|
7
32
|
"grpc",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
33
|
+
"typescript",
|
|
34
|
+
"promise",
|
|
35
|
+
"trpc"
|
|
10
36
|
],
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
37
|
+
"scripts": {
|
|
38
|
+
"dev": "tsup --watch",
|
|
39
|
+
"build": "tsup",
|
|
40
|
+
"type-check": "tsc --noEmit",
|
|
41
|
+
"lint": "biome check .",
|
|
42
|
+
"lint:fix": "biome check --write .",
|
|
43
|
+
"format": "biome format --write .",
|
|
44
|
+
"test": "bun test",
|
|
45
|
+
"test:node": "node --test",
|
|
46
|
+
"test:watch": "bun test --watch",
|
|
47
|
+
"test:coverage": "bun test --coverage",
|
|
48
|
+
"prepublishOnly": "npm run lint && npm run type-check && npm run test && npm run build",
|
|
49
|
+
"prepack": "npm run build"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@biomejs/biome": "^2.3.7",
|
|
53
|
+
"@types/bun": "latest",
|
|
54
|
+
"tsup": "^8.5.1"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"typescript": "^5"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@msgpack/msgpack": "^3.1.2",
|
|
61
|
+
"it-pushable": "^3.2.3",
|
|
62
|
+
"nice-grpc": "^2.1.13",
|
|
63
|
+
"zod": "^4.1.12"
|
|
64
|
+
},
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": ">=18.0.0"
|
|
67
|
+
}
|
|
68
|
+
}
|
package/index.js
DELETED