- 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>
96 lines
2.6 KiB
JSON
96 lines
2.6 KiB
JSON
{
|
|
"name": "@node-rs/argon2",
|
|
"version": "2.2.2",
|
|
"description": "argon2-rust binding for Node.js",
|
|
"keywords": [
|
|
"argon2",
|
|
"argon2-password",
|
|
"crypto",
|
|
"encryption",
|
|
"hash",
|
|
"hashing",
|
|
"password",
|
|
"secure",
|
|
"verify"
|
|
],
|
|
"homepage": "https://github.com/napi-rs/node-rs",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/napi-rs/node-rs.git"
|
|
},
|
|
"files": [
|
|
"browser.js",
|
|
"index.d.ts",
|
|
"index.js"
|
|
],
|
|
"main": "index.js",
|
|
"browser": "browser.js",
|
|
"types": "index.d.ts",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"scripts": {
|
|
"artifacts": "napi artifacts -d ../../artifacts",
|
|
"bench": "cross-env NODE_ENV=production node --import @oxc-node/core/register benchmark/argon2.ts",
|
|
"build": "oxnode ./build.ts --platform --release",
|
|
"build:debug": "oxnode ./build.ts --platform",
|
|
"prepublishOnly": "napi prepublish",
|
|
"version": "napi version"
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "^3.10.8",
|
|
"@noble/hashes": "^2.3.0",
|
|
"@oxc-node/cli": "^0.1.0",
|
|
"@oxc-node/core": "^0.1.0",
|
|
"argon2": "^0.45.1",
|
|
"cross-env": "^10.1.0",
|
|
"hash-wasm": "^4.12.0",
|
|
"tinybench": "^6.1.3"
|
|
},
|
|
"napi": {
|
|
"binaryName": "argon2",
|
|
"targets": [
|
|
"x86_64-apple-darwin",
|
|
"aarch64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"x86_64-unknown-linux-gnu",
|
|
"aarch64-linux-android",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-unknown-linux-musl",
|
|
"aarch64-pc-windows-msvc",
|
|
"armv7-unknown-linux-gnueabihf",
|
|
"x86_64-unknown-linux-musl",
|
|
"x86_64-unknown-freebsd",
|
|
"i686-pc-windows-msvc",
|
|
"armv7-linux-androideabi",
|
|
"wasm32-wasip1-threads"
|
|
],
|
|
"wasm": {
|
|
"browser": {
|
|
"fs": false
|
|
}
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">= 10"
|
|
},
|
|
"gitHead": "b706e3035f5d4d487ae66ea0549a041cd509e5d4",
|
|
"optionalDependencies": {
|
|
"@node-rs/argon2-darwin-x64": "2.2.2",
|
|
"@node-rs/argon2-darwin-arm64": "2.2.2",
|
|
"@node-rs/argon2-win32-x64-msvc": "2.2.2",
|
|
"@node-rs/argon2-linux-x64-gnu": "2.2.2",
|
|
"@node-rs/argon2-android-arm64": "2.2.2",
|
|
"@node-rs/argon2-linux-arm64-gnu": "2.2.2",
|
|
"@node-rs/argon2-linux-arm64-musl": "2.2.2",
|
|
"@node-rs/argon2-win32-arm64-msvc": "2.2.2",
|
|
"@node-rs/argon2-linux-arm-gnueabihf": "2.2.2",
|
|
"@node-rs/argon2-linux-x64-musl": "2.2.2",
|
|
"@node-rs/argon2-freebsd-x64": "2.2.2",
|
|
"@node-rs/argon2-win32-ia32-msvc": "2.2.2",
|
|
"@node-rs/argon2-android-arm-eabi": "2.2.2"
|
|
}
|
|
}
|