fix: rely entirely on nix packages

This commit is contained in:
trev 2025-03-18 22:53:05 -04:00
parent add5afb17c
commit 645faf398e
2 changed files with 6 additions and 10 deletions

View File

@ -28,14 +28,6 @@ jobs:
purge-prefixes: nix-${{ runner.os }}-
purge-created: 0
purge-primary-key: never
paths: |
~/.cache/go-build
~/go/pkg/mod
~/.npm
- name: Install npm packages
working-directory: ./client
run: npm ci --legacy-peer-deps
- name: Lint
run: nix develop --command ts-lint

View File

@ -72,6 +72,9 @@
# Svelte frontend
nodejs_22
eslint
nodePackages.svelte-check
nodePackages.prettier
# Helper scripts
(writeShellApplication {
@ -180,8 +183,9 @@
cd "''${git_root}/client"
echo "Linting client"
npm run check
npm run lint
svelte-check --tsconfig ./tsconfig.json
prettier --check .
eslint .
cd "''${git_root}/server"
echo "Linting server"