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