|
@@ -1,16 +1,49 @@
|
|
|
{
|
|
|
- "name": "monorepo_react",
|
|
|
+ "name": "@monorepo/root",
|
|
|
"version": "1.0.0",
|
|
|
"description": "",
|
|
|
"main": "index.js",
|
|
|
"scripts": {
|
|
|
- "test": "echo \"Error: no test specified\" && exit 1"
|
|
|
+ "test": "echo \"Error: no test specified\" && exit 1",
|
|
|
+ "preinstall": "npx only-allow pnpm",
|
|
|
+ "postinstall": "pnpm run build",
|
|
|
+ "build": "echo \"Building packages...\" && pnpm -r build",
|
|
|
+ "clean": "rimraf node_modules **/node_modules",
|
|
|
+ "init": "pnpm clean && pnpm install"
|
|
|
},
|
|
|
"keywords": [],
|
|
|
+ "private": true,
|
|
|
+ "workspaces": [
|
|
|
+ "packages/*"
|
|
|
+ ],
|
|
|
"author": "",
|
|
|
"license": "ISC",
|
|
|
"packageManager": "pnpm@10.12.1",
|
|
|
+ "engines": {
|
|
|
+ "node": ">=20.0.0",
|
|
|
+ "pnpm": ">=9.0.0"
|
|
|
+ },
|
|
|
+ "dependencies": {},
|
|
|
"devDependencies": {
|
|
|
- "turbo": "^2.5.4"
|
|
|
- }
|
|
|
+ "antd": "catalog:",
|
|
|
+ "axios": "catalog:",
|
|
|
+ "dayjs": "catalog:",
|
|
|
+ "react": "catalog:",
|
|
|
+ "react-dom": "catalog:",
|
|
|
+ "rimraf": "catalog:",
|
|
|
+ "turbo": "catalog:",
|
|
|
+ "react-router": "catalog:",
|
|
|
+ "react-router-dom": "catalog:"
|
|
|
+ },
|
|
|
+ "pnpm": {
|
|
|
+ "peerDependencyRules": {
|
|
|
+ "allowedVersions": {
|
|
|
+ "eslint": "*"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "neverBuiltDependencies": [
|
|
|
+ "canvas",
|
|
|
+ "node-gyp"
|
|
|
+ ]
|
|
|
}
|