mirror of
https://github.com/jupyter/notebook.git
synced 2024-11-27 03:20:27 +08:00
ac3c882a24
* Enable lerna caching for build scripts * Fix script definitions * Lint * simplify cacheable tasks * Update to lerna 7 * update config * cleanup * Stay on lerna 6 for now * Revert "cleanup" This reverts commit c061fc07812e7ae231ff8eeedff8ed75f89e4a35. * lint * Skip cache when building prod * Cache labextension builds * Update `targetDefaults` * Update dev command * Fix dependencies * Add missing dependency * fix dep order * fix script deps * Update scripts * Update scripts dependencies * Add back scripts * lint * cache more * Mention task caching in contributing guide
36 lines
786 B
JSON
36 lines
786 B
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"runner": "nx/tasks-runners/default",
|
|
"options": {
|
|
"cacheableOperations": [
|
|
"build",
|
|
"build:prod",
|
|
"build:lib",
|
|
"build:labextension:dev",
|
|
"build:labextension"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*"]
|
|
},
|
|
"targetDefaults": {
|
|
"build:lib": {
|
|
"dependsOn": ["^build:lib"],
|
|
"inputs": ["default", "^default"],
|
|
"outputs": ["{projectRoot}/lib"]
|
|
},
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^default"]
|
|
},
|
|
"build:prod": {
|
|
"dependsOn": ["^build:prod"],
|
|
"inputs": ["default", "^default"]
|
|
}
|
|
}
|
|
}
|