mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-06 21:46:11 +01:00
Development: change frontend package manager to pnpm (#9363)
This commit is contained in:
parent
9944f81512
commit
2f70d58219
14 changed files with 12348 additions and 19457 deletions
|
|
@ -33,7 +33,7 @@
|
|||
"label": "Start: Frontend Angular",
|
||||
"description": "Start the Frontend Angular Dev Server",
|
||||
"type": "shell",
|
||||
"command": "npm start",
|
||||
"command": "pnpm start",
|
||||
"isBackground": true,
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/src-ui"
|
||||
|
|
@ -173,8 +173,8 @@
|
|||
},
|
||||
{
|
||||
"label": "Maintenance: Install Frontend Dependencies",
|
||||
"description": "Install frontend (npm) dependencies",
|
||||
"type": "npm",
|
||||
"description": "Install frontend (pnpm) dependencies",
|
||||
"type": "pnpm",
|
||||
"script": "install",
|
||||
"path": "src-ui",
|
||||
"group": "clean",
|
||||
|
|
@ -185,7 +185,7 @@
|
|||
"description": "Clean install frontend dependencies and build the frontend for production",
|
||||
"label": "Maintenance: Compile frontend for production",
|
||||
"type": "shell",
|
||||
"command": "npm ci && ./node_modules/.bin/ng build --configuration production",
|
||||
"command": "pnpm install && ./node_modules/.bin/ng build --configuration production",
|
||||
"group": "none",
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue