diff --git a/README.md b/README.md index 4fe5b55..f0568ca 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,7 @@ spec: - name: configarr image: ghcr.io/raydak-labs/configarr:latest imagePullPolicy: Always + tty: true # for color support envFrom: - configMapRef: name: common-deployment-environment diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 9403b56..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,43 +0,0 @@ -services: - configarr: - image: configarr:test - build: . - environment: - - PUID=1000 - - PGID=1000 - - TZ=Etc/UTC - volumes: - - ./config:/app/config - - ./dockerrepos:/app/repos - - ./custom/cfs:/app/cfs - - ./custom/templates:/app/templates - - sonarr: - image: lscr.io/linuxserver/sonarr:4.0.9 - container_name: sonarr - environment: - - PUID=1000 - - PGID=1000 - - TZ=Etc/UTC - volumes: - - sonarr:/config - ports: - - 8989:8989 - restart: unless-stopped - - radarr: - image: lscr.io/linuxserver/radarr:5.11.0 - container_name: radarr - environment: - - PUID=1000 - - PGID=1000 - - TZ=Etc/UTC - volumes: - - radarr:/config - ports: - - 7878:7878 - restart: unless-stopped - -volumes: - sonarr: - radarr: diff --git a/generate-api.js b/generate-api.ts similarity index 81% rename from generate-api.js rename to generate-api.ts index 91f2b92..d17ff28 100644 --- a/generate-api.js +++ b/generate-api.ts @@ -12,7 +12,7 @@ const main = async () => { url: "https://raw.githubusercontent.com/Sonarr/Sonarr/develop/src/Sonarr.Api.V3/openapi.json", modular: true, singleHttpClient: true, - // little hack to have one single client (we are deleting the weird created file for the http-client) + // @ts-ignore little hack to have one single client (we are deleting the weird created file for the http-client) fileNames: { httpClient: "../ky-client", }, @@ -23,7 +23,7 @@ const main = async () => { url: "https://raw.githubusercontent.com/Radarr/Radarr/develop/src/Radarr.Api.V3/openapi.json", modular: true, singleHttpClient: true, - // little hack to have one single client (we are deleting the weird created file for the http-client) + // @ts-ignore little hack to have one single client (we are deleting the weird created file for the http-client) fileNames: { httpClient: "../ky-client", }, diff --git a/input.yml b/input.yml deleted file mode 100644 index 7fb80d4..0000000 --- a/input.yml +++ /dev/null @@ -1,5 +0,0 @@ -custom_formats: - - trash_ids: - - custom-size-more-40gb - quality_profiles: - - name: Default (DE) diff --git a/package.json b/package.json index d1ebd4b..acf5b8f 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "tsx esbuild.ts", "coverage": "vitest run --coverage", - "generateApi": "tsx generate-api.js && prettier src/__generated__ --write", + "generateApi": "tsx generate-api.ts && prettier src/__generated__ --write", "lint": "prettier . --check", "start": "tsx index.ts", "test": "vitest", diff --git a/tsconfig.json b/tsconfig.json index 00c4a18..b401ca3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,5 +7,6 @@ "skipLibCheck": true, "strict": true, "target": "ESNext" - } + }, + "exclude": ["./dist"] }