diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ec303f6..17b6f6a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,15 +8,6 @@ on: pull_request: jobs: - check-frontend: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install modules - run: cd frontend && npm i - - name: Svelte check - run: cd frontend && npm run check - backend: runs-on: ubuntu-latest steps: @@ -79,11 +70,6 @@ jobs: cd frontend/ npm run build - - name: Test Frontend - run: | - cd frontend/ - npm run test - - name: Test Backend run: | cd backend/ diff --git a/frontend/package.json b/frontend/package.json index 745d3cdd..b222465a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,5 +1,5 @@ { - "name": "frontend-new", + "name": "frontend", "private": true, "version": "0.0.0", "type": "module", @@ -7,7 +7,6 @@ "dev": "vite", "build": "vite build", "preview": "vite preview", - "check": "svelte-check --tsconfig ./tsconfig.json", "openapi": "npx openapi-typescript-codegen --input http://localhost:8000/openapi.json --output ./src/lib/openapi --client fetch" }, "devDependencies": { diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 5fb548f2..1673475b 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -1,20 +1,21 @@ { - "extends": "@tsconfig/svelte/tsconfig.json", - "compilerOptions": { - "target": "ESNext", - "useDefineForClassFields": true, - "module": "ESNext", - "resolveJsonModule": true, - /** - * Typecheck JS in `.svelte` and `.js` files by default. - * Disable checkJs if you'd like to use dynamic types in JS. - * Note that setting allowJs false does not prevent the use - * of JS in `.svelte` files. - */ - "allowJs": true, - "checkJs": true, - "isolatedModules": true - }, - "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], - "references": [{ "path": "./tsconfig.node.json" }] + "extends": "@tsconfig/svelte/tsconfig.json", + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "module": "ESNext", + "resolveJsonModule": true, + /** + * Typecheck JS in `.svelte` and `.js` files by default. + * Disable checkJs if you'd like to use dynamic types in JS. + * Note that setting allowJs false does not prevent the use + * of JS in `.svelte` files. + */ + "allowJs": true, + "checkJs": true, + "isolatedModules": true + }, + "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], + "exclude": ["node_modules/*", "venome-molstar/*", "public/*"], + "references": [{ "path": "./tsconfig.node.json" }] }