SGC - Gulp Toolchain 2.0 (Free Version, ES6 and more)

SGC - Gulp Toolchain 2.0 (Free Version, ES6 and more)

Philipp Nowinski 11. October 2016 Releases

0 Comments // Reading Time: 4 min.

Today we are happy to announce the release of version 2.0.0 of our Gulp-based command line tool, the SGC. Beside some bugfixes, some interesting features have been added to the release, which make the daily work easier and modernize the whole workflow.

The 2.0.0 release is also characterized by valuable feedback and suggestions from the community! Thanks for the lively exchange at this point - so the further development is fun :-)

Features – what is new?

The 2.0.0 release comes with a few new features, but two can be especially emphasized: ECMAScript6 / TypeScript support and the general support of Windows systems!

In addition, SGC purchasers now have the opportunity to get direct access to the Gitlab repository. The SGC is delivered with its own composer.json file and can therefore be directly defined as a dependency for projects via our Satis via Composer. Updates can of course also be obtained in this way. Usually even before a new version is officially released via the shop. Please write us a short mail with your Gitlab account and we will add you directly.

ECMAScript6

ECMAScript6 is the next version of the JavaScript standard. ES6 gives the language many new features and concepts. We have been using some of the new standard productively for some time now, which has a very positive influence on our JavaScript code overall. It is definitely worth investing some time here and getting familiar with the new syntax bit by bit. So that ES6 can already be used today in all relevant browsers, the SGC contains a transpilation process based on Babel, which translates the new ES6 syntax to ES5. In the .sgc-config.json only the value js.compiler has to be set to 'es6'.

TypeScript

Long before ES6 was a viable standard, a large number of projects tried to compensate for the missing features of the language with their own extensions. A very well known example, through its use in Angular2, is Microsoft's TypeScript. Those who prefer TypeScript as a language can now simply set the value js.compiler to 'typescript'. TypeScript files are thus transposed to ES5 code in the same way as ES6 code.

Windows Support

With version 2.0.0 the use on Windows computers is supported for the first time. However, there are a few points that have to be considered. The use of the SGC was tested exclusively under the git-bash for Windows. If you use git, you have probably already installed it. Furthermore NVM, the Node Version Manager has to be installed manually before. Once these hurdles have been cleared, nothing should stand in the way of using the SGC. We are happy to finally welcome Windows users to the SGC world :-)

If you have any questions or problems using the SGC under Windows, feel free to create an issue in our bugtracker.

SCSS-Linter

What was already included in our Gulp-Toolchain, the predecessor of the SGC, for the JavaScript area, is now finally entering the world of styling. Linter are QA tools that examine code for violations of coding guidelines. If code is encountered that does not meet the agreed standards, an error message is issued to the user when compiling. Compliance with formal rules within a team is of central importance when it comes to maintainability and understanding the code base. To ensure this, a configuration file with the name .scss-lint.yml can be stored in the project folder, similar to JsHint. Scss-Lint then checks each compilation step against the rules agreed herein and issues error messages if necessary. Our configuration files can be used as examples: .jshintrc, .scss-lint.yml.

SGC Version X

The development of the SGC will continue and the list of plans and ideas for the next versions is already long. We are always looking forward to your suggestions and suggestions for further development. Feature requests, questions and bug reports can be posted in our Bugtracker at any time.

Get it while it's hot!

Customers can now download the new release in our Shop. Version 2.0.0 is the first free version of the toolchain with a limited feature set. Would you rather find out first whether the tool is suitable for your workflow at all? Then you've come to the right place: SGC Free. If you have any questions about the SGC or our other products, please feel free to contact us at any time.


0 Comments

No comments.
    Drop files here