2023-07-12 14:42:39 +03:00
|
|
|
{
|
2024-09-17 12:47:23 +03:00
|
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
2023-07-12 14:42:39 +03:00
|
|
|
"namedInputs": {
|
2024-09-17 12:47:23 +03:00
|
|
|
"default": ["{projectRoot}/**/*", "{workspaceRoot}/ghost/tsconfig.json"]
|
2023-07-12 14:42:39 +03:00
|
|
|
},
|
2024-09-25 15:28:22 +03:00
|
|
|
"parallel": 4,
|
2023-07-12 14:42:39 +03:00
|
|
|
"targetDefaults": {
|
2023-12-13 12:26:33 +03:00
|
|
|
"build": {
|
2024-09-17 12:47:23 +03:00
|
|
|
"dependsOn": ["^build"],
|
2023-12-13 12:26:33 +03:00
|
|
|
"inputs": [
|
2024-09-17 12:47:23 +03:00
|
|
|
{
|
|
|
|
"env": "GHOST_CDN_URL"
|
|
|
|
},
|
2023-12-13 12:26:33 +03:00
|
|
|
"default",
|
|
|
|
"^default"
|
|
|
|
],
|
|
|
|
"outputs": [
|
|
|
|
"{projectRoot}/dist",
|
|
|
|
"{projectRoot}/es",
|
2024-09-11 16:53:00 +03:00
|
|
|
"{projectRoot}/types",
|
2023-12-13 12:26:33 +03:00
|
|
|
"{projectRoot}/umd"
|
2024-09-17 12:47:23 +03:00
|
|
|
],
|
|
|
|
"cache": true
|
2023-12-13 12:26:33 +03:00
|
|
|
},
|
2023-07-12 14:42:39 +03:00
|
|
|
"build:ts": {
|
2024-09-17 12:47:23 +03:00
|
|
|
"dependsOn": ["^build:ts"],
|
|
|
|
"inputs": ["default", "^default"],
|
|
|
|
"outputs": ["{projectRoot}/build"],
|
|
|
|
"cache": true
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"cache": true
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"cache": true
|
|
|
|
},
|
|
|
|
"test:unit": {
|
2024-10-16 22:15:14 +03:00
|
|
|
"dependsOn": ["^build:ts"],
|
2024-09-17 12:47:23 +03:00
|
|
|
"cache": true
|
2023-07-12 14:42:39 +03:00
|
|
|
}
|
|
|
|
},
|
2024-09-17 12:47:23 +03:00
|
|
|
"cacheDirectory": ".nxcache"
|
2023-07-12 14:42:39 +03:00
|
|
|
}
|