-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 default configuration to nx schema #14298
fix(core): add default configuration to nx schema #14298
Conversation
…g` properties Ensure `defaultConfiguration` is available in the schema for `nx.json` so the default `defaultConfiguration` can be set for an executor. The PR [core: merge more target options from targetDefaults](https://github.com/nrwl/nx/pull/12435/files#diff-60e9fd49c694ec24c2e25e3201eeb2f4be115039b4c78218d74d8b73c7b38490) released in version 15.4.3 should have included this change.
…nit tests Ensure `defaultConfiguration` from `targetDefaults` and project `defaultConfiguration` merge behaviour is correct.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@AgentEnder I checked the I would suggest to not add any specific documentation because any supported property of an executor in We could add |
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. |
Current Behavior
The
defaultConfiguration
property for an executor is missing from nx-schema.json properties.Setting the
defaultConfiguration
property innx.json
for an executor does work though.Expected Behavior
The
defaultConfiguration
property exists in the nx-schema.json properties you don't get anProperty 'defaultConfiguration' is not allowed
warning.core: merge more target options from targetDefaults in release 15.4.3 should have included this change.
Related Issue(s)
Fixes #14214