Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install All Packages
run: npm run allinstall
- name: Install All Packages (Frontend)
working-directory: ./frontend
run: npm ci
- name: Install All Packages (Backend)
working-directory: ./backend
run: npm ci

- name: Run Eslint
run: npm run lint
run: npx eslint .
- run: npm run build --if-present
- run: npm test --if-present
16 changes: 1 addition & 15 deletions backend/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
// {
// "compilerOptions": {
// "target": "es2016",
// "module": "commonjs",
// "esModuleInterop": true,
// "forceConsistentCasingInFileNames": true,
// "strict": true,
// "skipLibCheck": true
// },
// "include": ["lib/**/*.ts"],
// "exclude": ["node_modules"],
// "files": ["./src/types/express.types.ts"]
// }

{
"compilerOptions": {
"target": "es6",
Expand All @@ -25,6 +11,6 @@
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": ["node_modules"],
"exclude": ["node_modules", "dist"],
"files": ["./src/types/express.types.ts"]
}
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint .",
"lint": "npx eslint .",
"backend": "cd backend && npm run dev",
"frontend": "cd frontend && npm run dev",
"allinstall": "npm install && cd frontend && npm install && cd ../backend && npm install && cd ..",
"allupdate": "npm update && cd frontend && npm update && cd ../backend && npm update && cd .."
"allinstall": "npm install && cd frontend && npm install && cd ../backend && npm install",
"allupdate": "npm update && cd frontend && npm update && cd ../backend && npm update"
},
"keywords": [],
"author": "",
Expand All @@ -20,6 +20,7 @@
},
"devDependencies": {
"eslint": "^9.13.0",
"@eslint/js": "^9.13.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"typescript-eslint": "^8.11.0"
Expand Down
Loading