Skip to content

High performance self-hosted photo and video management solution.

chore(cli): clean up files (#7955)

Jason Rasmussen2080aeee4d5e
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,16 +91,12 @@ 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)
- run: npm ci
-
- - name: Run npm install (server)
+ - name: Install deps
run: npm ci
- working-directory: ./server
- name: Run linter
run: npm run lint
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"]