Skip to content

Commit

Permalink
Add package-lock.json (#13) (#38)
Browse files Browse the repository at this point in the history
as suggested by jayen
  • Loading branch information
ahasselbring committed Jun 14, 2023
1 parent c52fd8a commit c22ab36
Show file tree
Hide file tree
Showing 6 changed files with 13,340 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ First, the frontend must be compiled:

```bash
cd frontend
npm install
npm ci
npm run build
```

Expand Down
2 changes: 1 addition & 1 deletion dist/mkdist-linux
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ archive="${basedir}/dist/game_controller-${version}-${target}.tar.bz2"
rm -rf "${archivedir}"

pushd "${basedir}/frontend"
npm install
npm ci
npm run build
popd

Expand Down
2 changes: 1 addition & 1 deletion dist/mkdist-macos
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ rm -rf "${appdir}"
rm -f "${dmg}"

pushd "${basedir}/frontend"
npm install
npm ci
npm run build
popd

Expand Down
2 changes: 1 addition & 1 deletion dist/mkdist-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (Test-Path $ArchiveDirectory) {
}

Push-Location $(Join-Path $BaseDirectory "frontend")
npm install
npm ci
npm run build
Pop-Location

Expand Down
1 change: 0 additions & 1 deletion frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/build
/node_modules
/package-lock.json
Loading

0 comments on commit c22ab36

Please sign in to comment.