mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-21 00:40:09 +00:00
config(nx): Add nx
config and ignore .nx/
This commit is contained in:
parent
31704d5363
commit
3bd56aa3db
3
.gitignore
vendored
3
.gitignore
vendored
@ -41,3 +41,6 @@ dist-ssr
|
||||
# Nix & Direnv
|
||||
.direnv
|
||||
result
|
||||
|
||||
# Nx
|
||||
.nx/
|
||||
|
41
nx.json
Normal file
41
nx.json
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
||||
"npmScope": "nimbus-gui",
|
||||
"affected": {
|
||||
"defaultBase": "main"
|
||||
},
|
||||
"workspaceLayout": {
|
||||
"libsDir": "libs"
|
||||
},
|
||||
"tasksRunnerOptions": {
|
||||
"default": {
|
||||
"runner": "nx/tasks-runners/default",
|
||||
"options": {
|
||||
"cacheableOperations": ["build", "lint", "test"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"namedInputs": {
|
||||
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
||||
"sharedGlobals": [],
|
||||
"production": [
|
||||
"default",
|
||||
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
||||
"!{projectRoot}/tsconfig.spec.json"
|
||||
]
|
||||
},
|
||||
"targetDefaults": {
|
||||
"test": {
|
||||
"inputs": ["default"],
|
||||
"dependsOn": ["build"]
|
||||
},
|
||||
"build": {
|
||||
"inputs": ["production"],
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"@nx/vite:test": {
|
||||
"cache": true,
|
||||
"inputs": ["default", "^production"]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user