Approve dependencies in pnpm and pin pnpm version in Gradle (#2482)

Fixes failure in #2481. The pnpm version was unpinned, so it quietly moved to pnpm 11, which introduced several breaking changes including one with approved builds (specifically, strictDepBuilds). Since we're on pnpm 11 anyways, use their new system for approving postinstalls for certain dependencies.
This commit is contained in:
Gold856
2026-05-10 21:18:15 -04:00
committed by GitHub
parent 363b8274d0
commit c221aed0c2
3 changed files with 5 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ plugins {
id 'org.wpilib.GradleJni' version '2027.0.0'
id "org.ysb33r.doxygen" version "2.0.0" apply false
id 'com.gradleup.shadow' version '9.0.0' apply false
id "com.github.node-gradle.node" version "7.0.1" apply false
id "com.github.node-gradle.node" version "7.1.0" apply false
}
allprojects {

View File

@@ -0,0 +1,3 @@
allowBuilds:
'@parcel/watcher': true
core-js: true

View File

@@ -43,6 +43,7 @@ shadowJar {
node {
nodeProjectDir = file("${projectDir}/../photon-client")
pnpmVersion = "11.0.9"
}
tasks.register('copyClientUIToResources', Copy) {