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

Client dependency updates, move to TypeScript #47

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

neodescis
Copy link
Contributor

@neodescis neodescis commented May 19, 2018

Done:

  • Updated routing to use react-router 4.x
  • Added stylelint
  • Updated to gulp 4
  • Migrated to TypeScript
  • Updated .eslintrc to support change to TypeScript
  • Updated most libraries to @latest
  • Updated README

Still to be done:

  • I didn't enforce types on the actions accepted by the reducers, as it didn't seem worth the trouble, but it might be worth doing at some point
  • Update redux-form to @latest
  • Bring back bootstrap-loader if/when it is compatible with Webpack 4 (using a CDN to retrieve the styles for now)
  • Upgrade redux to v4 when redux-thunk's typings are compatible with it

resolves #38 resolves #39 resolves #31

@neodescis neodescis changed the title Client updates Client dependency updates, move to TypeScript May 19, 2018
@neodescis
Copy link
Contributor Author

K, I think the PR is ready. Let me know if you see anything that needs attention. I managed to get bootstrap-loader working again. Apparently switching to TypeScript broke HMR, so I got that working again last night.

);

// Server .NET Core
gulp.task('restore-dotnet-packages', () =>
Copy link
Owner

Choose a reason for hiding this comment

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

@neodescis, I don't think the gulpfile should be responsible for the dotnet stuff. We could update the csproject to hook up to the Build/Clean targets to run related gulp tasks, but the over-arching build process of dotnet should be left up to the implementation (wether they use Cake, dotnet-script, make, etc).

Can you remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pauldotknopf, I can take it out if you like; I like gulp for orchestrating, so this is how I've been running things for development. Perhaps more importantly though, if I remove this, then the webpack dev middleware and HMR go with it, since they are tied into browsersync and its proxy to the dotnet server. You sure you want me to take it out? Up to you.

@pauldotknopf
Copy link
Owner

I finally got around to look at this, and I am very thankful! You did a lot of amazing work.

Once it's merged, I'll give you a by-line.

I'd love to buy you a beer. Got a PayPal? Email it to me, if you like.

@neodescis
Copy link
Contributor Author

Ha, not a problem, it's been my pleasure. Glad to give back! You've done really excellent work yourself, especially with the underlying view engine. I'm happy to accept a beer. I appreciate the gesture; I definitely wasn't expecting anything in return :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants