-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable lerna caching for build scripts (#6767)
* 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 c061fc0. * 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
- Loading branch information
Showing
10 changed files
with
1,191 additions
and
1,093 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"npmClient": "jlpm", | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"version": "independent", | ||
"useWorkspaces": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"$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"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.