fix pnpm madness
Some checks failed
ci / build (push) Failing after 1s
ci / Tests & Checks (push) Failing after 1s

This commit is contained in:
CJ_Clippy 2025-07-14 04:33:26 -08:00
parent 9c9b773007
commit 4584997931
6 changed files with 1472 additions and 14469 deletions

View File

@ -1 +0,0 @@
engine-strict=true

View File

@ -1,5 +1,5 @@
# Use Node 22 base image # Don't upgrade node! pnpm is broken on 22
FROM node:22-slim FROM node:20
# Set working directory # Set working directory
WORKDIR /app WORKDIR /app
@ -14,7 +14,6 @@ RUN apt-get update -y && \
mktorrent \ mktorrent \
python3 \ python3 \
python3-pip \ python3-pip \
&& pip install --no-cache-dir torrentfile ultralytics \
&& apt-get clean && rm -rf /var/lib/apt/lists/* && apt-get clean && rm -rf /var/lib/apt/lists/*
# Enable corepack # Enable corepack

View File

@ -26,6 +26,21 @@
## troubleshooting ## troubleshooting
### npm/pnpm/store issues
Any problems with node? Delete the following.
```shell
rm -rf ./node_modules
rm ./package-lock.json
rm ./pnpm-lock.json
```
then re-install
pnpm install
### keyv ### keyv
We use tsup to convert ESM to CJS for graphile-worker. We use tsup to convert ESM to CJS for graphile-worker.

File diff suppressed because it is too large Load Diff

View File

@ -19,27 +19,26 @@
"dev:worker": "GRAPHILE_LOGGER_DEBUG=1 tsx watch ./src/worker.ts", "dev:worker": "GRAPHILE_LOGGER_DEBUG=1 tsx watch ./src/worker.ts",
"dev:build": "chokidar 'src/**/*.{js,ts}' -c tsup --clean", "dev:build": "chokidar 'src/**/*.{js,ts}' -c tsup --clean",
"build": "tsup --clean", "build": "tsup --clean",
"lint": "eslint .", "lint": "eslint ."
"postinstall": "npm install --platform=linux --arch=x64 sharp"
}, },
"devDependencies": { "devDependencies": {
"@eslint/compat": "^1.2.5", "@eslint/compat": "^1.3.1",
"@eslint/js": "^9.18.0", "@eslint/js": "^9.31.0",
"@fontsource/fira-mono": "^5.0.0", "@fontsource/fira-mono": "^5.2.6",
"@neoconfetti/svelte": "^2.0.0", "@neoconfetti/svelte": "^2.2.2",
"@sveltejs/adapter-auto": "^6.0.0", "@sveltejs/adapter-auto": "^6.0.1",
"@sveltejs/kit": "^2.16.0", "@sveltejs/kit": "^2.22.5",
"@sveltejs/vite-plugin-svelte": "^5.0.0", "@sveltejs/vite-plugin-svelte": "^5.1.1",
"eslint": "^9.18.0", "eslint": "^9.31.0",
"eslint-plugin-svelte": "^3.0.0", "eslint-plugin-svelte": "^3.10.1",
"globals": "^16.0.0", "globals": "^16.3.0",
"nodemon": "^3.1.10", "nodemon": "^3.1.10",
"prisma": "6.8.2", "prisma": "6.8.2",
"svelte": "^5.25.0", "svelte": "^5.35.6",
"svelte-check": "^4.0.0", "svelte-check": "^4.2.2",
"typescript": "^5.0.0", "typescript": "^5.8.3",
"typescript-eslint": "^8.20.0", "typescript-eslint": "^8.36.0",
"vite": "^6.2.6" "vite": "^6.3.5"
}, },
"pnpm": { "pnpm": {
"onlyBuiltDependencies": [ "onlyBuiltDependencies": [
@ -47,19 +46,19 @@
] ]
}, },
"dependencies": { "dependencies": {
"@auth0/auth0-spa-js": "^2.1.3", "@auth0/auth0-spa-js": "^2.2.0",
"@aws-sdk/client-s3": "3.726.1", "@aws-sdk/client-s3": "3.726.1",
"@aws-sdk/s3-request-presigner": "^3.824.0", "@aws-sdk/s3-request-presigner": "^3.844.0",
"@bogeychan/elysia-logger": "^0.1.8", "@bogeychan/elysia-logger": "^0.1.8",
"@dotenvx/dotenvx": "^1.44.1", "@dotenvx/dotenvx": "^1.47.5",
"@elysiajs/static": "^1.3.0", "@elysiajs/static": "^1.3.0",
"@elysiajs/swagger": "^1.3.0", "@elysiajs/swagger": "^1.3.1",
"@fastify/flash": "^6.0.3", "@fastify/flash": "^6.0.3",
"@fastify/formbody": "^8.0.2", "@fastify/formbody": "^8.0.2",
"@fastify/multipart": "^9.0.3", "@fastify/multipart": "^9.0.3",
"@fastify/oauth2": "^8.1.2", "@fastify/oauth2": "^8.1.2",
"@fastify/secure-session": "^8.2.0", "@fastify/secure-session": "^8.2.0",
"@fastify/static": "^8.1.1", "@fastify/static": "^8.2.0",
"@fastify/swagger": "^9.5.1", "@fastify/swagger": "^9.5.1",
"@fastify/swagger-ui": "^5.2.3", "@fastify/swagger-ui": "^5.2.3",
"@fastify/view": "^11.1.0", "@fastify/view": "^11.1.0",
@ -69,25 +68,25 @@
"@paralleldrive/cuid2": "^2.2.2", "@paralleldrive/cuid2": "^2.2.2",
"@prisma/client": "6.8.2", "@prisma/client": "6.8.2",
"@prisma/extension-accelerate": "^1.3.0", "@prisma/extension-accelerate": "^1.3.0",
"@types/node": "^22.15.17", "@types/node": "^22.16.3",
"@types/node-fetch": "^2.6.12", "@types/node-fetch": "^2.6.12",
"arctic": "^3.6.0", "arctic": "^3.7.0",
"axios": "^1.9.0", "axios": "^1.10.0",
"cache-manager": "^7.0.0", "cache-manager": "^7.0.1",
"chokidar-cli": "^3.0.0", "chokidar-cli": "^3.0.0",
"concurrently": "^9.1.2", "concurrently": "^9.2.0",
"date-fns": "^4.1.0", "date-fns": "^4.1.0",
"drizzle-orm": "^0.43.1", "drizzle-orm": "^0.43.1",
"drizzle-typebox": "^0.3.2", "drizzle-typebox": "^0.3.3",
"ejs": "^3.1.10", "ejs": "^3.1.10",
"elysia": "^1.2.25", "elysia": "^1.3.5",
"elysia-clerk": "^0.9.10", "elysia-clerk": "^0.9.10",
"elysia-connect-middleware": "^0.0.5", "elysia-connect-middleware": "^0.0.5",
"elysia-oauth2": "^2.0.0", "elysia-oauth2": "^2.1.0",
"fastify": "^5.3.2", "fastify": "^5.4.0",
"fastify-plugin": "^5.0.1", "fastify-plugin": "^5.0.1",
"fastify-sse-v2": "^4.2.1", "fastify-sse-v2": "^4.2.1",
"form-data": "^4.0.2", "form-data": "^4.0.3",
"fs-extra": "^11.3.0", "fs-extra": "^11.3.0",
"graphile-worker": "^0.16.6", "graphile-worker": "^0.16.6",
"handlebars": "4.7.8", "handlebars": "4.7.8",
@ -96,21 +95,21 @@
"keyv": "^4.5.4", "keyv": "^4.5.4",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"mime-types": "^3.0.1", "mime-types": "^3.0.1",
"nano-spawn": "^1.0.2",
"nanoid": "^5.1.5", "nanoid": "^5.1.5",
"nocodb-sdk": "^0.263.0", "nocodb-sdk": "^0.263.8",
"node-fetch": "^3.3.2", "node-fetch": "^3.3.2",
"rate-limiter-flexible": "^7.1.1", "rate-limiter-flexible": "^7.1.1",
"rimraf": "6.0.1", "rimraf": "6.0.1",
"sharp": "^0.34.2", "sharp": "^0.34.3",
"slugify": "^1.6.6", "slugify": "^1.6.6",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"tsup": "^8.5.0", "tsup": "^8.5.0",
"tsx": "^4.19.0", "tsx": "^4.20.3",
"vitest": "^3.2.1", "vitest": "^3.2.4",
"zod": "^3.25.49" "zod": "^3.25.76"
}, },
"packageManager": "pnpm@10.8.1+sha512.c50088ba998c67b8ca8c99df8a5e02fd2ae2e2b29aaf238feaa9e124248d3f48f9fb6db2424949ff901cffbb5e0f0cc1ad6aedb602cd29450751d11c35023677",
"prisma": { "prisma": {
"seed": "tsx prisma/seed.ts" "seed": "tsx prisma/seed.ts"
} }
} }

File diff suppressed because it is too large Load Diff