mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-24 22:25:55 -05:00
switch to pnpm
This commit is contained in:
parent
8036aa40b7
commit
9ede361b25
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -28,9 +28,10 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- run: cd ui && npm ci
|
||||
- run: cd ui && npm run build
|
||||
- run: cd ui && npm run test
|
||||
- run: npm i -g pnpm
|
||||
- run: cd ui && pnpm i --frozen-lockfile
|
||||
- run: cd ui && pnpm run build
|
||||
- run: cd ui && pnpm run test
|
||||
# Upload the UI and changelog as *job* artifacts (not *release* artifacts), used below.
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
@ -95,7 +95,7 @@ $ cd ..
|
||||
$ sudo rsync --recursive --delete --chmod=D755,F644 ui/dist/ /usr/local/lib/moonfire-nvr/ui
|
||||
```
|
||||
|
||||
You can use `npm` instead if you don't want to use `pnpm`.
|
||||
For more information about using `pnpm`, check out the [Developing UI Guide](./developing-ui.md#requirements).
|
||||
|
||||
If you wish to bundle the UI into the binary, you can build the UI first and then pass
|
||||
`--features=bundled-ui` when building the server. See also the
|
||||
|
@ -23,9 +23,10 @@ this in the webpack documentation.
|
||||
## Requirements
|
||||
|
||||
* Node.js v18+
|
||||
* `npm` or `pnpm` installed
|
||||
* `pnpm` installed
|
||||
|
||||
This guide below will use [`pnpm`](https://pnpm.io/) as package manager instead `npm`. But you can still use `npm`. We highly recommended you to switch to `pnpm`.
|
||||
This guide below will use [`pnpm`](https://pnpm.io/) as package manager instead
|
||||
`npm`. So we highly recommended you to use `pnpm` in this project.
|
||||
|
||||
## Getting started
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user