-
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
core: implement json schema for workspace.json/provide docs #2299
Comments
Hi, sorry about this. This was mislabeled as stale. We are testing ways to mark not reproducible issues as stale so that we can focus on actionable items but our initial experiment was too broad and unintentionally labeled this issue as stale. |
Also would be nice to have the same for |
JSON Schema would speed up nrwl adoption , lower learning curve - please dedicate attention to this issue. |
Any update on this? I still face issues with fully understanding what this configuration file can and can't do. |
Up, would be a good addition to the tooling. |
What a shame, I thought this is already been done... I would have had expected this to exist since this quote kind of implies it "Nx helps architect, test, and build at any scale". |
@muuvmuuv Open a PR to match your profile description. |
Nx Console supports JSON schema for
For |
Nx Console v17.13.0 has been released. It supports JSON schemas for |
That's great, but JetBrains users have been left behind. I wish they'd just ship nx with these schemas. |
For a small bit more clarity as to the why schema defenitions are shipped as part of the nx-console extension, consider the options block on executors. Nx console is able to dynamically provide a schema such that those are validated, whereas in Nx those would be untyped. We can still ship a minimal schema, and perhaps we should, but the console extension will continue to override that schema in vscode. |
#10228) * feat(core): add nx.json, workspace.json, and project.json JSON schemas ISSUES CLOSED: #8574, #2299 * fix(core): add ajv to test generated config files based on JSON schema * fix(core): only add $schema to project.json if it is standalone and in create mode * feat(core): add migration to add json schema to config files for 14.2.0 * fix(core): adjust schemas * chore(core): adjust tests across repo to adhere to JSON schema if generated * fix(core): construct the json schema object instead of using a boolean flag * chore(core): add ajv tests for workspacejson and nxjson * chore(core): remove unnecessary standalone check
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
Currently there are no proper api docs regarding
workspace.json
config.Also there is deviation between web/react nx cli guides, as for web there is a commented section because of missing component schematic 😅(https://github.com/nrwl/nx/blob/master/docs/web/guides/cli.md)
Feature request:
The text was updated successfully, but these errors were encountered: