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

Configured allowImportingTsExtensions in the addon's tsconfig.json #61

Merged
merged 3 commits into from
Aug 12, 2023

Conversation

ijlee2
Copy link
Owner

@ijlee2 ijlee2 commented Aug 12, 2023

Description

Downstreamed a bug fix in @embroider/addon-blueprint#160.

As indicated in the release notes for tag 0.9.1, a TypeScript addon (created with @embroider/addon-blueprint) must now:

  • Set allowImportingTsExtensions to true in tsconfig.json
  • Add the file extension .ts to all relative import paths

In this pull request, I allowed the codemod to configure allowImportingTsExtensions for the end-developer. Adding the file extension .ts is out of scope (i.e. for now, the end-developer must manually add it), but may be considered at a later point.

@ijlee2 ijlee2 added the bug Something isn't working label Aug 12, 2023
@ijlee2 ijlee2 marked this pull request as ready for review August 12, 2023 07:15
@ijlee2 ijlee2 merged commit 607bb9a into main Aug 12, 2023
@ijlee2 ijlee2 deleted the bugfix-update-tsconfig-json branch August 12, 2023 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant