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

fix #334: support automatic JSX runtime #2349

Merged
merged 24 commits into from
Jul 28, 2022
Merged

fix #334: support automatic JSX runtime #2349

merged 24 commits into from
Jul 28, 2022

Commits on Jun 24, 2022

  1. Add new JSX options to API

    jgoz committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    90db88d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34a0667 View commit details
    Browse the repository at this point in the history
  3. Default options, parse pragmas

    jgoz committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    9d81ee7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9e00cd7 View commit details
    Browse the repository at this point in the history
  5. Parsing and import generation

    jgoz committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    2a6495a View commit details
    Browse the repository at this point in the history
  6. tsconfig tests

    jgoz committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    032c9e2 View commit details
    Browse the repository at this point in the history
  7. JS API tests

    jgoz committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    fe60076 View commit details
    Browse the repository at this point in the history
  8. Parser tests

    jgoz committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    8e4a46c View commit details
    Browse the repository at this point in the history
  9. Add sourcemap tests

    jgoz committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    ff5ec74 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2022

  1. Configuration menu
    Copy the full SHA
    7934001 View commit details
    Browse the repository at this point in the history
  2. Add namespace tests

    jgoz committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    3676e5b View commit details
    Browse the repository at this point in the history
  3. Clean up tests

    jgoz committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    428cdb1 View commit details
    Browse the repository at this point in the history
  4. Remove unused JSX consts

    jgoz committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    add10ea View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2022

  1. Merge branch 'master' into jsx-runtime

    # Conflicts:
    #	internal/js_parser/js_parser.go
    jgoz committed Jul 23, 2022
    Configuration menu
    Copy the full SHA
    f740295 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f9ddc9 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Configuration menu
    Copy the full SHA
    f430a16 View commit details
    Browse the repository at this point in the history
  2. Some fixes for jsx source positions

    * Improve line/column performance by not repeatedly scanning backward
    * Column numbers are supposed to be 1-based to match Babel, not 0-based
    * Column numbers should be in UTF-16 code units to match Babel, not bytes
    evanw committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    8ae6058 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e6c025 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    033eaa1 View commit details
    Browse the repository at this point in the history
  5. Do not attempt to rewrite JSX symbols with define

    The define feature only applies to globals and "automatic" JSX symbols are never globals, so this never did anything.
    evanw committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    431db4f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1cdd684 View commit details
    Browse the repository at this point in the history
  7. Merge --jsx-runtime into --jsx

    I find it confusing to have both `--jsx` and `--jsx-runtime` since the underlying state is really only one of three settings. This merges both of them, which is similar to what TypeScript does. I have kept the `--jsx-development` option
    separate because the desire is to be able to override TypeScript's settings. But I have shortened it to `--jsx-dev` to make specifying it on the command line easier.
    evanw committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    2f63726 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    93f9ea4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c20f3c2 View commit details
    Browse the repository at this point in the history