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

swc transpiler and new --transpiler option to use third-party transpilers #1160

Merged
merged 22 commits into from Feb 27, 2021

Commits on Nov 22, 2020

  1. Copy the full SHA
    19990d4 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2020

  1. Fix optional peer dep

    cspotcode committed Nov 23, 2020
    Copy the full SHA
    1551509 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2020

  1. wip

    cspotcode committed Nov 27, 2020
    Copy the full SHA
    fcd27cc View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2020

  1. Copy the full SHA
    77436c3 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f77e1b1 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2021

  1. More changes:

    - rename from ts-node/compilers/swc to ts-node/compiler/swc-experimental
    - add @swc/wasm fallback when @swc/core is not installed or available
    - expand TSCommon to include all api surface used by ts-node; use TSCommon consistently (should be extracted to a different PR)
    - ts-node's compiler loading logic detects a createTypescriptCompiler function and will invoke it to get instance of compiler
    - fix ts-node's sourcemap comment appender to work even when TS compiler does not append a sourcemap comment.  swc does not append such a comment
    cspotcode committed Jan 17, 2021
    Copy the full SHA
    c82c820 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b13a631 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    78b49e3 View commit details
    Browse the repository at this point in the history
  4. lint fixes

    cspotcode committed Jan 17, 2021
    Copy the full SHA
    230f638 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    f1b1be0 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

  1. Switch from hacky overloading the "compiler" config to implementing a…

    … new, dedicated custom transpiler API
    cspotcode committed Feb 23, 2021
    Copy the full SHA
    ab67165 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c1548cf View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    369d43a View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    7103b68 View commit details
    Browse the repository at this point in the history
  5. fixes

    cspotcode committed Feb 23, 2021
    Copy the full SHA
    026b4c1 View commit details
    Browse the repository at this point in the history
  6. add missing test files

    cspotcode committed Feb 23, 2021
    Copy the full SHA
    d72dbd0 View commit details
    Browse the repository at this point in the history
  7. add @swc/core dep to tests

    cspotcode committed Feb 23, 2021
    Copy the full SHA
    52082fd View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    7a855ed View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2021

  1. Copy the full SHA
    6fe8249 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    14671a3 View commit details
    Browse the repository at this point in the history
  3. fix

    cspotcode committed Feb 27, 2021
    Copy the full SHA
    c3c5a3e View commit details
    Browse the repository at this point in the history
  4. cleanup comments

    cspotcode committed Feb 27, 2021
    Copy the full SHA
    1a06089 View commit details
    Browse the repository at this point in the history