feat: use npm
Some checks failed
deploy / deploy (push) Failing after 1m15s

This commit is contained in:
ndsboy 2025-03-19 20:12:13 +00:00
parent 8dabfd9645
commit 0f02f367f5
5 changed files with 6519 additions and 4161 deletions

1
.gitignore vendored
View file

@ -2,6 +2,5 @@
.DS_Store .DS_Store
.env .env
.env.production .env.production
.pnpm-store
dist dist
node_modules node_modules

10
.vscode/tasks.json vendored
View file

@ -3,25 +3,25 @@
"tasks": [ "tasks": [
{ {
"label": "install/update", "label": "install/update",
"command": "pnpm install", "command": "npm install",
"type": "shell", "type": "shell",
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "dev", "label": "dev",
"command": "pnpm dev", "command": "npm run dev",
"type": "shell", "type": "shell",
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "check", "label": "check",
"command": "pnpm check", "command": "npm run check",
"type": "shell", "type": "shell",
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "preview", "label": "preview",
"command": "pnpm preview", "command": "npm run preview",
"type": "shell", "type": "shell",
"problemMatcher": [], "problemMatcher": [],
"dependsOn": [ "dependsOn": [
@ -30,7 +30,7 @@
}, },
{ {
"label": "build", "label": "build",
"command": "pnpm build", "command": "npm run build",
"type": "shell", "type": "shell",
"problemMatcher": [] "problemMatcher": []
} }

View file

@ -1,8 +1,8 @@
FROM docker.io/library/node AS build FROM docker.io/library/node AS build
COPY . . COPY . .
ENV ASTRO_TELEMETRY_DISABLED=true ENV ASTRO_TELEMETRY_DISABLED=true
RUN pnpm install RUN npm install
RUN pnpm build RUN npm run build
FROM git.swablab.de/swablab/documents AS documents FROM git.swablab.de/swablab/documents AS documents

6512
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

4153
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff