Skip to content
This repository was archived by the owner on May 19, 2018. It is now read-only.
/ babylon Public archive
This repository was archived by the owner on May 19, 2018. It is now read-only.

Babylon Versioning #275

@hzoo

Description

@hzoo

Related:

Right now we are also trying to figure out babylon/babel versioning. Currently babel depends on the parser so if any proposal feature needs a spec update (would be a bug fix, but also breaking) we have to major bump babylon and thus babel. I think what we are thinking of doing is making each spec update a "separate" plugin name.?

{
  "plugins": [
    "template-literal-revision-stage-2",
    "template-literal-revision-stage-3", // or
    "template-literal-revision-sha-git-sha-here", // or
    "template-literal-revision-sha-tc39-meeting-date-here", // or
  ]
}
  • is it feasible to split all plugins into separate plugins (files) like jsx/flow currently are
  • separate files per spec change means no need for a major version bump in babylon (all experimental is opt-in)
  • each babel transform would require a specific babel plugin + do a major version bump to the new plugin string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions