Skip to content

Commit 1165e4d

Browse files
proto + app: bump node + protoc & make protos
In the next commit, we'll bump our lnd dependency to `v0.18.3-beta`. That version adds explicitly declared optional protos fields with commit lightningnetwork/lnd@3de6c54 Optional proto fields are only available in Proto3 after protoc version `3.15+`, and we therefore need to bump our protoc version for the protos generation script to support them. When doing so, we mimic the protobuf-compiler version used in `lnd`, which is `3.21.12`. As protobuf-compiler 3.21.x+ is only available for Node.js base images with Debian 12 (bookworm), we also update our NodeJS base image to version 22.8.0-bookworm.
1 parent 7631148 commit 1165e4d

File tree

17 files changed

+25236
-15419
lines changed

17 files changed

+25236
-15419
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Start with a NodeJS base image that also contains yarn.
2-
FROM node:16.14.2-alpine as nodejsbuilder
2+
FROM node:22.8.0-alpine as nodejsbuilder
33

44
# Pass a tag, branch or a commit using build-arg. This allows a docker image to
55
# be built from a specified Git state. The default image will use the Git tip of

app/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@
9494
"react-scripts": "^5.0.1",
9595
"sass": "1.43.4",
9696
"storybook": "7.5.3",
97-
"ts-protoc-gen": "0.12.0",
97+
"ts-protoc-gen": "0.15.0",
98+
"protoc-gen-js": "3.21.2",
9899
"typescript": "4.1.6",
99100
"webpack": "5.89.0"
100101
},

0 commit comments

Comments
 (0)