Skip to content

Commit

Permalink
meta: Upgrade lerne, nx, migrate to npm workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
vanthome committed Jan 15, 2024
1 parent 3625398 commit e9819e4
Show file tree
Hide file tree
Showing 20 changed files with 52,389 additions and 15,521 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
lerna-debug.log
node_modules
tmp

.nx/cache
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"message": "chore(release): publish"
}
},
"useNx": true
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
32 changes: 15 additions & 17 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,4 @@
{
"implicitDependencies": {
"package.json": {
"dependencies": "*",
"devDependencies": "*"
},
".eslintrc.json": "*"
},
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build"
]
}
}
},
"workspaceLayout": {
"libsDir": "packages",
"appsDir": "packages"
Expand All @@ -24,5 +7,20 @@
"@nrwl/js": {
"analyzeSourceFiles": false
}
},
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"sharedGlobals": [],
"production": [
"default"
]
},
"targetDefaults": {
"build": {
"cache": true
}
}
}
Loading

0 comments on commit e9819e4

Please sign in to comment.