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
[ENHANCEMENT] Add template tag setup to ember new
for apps
#10447
base: master
Are you sure you want to change the base?
Conversation
ember new
for appsember new
for apps
}, | ||
},<% if (templateTag) { %> | ||
// Template tag files | ||
{ |
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.
to do this we need to move everything out of the root-object of the .eslintrc and move everything to overrides because we can't have top-level parsers: https://github.com/ember-cli/ember-cli/pull/10447/files#diff-042c163c37338253d4a1cc6bf038fb8b4b45eebef94ebbd439a81c38b158dcb6R5
parsers can't be overridden by overrides, and lead to really weird hard to trace errors when you try
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.
{ | ||
// test files | ||
files: ['tests/**/*-test.{js,ts}'], | ||
files: ['tests/**/*-test.{js,ts<% if (templateTag) { %>,gjs,gts<% } %>}'], |
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.
no need for if statement (imo, obvs, but strongly), this should just be in the default.
@@ -89,17 +89,19 @@ | |||
"ember-page-title": "^8.2.0", | |||
"ember-qunit": "^8.0.2", | |||
"ember-resolver": "^11.0.1", | |||
"ember-source": "~5.7.0-beta.1", | |||
"ember-source": "~5.7.0-beta.1<% if (templateTag) { %>", | |||
"ember-template-imports": "^4.1.0<% } %>", |
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.
I don't think we can include ember-template-imports
, specifically, until this is resolved: ember-template-imports/ember-template-imports#228
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.
Couple blocking things
Adds setting up template tag dependencies for new Ember apps. (dependencies, configs)
Open question:
typescript
is enabled or not, making this complexer.Related: emberjs/tracking-polaris#33