mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
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:
@@ -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 {
|
||||
|
||||
3
photon-client/pnpm-workspace.yaml
Normal file
3
photon-client/pnpm-workspace.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
allowBuilds:
|
||||
'@parcel/watcher': true
|
||||
core-js: true
|
||||
@@ -43,6 +43,7 @@ shadowJar {
|
||||
|
||||
node {
|
||||
nodeProjectDir = file("${projectDir}/../photon-client")
|
||||
pnpmVersion = "11.0.9"
|
||||
}
|
||||
|
||||
tasks.register('copyClientUIToResources', Copy) {
|
||||
|
||||
Reference in New Issue
Block a user