Skip to content

Commit

Permalink
Upgrade lerna and run the config migration
Browse files Browse the repository at this point in the history
  • Loading branch information
mfedderly committed Jun 3, 2024
1 parent 09e9ebd commit 022d652
Show file tree
Hide file tree
Showing 6 changed files with 421 additions and 299 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
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"publish": {
"registry": "https://registry.npmjs.org"
}
}
},
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
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 022d652

Please sign in to comment.