Skip to content

Commit

Permalink
fix(core): add target options for .nx nx.json (#18476)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Aug 4, 2023
1 parent 3565643 commit 622e0e0
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,15 @@ export function writeMinimalNxJson(host: Tree, version: string) {
default: {
runner: 'nx/tasks-runners/default',
options: {
cacheableOperations: [],
cacheableOperations: ['build', 'lint', 'test', 'e2e'],
},
},
},
targetDefaults: {
build: {
dependsOn: ['^build'],
},
},
installation: {
version: version.trimEnd(),
},
Expand Down

1 comment on commit 622e0e0

@vercel
Copy link

@vercel vercel bot commented on 622e0e0 Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.