Skip to content

Commit

Permalink
chore: add target defaults and namedInputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanpowell88 committed May 18, 2023
1 parent b1b523d commit d33a71f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,32 @@
"accessToken": "ZmNlNjA0YzAtNTM1NS00MDIwLWFlMWItNWYxYzNiMjQ4N2VkfHJlYWQtb25seQ=="
}
}
},
"targetDefaults": {
"lint": {
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.js"
]
}
},
"namedInputs": {
"sharedGlobals": [
"{workspaceRoot}/package.json"
],
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"production": [
"default",
"!{projectRoot}/**/*.spec.ts",
"!{projectRoot}/**/*.md",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/.mocharc.{js,json}",
"!{projectRoot/cypress.config.{ts,js}",
"!{projectRoot/**/*.cy.ts"
]
}
}

0 comments on commit d33a71f

Please sign in to comment.