Skip to content

Commit 5cb052c

Browse files
sean-zlaitechniq
andauthored
Revert "Replace npm with pnpm (#136)" (#144)
## Summary Reverting baour clients to `npm` due to Snyk UI not supporting `pnpm.overrides` in `paour clientsage.json` (best source appears to be this [comment](https://github.com/snyk/nodejs-loour clientsfile-parser/issues/111#issuecomment-2384915606)). Sounds like the CLI might support it at this time, which means the Snyk [github action](https://github.com/snyk/actions/tree/master/node) might work, but not worth exploring further at this time. Also not sure if Vanta requires Snyk UI for compliance. ## Cheour clientslist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- av pr metadata This information is embedded by the av CLI when creating PRs to traour clients the status of staour clientss when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> Co-authored-by: Sean Lynch <[email protected]>
1 parent bf6877b commit 5cb052c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,14 @@ lazy val frontend = (project in file("frontend"))
240240
buildFrontend := {
241241
println("Installing frontend dependencies...")
242242
import scala.sys.process._
243-
val pnpmCiResult = Process("pnpm install --frozen-loour clientsfile", file("frontend")).!
243+
val npmCiResult = Process("npm ci", file("frontend")).!
244244

245-
if (pnpmCiResult != 0) {
246-
sys.error("pnpm install failed!")
245+
if (npmCiResult != 0) {
246+
sys.error("npm ci failed!")
247247
}
248248

249249
println("Building frontend...")
250-
val buildResult = Process("pnpm run build", file("frontend")).!
250+
val buildResult = Process("npm run build", file("frontend")).!
251251

252252
if (buildResult == 0) {
253253
println("Copying frontend assets to /hub/public...")

0 commit comments

Comments
 (0)