@polytric/openws-sdkgen 0.0.14 → 0.0.15
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/dist/main.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,68 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"packageManager": "pnpm@10.26.1"
|
|
68
|
-
}
|
|
2
|
+
"name": "@polytric/openws-sdkgen",
|
|
3
|
+
"version": "0.0.15",
|
|
4
|
+
"description": "OpenWS SDK generator CLI",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"openws-sdkgen": "./dist/main.cjs"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"LICENSE",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"keywords": [
|
|
15
|
+
"openws",
|
|
16
|
+
"sdk",
|
|
17
|
+
"codegen",
|
|
18
|
+
"websocket",
|
|
19
|
+
"unity",
|
|
20
|
+
"dotnet"
|
|
21
|
+
],
|
|
22
|
+
"author": "Polytric",
|
|
23
|
+
"license": "Apache-2.0",
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=20"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/AgeOfLearning/openws.git",
|
|
30
|
+
"directory": "tooling/sdkgen"
|
|
31
|
+
},
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@pocketgems/schema": "^0.1.3",
|
|
37
|
+
"ajv": "^8.17.1",
|
|
38
|
+
"ejs": "^3.1.10",
|
|
39
|
+
"prettier": "^3.7.4",
|
|
40
|
+
"yargs": "^17.7.2",
|
|
41
|
+
"@polytric/openws-spec": "^0.0.4"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/ejs": "^3.1.5",
|
|
45
|
+
"@types/node": "^22.15.29",
|
|
46
|
+
"@types/ws": "^8.18.1",
|
|
47
|
+
"@types/yargs": "^17.0.33",
|
|
48
|
+
"fastify": "^5.6.2",
|
|
49
|
+
"tsup": "^8.5.1",
|
|
50
|
+
"tsx": "^4.21.0",
|
|
51
|
+
"typescript": "^5.9.3",
|
|
52
|
+
"ws": "^8.18.3",
|
|
53
|
+
"@polytric/openws": "^0.0.8"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "tsup",
|
|
57
|
+
"typecheck": "tsc --noEmit",
|
|
58
|
+
"test:csharp:unity": "node dist/main.cjs --spec ./test/spec.json --out ./generated/dotnet/unity --project Example --network core --hostRole client --language csharp --environment unity",
|
|
59
|
+
"test:javascript:node": "node dist/main.cjs --spec ./test/spec.json --out ./generated/javascript/node --project Example --network core --hostRole client --language javascript --environment node",
|
|
60
|
+
"test:typescript:node": "node dist/main.cjs --spec ./test/spec.json --out ./generated/typescript/node --project Example --network core --hostRole client --language typescript --environment node",
|
|
61
|
+
"test:typescript:server": "tsx ./test/typescript/server.ts",
|
|
62
|
+
"test:typescript:client": "tsx ./test/typescript/client.ts",
|
|
63
|
+
"test:client-lifecycle": "tsx ./test/typescript/client-lifecycle.ts",
|
|
64
|
+
"test:transport-close": "tsx ./test/typescript/transport-close.ts"
|
|
65
|
+
}
|
|
66
|
+
}
|