You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to add a JSON schema to my VSCode settings (json.schemas) so that the project.json files will be typed and Intellisense works.
Referencing https://raw.githubusercontent.com/nrwl/nx/master/packages/next/src/generators/application/schema.json works, except the tags array gives me a warning: Incorrect type. Expected "string".
https://raw.githubusercontent.com/nrwl/nx/master/packages/next/src/generators/application/schema.json should not be the schema of project.json.
The schema of project.json is not easily expressed as a single schema.json file. But we do have a VS Code extension that provides this schema with intellisense for project.json and more :)
Hello, I am trying to add a JSON schema to my VSCode settings (
json.schemas
) so that theproject.json
files will be typed and Intellisense works.Referencing
https://raw.githubusercontent.com/nrwl/nx/master/packages/next/src/generators/application/schema.json
works, except thetags
array gives me a warning:Incorrect type. Expected "string"
.I think that's because of the following:
nx/packages/next/src/generators/application/schema.json
Lines 98 to 102 in 33c9ca9
nx/packages/next/src/generators/library/schema.json
Lines 86 to 90 in 33c9ca9
Is it possible to change that into an array? Or is there another way to make the schema work?
Edit:
And while I'm at it, is there a schema.json available for
nx.json
that I can use?The text was updated successfully, but these errors were encountered: