Use Legacy Cache
Set useLegacyCache
to true for migrating workspaces
Sample Code Changes
Add useLegacyCache
to nx.json
unless enableDbCache
was set to true.
1{
2 "targetDefaults": {}
3}
4
Here is a list of all migrations available for this package.
Set `useLegacyCache` to true for migrating workspaces
Set useLegacyCache
to true for migrating workspaces
Add useLegacyCache
to nx.json
unless enableDbCache
was set to true.
1{
2 "targetDefaults": {}
3}
4
Migration for v20.0.0-beta.7
Move the useDaemonProcess
to the root of nx.json
1{
2 "tasksRunnerOptions": {
3 "default": {
4 "options": {
5 "useDaemonProcess": false
6 }
7 }
8 }
9}
10
Set project name in nx.json explicitly
Updates the nx wrapper.
Updates the default workspace data directory to .nx/workspace-data
Moves affected.defaultBase to defaultBase in `nx.json`
Updates nx.json to disabled adding plugins when generating projects in an existing Nx workspace
Updates the nx wrapper.
Migration for v17.0.0-rc.1
Use minimal config for tasksRunnerOptions
Updates the default cache directory to .nx/cache
Add .nx/cache
to the .gitignore
file.
1node_modules
2
Add .nx/cache
to the .prettierignore
file.
1/dist
2