Skip to content
Open
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
8 changes: 4 additions & 4 deletions .github/actions/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"dotenv": "8.2.0"
},
"devDependencies": {
"@types/node": "^24.13.3",
"@types/node": "catalog:",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@vercel/ncc": "^0.38.1",
"eslint": "^8.50.0",
"eslint": "catalog:",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"prettier": "^3.0.3",
"prettier": "catalog:",
"ts-node": "^10.9.1",
"typescript": "^5.6.3"
"typescript": "catalog:"
}
}
18 changes: 6 additions & 12 deletions .github/workflows/backend-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v6
- name: Setup pnpm and node
uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
node-version-file: '.nvmrc'

- name: Install dependencies
run: cd .. && npm install -g corepack@latest && corepack enable pnpm && pnpm i --frozen-lockfile
cache: true

- name: Check linting
run: pnpm run lint
Expand All @@ -47,13 +44,10 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v6
- name: Setup pnpm and node
uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
node-version-file: '.nvmrc'

- name: Install dependencies
run: cd .. && npm install -g corepack@latest && corepack enable pnpm && pnpm i --frozen-lockfile
cache: true

- name: Check library linting, format and typescript
run: ./scripts/lint_libs.sh
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/server-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,10 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node
uses: actions/setup-node@v6
- name: Setup pnpm and node
uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
node-version-file: '.nvmrc'
cache: 'pnpm'

- name: Install dependencies
run: pnpm i --frozen-lockfile
cache: true

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# dependencies
/node_modules
node_modules/
.pnpm-store/

# testing
/frontend/tests/screenshots
Expand Down
2 changes: 1 addition & 1 deletion backend/.prettierrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ module.exports = {
],
importOrderSeparation: true,
importOrderSortSpecifiers: true,
plugins: ['@trivago/prettier-plugin-sort-imports'],
plugins: [require.resolve('@trivago/prettier-plugin-sort-imports')],
}
23 changes: 11 additions & 12 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start:job-generator:dev": "nodemon --watch \"src/**/*.ts\" --watch ../services/libs -e ts,json --exec \"pnpm run start:job-generator\"",
"start:job-generator:dev:local": "set -a && . ./.env.dist.local && . ./.env.override.local && set +a && pnpm run start:job-generator:dev",
"build": "tsc && cp package*json dist/ && cp .sequelizerc dist/.sequelizerc ",
"sequelize-cli:source": "pnpm run build && npx sequelize --config src/database/sequelize-cli-config.ts --migrations-source-path src/database/migrations",
"sequelize-cli:build": "npx sequelize --config database/sequelize-cli-config.js --migrations-compiled-path database/migrations",
"sequelize-cli:source": "pnpm run build && sequelize --config src/database/sequelize-cli-config.ts --migrations-source-path src/database/migrations",
"sequelize-cli:build": "sequelize --config database/sequelize-cli-config.js --migrations-compiled-path database/migrations",
"lint": "eslint .",
"format": "prettier --write .",
"format-check": "prettier --check .",
Expand Down Expand Up @@ -76,7 +76,7 @@
"@slack/web-api": "^7.19.0",
"analytics-node": "^6.2.0",
"aws-sdk": "2.814.0",
"axios": "^1.19.0",
"axios": "catalog:",
"bcrypt": "6.0.0",
"body-parser": "^1.20.1",
"bufferutil": "^4.0.7",
Expand All @@ -86,7 +86,7 @@
"cli-highlight": "2.1.6",
"command-line-args": "^5.2.1",
"command-line-usage": "^6.1.3",
"config": "^3.3.12",
"config": "catalog:",
"cors": "2.8.5",
"cron": "^2.1.0",
"cron-time-generator": "^1.3.0",
Expand Down Expand Up @@ -122,7 +122,7 @@
"passport-slack": "0.0.7",
"peopledatalabs": "~6.1.5",
"pg": "^8.7.3",
"pg-promise": "^11.4.3",
"pg-promise": "catalog:",
"sanitize-html": "^2.7.1",
"sequelize": "6.37.8",
"sequelize-cli-typescript": "^3.2.0-c",
Expand All @@ -145,7 +145,7 @@
"@types/cron": "^2.0.0",
"@types/express": "^4.17.17",
"@types/html-to-text": "^8.1.1",
"@types/node": "^24.13.3",
"@types/node": "catalog:",
"@types/sanitize-html": "^2.6.2",
"@types/superagent": "^4.1.15",
"@types/uuid": "^9.0.2",
Expand All @@ -154,17 +154,16 @@
"copyfiles": "2.4.1",
"cross-env": "7.0.2",
"deep-object-diff": "^1.1.9",
"eslint": "^8.12.0",
"eslint": "catalog:",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"lint-staged": "^15.4.3",
"nodemon": "2.0.4",
"prettier": "^3.3.3",
"prettier": "catalog:",
"rdme": "^7.2.0",
"tsx": "^4.20.3",
"typescript": "^5.6.3"
},
"packageManager": "pnpm@9.15.0"
"tsx": "catalog:",
"typescript": "catalog:"
}
}
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
"engines": {
"node": ">=24.0.0"
},
"devEngines": {
"runtime": {
"name": "node",
"version": "24.x",
"onFail": "download"
}
},
"scripts": {
"prepare": "husky",
"test": "vitest run",
Expand All @@ -17,5 +24,5 @@
"vite": "6.3.5",
"vitest": "4.1.7"
},
"packageManager": "pnpm@9.11.0+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
"packageManager": "pnpm@11.22.0+sha512.1ff870c4c6133dfd88fb2afc46dd13d47f09c9794b438c6fdb47ca98caf3bc16381ee0be93a091b8e3824cf01f889f46d7d9e20910fb0be1ab0fb5baa80dd621"
}
Loading
Loading