This commit is contained in:
parent
ed6cf7e3d8
commit
4b56fc78ec
3 changed files with 18 additions and 19 deletions
|
|
@ -6,7 +6,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
NODE_ENV: production
|
||||
NODE_ENV: dev
|
||||
container:
|
||||
image: node:22-bullseye
|
||||
steps:
|
||||
|
|
@ -16,11 +16,11 @@ jobs:
|
|||
- name: Build Frontend
|
||||
working-directory: frontend
|
||||
run: |
|
||||
npm install
|
||||
npm run production
|
||||
npm ci
|
||||
npm run ci
|
||||
|
||||
- name: Build Backend
|
||||
working-directory: backend
|
||||
run: |
|
||||
npm install
|
||||
npm run production
|
||||
npm ci
|
||||
npm run ci
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
"scripts": {
|
||||
"dev": "nodemon ./src/index.ts",
|
||||
"production": "npx tsc && node ./dist/index.js",
|
||||
"demo": "tsc && node ./dist/index.js"
|
||||
"ci": "tsc"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
|
@ -18,14 +18,14 @@
|
|||
"express": "^5.1.0",
|
||||
"knex": "^3.1.0",
|
||||
"pg": "^8.16.3",
|
||||
"prisma": "^6.14.0",
|
||||
"prisma": "^6.14.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.9.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"@types/node": "^24.2.1",
|
||||
"@types/cors": "^2.8.19",
|
||||
"@types/express": "^5.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^5.0.3",
|
||||
"nodemon": "^3.1.10"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,17 +6,15 @@
|
|||
"scripts": {
|
||||
"dev": "vite --host 0.0.0.0 --port 80",
|
||||
"production": "npx tsc -b && vite build",
|
||||
"demo": "tsc -b && vite build",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview"
|
||||
"ci": "tsc -b && vite build",
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"react-router-dom": "^7.6.3",
|
||||
"typescript": "~5.8.3",
|
||||
"typescript-eslint": "^8.34.1",
|
||||
"react-router-dom": "^7.6.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.2.0",
|
||||
"@eslint/js": "^9.29.0",
|
||||
"@types/react": "^19.1.8",
|
||||
|
|
@ -28,7 +26,8 @@
|
|||
"eslint-plugin-react-refresh": "^0.4.20",
|
||||
"globals": "^16.2.0",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"typescript": "~5.8.3",
|
||||
"typescript-eslint": "^8.34.1",
|
||||
"vite": "^7.0.0"
|
||||
},
|
||||
"devDependencies": {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue