From 2080aeee4d5eda7339c68f756298badecb716342 Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Thu, 14 Mar 2024 13:09:27 -0400 Subject: [PATCH] chore(cli): clean up files (#7955) --- .github/workflows/test.yml | 8 ++------ cli/.npmignore | 10 +++++++--- cli/tsconfig.json | 12 ------------ 3 files changed, 9 insertions(+), 21 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d704aa6295..1d57b3a84a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -91,17 +91,13 @@ jobs: with: node-version: 20 - - name: Run setup typescript-sdk + - name: Setup typescript-sdk run: npm ci && npm run build working-directory: ./open-api/typescript-sdk - - name: Run npm install (cli) + - name: Install deps run: npm ci - - name: Run npm install (server) - run: npm ci - working-directory: ./server - - name: Run linter run: npm run lint if: ${{ !cancelled() }} diff --git a/cli/.npmignore b/cli/.npmignore index 42809f8e80..fab798db68 100644 --- a/cli/.npmignore +++ b/cli/.npmignore @@ -1,11 +1,15 @@ **/*.spec.js +coverage/** +src/** upload/** .editorconfig .eslintignore -.eslintrc.js +.eslintrc.cjs +.gitignore .prettierignore .prettierrc +Dockerfile package-lock.json -testSetup.js tsconfig.json -tsconfig.build.json +vite.config.ts +vitest.config.ts diff --git a/cli/tsconfig.json b/cli/tsconfig.json index 3742f4c192..fcd01e01c0 100644 --- a/cli/tsconfig.json +++ b/cli/tsconfig.json @@ -15,19 +15,7 @@ "incremental": true, "skipLibCheck": true, "esModuleInterop": true, - "rootDirs": ["src", "../server/src"], "baseUrl": "./", - "paths": { - "@test": ["../server/test"], - "@test/*": ["../server/test/*"], - "@test-utils": ["../server/src/test-utils/utils"], - "@app/immich": ["../server/src/immich"], - "@app/immich/*": ["../server/src/immich/*"], - "@app/infra": ["../server/src/infra"], - "@app/infra/*": ["../server/src/infra/*"], - "@app/domain": ["../server/src/domain"], - "@app/domain/*": ["../server/src/domain/*"] - }, "types": ["vitest/globals"] }, "exclude": ["dist", "node_modules"]