Skip to content

Commit

Permalink
improve frontend build
Browse files Browse the repository at this point in the history
Change frontend build to download node 21.5 into local .gradle folder - to avoid relying on node installation on executable location.
  • Loading branch information
wisskirchenj committed Jan 2, 2024
1 parent 609e01d commit 1784c24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ Sources for backend and frontend gradle modules with tests and configurations (t
## Progress

01.01.24 Project started. Just setup of build and repo with gradle.

02.01.24 Backend now with User management into Collection in cards databas of MongoDB. Change frontend build to download
node 21.5 into local .gradle folder - to avoid relying on node installation on executable location.
3 changes: 1 addition & 2 deletions frontend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ plugins {

node {
version = libs.versions.node.js
npmCommand = "/opt/homebrew/bin/npm"
nodeProjectDir = projectDir
download = false
download = true
}

configurations {
Expand Down

0 comments on commit 1784c24

Please sign in to comment.