mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 16:43:36 +00:00
implementing nx management for the framework
This commit is contained in:
68
nx.json
Normal file
68
nx.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
||||
"useInferencePlugins": false,
|
||||
"defaultBase": "main",
|
||||
"namedInputs": {
|
||||
"sharedGlobals": [
|
||||
"{workspaceRoot}/nx.json",
|
||||
"{workspaceRoot}/package.json",
|
||||
"{workspaceRoot}/Makefile",
|
||||
"{workspaceRoot}/pyproject.toml",
|
||||
"{workspaceRoot}/docker-compose.yml"
|
||||
],
|
||||
"default": [
|
||||
"{projectRoot}/**/*",
|
||||
"sharedGlobals"
|
||||
],
|
||||
"production": [
|
||||
"default",
|
||||
"!{projectRoot}/node_modules/**/*",
|
||||
"!{projectRoot}/.next/**/*",
|
||||
"!{projectRoot}/test-results/**/*",
|
||||
"!{projectRoot}/build/**/*"
|
||||
]
|
||||
},
|
||||
"targetDefaults": {
|
||||
"build": {
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
"production",
|
||||
"^production"
|
||||
]
|
||||
},
|
||||
"test": {
|
||||
"cache": false,
|
||||
"inputs": [
|
||||
"default",
|
||||
"^production"
|
||||
]
|
||||
},
|
||||
"install": {
|
||||
"cache": false
|
||||
},
|
||||
"dev": {
|
||||
"cache": false
|
||||
},
|
||||
"start": {
|
||||
"cache": false
|
||||
},
|
||||
"watch": {
|
||||
"cache": false
|
||||
},
|
||||
"clean": {
|
||||
"cache": false
|
||||
},
|
||||
"train": {
|
||||
"cache": false
|
||||
},
|
||||
"up": {
|
||||
"cache": false
|
||||
},
|
||||
"down": {
|
||||
"cache": false
|
||||
},
|
||||
"logs": {
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user