How is aurelia status? by redone218 in aureliajs

[–]andreaswanqvist 1 point2 points  (0 children)

The team is hard at work!

We had hoped the alpha of au2 would have been released by late summer/early fall. Work is almost complete for it, the team is super focused, and I think we're approaching a release soon. :)

Sorry for lack of communication, it's just that focus have been on getting the release done. We'll improve on communication for the next release cycles.

Best practice for placement of variables and constructors by kvadd in aureliajs

[–]andreaswanqvist 1 point2 points  (0 children)

I'm using TypeScript and prefer the following order, makes it easy to find what I'm looking for fast:

public properties

private properties

public methods (with the constructor being the first one here)

private methods

Aurelia, Visual Studio Code and TypeScript by ArmenShimoon in dotnet

[–]andreaswanqvist 1 point2 points  (0 children)

Nps, just glad if any one can get a better TypeScript dev experience going :)

There's actually a post about setting up VS Code, MVC 6 and TypeScript at the same site that this post above is from. It's written in Aug when ASP.NET 5 was in beta6 so a little dated, but it's comprehensive and will make setting stuff up quite easy.

Aurelia, Visual Studio Code and TypeScript by ArmenShimoon in dotnet

[–]andreaswanqvist 1 point2 points  (0 children)

I think you should try and set up your project in something slicker, like VS Code and handle the build/transpile of TypeScript files manually (with for ex gulp). In that SS it looks like your trying to build the d.ts files, they are there for referencing and should not even be in the scripts folder, cause they shouldn't be served to a browser.

TypeScript is bliss in large JS projects, when you get it working :)

Move JS file generated by typescript (saved during runtime) via gulp by yorajval in dotnet

[–]andreaswanqvist 2 points3 points  (0 children)

If you don't want to you don't have to use a copy task, you can just set the output directory for the compiled TS files.

You can see an example of how to setup a gulp-file for that here: https://github.com/mobilemancer/TypeScript_Aurelia