Skip to content
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

[heft] Create prerelease for multi-phase Heft #3634

Merged

Conversation

D4N14L
Copy link
Member

@D4N14L D4N14L commented Sep 16, 2022

Summary

Merge all Heft related changes required to implement multi-phase Heft for the creation of a prerelease version. Implements much of the specification created at #3181.

Highlights:

  • Converts Heft to execute using a similar pipeline to Rush instead of following a hardcoded set of tasks
  • Updates heft.json to allow specification of phases and tasks
    • Each phase is made up of tasks
    • Tasks take dependencies on other tasks within the same phase
    • Phases take dependencies on other phases
  • Allows for running a scoped set of actions using Rush-like syntax (ex. heft run --to build will run all phases up to and including the build phase, heft run --only build will run only the build phase)
  • Heft actions are implicitly defined through phases (ex. heft build is equivalent to heft run --to build)
  • Parameters are defined via JSON
    • Duplicate parameters provided by multiple plugins are allowed through the use of scoped plugins (ex. --PluginA:my-parameter and --PluginB:my-parameter parameters are created when both PluginA and PluginB define --my-parameter)
  • First-class incremental watch-mode support

D4N14L added 30 commits June 28, 2022 13:18
Update @rushstack/heft-jest-plugin to be compatible with multi-phase Heft
D4N14L added 22 commits August 26, 2022 17:40
…pack

Add incremental build support for Webpack plugins
…ingsGenerator

[heft-sass-plugin] Add support for incremental watch mode without the use of a separate watcher
@D4N14L D4N14L changed the title User/danade/multi phase heft Create prerelease for multi-phase Heft Sep 16, 2022
@D4N14L D4N14L changed the title Create prerelease for multi-phase Heft [heft] Create prerelease for multi-phase Heft Sep 16, 2022
@iclanton iclanton merged commit b066337 into microsoft:release/heft-0.48.0-dev.0 Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants