Skip to content

Definitely Typescript - #741

Closed
deontologician wants to merge 2 commits into
nextfrom
josh/monomania's-masonry
Closed

deontologician wants to merge 2 commits into
nextfrom
josh/monomania's-masonry

Conversation

@deontologician

@deontologician deontologician commented Aug 12, 2016 •

Copy link
Copy Markdown
Contributor

This is going to allow us to add and package typescript, I'll probably move modules incrementally.

Typescript 2.0
Webpack 2.1+

Also had to bump babel so we could get it to do es2015 for everything except modules (since webpack 2.0 has tree shaking with es6 module syntax)

TODO

  • port test webpack config over to webpack 2.0
  • fix npm scripts to use new webpack command line env options instead of cross-env
  • port all utils modules to typescript

This change is Reviewable

@deontologician deontologician added this to the First post-2.0 release milestone Aug 12, 2016
@deontologician deontologician self-assigned this Aug 12, 2016
Comment thread client/webpack.config.js
plugins.push(new OccurrenceOrderPlugin())
plugins.push(new UglifyJsPlugin({
compress: {
screw_ie8: false,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best option name ever.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally agreed 💯

@dalanmiller

Copy link
Copy Markdown
Contributor

Should we also define our custom Horizon types in this PR and also rip out Joi?

@deontologician

Copy link
Copy Markdown
Contributor Author

I dont think we have joi in the client now do we?

On Fri, Aug 12, 2016, 10:57 Daniel Alan Miller [email protected]
wrote:

Should we also define our custom Horizon types in this PR and also rip out
Joi?

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#741 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAFVtUwhbzwTsa3cyRGuh_A3ZtAJDVlks5qfLQLgaJpZM4Jivl6
.

@dalanmiller

Copy link
Copy Markdown
Contributor

Ahh I assumed we did, cause it's everywhere else.

@deontologician
deontologician force-pushed the josh/monomania's-masonry branch from d25bba9 to 44a773c Compare August 13, 2016 00:18
@deontologician
deontologician force-pushed the josh/monomania's-masonry branch from 44a773c to 6ca7ff7 Compare August 13, 2016 01:09
@deontologician

Copy link
Copy Markdown
Contributor Author

UNfortunately, coverage seems broke

@deontologician
deontologician force-pushed the josh/monomania's-masonry branch from 4d54451 to 288fd76 Compare August 13, 2016 02:20
@deontologician

Copy link
Copy Markdown
Contributor Author

Blargh, broke the tests again

@niieani

niieani commented Sep 22, 2016

Copy link
Copy Markdown

TypeScript 2.0 final was just released :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants