Drop Protobuf; move continuum/v1 domain model to JSON Schema
Nothing imported the proto-generated code (zero references to continuum-rust-types or @continuum/ts-types's proto export in any consumer repo), and protobuf's real value - one schema compiled to a compact binary wire format for both languages - never applied: BE<->proxy and FE<->BE are both JSON. Also fixes 8 broken $ref paths in the bambulab schemas and a root tsconfig.json that was sweeping the gitignored examples/ directory into typecheck. - proto/continuum/v1/*.proto -> schemas/continuum/v1/*.schema.json - packages/rust-types: hand-written serde structs instead of prost-build codegen - packages/ts-types: drop the generated/ proto barrel export, keep the hand-written TypeBox schemas as the TS source of truth - root package.json: drop build:ts, protoc, ts-proto
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sinclair/typebox": "^0.32.0",
|
||||
"protobufjs": "^7.4.0",
|
||||
"long": "^5.2.3"
|
||||
"@sinclair/typebox": "^0.32.0"
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -1,2 +1 @@
|
||||
export * from "./schemas";
|
||||
export * as proto from "./generated";
|
||||
|
||||
@@ -1,6 +1 @@
|
||||
export * from "./schemas";
|
||||
// `src/generated/**` is produced by `npm run build:ts` (protoc + ts-proto)
|
||||
// from the .proto sources in /proto and is not committed. Re-export it
|
||||
// here once generated so consumers get both the TypeBox runtime schemas
|
||||
// and the proto-derived TS types from a single package entry point.
|
||||
export * as proto from "./generated";
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
export * from "./schemas";
|
||||
|
||||
// `src/generated/**` is produced by `npm run build:ts` (protoc + ts-proto)
|
||||
// from the .proto sources in /proto and is not committed. Re-export it
|
||||
// here once generated so consumers get both the TypeBox runtime schemas
|
||||
// and the proto-derived TS types from a single package entry point.
|
||||
export * as proto from "./generated";
|
||||
|
||||
Reference in New Issue
Block a user