switch to pnpm
This commit is contained in:
parent
870a2a8818
commit
1c39d42a46
6 changed files with 9057 additions and 7162 deletions
48
.github/workflows/main.yml
vendored
48
.github/workflows/main.yml
vendored
|
|
@ -55,17 +55,25 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install frontend dependencies
|
- name: Install pnpm
|
||||||
uses: bahmutov/npm-install@v1
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
working-directory: ui
|
version: 10
|
||||||
install-command: yarn --production --prefer-offline --frozen-lockfile
|
run_install: false
|
||||||
|
|
||||||
|
- name: Install Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
cache: "pnpm"
|
||||||
|
|
||||||
|
- name: Install frontend dependencies
|
||||||
|
working-directory: ui
|
||||||
|
run: pnpm install --production --prefer-offline --frozen-lockfile
|
||||||
|
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
uses: bahmutov/npm-install@v1
|
working-directory: ui
|
||||||
with:
|
run: pnpm run generate
|
||||||
working-directory: ui
|
|
||||||
install-command: yarn run generate
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
@ -92,17 +100,25 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install frontend dependencies
|
- name: Install pnpm
|
||||||
uses: bahmutov/npm-install@v1
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
working-directory: ui
|
version: 10
|
||||||
install-command: yarn --production --prefer-offline --frozen-lockfile
|
run_install: false
|
||||||
|
|
||||||
|
- name: Install Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
cache: "pnpm"
|
||||||
|
|
||||||
|
- name: Install frontend dependencies
|
||||||
|
working-directory: ui
|
||||||
|
run: pnpm install --production --prefer-offline --frozen-lockfile
|
||||||
|
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
uses: bahmutov/npm-install@v1
|
working-directory: ui
|
||||||
with:
|
run: pnpm run generate
|
||||||
working-directory: ui
|
|
||||||
install-command: yarn run generate
|
|
||||||
|
|
||||||
- name: Update Version File
|
- name: Update Version File
|
||||||
uses: ArabCoders/write-version-to-file@master
|
uses: ArabCoders/write-version-to-file@master
|
||||||
|
|
|
||||||
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
|
|
@ -13,7 +13,7 @@
|
||||||
"--port",
|
"--port",
|
||||||
"8082"
|
"8082"
|
||||||
],
|
],
|
||||||
"runtimeExecutable": "yarn",
|
"runtimeExecutable": "pnpm",
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"cwd": "${workspaceFolder}/ui",
|
"cwd": "${workspaceFolder}/ui",
|
||||||
"env": {
|
"env": {
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
"run",
|
"run",
|
||||||
"generate"
|
"generate"
|
||||||
],
|
],
|
||||||
"runtimeExecutable": "yarn",
|
"runtimeExecutable": "pnpm",
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"cwd": "${workspaceFolder}/ui",
|
"cwd": "${workspaceFolder}/ui",
|
||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ FROM node:lts-alpine AS node_builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY ui ./
|
COPY ui ./
|
||||||
RUN if [ ! -f "/app/exported/index.html" ]; then yarn install --production --prefer-offline --frozen-lockfile && yarn run generate; else echo "Skipping UI build, already built."; fi
|
RUN if [ ! -f "/app/exported/index.html" ]; then pnpm install --production --prefer-offline --frozen-lockfile && pnpm run generate; else echo "Skipping UI build, already built."; fi
|
||||||
|
|
||||||
FROM python:3.13-alpine AS python_builder
|
FROM python:3.13-alpine AS python_builder
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
"web-types": "./web-types.json",
|
"web-types": "./web-types.json",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pinia/nuxt": "^0.11.0",
|
"@pinia/nuxt": "^0.11.0",
|
||||||
"@sentry/nuxt": "^9.21.0",
|
"@sentry/nuxt": "^9.22.0",
|
||||||
"@vueuse/core": "^13.2.0",
|
"@vueuse/core": "^13.2.0",
|
||||||
"@vueuse/nuxt": "^13.2.0",
|
"@vueuse/nuxt": "^13.2.0",
|
||||||
"@xterm/addon-fit": "^0.10.0",
|
"@xterm/addon-fit": "^0.10.0",
|
||||||
|
|
@ -22,12 +22,11 @@
|
||||||
"floating-vue": "^5.2.2",
|
"floating-vue": "^5.2.2",
|
||||||
"hls.js": "^1.6.2",
|
"hls.js": "^1.6.2",
|
||||||
"moment": "^2.30.1",
|
"moment": "^2.30.1",
|
||||||
"nuxt": "^3.17.3",
|
"nuxt": "^3.17.4",
|
||||||
"pinia": "^3.0.2",
|
"pinia": "^3.0.2",
|
||||||
"socket.io-client": "^4.7.2",
|
"socket.io-client": "^4.8.1",
|
||||||
"vue": "^3.5.14",
|
"vue": "^3.5.14",
|
||||||
"vue-router": "^4.5.1",
|
"vue-router": "^4.5.1",
|
||||||
"vue-toastification": "^2.0.0-rc.5"
|
"vue-toastification": "2.0.0-rc.5"
|
||||||
},
|
}
|
||||||
"devDependencies": {}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
9017
ui/pnpm-lock.yaml
Normal file
9017
ui/pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
7137
ui/yarn.lock
7137
ui/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue