Compare commits
1 Commits
0446e8f8a7
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
668397104a
|
@@ -36,7 +36,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
working-directory: web
|
working-directory: web
|
||||||
run: npm install
|
run: npm install && npm exec -- allow-scripts
|
||||||
|
|
||||||
- name: Type check
|
- name: Type check
|
||||||
working-directory: web
|
working-directory: web
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# Stage 1: Build React frontend
|
# Stage 1: Build React frontend
|
||||||
FROM node:22-alpine AS frontend
|
FROM node:22-alpine AS frontend
|
||||||
WORKDIR /app/web
|
WORKDIR /app/web
|
||||||
COPY web/package*.json ./
|
COPY web/package*.json web/.npmrc ./
|
||||||
RUN npm install
|
RUN npm install && npm exec -- allow-scripts
|
||||||
COPY web/ ./
|
COPY web/ ./
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ tasks:
|
|||||||
web:install:
|
web:install:
|
||||||
desc: Install frontend dependencies
|
desc: Install frontend dependencies
|
||||||
dir: "{{.WEB_DIR}}"
|
dir: "{{.WEB_DIR}}"
|
||||||
cmd: npm install
|
cmds:
|
||||||
|
- npm install
|
||||||
|
- npm exec -- allow-scripts
|
||||||
sources:
|
sources:
|
||||||
- package.json
|
- package.json
|
||||||
generates:
|
generates:
|
||||||
|
|||||||
1
web/.npmrc
Normal file
1
web/.npmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ignore-scripts=true
|
||||||
1281
web/package-lock.json
generated
1281
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -4,6 +4,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@lavamoat/preinstall-always-fail": "^3.0.0",
|
||||||
"react": "^19.2.4",
|
"react": "^19.2.4",
|
||||||
"react-dom": "^19.2.4",
|
"react-dom": "^19.2.4",
|
||||||
"react-router-dom": "^7.13.1"
|
"react-router-dom": "^7.13.1"
|
||||||
@@ -15,6 +16,7 @@
|
|||||||
"test": "vitest run"
|
"test": "vitest run"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@lavamoat/allow-scripts": "^5.0.1",
|
||||||
"@testing-library/dom": "^10.4.1",
|
"@testing-library/dom": "^10.4.1",
|
||||||
"@testing-library/jest-dom": "^6.9.1",
|
"@testing-library/jest-dom": "^6.9.1",
|
||||||
"@testing-library/react": "^16.3.2",
|
"@testing-library/react": "^16.3.2",
|
||||||
@@ -28,5 +30,10 @@
|
|||||||
"typescript": "^6.0.2",
|
"typescript": "^6.0.2",
|
||||||
"vite": "^8.0.8",
|
"vite": "^8.0.8",
|
||||||
"vitest": "^4.1.4"
|
"vitest": "^4.1.4"
|
||||||
|
},
|
||||||
|
"lavamoat": {
|
||||||
|
"allowScripts": {
|
||||||
|
"@lavamoat/preinstall-always-fail": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user