Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8b597dd
frontend vite update
dbarkowsky Nov 25, 2025
c8112d9
update tanstack
dbarkowsky Nov 26, 2025
786481c
update react and vite plugin
dbarkowsky Nov 26, 2025
368a6a5
fight husky again
dbarkowsky Nov 26, 2025
d6c4afd
workflow updates
dbarkowsky Nov 26, 2025
9ea8adc
more workflow cache testing
dbarkowsky Nov 26, 2025
cc98338
update backend qa workflow
dbarkowsky Nov 26, 2025
8169e49
update uuid and node types
dbarkowsky Nov 26, 2025
a593846
update jest and friends
dbarkowsky Nov 26, 2025
47a29ba
remove reflect-metadata package. Deprecated.
dbarkowsky Nov 26, 2025
0f4283c
bump node 22 to 24
dbarkowsky Nov 26, 2025
a0d391f
prisma update
dbarkowsky Nov 27, 2025
55f975c
biome swap and subsequent linting
dbarkowsky Nov 27, 2025
f3fc461
minor backend package updates
dbarkowsky Nov 27, 2025
edb2617
update root dependencies
dbarkowsky Nov 27, 2025
59dc500
change license
dbarkowsky Nov 27, 2025
e3af041
update package lock
dbarkowsky Nov 27, 2025
72ea120
update package lock again
dbarkowsky Nov 27, 2025
f1698c4
i -> ci in workflow
dbarkowsky Nov 27, 2025
16d514a
try built in cache again
dbarkowsky Nov 27, 2025
cacfb6b
forget cache
dbarkowsky Nov 27, 2025
4b67ae1
package-lock only at root for cache
dbarkowsky Nov 27, 2025
16c415f
install deps from root
dbarkowsky Nov 27, 2025
db662db
adjust cache path
dbarkowsky Nov 27, 2025
4e3b852
manually add import-local
dbarkowsky Nov 27, 2025
f68696e
just basics
dbarkowsky Nov 27, 2025
70bdfa5
specify working directories
dbarkowsky Nov 27, 2025
afc5873
simplified workflows without cache headache
dbarkowsky Nov 27, 2025
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
17 changes: 0 additions & 17 deletions .eslintrc.js

This file was deleted.

62 changes: 5 additions & 57 deletions .github/workflows/backend-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ on:
workflow_dispatch:

jobs:
get-environment:
name: Prepare Environment
test-and-lint:
name: Test and Lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./apps/backend-services
outputs:
environment: ${{ steps.env.outputs.environment }}
steps:
Expand All @@ -29,60 +26,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Cache node_modules
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm i

unit-tests:
name: Unit Tests
needs: get-environment
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./apps/backend-services
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Restore node_modules cache
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
run: npm ci
- name: Run tests
working-directory: apps/backend-services
run: npm test

linting:
name: Linting
needs: get-environment
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./apps/backend-services
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Restore node_modules cache
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Run Linter
working-directory: apps/backend-services
run: npm run lint
39 changes: 3 additions & 36 deletions .github/workflows/frontend-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ on:
workflow_dispatch:

jobs:
get-environment:
name: Prepare Environment
test-and-lint:
name: Linting
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./apps/frontend
outputs:
environment: ${{ steps.env.outputs.environment }}
steps:
Expand All @@ -29,38 +26,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Cache node_modules
uses: actions/cache@v4
with:
path: apps/frontend/node_modules # Does not respect working-directory
key: ${{ runner.os }}-node-${{ hashFiles('apps/frontend/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Guarantee Husky
run: npm i husky
- name: Install dependencies
run: npm ci

linting:
name: Linting
needs: get-environment
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./apps/frontend
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Restore node_modules cache
uses: actions/cache@v4
with:
path: apps/frontend/node_modules # Does not respect working-directory
key: ${{ runner.os }}-node-${{ hashFiles('apps/frontend/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Run Linter
working-directory: apps/frontend
run: npm run lint
11 changes: 0 additions & 11 deletions apps/backend-services/.eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions apps/backend-services/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build stage
FROM node:22-alpine AS builder
FROM node:24-alpine AS builder

WORKDIR /app

Expand All @@ -21,7 +21,7 @@ RUN npx prisma generate
RUN npm run build:prod

# Production stage
FROM node:22-alpine AS production
FROM node:24-alpine AS production

WORKDIR /app

Expand Down
132 changes: 132 additions & 0 deletions apps/backend-services/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.7/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": {
"includes": ["**", "!!**/dist", "!!**/node_modules", "!!test-upload.*"]
},
"formatter": { "enabled": true, "indentStyle": "space" },
"linter": {
"enabled": true,
"rules": {
"recommended": false,
"complexity": {
"noAdjacentSpacesInRegex": "error",
"noExtraBooleanCast": "error",
"noUselessCatch": "error",
"noUselessContinue": "error",
"noUselessEscapeInRegex": "error",
"noUselessTypeConstraint": "error"
},
"correctness": {
"noConstAssign": "error",
"noConstantCondition": "error",
"noEmptyCharacterClassInRegex": "error",
"noEmptyPattern": "error",
"noGlobalObjectCalls": "error",
"noInvalidBuiltinInstantiation": "error",
"noInvalidConstructorSuper": "error",
"noNonoctalDecimalEscape": "error",
"noPrecisionLoss": "error",
"noSelfAssign": "error",
"noSetterReturn": "error",
"noSwitchDeclarations": "error",
"noUndeclaredVariables": "error",
"noUnreachable": "error",
"noUnreachableSuper": "error",
"noUnsafeFinally": "error",
"noUnsafeOptionalChaining": "error",
"noUnusedLabels": "error",
"noUnusedPrivateClassMembers": "error",
"noUnusedVariables": "error",
"useIsNan": "error",
"useValidForDirection": "error",
"useValidTypeof": "error",
"useYield": "error"
},
"security": {
"noSecrets": {
"level": "error",
"options": {
"entropyThreshold": 50
}
}
},
"style": {
"noCommonJs": "error",
"noNamespace": "error",
"useAsConstAssertion": "error",
"useBlockStatements": "off",
"useConst": "error"
},
"suspicious": {
"noAlert": "error",
"noAsyncPromiseExecutor": "error",
"noCatchAssign": "error",
"noClassAssign": "error",
"noCompareNegZero": "error",
"noConsole": "warn",
"noConstantBinaryExpressions": "error",
"noControlCharactersInRegex": "error",
"noDebugger": "error",
"noDuplicateCase": "error",
"noDuplicateClassMembers": "error",
"noDuplicateElseIf": "error",
"noDuplicateObjectKeys": "error",
"noDuplicateParameters": "error",
"noEmptyBlockStatements": "error",
"noExplicitAny": "error",
"noExtraNonNullAssertion": "error",
"noFallthroughSwitchClause": "error",
"noFunctionAssign": "error",
"noGlobalAssign": "error",
"noImportAssign": "error",
"noIrregularWhitespace": "error",
"noMisleadingCharacterClass": "error",
"noMisleadingInstantiator": "error",
"noNonNullAssertedOptionalChain": "error",
"noPrototypeBuiltins": "error",
"noRedeclare": "error",
"noShadowRestrictedNames": "error",
"noSparseArray": "error",
"noUnsafeDeclarationMerging": "error",
"noUnsafeNegation": "error",
"noUselessRegexBackrefs": "error",
"noVar": "error",
"noWith": "error",
"useGetterReturn": "error",
"useNamespaceKeyword": "error"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"lineEnding": "lf",
"semicolons": "always",
"indentStyle": "space"
},
"parser": {
"unsafeParameterDecoratorsEnabled": true
}
},
"overrides": [
{
"includes": ["**/*.controller.ts", "**/*.service.ts"],
"linter": {
"rules": {
"style": {
"useImportType": "off"
}
}
}
}
],
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}
1 change: 0 additions & 1 deletion apps/backend-services/nest-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@
"interval": 1000
}
}

Loading