mirror of
https://github.com/penpot/penpot.git
synced 2026-09-21 03:45:05 -04:00
Corepack is gone from Node 25+, so every `corepack enable` call fails. pnpm now ships as a system binary (devenv, CI runners and Docker images install it directly) and auto-downloads the version pinned in `packageManager` on mismatch. Scripts, workflows and Dockerfiles call `pnpm` straight away; the three deploy workflows use a single `pnpm/setup@v2` step; and the new `scripts/sync-pnpm-version` stamps all 35 `packageManager` fields from the system pnpm, replacing the `corepack use` sweep. AI-assisted-by: muse-spark-1.3-contributor
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{
|
|
"name": "media-processor",
|
|
"version": "1.0.0",
|
|
"description": "Stateless HTTP service for Penpot image and font processing",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "node esbuild.config.mjs",
|
|
"start": "node dist/index.js",
|
|
"start:dev": "tsx --env-file=../backend/scripts/_env src/index.ts",
|
|
"types:check": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"fmt": "prettier --write src/ test/",
|
|
"fmt:check": "prettier --check src/ test/",
|
|
"clean": "rm -rf dist/"
|
|
},
|
|
"packageManager": "pnpm@12.5.0+sha512.9cdbaa34ffacae1768635ac0d23e94db6201c7d59bf3da236b23d67c8f6b794d1dab323bcd5bcc51b55c8cafbf6f19a24e4aa61d6ab7772aa3b5cc85e325dc4d",
|
|
"dependencies": {
|
|
"express": "^5.2.1",
|
|
"multer": "^2.2.0",
|
|
"p-queue": "^9.3.3",
|
|
"pino": "^10.3.1",
|
|
"pino-loki": "^3.0.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"sharp": "^0.35.4",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^5.0.6",
|
|
"@types/multer": "^2.0.0",
|
|
"@types/node": "^26.3.0",
|
|
"@types/supertest": "^7.2.1",
|
|
"esbuild": "^0.28.2",
|
|
"prettier": "^3.6.2",
|
|
"supertest": "^7.2.2",
|
|
"tsx": "^4.23.12",
|
|
"typescript": "^7.0.2",
|
|
"vitest": "^4.1.11"
|
|
}
|
|
}
|