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): local plugins should be able to use {projectRoot} in options block #23068

Merged
merged 1 commit into from Apr 30, 2024

Conversation

AgentEnder
Copy link
Member

@AgentEnder AgentEnder commented Apr 29, 2024

…ns block

Current Behavior

Local nx plugins registered in nx.json are looked up by their build target's main option. This is read from a partial projects configuration without any of the custom plugin inference.

Because of how this partial graph was constructed, {projectRoot} and similar tokens were not properly inlined, resulting in plugin failing to load.

Expected Behavior

Tokens are inlined at the time of project configuration construction

Related Issue(s)

Fixes #22940
Fixes #23083

@AgentEnder AgentEnder requested a review from a team as a code owner April 29, 2024 14:40
Copy link

vercel bot commented Apr 29, 2024

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 Apr 30, 2024 9:41pm

@AgentEnder AgentEnder force-pushed the fix/local-plugins-project-root branch 3 times, most recently from 12367d1 to 372c839 Compare April 30, 2024 18:23
@AgentEnder AgentEnder force-pushed the fix/local-plugins-project-root branch from 372c839 to dcace4c Compare April 30, 2024 21:39
@AgentEnder AgentEnder merged commit abd80cf into nrwl:master Apr 30, 2024
6 checks passed
Copy link

github-actions bot commented May 6, 2024

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 May 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants