Skip to content

Rewrite relative import extensions with flag #59767

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

Merged
merged 30 commits into from
Sep 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
2439577
Rewrite relative import extensions with flag
andrewbranch Aug 26, 2024
2b06e62
Add error for unsafe CJS-style resolution
andrewbranch Sep 6, 2024
a398ad1
Update baselines
andrewbranch Sep 10, 2024
921f9ae
Add error for using .ts in non-rewritable paths
andrewbranch Sep 10, 2024
ac8a2fa
Silence error for referencing TS file in node_modules
andrewbranch Sep 10, 2024
6e62350
Fix CJS error message interpolation
andrewbranch Sep 10, 2024
c8ba95d
Update baseline
andrewbranch Sep 10, 2024
fce0a2d
Use sourceFileMayBeEmitted
andrewbranch Sep 10, 2024
1558c7f
Merge branch 'main' into rewrite-extensions
andrewbranch Sep 10, 2024
0d95ce2
Add error for referencing referenced project input file
andrewbranch Sep 10, 2024
b88dddc
Add test with different but parallel rootDir/outDir
andrewbranch Sep 11, 2024
4867001
Test all import/export declaration forms for emit
andrewbranch Sep 11, 2024
62dab48
Move transformations to module, rewrite dynamic import
andrewbranch Sep 17, 2024
d87beef
Merge branch 'main' into rewrite-extensions
andrewbranch Sep 17, 2024
3a52370
Make shim for import call / require
andrewbranch Sep 18, 2024
84fa9ff
Process all import calls
andrewbranch Sep 18, 2024
32b3be0
Shim require, but don’t shim if the argument is statically determinab…
andrewbranch Sep 18, 2024
094c03c
Fix existing tests
andrewbranch Sep 18, 2024
b1974e0
Fix shimming in CommonJS transform
andrewbranch Sep 19, 2024
a125bfd
Merge branch 'main' into rewrite-extensions
andrewbranch Sep 19, 2024
5a1d785
Update baselines after merge
andrewbranch Sep 19, 2024
5506655
Fix helper
andrewbranch Sep 23, 2024
5548868
Check for helper existence
andrewbranch Sep 23, 2024
b43ea23
Update baselines
andrewbranch Sep 23, 2024
d7b7e62
Sync helper with tslib PR
andrewbranch Sep 24, 2024
4f01fc1
Use firstOrUndefined
andrewbranch Sep 24, 2024
35c6438
Merge branch 'main' into rewrite-extensions
andrewbranch Sep 24, 2024
4c9557c
Rewrite rather than shim literal-argument require/import calls
andrewbranch Sep 24, 2024
d2a7841
Sync helper content
andrewbranch Sep 24, 2024
9f677d1
Fix indentation
andrewbranch Sep 24, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into rewrite-extensions
  • Loading branch information
andrewbranch committed Sep 10, 2024
commit 1558c7f0e20bf7ac43e7f27c116e0dff53396333

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.