Skip to content

Commit

Permalink
Merge pull request #2612 from Turfjs/mf/update-lerna
Browse files Browse the repository at this point in the history
Upgrade to Lerna 8
  • Loading branch information
mfedderly authored Jun 21, 2024
2 parents efd0cff + 836d440 commit c03c6a6
Show file tree
Hide file tree
Showing 6 changed files with 420 additions and 298 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ packages/turf-*/test/true/**
packages/turf-*/test/false/**

pnpm-lock.yaml

/.nx/cache
1 change: 1 addition & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"npmClient": "pnpm",
"version": "7.0.0",
"command": {
Expand Down
17 changes: 6 additions & 11 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "test", "last-checks"]
}
}
},
"namedInputs": {
"default": [
"{workspaceRoot}/pnpm-lock.yaml",
Expand All @@ -26,7 +18,8 @@
"{projectRoot}/lib/**",
"{projectRoot}/rollup.config.cjs"
],
"outputs": ["{projectRoot}/dist"]
"outputs": ["{projectRoot}/dist"],
"cache": true
},
"test": {
"inputs": [
Expand All @@ -35,11 +28,13 @@
"{projectRoot}/test/**",
"{projectRoot}/types.ts"
],
"dependsOn": ["build"]
"dependsOn": ["build"],
"cache": true
},
"last-checks": {
"inputs": ["default", "{projectRoot}/test.ts"],
"dependsOn": ["build", "^last-checks"]
"dependsOn": ["build", "^last-checks"],
"cache": true
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"fs-extra": "^11.1.1",
"glob": "^10.3.10",
"husky": "^8.0.0",
"lerna": "^7.4.2",
"lerna": "^8.1.3",
"lint-staged": "^10.5.4",
"load-json-file": "^7.0.1",
"meow": "^12.1.1",
Expand Down
Loading

0 comments on commit c03c6a6

Please sign in to comment.