Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): add 'dependsOn' property in when inferring build targets via plugins #20614

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Dec 6, 2023

This PR ensures that build targets have dependsOn: ['^build'] set by default, since targetDefaults may not be providing the defaults.

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

@jaysoo jaysoo requested review from a team as code owners December 6, 2023 19:05
Copy link

vercel bot commented Dec 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Dec 6, 2023 8:53pm

@jaysoo jaysoo force-pushed the fix/build-depends-on branch from 4fe9bbc to c7e4e54 Compare December 6, 2023 19:35
packages/vite/src/plugins/plugin.ts Outdated Show resolved Hide resolved
@jaysoo jaysoo force-pushed the fix/build-depends-on branch 2 times, most recently from 1531e99 to 5769ff7 Compare December 6, 2023 19:58
…ia plugins

Since targetDefaults will not exist later, we need to configure these on the inferred targets.
@jaysoo jaysoo force-pushed the fix/build-depends-on branch from 5769ff7 to 2e60f35 Compare December 6, 2023 20:52
@jaysoo jaysoo merged commit 3493c78 into nrwl:master Dec 6, 2023
6 checks passed
@jaysoo jaysoo deleted the fix/build-depends-on branch December 6, 2023 21:39
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants