Aurelia CLI - Visual Studio 2017/2019 Tools

#42

This is looking nicer and helps with learning so thanks!

2 Likes
#43

Implemented Visual Studio contextual commands and menus for adding items:

  • Attribute
  • Binding Behavior
  • Component
  • Element
  • Generator
  • Navigation Renderer
  • Component
  • Task
  • Value Converter

This makes building out a project even quicker and easier.

Still much more to do, but I will update soon. See above post for download and info.

2 Likes
#44

I have updated and provided a new download with the following:

  • Re-worked wizard to be a single paginated form
  • Dependency editor added to wizard
  • Context command for package.json file to manage dependencies
  • Back button in wizard to select different template
  • Minor bug fixes

See above post for download and more information on what is arriving soon..

1 Like
#45

wanted :smiley:

  • Dependency editor added to wizard

awesome! It looks very nice in the video

  • Context command for package.json file to manage dependencies

lol nice

  • Back button in wizard to select different template

cool, was this a lot of work to figure out what to delete and add?

1 Like
#46

It is still very basic but it provides an idea of direction of travel.

I am not quite sure I understand the question, but in general, the implementation was quite simple as the current state of packages is available in the package.json file.

I also aim to have the ability to add dependency import statements to elements via the new item wizard and via right-click context commands. A small feature, but it makes sense to me.

Then there is the online templates I posted about last year some time; that is already part working.

1 Like
#47

A recent comment from Thomas at https://github.com/aurelia/aurelia/issues/328#issuecomment-475232850 signals there should be some common “dehydrated” file format for scaffolding an Aurelia application. I think it’d be great

1 Like
#48

Yes, this is something that I have considered, or at least similar to. It would be relatively simple achieve if the model used to describe the site structure and dependencies is formalised. This model could then be populated, serialised and saved by the user for a later date. To use it as a basis for a new project an OpenFileDialog (or something similar) can be used to select a previously saved .json file, then push that through the same service that generates the a project. This is not actually that far away as things stand.

1 Like
#49

Added some bug fixes on the Babel templates since I have not really looked too much at these recently and there were some issues.

  • Fixed all context commands for Babel based template option
  • Fixed TypeScript appearing in JavaScript template
  • Some other miscellaneous lint fixes

Nothing worth creating another video for, but the Babel side of things works much better than before.

See above post for download and more information on what is arriving soon..

1 Like
#50

@thomas-darling - Check out this .net core console app it does something close to what you are suggesting for scaffolding.

1 Like
#51

I have updated the extension (again :grinning:). It now uses aurelia-cli v1.0.0-beta.14 and has updated packages.

See above post for download and more information on what is arriving soon..

2 Likes
#52

lol too fast updates! :joy: I only updated today!

1 Like
#53

Another update. Based on a post made by @bigopon here. The ability to save a project template, complete with pages and plugins, for later use.

Update includes:

  • Create and save project templates
  • Generate new projects from saved templates
  • Some refactoring and bug fixes

See above post for download and more information on what is arriving soon..

3 Likes
#54

— Awesome :smiley:

2 Likes
#55

@constructor

Any chance to use it by Visual Studio 2019?

3 Likes
#56

@HamedFathi Yes. This will be the next update. I have to admit that I have not yet installed VS 2019. I like to keep my system as stable and fast as possible.

3 Likes
#57

Updated as @HamedFathi requested.

Update includes:

  • Update to be Visual Studio 2019 & Visual Studio 2017 compatible
  • Create and save project templates
  • Generate new projects from saved templates
  • Some refactoring and bug fixes

IMAGE ALT TEXT HERE

See above post for download and more information on what is arriving soon..

4 Likes
#58

I have updated the extension with the following:

  • Both Visual Studio 2017 and 2019 should now work via the same download.
  • There is now a file format check for saved project template files.

There was not much at all required to change in order to enable both versions of Visual Studio to be served from the same extension, only some package conflicts.

See above post for download and more information on what is arriving soon..

2 Likes
#59

Wow. You are fast with these things. Nice!!

3 Likes
#60

I have updated the extension with the following:

  • A new Visual Studio Aurelia template with no CLI dependency
  • Very lightweight and fast
  • A few miscellaneous bug fixes

I was aiming for a fast light-weight and transparent template that provides fast performance.

The video shows a new project with very basic navigation, adding pages and other elements followed by publishing to a stand alone self hosting site in a little over 4 mins and 4MB.

See above post for download and more information on what is arriving soon..

2 Likes
#61

Awesomeee! :laughing:

2 Likes