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
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": [
"next/core-web-vitals",
"next/typescript"
]
}
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
31 changes: 31 additions & 0 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on: [push, pull_request]

name: Base GitHub Action for Check, Test and Lints

jobs:
lint-and-build:
name: Lint & Build
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "22"
cache: "npm"
cache-dependency-path: ./package.json

- name: Install dependencies
working-directory: ./
run: npm install --force

- name: Run ESLint
working-directory: ./
run: npm run lint

- name: Build Next.js application
working-directory: ./
run: npm run build
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"scripts": {
"build": "next build",
"dev": "next dev",
"start": "next start"
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@fortawesome/free-brands-svg-icons": "^6.6.0",
Expand All @@ -16,7 +17,7 @@
"bcrypt": "^5.1.1",
"clsx": "^2.1.1",
"d3": "^7.9.0",
"next": "15.0.0-canary.56",
"next": "15.0.2",
"next-auth": "^5.0.0-beta.25",
"pg": "^8.12.0",
"postcss": "8.4.38",
Expand All @@ -32,7 +33,9 @@
"@types/d3": "^7.4.3",
"@types/node": "20.14.8",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0"
"@types/react-dom": "18.3.0",
"eslint": "9.13.0",
"eslint-config-next": "15.0.2"
},
"engines": {
"node": ">=20.12.0"
Expand Down