-
feat(misc): add nx syncing mechanism and update the typescript-sync generator (#26793)
发布于
2024-08-12 14:44:04 +00:00 - Add the
nx synccommand to run sync generators and apply changes to
bring the workspace up to date according to their logic. - Add the
nx sync:checkcommand to validate that the workspace is up
to date by running the sync generators without applying the changes. It
can be used on CI as a validation check. - Update the task runner to run the sync generators (or obtain their
state from the daemon) and prompt the user whether to apply the changes,
if any - This is only run if the
NX_ENABLE_SYNC_GENERATORSenvironment
variable is set to'true'- Allow the user to configure a default value for the prompt
- Update the
@nx/js:typescript-syncgenerator (keep tsconfig project
references in sync with the project graph) with misc fixes
Current Behavior
Expected Behavior
Related Issue(s)
Fixes #
下载附件
- Add the