Skip to content

Commit

Permalink
chore: update nx to new configs
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefialho committed Dec 10, 2024
1 parent 0d1b705 commit fd00856
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 26 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/node_modules
*.md

/.nx/cache
/.nx/workspace-data
43 changes: 17 additions & 26 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,35 @@
{
"targetDefaults": {
"build": {
"dependsOn": ["^build"]
"dependsOn": ["^build"],
"cache": true
},
"test": {
"inputs": ["default", "^default"]
"inputs": ["default", "^default"],
"cache": true
},
"@nx/vite:build": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["default", "^default"]
},
"lint": {
"cache": true
}
},
"workspaceLayout": {
"libsDir": "packages"
},
"extends": "@nrwl/workspace/presets/core.json",
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"npmScope": "@juntossomosmais",
"affected": {
"defaultBase": "main"
},
"cli": {
"defaultCollection": "@nrwl/workspace"
},
"implicitDependencies": {
"package.json": {
"dependencies": "*",
"devDependencies": "*"
},
".eslintrc.js": "*",
"tsconfig.base.json": "*",
"nx.json": "*"
},
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "lint", "test"]
}
}
"namedInputs": {
"sharedGlobals": [
"{workspaceRoot}/package.json",
"{workspaceRoot}/.eslintrc.js",
"{workspaceRoot}/tsconfig.base.json",
"{workspaceRoot}/nx.json"
],
"default": ["sharedGlobals"]
},
"release": {
"version": {
Expand All @@ -63,5 +53,6 @@
"targetName": "jest:test"
}
}
]
],
"defaultBase": "main"
}

0 comments on commit fd00856

Please sign in to comment.