- API: `pnpm build` bundles dist/ into apps/api/.output (esbuild), with Linux musl native packages for sharp and argon2 kept alongside - docker/api.Dockerfile copies that output; no pnpm install on the server - add dist/migrate.js (prisma migrate deploy equivalent, same _prisma_migrations table and lock) so the Prisma CLI is not needed at runtime - pnpm-workspace: supportedArchitectures for linux/x64/musl - admin: apps/admin/.env.production sets VITE_SITE_URL for the production build - drop NPM_REGISTRY / SITE_URL build args from compose and .env.example - gitignore: anchor node_modules rules so pre-built node_modules are committed - README: describe the pre-built deploy flow Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"name": "devalue",
|
|
"description": "Gets the job done when JSON.stringify can't",
|
|
"version": "6.0.3",
|
|
"repository": "sveltejs/devalue",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/types.d.ts",
|
|
"import": "./src/index.js",
|
|
"default": "./src/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"src",
|
|
"types"
|
|
],
|
|
"types": "./types/types.d.ts",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.29.6",
|
|
"@js-temporal/polyfill": "^0.5.1",
|
|
"@types/node": "^24.12.0",
|
|
"prettier": "^3.2.4",
|
|
"publint": "^0.3.12",
|
|
"typescript": "^7.0.2",
|
|
"vite": "8.3.0",
|
|
"vitest": "5.0.1"
|
|
},
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"changeset:version": "changeset version",
|
|
"changeset:publish": "changeset publish",
|
|
"build": "tsc",
|
|
"test": "vitest run --project unit",
|
|
"test:unit": "vitest run --project unit",
|
|
"test:watch": "vitest --project unit",
|
|
"test:types": "tsc -p . --noEmit",
|
|
"check:format": "prettier --check .",
|
|
"format": "prettier --write .",
|
|
"bench": "node --allow-natives-syntax ./benchmarking/run.js",
|
|
"bench:compare": "node --allow-natives-syntax ./benchmarking/compare/index.js"
|
|
}
|
|
} |