Skip to content

Commit

Permalink
chore: nx config update
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudobun committed Dec 25, 2023
1 parent d988672 commit 502cbd0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ public
dist
pnpm-lock.yaml
pnpm-workspace.yaml
.nx
36 changes: 29 additions & 7 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,41 @@
{
"tasksRunnerOptions": {
"default": {
"options": {
"cacheableOperations": ["build", "test", "lint", "test:ci", "test:cron"]
}
"options": {}
}
},
"extends": "nx/presets/npm.json",
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"affected": {
"defaultBase": "origin/main"
},
"namedInputs": {
"default": ["{projectRoot}/**/*"],
"production": [
"default",
"!{projectRoot}/**/*.spec.ts",
"!{projectRoot}/tests/**/*",
"!{projectRoot}/coverage/**/*",
"!{projectRoot}/dist/**/*",
"!{projectRoot}/.next/**/*",
"!{projectRoot}/.lintstagedrc.cjs",
"!{projectRoot}/.prettierignore",
"!{projectRoot}/.env.*"
]
},
"targetDefaults": {
"build": {
"inputs": ["production", "^production"],
"dependsOn": ["^build"],
"cache": true
"outputs": ["{projectRoot}/dist"]
},
"lint": {
"inputs": ["default", "^production"],
"dependsOn": ["^build"],
"cache": true
"outputs": []
},
"lint:fix": {
"dependsOn": ["^build"],
"cache": true
"dependsOn": ["^build"]
},
"lint:next": {
"cache": true
Expand All @@ -35,6 +48,15 @@
},
"lint:tsc": {
"cache": true
},
"test": {
"cache": true
},
"test:ci": {
"cache": true
},
"test:cron": {
"cache": true
}
},
"nxCloudAccessToken": "Y2M2OWVmODMtNzY3OC00MDFmLTkyMDYtNWQ3YTNkOGE0YmJlfHJlYWQ="
Expand Down

0 comments on commit 502cbd0

Please sign in to comment.