Skip to content

Commit

Permalink
Update lerna to 7
Browse files Browse the repository at this point in the history
  • Loading branch information
klis87 committed Jan 12, 2024
1 parent d17976f commit 4095fb5
Show file tree
Hide file tree
Showing 5 changed files with 797 additions and 733 deletions.
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"version": "independent",
"npmClient": "pnpm",
"useWorkspaces": true,
"command": {
"publish": {
"ignoreChanges": [
Expand All @@ -12,5 +11,6 @@
"packages/*/lib/**"
]
}
}
},
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
21 changes: 19 additions & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,36 @@
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["lint", "test", "build"]
"cacheableOperations": [
"lint",
"test",
"build"
]
}
}
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"dependsOn": [
"^build"
],
"outputs": [
"{projectRoot}/dist",
"{projectRoot}/es",
"{projectRoot}/lib",
"{projectRoot}/types"
]
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"sharedGlobals": [],
"production": [
"default"
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@types/node": "20.10.4",
"coveralls": "3.1.1",
"jest": "29.7.0",
"lerna": "6.5.1",
"lerna": "7.4.2",
"prettier": "3.1.0"
},
"bundlesize": [
Expand Down
4 changes: 2 additions & 2 deletions packages/normy-rtk-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"scripts": {
"clean": "rimraf es lib dist types",
"lint": "eslint 'src/**'",
"test": "jest src",
"test:cover": "jest --coverage src",
"test": "jest --passWithNoTests src",
"test:cover": "jest --coverage --passWithNoTests src",
"build-types": "tsc src/index.ts --strict --esModuleInterop --lib es2018,dom --skipLibCheck --jsx react --declaration --emitDeclarationOnly --declarationDir types",
"build:commonjs": "cross-env BABEL_ENV=cjs babel src --extensions '.ts,.tsx' --out-dir lib --ignore 'src/**/*.spec.js'",
"build:es": "babel src --extensions '.ts,.tsx' --out-dir es --ignore 'src/**/*.spec.js'",
Expand Down
Loading

0 comments on commit 4095fb5

Please sign in to comment.