-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improvements to protobuf-es-lite
Signed-off-by: Christian Stewart <[email protected]>
- Loading branch information
Showing
8 changed files
with
132 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// @generated by protoc-gen-es-lite unknown with parameter "target=ts,ts_nocheck=false" | ||
// @generated from file github.com/aperturerobotics/template/example/example.proto (package example, syntax proto3) | ||
/* eslint-disable */ | ||
|
||
import type { MessageType, PartialFieldInfo } from "@aptre/protobuf-es-lite"; | ||
import { createMessageType, Message } from "@aptre/protobuf-es-lite"; | ||
|
||
export const protobufPackage = "example"; | ||
|
||
/** | ||
* EchoMsg is the message body for Echo. | ||
* | ||
* @generated from message example.EchoMsg | ||
*/ | ||
export type EchoMsg = Message<{ | ||
/** | ||
* @generated from field: string body = 1; | ||
*/ | ||
body?: string; | ||
|
||
}>; | ||
|
||
export const EchoMsg: MessageType<EchoMsg> = createMessageType( | ||
{ | ||
typeName: "example.EchoMsg", | ||
fields: [ | ||
{ no: 1, name: "body", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
] as readonly PartialFieldInfo[], | ||
packedByDefault: true, | ||
}, | ||
); | ||
|
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,9 @@ | |
"repository": { | ||
"url": "git+ssh://[email protected]/aperturerobotics/template.git" | ||
}, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsc --project tsconfig.json --noEmit false --module ES6 --target es2022 --outDir ./dist/", | ||
"build": "tsc --project tsconfig.json --noEmit false --outDir ./dist/", | ||
"check": "npm run typecheck", | ||
"typecheck": "tsc --noEmit", | ||
"deps": "depcheck --ignore-patterns=.eslintrc.js,package.json --ignores depcheck,prettier,typescript,starpc,@aptre/protobuf-es-lite,@aperturerobotics/ts-common,@go/github.com", | ||
|
@@ -41,14 +42,13 @@ | |
"precommit": "npm run format" | ||
}, | ||
"devDependencies": { | ||
"@aptre/common": "^0.14.5", | ||
"@aptre/common": "^0.14.6", | ||
"depcheck": "^1.4.7", | ||
"prettier": "^3.2.5", | ||
"typescript": "^5.1.6" | ||
}, | ||
"dependencies": { | ||
"@aptre/protobuf-es-lite": "^0.2.7", | ||
"@bufbuild/protobuf": "^1.9.0", | ||
"starpc": "^0.31.11" | ||
"@aptre/protobuf-es-lite": "^0.2.14", | ||
"starpc": "^0.31.12" | ||
} | ||
} |
Oops, something went wrong.