mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 06:04:29 +00:00
Upgrade to lerna 5 to speedup build
This commit is contained in:
parent
5aad18547b
commit
ed833ec2d7
@ -1,9 +1,7 @@
|
||||
{
|
||||
"version": "4.2.2",
|
||||
"packages": [
|
||||
"packages/*",
|
||||
"examples/*"
|
||||
],
|
||||
"packages": ["packages/*", "examples/*"],
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true
|
||||
"useWorkspaces": true,
|
||||
"useNx": true
|
||||
}
|
||||
|
||||
18
nx.json
Normal file
18
nx.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"implicitDependencies": {
|
||||
"package.json": "*"
|
||||
},
|
||||
"tasksRunnerOptions": {
|
||||
"default": {
|
||||
"runner": "nx/tasks-runners/default",
|
||||
"options": {
|
||||
"cacheableOperations": ["build"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"pluginsConfig": {
|
||||
"@nrwl/js": {
|
||||
"analyzeSourceFiles": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -102,11 +102,12 @@
|
||||
"jest-circus": "26.6.3",
|
||||
"jest-cli": "26.6.3",
|
||||
"jest-watch-typeahead": "0.6.5",
|
||||
"lerna": "4.0.0",
|
||||
"lerna": "5.1.6",
|
||||
"lint-staged": "10.5.4",
|
||||
"lodash": "4.17.21",
|
||||
"msw": "0.42.3",
|
||||
"npm-run-all": "4.1.5",
|
||||
"nx": "14.3.6",
|
||||
"plop": "2.7.6",
|
||||
"prettier": "1.19.1",
|
||||
"qs": "6.11.0",
|
||||
|
||||
@ -141,5 +141,14 @@
|
||||
"engines": {
|
||||
"node": ">=14.19.1 <=16.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"nx": {
|
||||
"targets": {
|
||||
"build": {
|
||||
"outputs": [
|
||||
"./build"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -90,5 +90,14 @@
|
||||
"engines": {
|
||||
"node": ">=14.19.1 <=16.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"nx": {
|
||||
"targets": {
|
||||
"build": {
|
||||
"outputs": [
|
||||
"./build"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user