发布

  • feat(misc): add nx syncing mechanism and update the typescript-sync generator (#26793)

    frostbyte_neo 发布于 2024-08-12 14:44:04 +00:00

    • Add the nx sync command to run sync generators and apply changes to
      bring the workspace up to date according to their logic.
    • Add the nx sync:check command 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_GENERATORS environment
      variable is set to 'true'
      • Allow the user to configure a default value for the prompt
    • Update the @nx/js:typescript-sync generator (keep tsconfig project
      references in sync with the project graph) with misc fixes

    Current Behavior

    Expected Behavior

    Related Issue(s)

    Fixes #

    下载附件