- 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>
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "detect-libc",
|
|
"version": "2.1.2",
|
|
"description": "Node.js module to detect the C standard library (libc) implementation family and version",
|
|
"main": "lib/detect-libc.js",
|
|
"files": [
|
|
"lib/",
|
|
"index.d.ts"
|
|
],
|
|
"scripts": {
|
|
"test": "semistandard && nyc --reporter=text --check-coverage --branches=100 ava test/unit.js",
|
|
"changelog": "conventional-changelog -i CHANGELOG.md -s",
|
|
"bench": "node benchmark/detect-libc",
|
|
"bench:calls": "node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/lovell/detect-libc.git"
|
|
},
|
|
"keywords": [
|
|
"libc",
|
|
"glibc",
|
|
"musl"
|
|
],
|
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
"contributors": [
|
|
"Niklas Salmoukas <niklas@salmoukas.com>",
|
|
"Vinícius Lourenço <vinyygamerlol@gmail.com>"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"ava": "^2.4.0",
|
|
"benchmark": "^2.1.4",
|
|
"conventional-changelog-cli": "^5.0.0",
|
|
"eslint-config-standard": "^13.0.1",
|
|
"nyc": "^15.1.0",
|
|
"proxyquire": "^2.1.3",
|
|
"semistandard": "^14.2.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=8"
|
|
},
|
|
"types": "index.d.ts"
|
|
}
|