1f0d874ea2
refs https://ghost.slack.com/archives/C0568LN2CGJ/p1702302128529339 - Nx doesn't know the what the output of these apps is, so it can't restore the cache - this adds the 3 folders which we use to output the build assets
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"runner": "nx/tasks-runners/default",
|
|
"options": {
|
|
"cacheableOperations": [
|
|
"build",
|
|
"build:ts",
|
|
"lint",
|
|
"test",
|
|
"test:unit"
|
|
],
|
|
"useDaemonProcess": false,
|
|
"cacheDirectory": ".nxcache"
|
|
}
|
|
}
|
|
},
|
|
"namedInputs": {
|
|
"default": [
|
|
"{projectRoot}/**/*",
|
|
"{workspaceRoot}/ghost/tsconfig.json"
|
|
]
|
|
},
|
|
"targetDefaults": {
|
|
"build": {
|
|
"outputs": [
|
|
"{projectRoot}/dist",
|
|
"{projectRoot}/es",
|
|
"{projectRoot}/umd"
|
|
]
|
|
},
|
|
"build:ts": {
|
|
"dependsOn": [
|
|
"^build:ts"
|
|
],
|
|
"inputs": [
|
|
"default",
|
|
"^default"
|
|
],
|
|
"outputs": [
|
|
"{projectRoot}/build"
|
|
]
|
|
}
|
|
},
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json"
|
|
}
|