@aptre/common 0.14.11 → 0.15.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.
@@ -1,18 +1,14 @@
1
1
  // @generated by protoc-gen-es-lite unknown with parameter "target=ts,ts_nocheck=false"
2
2
  // @generated from file github.com/aperturerobotics/common/example/example.proto (package example, syntax proto3)
3
3
  /* eslint-disable */
4
- import { createMessageType } from '@aptre/protobuf-es-lite';
4
+ import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite';
5
5
  import { OtherMsg } from './other/other.pb.js';
6
6
  export const protobufPackage = 'example';
7
+ // ExampleMsg contains the message type declaration for ExampleMsg.
7
8
  export const ExampleMsg = createMessageType({
8
9
  typeName: 'example.ExampleMsg',
9
10
  fields: [
10
- {
11
- no: 1,
12
- name: 'example_field',
13
- kind: 'scalar',
14
- T: 9 /* ScalarType.STRING */,
15
- },
11
+ { no: 1, name: 'example_field', kind: 'scalar', T: ScalarType.STRING },
16
12
  { no: 2, name: 'other_msg', kind: 'message', T: () => OtherMsg },
17
13
  ],
18
14
  packedByDefault: true,
@@ -1,12 +1,13 @@
1
1
  // @generated by protoc-gen-es-lite unknown with parameter "target=ts,ts_nocheck=false"
2
2
  // @generated from file github.com/aperturerobotics/common/example/other/other.proto (package example.other, syntax proto3)
3
3
  /* eslint-disable */
4
- import { createMessageType } from '@aptre/protobuf-es-lite';
4
+ import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite';
5
5
  export const protobufPackage = 'example.other';
6
+ // OtherMsg contains the message type declaration for OtherMsg.
6
7
  export const OtherMsg = createMessageType({
7
8
  typeName: 'example.other.OtherMsg',
8
9
  fields: [
9
- { no: 1, name: 'foo_field', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ },
10
+ { no: 1, name: 'foo_field', kind: 'scalar', T: ScalarType.UINT32 },
10
11
  ],
11
12
  packedByDefault: true,
12
13
  });
package/go.mod.tools CHANGED
@@ -11,7 +11,7 @@ replace (
11
11
  require (
12
12
  github.com/aperturerobotics/goprotowrap v0.3.1 // latest
13
13
  github.com/aperturerobotics/protobuf-go-lite v0.6.1 // latest
14
- github.com/aperturerobotics/starpc v0.31.12 // latest
14
+ github.com/aperturerobotics/starpc v0.31.13 // latest
15
15
  )
16
16
 
17
17
  require (
package/go.sum.tools CHANGED
@@ -166,8 +166,8 @@ github.com/aperturerobotics/protobuf-go v1.33.1-0.20240411062030-e36f75e0a3b8 h1
166
166
  github.com/aperturerobotics/protobuf-go v1.33.1-0.20240411062030-e36f75e0a3b8/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
167
167
  github.com/aperturerobotics/protobuf-go-lite v0.6.1 h1:dN4baS2e2qHhdpX57RJKUEukseXrXtqtiUJxGFFUbRs=
168
168
  github.com/aperturerobotics/protobuf-go-lite v0.6.1/go.mod h1:6Bp+C+fI1uh0NmIKpxlxyHMkKtCP9Kb3PHkhOzxG4B8=
169
- github.com/aperturerobotics/starpc v0.31.12 h1:Kpa5/NdTxKPMtIaJkW9ZevX0nOj4yi02wqpgC2JKArc=
170
- github.com/aperturerobotics/starpc v0.31.12/go.mod h1:EhZN09QG2fwCtpmZhVAqpl0I+2Mvu8vEBVR7lbIs5mc=
169
+ github.com/aperturerobotics/starpc v0.31.13 h1:NPiSbagU94z1XIC9Eywcllv3ukiGbbH/Dw40DH+k7fc=
170
+ github.com/aperturerobotics/starpc v0.31.13/go.mod h1:O9KeLOIEqrRMxtYioOjKTRvAOGqzqpZ3PbBAswWppJM=
171
171
  github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
172
172
  github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
173
173
  github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so=
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aptre/common",
3
3
  "description": "Common project configuration files and dependencies.",
4
- "version": "0.14.11",
4
+ "version": "0.15.1",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Aperture Robotics LLC.",
@@ -62,9 +62,11 @@
62
62
  "lint:js": "ESLINT_USE_FLAT_CONFIG=false eslint -c .eslintrc.cjs ./",
63
63
  "prepare": "go mod vendor && bash embed.bash",
64
64
  "release:version": "npm version patch -m \"release: v%s\" --no-git-tag-version",
65
+ "release:version:minor": "npm version minor -m \"release: v%s\" --no-git-tag-version",
65
66
  "release:commit": "git reset && git add package.json && git commit -s -m \"release: v$npm_package_version\" && git tag v$npm_package_version",
66
67
  "release:publish": "git push && git push --tags && npm run build && npm publish",
67
- "release": "npm run release:version && npm run release:commit"
68
+ "release": "npm run release:version && npm run release:commit",
69
+ "release:minor": "npm run release:version:minor && npm run release:commit"
68
70
  },
69
71
  "devDependencies": {
70
72
  "depcheck": "^1.4.6",
@@ -73,13 +75,16 @@
73
75
  "typescript": "^5.4.5"
74
76
  },
75
77
  "dependencies": {
76
- "@aptre/protobuf-es-lite": "^0.2.14",
78
+ "@aptre/protobuf-es-lite": "^0.4.1",
77
79
  "@typescript-eslint/eslint-plugin": "^7.8.0",
78
80
  "@typescript-eslint/parser": "^7.8.0",
79
- "eslint": "^8.57.0",
81
+ "eslint": "^8.0.0",
80
82
  "eslint-config-prettier": "^9.0.0",
81
83
  "eslint-plugin-react-hooks": "^4.6.1",
82
- "eslint-plugin-unused-imports": "^3.0.0",
83
- "starpc": "^0.31.12"
84
+ "eslint-plugin-unused-imports": "^3.2.0",
85
+ "starpc": "^0.32.0"
86
+ },
87
+ "resolutions": {
88
+ "@aptre/protobuf-es-lite": "0.4.1"
84
89
  }
85
90
  }