Skip to content

Commit 51fd46b

Browse files
i-am-tomclaude
andauthored
Fix Mise troubles with protoc-gen-js / grpc-tools (#23350)
A different PR broke because the mise file changed and invalidated the cache. This brought a different problem to light: by default, newer versions of `mise` don't run npm preinstall scripts by default. This PR fixes the problem by un-ignoring them. Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
1 parent 7b59639 commit 51fd46b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎.mise.toml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ uv = "0.10.0"
1919
protoc = "29.5"
2020
"go:google.golang.org/protobuf/cmd/protoc-gen-go" = "v1.36.6"
2121
"go:google.golang.org/grpc/cmd/protoc-gen-go-grpc" = "v1.5.1"
22-
"npm:grpc-tools" = "1.13.0"
22+
"npm:grpc-tools" = { version = "1.13.0", npm_args = "--ignore-scripts=false" }
2323
"npm:grpc_tools_node_protoc_ts" = "5.3.3"
24-
# This is a dev only dependency that fails to install on windows
25-
"npm:protoc-gen-js" = { version = "3.21.4", os = ["linux", "macos"] }
24+
"npm:protoc-gen-js" = { version = "3.21.4", os = ["linux", "macos"], npm_args = "--ignore-scripts=false" }
2625
"go:go.abhg.dev/requiredfield/cmd/requiredfield" = "0.8.0"
2726
"github:WebAssembly/wabt" = "1.0.37"
2827
dotnet = "8"

0 commit comments

Comments
 (0)