Comments (9)
I feel like the TodoMVC mostly completes this issue. It just needs tests, so we can show people how to test their code with our test util classes.
Also, I personally feel like we should be using webpack / babel in our starter project instead of browserify / babel. Or JSPM (but webpack is better). That one is preferential I guess though.
We could make new stories for starter tests and for moving to webpack or jspm.
Thoughts anyone?
from ng-forward.
Yeah, there are thoughts about this. Pawel Kozlowski gave a talk on bundling with the different tools available. It should be on YouTube now. I need to watch it again myself and then try a few different things before I'll decide for myself.
from ng-forward.
Here is the link http://youtu.be/9odY9Rh5kTQ
from ng-forward.
Here's some output size comparisons. Apparently there is a new kid on the block as well, rollup. Which is good for library authors.
https://github.com/nolanlawson/rollup-comparison
from ng-forward.
Sorry I guess that last comment is really more pertinent to a discussion around moving the actual ng-forward repo to something other than browserify.
from ng-forward.
There is already an excellent Webpack starting repo for Angular 2 that would work with a TypeScript ng-forward just fine: https://github.com/angular-class/angular2-webpack-starter
Additionally, Browserify is listed as one of the leading build tools by Angular 2 developers (behind Webpack and tied with SystemJS): http://angularjs.blogspot.com/2015/09/angular-2-survey-results.html
Given that there is already a Webpack boilerplate, I think we would offer something both unique and useful to teams that want to see examples of TypeScript+Babel+Browserify.
from ng-forward.
@MikeRyan52 ok and there's probably a lot of people coming from browserify still. Seeing as ng-forward is geared towards migrating, I think its good to keep our starter on browserify + gulp.
from ng-forward.
I'll make a new story for adding tests to the TodoMVC
from ng-forward.
@timkindberg Yes! Test examples would be very helpful.
from ng-forward.
Related Issues (20)
- AsyncRoute for ng-forward HOT 1
- Use angular component HOT 1
- Resolve and Inject value parameter needs to be optional for static class methods
- emit is not a function on EventEmitter HOT 1
- can i use the new angular component router
- Problems using angular2 with ng-forward HOT 1
- ng-upgrade upgradeNg1Component does not work well HOT 2
- attribute binding HOT 4
- Ping! HOT 2
- $state and $location undefined ... need programmatic way to change URL for routing HOT 1
- ng-forward/testing still has issues
- how to write tests ? HOT 2
- Impossible to test a component with templateUrl HOT 2
- Implement the lifecycle hooks as interface
- Cannot mock dependencies HOT 3
- ui-router-alpha.5 problems HOT 3
- Could add easy @ViewChild in Typescript/ES6
- Are there any drawbacks for using the ng-upgrade on production? HOT 3
- Roadmap for ng-forward HOT 1
- EventEmitter.next() is still called EventEmitter.emit() in documentation [Easy Fix] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-forward.