chore: cache lerna actions

This commit is contained in:
fryorcraken.eth 2022-10-31 11:32:03 +11:00
parent 670816049a
commit 6a98998ae8
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 40 additions and 0 deletions

40
nx.json Normal file
View File

@ -0,0 +1,40 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build",
"build:esm",
"build:bundle",
"fix",
"fix:prettier",
"fix:lint",
"check",
"check:lint",
"check:prettier",
"check:spelling",
"check:tsc",
"test",
"test:node",
"test:browser",
"proto"
]
}
}
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/dist, {projectRoot}/bundle"]
},
"build:esm": {
"dependsOn": ["^build:esm"],
"outputs": ["{projectRoot}/dist"]
},
"build:bundle": {
"dependsOn": ["^build:bundle"],
"outputs": ["{projectRoot}/bundle"]
}
}
}