-
Notifications
You must be signed in to change notification settings - Fork 0
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
Downstreamed changes from @embroider/[email protected] #71
Changes from all commits
3df6a06
46520db
2b996dd
c52a515
51afded
6e76093
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
// These will *not* be published as part of your addon, so be careful that your published code does not rely on them! | ||
<% if (options.packages.addon.hasGlint) { %> | ||
import '@glint/environment-ember-loose'; | ||
// import '@glint/environment-ember-template-imports'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. embroider-build/addon-blueprint#218 At the moment, the codemod doesn't check if |
||
|
||
declare module '@glint/environment-ember-loose/registry' { | ||
// Remove this once entries have been added! 👇 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ function setCompilerOptions( | |
compilerOptions.set('allowImportingTsExtensions', true); | ||
compilerOptions.set('allowJs', true); | ||
compilerOptions.set('declarationDir', 'declarations'); | ||
compilerOptions.set('rootDir', './src'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
if (!packages.addon.hasGlint) { | ||
compilerOptions.set('declaration', true); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
{ | ||
"plugins": [ | ||
"@embroider/addon-dev/template-colocation-plugin", | ||
"@babel/plugin-transform-class-static-block", | ||
[ | ||
"babel-plugin-ember-template-compilation", | ||
{ | ||
"targetFormat": "hbs", | ||
"transforms": [] | ||
} | ||
], | ||
["@babel/plugin-proposal-decorators", { "version": "legacy" }], | ||
"@babel/plugin-transform-class-properties" | ||
[ | ||
"module:decorator-transforms", | ||
{ | ||
"runtime": { | ||
"import": "decorator-transforms/runtime" | ||
} | ||
} | ||
] | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
embroider-build/addon-blueprint#231