mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 09:22:53 +00:00
pnpm dev was failing with "App keys are required" for anyone whose apps/cms/.env didn't already exist (it's gitignored, so this hits every fresh clone, not just a one-off). predev/predevelop now copy .env.example to .env automatically when it's absent, so `pnpm dev` and `pnpm --filter cms develop` both just work without a manual setup step.
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "cms",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "A Strapi application",
|
|
"scripts": {
|
|
"predev": "test -f .env || cp .env.example .env",
|
|
"predevelop": "test -f .env || cp .env.example .env",
|
|
"build": "strapi build",
|
|
"console": "strapi console",
|
|
"deploy": "strapi deploy",
|
|
"dev": "strapi develop",
|
|
"develop": "strapi develop",
|
|
"start": "strapi start",
|
|
"strapi": "strapi",
|
|
"upgrade": "npx @strapi/upgrade latest",
|
|
"upgrade:dry": "npx @strapi/upgrade latest --dry"
|
|
},
|
|
"dependencies": {
|
|
"@strapi/database": "5.52.2",
|
|
"@strapi/plugin-cloud": "5.52.2",
|
|
"@strapi/plugin-users-permissions": "5.52.2",
|
|
"@strapi/strapi": "5.52.2",
|
|
"better-sqlite3": "12.8.0",
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0",
|
|
"react-router-dom": "^6.30.3",
|
|
"smol-toml": "^1.8.0",
|
|
"styled-components": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"typescript": "^5"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0 <=26.x.x",
|
|
"npm": ">=6.0.0"
|
|
},
|
|
"strapi": {
|
|
"uuid": "53c467c6-a64c-4883-b4df-0d96747d2cf3",
|
|
"installId": "dcf09d0c097e16db63c329dd9602949f9c4ae64f4e69a04dc6e105313d30b369"
|
|
}
|
|
}
|