build: ship pre-built API bundle; images copy output instead of installing
- 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>
This commit is contained in:
co-authored by
Claude Haiku 5.5
parent
ee8258556d
commit
10e453e4be
+82
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"name": "pinia",
|
||||
"version": "4.1.0",
|
||||
"description": "Intuitive, type safe and flexible Store for Vue",
|
||||
"keywords": [
|
||||
"api",
|
||||
"composition",
|
||||
"pigna",
|
||||
"pinia",
|
||||
"piña",
|
||||
"safe",
|
||||
"setup",
|
||||
"store",
|
||||
"ts",
|
||||
"type",
|
||||
"typed",
|
||||
"typescript",
|
||||
"vue",
|
||||
"vuex"
|
||||
],
|
||||
"homepage": "https://pinia.vuejs.org",
|
||||
"bugs": {
|
||||
"url": "https://github.com/vuejs/pinia/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
"name": "Eduardo San Martin Morote",
|
||||
"email": "posva13@gmail.com"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vuejs/pinia.git"
|
||||
},
|
||||
"funding": "https://github.com/sponsors/posva",
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"dist/*.js",
|
||||
"dist/*.mjs",
|
||||
"dist/pinia.d.ts"
|
||||
],
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"types": "dist/pinia.d.ts",
|
||||
"unpkg": "dist/pinia.iife.js",
|
||||
"jsdelivr": "dist/pinia.iife.js",
|
||||
"exports": {
|
||||
".": "./dist/pinia.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"nostics": "^1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/devtools-api": "^8.2.1",
|
||||
"@vue/test-utils": "^2.4.11",
|
||||
"tsdown": "^0.22.14"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@vue/devtools-api": "^8.2.1",
|
||||
"typescript": ">=5.6.0",
|
||||
"vue": "^3.5.11"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@vue/devtools-api": {
|
||||
"optional": false
|
||||
},
|
||||
"typescript": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"inlinedDependencies": {
|
||||
"nostics": "1.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l pinia -r 1",
|
||||
"test:dist": "node ./__tests__/dist-import.mjs",
|
||||
"test:dts": "tsc -p ./test-dts/tsconfig.json",
|
||||
"test": "pnpm run build && pnpm test:dts && pnpm test:dist"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user