Skip to content

Commit 38b6410

Browse files
committed
chore: update deps
Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent ee5f3f5 commit 38b6410

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1770
-4177
lines changed

.eslintrc.js

-1
This file was deleted.

.eslintrc.js

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
plugins: ['@typescript-eslint', 'unused-imports'],
5+
extends: [
6+
'eslint:recommended',
7+
'plugin:@typescript-eslint/recommended',
8+
'plugin:react-hooks/recommended',
9+
'prettier',
10+
],
11+
parserOptions: {
12+
project: './tsconfig.json',
13+
},
14+
rules: {
15+
'@typescript-eslint/explicit-module-boundary-types': 'off',
16+
'@typescript-eslint/no-non-null-assertion': 'off',
17+
},
18+
ignorePatterns: [
19+
"node_modules",
20+
"dist",
21+
"coverage",
22+
"bundle",
23+
"runtime",
24+
"vendor",
25+
".eslintrc.js",
26+
"wasm_exec.js"
27+
]
28+
}

daemon/api/api_pb.ts

+17-49
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,35 @@
1-
// @generated by protoc-gen-es v1.9.0 with parameter "target=ts,ts_nocheck=false"
1+
// @generated by protoc-gen-es-lite unknown with parameter "target=ts,ts_nocheck=false"
22
// @generated from file github.com/aperturerobotics/bifrost/daemon/api/api.proto (package bifrost.api, syntax proto3)
33
/* eslint-disable */
44

5-
import type {
6-
BinaryReadOptions,
7-
FieldList,
8-
JsonReadOptions,
9-
JsonValue,
10-
PartialMessage,
11-
PlainMessage,
12-
} from '@bufbuild/protobuf'
13-
import { Message, proto3 } from '@bufbuild/protobuf'
5+
import {
6+
createMessageType,
7+
Message,
8+
MessageType,
9+
PartialFieldInfo,
10+
} from '@aptre/protobuf-es-lite'
1411
import { Config as Config$1 } from '@go/github.com/aperturerobotics/controllerbus/bus/api/api_pb.js'
1512

13+
export const protobufPackage = 'bifrost.api'
14+
1615
/**
1716
* Config configures the API.
1817
*
1918
* @generated from message bifrost.api.Config
2019
*/
21-
export class Config extends Message<Config> {
20+
export interface Config extends Message<Config> {
2221
/**
2322
* BusConfig configures the bus api.
2423
*
2524
* @generated from field: bus.api.Config bus_config = 1;
2625
*/
2726
busConfig?: Config$1
27+
}
2828

29-
constructor(data?: PartialMessage<Config>) {
30-
super()
31-
proto3.util.initPartial(data, this)
32-
}
33-
34-
static readonly runtime: typeof proto3 = proto3
35-
static readonly typeName = 'bifrost.api.Config'
36-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
29+
export const Config: MessageType<Config> = createMessageType({
30+
typeName: 'bifrost.api.Config',
31+
fields: [
3732
{ no: 1, name: 'bus_config', kind: 'message', T: Config$1 },
38-
])
39-
40-
static fromBinary(
41-
bytes: Uint8Array,
42-
options?: Partial<BinaryReadOptions>,
43-
): Config {
44-
return new Config().fromBinary(bytes, options)
45-
}
46-
47-
static fromJson(
48-
jsonValue: JsonValue,
49-
options?: Partial<JsonReadOptions>,
50-
): Config {
51-
return new Config().fromJson(jsonValue, options)
52-
}
53-
54-
static fromJsonString(
55-
jsonString: string,
56-
options?: Partial<JsonReadOptions>,
57-
): Config {
58-
return new Config().fromJsonString(jsonString, options)
59-
}
60-
61-
static equals(
62-
a: Config | PlainMessage<Config> | undefined,
63-
b: Config | PlainMessage<Config> | undefined,
64-
): boolean {
65-
return proto3.util.equals(Config, a, b)
66-
}
67-
}
33+
] as readonly PartialFieldInfo[],
34+
packedByDefault: true,
35+
})
+19-54
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,54 @@
1-
// @generated by protoc-gen-es v1.9.0 with parameter "target=ts,ts_nocheck=false"
1+
// @generated by protoc-gen-es-lite unknown with parameter "target=ts,ts_nocheck=false"
22
// @generated from file github.com/aperturerobotics/bifrost/daemon/api/controller/controller.proto (package bifrost.api.controller, syntax proto3)
33
/* eslint-disable */
44

5-
import type {
6-
BinaryReadOptions,
7-
FieldList,
8-
JsonReadOptions,
9-
JsonValue,
10-
PartialMessage,
11-
PlainMessage,
12-
} from '@bufbuild/protobuf'
13-
import { Message, proto3 } from '@bufbuild/protobuf'
5+
import {
6+
createMessageType,
7+
Message,
8+
MessageType,
9+
PartialFieldInfo,
10+
} from '@aptre/protobuf-es-lite'
1411
import { Config as Config$1 } from '../api_pb.js'
1512
import { Config as Config$2 } from '@go/github.com/aperturerobotics/controllerbus/bus/api/api_pb.js'
1613

14+
export const protobufPackage = 'bifrost.api.controller'
15+
1716
/**
1817
* Config configures the API.
1918
*
2019
* @generated from message bifrost.api.controller.Config
2120
*/
22-
export class Config extends Message<Config> {
21+
export interface Config extends Message<Config> {
2322
/**
2423
* ListenAddr is the address to listen on for connections.
2524
*
2625
* @generated from field: string listen_addr = 1;
2726
*/
28-
listenAddr = ''
29-
27+
listenAddr?: string
3028
/**
3129
* ApiConfig are api config options.
3230
*
3331
* @generated from field: bifrost.api.Config api_config = 2;
3432
*/
3533
apiConfig?: Config$1
36-
3734
/**
3835
* DisableBusApi disables the bus api.
3936
*
4037
* @generated from field: bool disable_bus_api = 3;
4138
*/
42-
disableBusApi = false
43-
39+
disableBusApi?: boolean
4440
/**
4541
* BusApiConfig are controller-bus bus api config options.
4642
* BusApiConfig are options for controller bus api.
4743
*
4844
* @generated from field: bus.api.Config bus_api_config = 4;
4945
*/
5046
busApiConfig?: Config$2
47+
}
5148

52-
constructor(data?: PartialMessage<Config>) {
53-
super()
54-
proto3.util.initPartial(data, this)
55-
}
56-
57-
static readonly runtime: typeof proto3 = proto3
58-
static readonly typeName = 'bifrost.api.controller.Config'
59-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
49+
export const Config: MessageType<Config> = createMessageType({
50+
typeName: 'bifrost.api.controller.Config',
51+
fields: [
6052
{
6153
no: 1,
6254
name: 'listen_addr',
@@ -71,33 +63,6 @@ export class Config extends Message<Config> {
7163
T: 8 /* ScalarType.BOOL */,
7264
},
7365
{ no: 4, name: 'bus_api_config', kind: 'message', T: Config$2 },
74-
])
75-
76-
static fromBinary(
77-
bytes: Uint8Array,
78-
options?: Partial<BinaryReadOptions>,
79-
): Config {
80-
return new Config().fromBinary(bytes, options)
81-
}
82-
83-
static fromJson(
84-
jsonValue: JsonValue,
85-
options?: Partial<JsonReadOptions>,
86-
): Config {
87-
return new Config().fromJson(jsonValue, options)
88-
}
89-
90-
static fromJsonString(
91-
jsonString: string,
92-
options?: Partial<JsonReadOptions>,
93-
): Config {
94-
return new Config().fromJsonString(jsonString, options)
95-
}
96-
97-
static equals(
98-
a: Config | PlainMessage<Config> | undefined,
99-
b: Config | PlainMessage<Config> | undefined,
100-
): boolean {
101-
return proto3.util.equals(Config, a, b)
102-
}
103-
}
66+
] as readonly PartialFieldInfo[],
67+
packedByDefault: true,
68+
})

deps.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//go:build deps_only
22
// +build deps_only
33

4-
package bifrost
4+
package template
55

66
import (
77
// _ imports common with the Makefile and tools

entitygraph/config_pb.ts

+15-47
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,25 @@
1-
// @generated by protoc-gen-es v1.9.0 with parameter "target=ts,ts_nocheck=false"
1+
// @generated by protoc-gen-es-lite unknown with parameter "target=ts,ts_nocheck=false"
22
// @generated from file github.com/aperturerobotics/bifrost/entitygraph/config.proto (package bifrost.entitygraph, syntax proto3)
33
/* eslint-disable */
44

5-
import type {
6-
BinaryReadOptions,
7-
FieldList,
8-
JsonReadOptions,
9-
JsonValue,
10-
PartialMessage,
11-
PlainMessage,
12-
} from '@bufbuild/protobuf'
13-
import { Message, proto3 } from '@bufbuild/protobuf'
5+
import {
6+
createMessageType,
7+
Message,
8+
MessageType,
9+
PartialFieldInfo,
10+
} from '@aptre/protobuf-es-lite'
11+
12+
export const protobufPackage = 'bifrost.entitygraph'
1413

1514
/**
1615
* Config is the config object for the entitygraph repoter.
1716
*
1817
* @generated from message bifrost.entitygraph.Config
1918
*/
20-
export class Config extends Message<Config> {
21-
constructor(data?: PartialMessage<Config>) {
22-
super()
23-
proto3.util.initPartial(data, this)
24-
}
25-
26-
static readonly runtime: typeof proto3 = proto3
27-
static readonly typeName = 'bifrost.entitygraph.Config'
28-
static readonly fields: FieldList = proto3.util.newFieldList(() => [])
29-
30-
static fromBinary(
31-
bytes: Uint8Array,
32-
options?: Partial<BinaryReadOptions>,
33-
): Config {
34-
return new Config().fromBinary(bytes, options)
35-
}
36-
37-
static fromJson(
38-
jsonValue: JsonValue,
39-
options?: Partial<JsonReadOptions>,
40-
): Config {
41-
return new Config().fromJson(jsonValue, options)
42-
}
43-
44-
static fromJsonString(
45-
jsonString: string,
46-
options?: Partial<JsonReadOptions>,
47-
): Config {
48-
return new Config().fromJsonString(jsonString, options)
49-
}
19+
export interface Config extends Message<Config> {}
5020

51-
static equals(
52-
a: Config | PlainMessage<Config> | undefined,
53-
b: Config | PlainMessage<Config> | undefined,
54-
): boolean {
55-
return proto3.util.equals(Config, a, b)
56-
}
57-
}
21+
export const Config: MessageType<Config> = createMessageType({
22+
typeName: 'bifrost.entitygraph.Config',
23+
fields: [] as readonly PartialFieldInfo[],
24+
packedByDefault: true,
25+
})

go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ module github.com/aperturerobotics/bifrost
33
go 1.22
44

55
require (
6-
github.com/aperturerobotics/common v0.13.1 // latest
7-
github.com/aperturerobotics/controllerbus v0.43.2 // latest
6+
github.com/aperturerobotics/common v0.14.3 // latest
7+
github.com/aperturerobotics/controllerbus v0.44.0 // latest
88
github.com/aperturerobotics/entitygraph v0.8.2 // latest
99
github.com/aperturerobotics/protobuf-go-lite v0.6.0 // latest
10-
github.com/aperturerobotics/starpc v0.31.6 // latest
11-
github.com/aperturerobotics/util v1.20.3 // master
10+
github.com/aperturerobotics/starpc v0.31.9 // latest
11+
github.com/aperturerobotics/util v1.21.2 // master
1212
)
1313

1414
// aperture: use compatibility forks

go.sum

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ github.com/aperturerobotics/bifrost-nats-client v1.10.1-0.20200831103200-24c3d04
44
github.com/aperturerobotics/bifrost-nats-client v1.10.1-0.20200831103200-24c3d0464e58/go.mod h1:ougcjYEZDYV8pVtaNbA5sgYDukkYHyKtSsW/T3B13j0=
55
github.com/aperturerobotics/bifrost-nats-server/v2 v2.1.8-0.20221228081037-b7c2df0c151f h1:bmScByQNGDPPy9T+zdwu816XaCbFtD5UDyqZMRiHJ80=
66
github.com/aperturerobotics/bifrost-nats-server/v2 v2.1.8-0.20221228081037-b7c2df0c151f/go.mod h1:kIcZtLpq4UIZzOqduYLm1mYU1nuMBtN6XuDCtQ21QT8=
7-
github.com/aperturerobotics/common v0.13.1 h1:V+RMlK6xP0xZiJYBPMajHNgvMuyidvDzdvVq8lYznmk=
8-
github.com/aperturerobotics/common v0.13.1/go.mod h1:MkCLl9iUXglujvO9wAbrZ9bm72mesXaAq288HGnzshA=
9-
github.com/aperturerobotics/controllerbus v0.43.2 h1:g0PaQL2XjG1XiXUOSdLhQ2resdCtlSjn4cifNbV/3YQ=
10-
github.com/aperturerobotics/controllerbus v0.43.2/go.mod h1:7TMtaBWVhmZ/8fB25AzW1Rd/MSg8j4hKCWWyvNDWcu8=
7+
github.com/aperturerobotics/common v0.14.3 h1:CyIbsjlFcgjNBLT+XshDZcGH1nkrSUSakHMIsaTvm9g=
8+
github.com/aperturerobotics/common v0.14.3/go.mod h1:MkCLl9iUXglujvO9wAbrZ9bm72mesXaAq288HGnzshA=
9+
github.com/aperturerobotics/controllerbus v0.44.0 h1:JpUxy+H1fZkA4OaJWY2ehLM73Y189lMiRz27+W7ovGU=
10+
github.com/aperturerobotics/controllerbus v0.44.0/go.mod h1:yhjKBRCLWbaftgHb7xXLq49//VeewOtoLiUAF3zoFuI=
1111
github.com/aperturerobotics/entitygraph v0.8.2 h1:pNR5f6DJK+UF0IyXMJwtVXkjDI+KuoJdKiF2QuNH+iE=
1212
github.com/aperturerobotics/entitygraph v0.8.2/go.mod h1:BITEPgjZVZ+HstnH+DbvVx8xXJASQQOat+m1pG2269U=
1313
github.com/aperturerobotics/json-iterator-lite v1.0.0 h1:cihbrYWoK/S2RYXhJLpDZd+GUjVvFJN+D3w1VOqqHRI=
@@ -18,10 +18,10 @@ github.com/aperturerobotics/protobuf-go-lite v0.6.0 h1:EE168e2oov6wmDv8AdSAlz2G1
1818
github.com/aperturerobotics/protobuf-go-lite v0.6.0/go.mod h1:6Bp+C+fI1uh0NmIKpxlxyHMkKtCP9Kb3PHkhOzxG4B8=
1919
github.com/aperturerobotics/quic-go v0.41.1-0.20240125035303-1093432c45e9 h1:QLhCPPV6tnQpbHqJLvU/aOdp9RNajGLDTAwFsKi7Kow=
2020
github.com/aperturerobotics/quic-go v0.41.1-0.20240125035303-1093432c45e9/go.mod h1:tY2LVzdNWloFW0Gbg9bK8L49s4UhyUe9uCZIOF6KtuI=
21-
github.com/aperturerobotics/starpc v0.31.6 h1:zcgk/2w/lovbYqzw3F6vhvFnpBiA/yrbLKveuj764jg=
22-
github.com/aperturerobotics/starpc v0.31.6/go.mod h1:lGcxghKLFAfwNNH8Es+bVv6nV95XHmIM1tokNt2FMiY=
23-
github.com/aperturerobotics/util v1.20.3 h1:HwPuHzOKLbZCw06AkVIDqrLAnMUJ4qxfWHJvS9gqZMQ=
24-
github.com/aperturerobotics/util v1.20.3/go.mod h1:4OxnbOvsS3jMZ9iLEUBaW79TQY/008nNWRrZfhe9ORg=
21+
github.com/aperturerobotics/starpc v0.31.9 h1:rx5TWujX97XnFTzCa/nZj2jAaNLYFjqhShxgQBXjino=
22+
github.com/aperturerobotics/starpc v0.31.9/go.mod h1:roNNOXrqxQmmj8gnBDzXNFJN/cvORApXNHRfaPApHAo=
23+
github.com/aperturerobotics/util v1.21.2 h1:8JWrknQX/De3UqWsQhD/GoP+ZejdVqhhqQPnzyxofvc=
24+
github.com/aperturerobotics/util v1.21.2/go.mod h1:recS+Q4YvyWXlJUSSkixLkf+AHxGcjNKHwebDbN0WiI=
2525
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
2626
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
2727
github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4=

0 commit comments

Comments
 (0)