@loopbacktools/protocol 0.0.0-stage → 0.4.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/package.json CHANGED
@@ -1,6 +1,64 @@
1
1
  {
2
2
  "name": "@loopbacktools/protocol",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.4.1",
4
+ "description": "The Loopback API contract: the TypeSpec definition, its generated types and the OpenAPI document.",
5
+ "homepage": "https://github.com/LoopBackTools/loopback/tree/main/packages/protocol#readme",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/LoopBackTools/loopback.git",
10
+ "directory": "packages/protocol"
11
+ },
12
+ "files": [
13
+ "dist",
14
+ "openapi",
15
+ "spec"
16
+ ],
17
+ "type": "module",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/src/index.d.ts",
21
+ "default": "./dist/src/index.js"
22
+ },
23
+ "./document": {
24
+ "types": "./dist/src/generated/document.gen.d.ts",
25
+ "default": "./dist/src/generated/document.gen.js"
26
+ },
27
+ "./schema": {
28
+ "types": "./dist/src/schema.d.ts",
29
+ "default": "./dist/src/schema.js"
30
+ },
31
+ "./openapi.json": "./openapi/openapi.1.json"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
36
+ "devDependencies": {
37
+ "@effect/openapi-generator": "4.0.6",
38
+ "@hono/zod-validator": "0.9.1",
39
+ "@types/node": "24.19.2",
40
+ "@typespec/compiler": "1.17.0",
41
+ "@typespec/http": "1.17.0",
42
+ "@typespec/openapi": "1.17.0",
43
+ "@typespec/openapi3": "1.17.0",
44
+ "@typespec/streams": "0.87.0",
45
+ "@typespec/versioning": "0.87.0",
46
+ "hono": "4.13.14",
47
+ "secure-json-parse": "4.1.1",
48
+ "typescript": "7.0.2",
49
+ "typespec-hono": "0.31.1",
50
+ "typespec-openapi-document": "0.6.1",
51
+ "vitest": "5.0.5",
52
+ "zod": "4.6.7"
53
+ },
54
+ "peerDependencies": {
55
+ "effect": "^4.0.6"
56
+ },
57
+ "scripts": {
58
+ "generate": "tsp compile spec/main.tsp --config tspconfig.yaml && node scripts/schemas.ts",
59
+ "freeze": "node scripts/freeze.ts",
60
+ "typecheck": "tsc --noEmit",
61
+ "test": "vitest run",
62
+ "build": "tsc -p tsconfig.build.json"
63
+ }
6
64
  }