Skip to content

Commit 583eb6d

Browse files
committed
chore: regen protos
Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent cd86d17 commit 583eb6d

File tree

12 files changed

+1546
-2822
lines changed

12 files changed

+1546
-2822
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Tests
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ['master']
66
pull_request:
77
# The branches below must be a subset of the branches above
8-
branches: [ "master" ]
8+
branches: ['master']
99

1010
# Builds images for target boards.
1111
permissions:
@@ -17,7 +17,6 @@ jobs:
1717
strategy:
1818
matrix:
1919
go: ['1.25']
20-
node: [25.x]
2120
timeout-minutes: 10
2221
steps:
2322
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
@@ -27,14 +26,9 @@ jobs:
2726
with:
2827
go-version: ${{ matrix.go }}
2928

30-
- name: Setup Node.JS ${{ matrix.node }}
31-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
32-
with:
33-
node-version: ${{ matrix.node }}
34-
cache: 'yarn'
29+
- uses: oven-sh/setup-bun@v2
3530

36-
- name: Yarn install
37-
run: yarn install
31+
- run: bun install
3832

3933
- name: Cache tools
4034
uses: actions/cache@v4
@@ -46,19 +40,19 @@ jobs:
4640
${{ runner.os }}-aptre-tools-
4741
4842
- name: Build Javascript
49-
run: yarn run build
43+
run: bun run build
5044

5145
- name: Test Go
52-
run: make test
46+
run: bun run go:aptre -- test
5347

5448
- name: Test Js
55-
run: yarn test:js
49+
run: bun run test:js
5650

5751
- name: Lint Js
58-
run: yarn run lint:js
52+
run: bun run lint:js
5953

6054
- name: Lint Go
61-
run: yarn run lint:go
55+
run: bun run lint:go
6256

6357
- name: Depcheck Js
64-
run: yarn run deps
58+
run: bun run deps

.protoc-manifest.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"version": 2,
3+
"protocFlagsHash": "98ab2d2d472f9f4ebf961a0bdc4a6029492ceb801dbcad58266e0d22519cb0ee",
4+
"toolVersions": "protoc=embedded,protobuf-go-lite=v0.12.1,starpc=v0.46.1,protobuf-es-lite=^1.0.1",
5+
"packages": {
6+
"github.com/aperturerobotics/timestamp": {
7+
"hash": "74331bcfd511ce6aeae224b0b82c44a5c9bf147a48f6b5d5fcfbb686ebb08762",
8+
"generatedFiles": [
9+
"timestamp.pb.cc",
10+
"timestamp.pb.go",
11+
"timestamp.pb.h",
12+
"timestamp.pb.rs",
13+
"timestamp.pb.ts"
14+
],
15+
"protoFiles": [
16+
"timestamp.proto"
17+
]
18+
}
19+
}
20+
}

Makefile

Lines changed: 0 additions & 37 deletions
This file was deleted.

bun.lock

Lines changed: 781 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ module github.com/aperturerobotics/timestamp
33
go 1.25
44

55
require (
6-
github.com/aperturerobotics/common v0.22.14 // latest
6+
github.com/aperturerobotics/common v0.30.3 // latest
77
github.com/aperturerobotics/json-iterator-lite v1.0.1-0.20251104042408-0c9eb8a3f726
8-
github.com/aperturerobotics/protobuf-go-lite v0.11.0 // latest
8+
github.com/aperturerobotics/protobuf-go-lite v0.12.1 // latest
9+
)
10+
11+
require (
12+
github.com/aperturerobotics/abseil-cpp v0.0.0-20260131110040-4bb56e2f9017 // indirect
13+
github.com/aperturerobotics/protobuf v0.0.0-20260203024654-8201686529c4 // indirect
914
)

go.sum

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
github.com/aperturerobotics/common v0.22.12 h1:uSo+fDQg6xCoNI34Y7gueW1cW9Cy4d/2FQb/T006LZQ=
2-
github.com/aperturerobotics/common v0.22.12/go.mod h1:xMXHNN6oCvG0FfG1tY6+2Si7iWh1QfSSCSrqohFUeIk=
3-
github.com/aperturerobotics/common v0.22.14 h1:Z2OigJSCgaFFowQ9ydaLxMnZv3H+Vrh9tpvdLGLZ7hs=
4-
github.com/aperturerobotics/common v0.22.14/go.mod h1:/86GyW6RWYxHByCFOhvI9IQgCchTnJznwV2k9Nz5lgk=
5-
github.com/aperturerobotics/json-iterator-lite v1.0.1-0.20240713111131-be6bf89c3008 h1:So9JeziaWKx2Fw8sK4AUN/szqKtJ0jEMhS6bU4sHbxs=
6-
github.com/aperturerobotics/json-iterator-lite v1.0.1-0.20240713111131-be6bf89c3008/go.mod h1:snaApCEDtrHHP6UWSLKiYNOZU9A5NyzccKenx9oZEzg=
1+
github.com/aperturerobotics/abseil-cpp v0.0.0-20260131110040-4bb56e2f9017 h1:3U7v3ba/ZxaGkbvM//GWvZV7WM2gy3vRgagPFAm0NCk=
2+
github.com/aperturerobotics/abseil-cpp v0.0.0-20260131110040-4bb56e2f9017/go.mod h1:lNSJTKECIUFAnfeSqy01kXYTYe1BHubW7198jNX3nEw=
3+
github.com/aperturerobotics/common v0.30.3 h1:NlyKlCkqD45y7O5iWGOC+QNnzzXe6dtmKYG2in+nYMU=
4+
github.com/aperturerobotics/common v0.30.3/go.mod h1:rdhYmixjslfBT0lEMADQHWjgRKIDxZ+8Paxv4lGZfp0=
75
github.com/aperturerobotics/json-iterator-lite v1.0.1-0.20251104042408-0c9eb8a3f726 h1:4B1F0DzuqPzb6WqgCjWaqDD7JU9RDsevQG5OP0DFBgs=
86
github.com/aperturerobotics/json-iterator-lite v1.0.1-0.20251104042408-0c9eb8a3f726/go.mod h1:SvGGBv3OVxUyqO0ZxA/nvs6z3cg7NIbZ64TnbV2OISo=
9-
github.com/aperturerobotics/protobuf-go-lite v0.11.0 h1:IAaZISqrEpodqECYxk0yKWgROEbZtMhs7bErP+Zma9o=
10-
github.com/aperturerobotics/protobuf-go-lite v0.11.0/go.mod h1:c4kGy7Dkfz6B1m0t4QBIMQoNeQ7m+nYj3Qxxnlwhygo=
7+
github.com/aperturerobotics/protobuf v0.0.0-20260203024654-8201686529c4 h1:4Dy3BAHh2kgVdHAqtlwcFsgY0kAwUe2m3rfFcaGwGQg=
8+
github.com/aperturerobotics/protobuf v0.0.0-20260203024654-8201686529c4/go.mod h1:tMgO7y6SJo/d9ZcvrpNqIQtdYT9de+QmYaHOZ4KnhOg=
9+
github.com/aperturerobotics/protobuf-go-lite v0.12.1 h1:o9of87F/LFS2p5xfq32CrU99dvfqIAalTP7ZzoZK6Kg=
10+
github.com/aperturerobotics/protobuf-go-lite v0.12.1/go.mod h1:lGH3s5ArCTXKI4wJdlNpaybUtwSjfAG0vdWjxOfMcF8=
1111
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
1212
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1313
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
1414
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
1515
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1616
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
17-
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
18-
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
17+
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
18+
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
1919
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
2020
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

package.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,48 +21,49 @@
2121
},
2222
"scripts": {
2323
"build": "tsc --project tsconfig.json --noEmit false --outDir ./dist/",
24-
"check": "npm run typecheck",
24+
"check": "bun run typecheck",
2525
"typecheck": "tsc --noEmit",
2626
"deps": "depcheck --ignore-patterns=.eslintrc.cjs,package.json --ignores depcheck,prettier,typescript,rimraf,starpc,@aptre/common,@go/github.com,eslint,eslint-config-prettier,eslint-plugin-unused-imports,@typescript-eslint/eslint-plugin,@typescript-eslint/parser",
27-
"codegen": "npm run gen",
28-
"ci": "npm run build && npm run lint:js && npm run lint:go",
29-
"format": "npm run format:js && npm run format:go && npm run format:config",
27+
"codegen": "bun run gen",
28+
"ci": "bun run build && npm run lint:js && npm run lint:go",
29+
"format": "bun run format:js && npm run format:go && npm run format:config",
3030
"format:config": "prettier --write tsconfig.json package.json",
31-
"format:js": "npm run format:js:changed",
31+
"format:js": "bun run format:js:changed",
3232
"format:js:changed": "git diff --name-only --diff-filter=d HEAD | grep '\\(\\.ts\\|\\.tsx\\|\\.html\\|\\.css\\|\\.scss\\)$' | xargs -I {} prettier --write {}",
3333
"format:js:all": "prettier --write './(*.ts|*.tsx|*.js|*.html|*.css)'",
34-
"format:go": "make format",
35-
"gen": "make genproto",
36-
"test": "make test && npm run check",
34+
"format:go": "bun run go:aptre -- format",
35+
"gen": "bun run go:aptre -- generate",
36+
"gen:force": "bun run go:aptre -- generate --force",
37+
"test": "bun run go:aptre -- test && npm run check",
3738
"test:js": "echo No JS tests.",
38-
"demo": "make demo",
39-
"lint": "npm run lint:go && npm run lint:js",
40-
"lint:go": "make lint",
39+
"lint": "bun run lint:go && npm run lint:js",
40+
"lint:go": "bun run go:aptre -- lint",
4141
"lint:js": "ESLINT_USE_FLAT_CONFIG=false eslint -c .eslintrc.cjs ./",
4242
"prepare": "go mod vendor && rimraf ./.tools",
43-
"precommit": "npm run format"
43+
"go:aptre": "go run -mod=mod github.com/aperturerobotics/common/cmd/aptre",
44+
"precommit": "bun run format"
4445
},
4546
"prettier": {
4647
"semi": false,
4748
"singleQuote": true
4849
},
4950
"devDependencies": {
50-
"@aptre/common": "^0.22.0",
51+
"@aptre/common": "^0.30.3",
5152
"@typescript-eslint/eslint-plugin": "^8.0.0",
5253
"@typescript-eslint/parser": "^8.0.0",
5354
"depcheck": "^1.4.6",
54-
"eslint": "^9.4.0",
55+
"eslint": "^10.0.0",
5556
"eslint-config-prettier": "^10.0.0",
5657
"eslint-plugin-unused-imports": "^4.0.1",
5758
"prettier": "^3.3.0",
5859
"rimraf": "^6.0.0",
5960
"typescript": "^5.4.5"
6061
},
6162
"dependencies": {
62-
"@aptre/protobuf-es-lite": "^0.5.2",
63-
"starpc": "^0.39.0"
63+
"@aptre/protobuf-es-lite": "^1.0.1",
64+
"starpc": "^0.46.2"
6465
},
6566
"resolutions": {
66-
"@aptre/protobuf-es-lite": "^0.5.2"
67+
"@aptre/protobuf-es-lite": "^1.0.1"
6768
}
6869
}

0 commit comments

Comments
 (0)