-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
topic/289-typescript #293
topic/289-typescript #293
Conversation
yarn upgrade ember-cli@~3.27.0 Will need to use `ember install`, and this is broken in 3.28.0.
eslint-plugin-ember@10.5.5, prettier@2.4.1, qunit@2.17.2, release-it@14.11.6, broccoli-funnel@3.0.8
ember install ember-cli-typescript Manually moved ember-cli-typescript from devDependencies to dependencies. See https://docs.ember-cli-typescript.com/ts/with-addons#key-differences-from-apps
yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser typedoc
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.
Thank you for doing this. Just a few comments above.
"babel-eslint": "^10.1.0", | ||
"broccoli-asset-rev": "^3.0.0", | ||
"ember-cli": "~3.28.0", | ||
"ember-cli": "~3.27.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.
This seems like a mistake.
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, it is a workaround for a bug in ember-cli 3.28.0. Now that ember-cli-typescript is installed, we could upgrade back to 3.28.0, but I would wait for 3.28.1 to be released.
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.
Just this change left.
Edit: just saw your comment above.
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.
One last note.
@@ -2,6 +2,7 @@ | |||
|
|||
# compiled output | |||
/dist/ | |||
/doc/ |
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.
Should this change be copied to .npmignore
too?
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.
Yes. I did not notice the project had a .npmignore. I have pushed this change.
Many thanks for your contribution! 😍 |
Resolves #289 |
This includes the basic wiring for TypeScript and the conversion of one JavaScript file to TypeScript (as a first step for issue 289).