Upgrade lerna and run the config migration

This commit is contained in:
Matt Fedderly 2024-06-03 08:45:48 -04:00
parent 09e9ebdfee
commit 022d652d57
No known key found for this signature in database
GPG Key ID: 929BFFAA6508FFDF
6 changed files with 430 additions and 308 deletions

View File

@ -19,3 +19,5 @@ packages/turf-*/test/true/**
packages/turf-*/test/false/**
pnpm-lock.yaml
/.nx/cache

View File

@ -5,5 +5,6 @@
"publish": {
"registry": "https://registry.npmjs.org"
}
}
},
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}

17
nx.json
View File

@ -1,12 +1,4 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "test", "last-checks"]
}
}
},
"namedInputs": {
"default": [
"{workspaceRoot}/pnpm-lock.yaml",
@ -26,7 +18,8 @@
"{projectRoot}/lib/**",
"{projectRoot}/rollup.config.cjs"
],
"outputs": ["{projectRoot}/dist"]
"outputs": ["{projectRoot}/dist"],
"cache": true
},
"test": {
"inputs": [
@ -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
}
}
}

View File

@ -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",

712
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,2 @@
packages:
- "packages/**"
- "packages/*"