Skip to content

Conversation

oyvindberg
Copy link
Collaborator

So far ST has looked at package.json to determine a subset of typings to include. Going forward all files will be translated. This solves #463

There are loads of details for computing shorter module names. These will be solved similar to how exports was solved in #486, by injecting "proxy modules" into the AST.

Note that some libraries ship typings for multiple hierarchies, typically in folders named src, es, es6 and so on. we'll now get all those duplicates as well.

@oyvindberg oyvindberg changed the base branch from master to predictable-module-names October 13, 2022 14:14
@oyvindberg oyvindberg marked this pull request as draft October 13, 2022 14:14
add `stShortModuleNames` (for sbt plugin) and `--shortModuleNames` for CLI which reverts to old behaviour.

Note that the old behaviour is deprecated
So far ST has looked at package.json to determine a subset of typings to include. Going forward *all* files will be translated. This solves #463

There are loads of details for computing shorter module names. These will be solved similar to how `exports` was solved in #486, by injecting "proxy modules" into the AST.

Note that some libraries ship typings for multiple hierarchies, typically in folders named `src`, `es`, `es6` and so on. we'll now get all those duplicates as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant