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

refactor(swc/plugin_runner): refactor transform executor (#5060: Part 4) #5147

Merged
merged 3 commits into from
Jul 8, 2022

Conversation

kwonoj
Copy link
Member

@kwonoj kwonoj commented Jul 8, 2022

  • refactor(swc/plugin_runner): refactor transform executor
  • refactor(swc/plugin_macro): refine internal macro fn ident name

Description:

To introduce another call to plugin binary for schema version invalidation, PR refactors execution entrypoint bit to allow TransformExecutor can be used for subsequent calls.

Also amends internal swc_plugin_macro's ident name to clarify transform plugin. This'll probably break existing plugins and requires to bump up dependencies on each plugin's end. Something we should do before out of experimental flag.

BREAKING CHANGE:

Related issue (if exists):
#5060

@kdy1 kdy1 added this to the Planned milestone Jul 8, 2022
@kwonoj kwonoj force-pushed the refactor-trasnform-executor branch from a44952d to d942505 Compare July 8, 2022 03:51
@kwonoj kwonoj force-pushed the refactor-trasnform-executor branch from d942505 to 8fdb287 Compare July 8, 2022 04:16
Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, I'm just asking if it's possible

Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!


swc-bump:

  • swc_plugin_proxy --breaking

@kdy1 kdy1 enabled auto-merge (squash) July 8, 2022 05:21
Copy link
Collaborator

@swc-bot swc-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review comment generated by auto-rebase script

@kdy1 kdy1 merged commit e8214ba into swc-project:main Jul 8, 2022
@kdy1 kdy1 modified the milestones: Planned, v1.2.211 Jul 9, 2022
@kwonoj kwonoj deleted the refactor-trasnform-executor branch July 11, 2022 23:38
GiveMe-A-Name pushed a commit to GiveMe-A-Name/swc that referenced this pull request Jul 23, 2022
@swc-project swc-project locked as resolved and limited conversation to collaborators Oct 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants