-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the way we run create-docs and generate schema.json
1. Switch to direct run `nx docs editor` instead of `nx run-many`, because we only have `docs` target in editor; it's faster and less confusing 2. Accept path to `schema.json` from env var `SCHEMA_JSON_PATH`: - no hardcoded value, configurable on a correct level - if no var is provided we just don't generate schema.json - this path can also be provided as a 2nd arg for create-docs just in case 3. Apply linting to schema.json, so it won't be rejected by biome check later - biome is applied directly in package.json command, so any usage will have a correct file - `;` after env var set is required to use it in the command in the same line
- Loading branch information
Showing
2 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters