magento2-frontools

Set of front-end tools for Magento 2 based on Gulp.js

MIT License

Downloads
1.1M
Stars
430
Committers
32

Bot releases are hidden (Show)

magento2-frontools - 1.1.0 - Improved SASS and CSS linting, better watching of themes with overwrites per locale

Published by Igloczek almost 8 years ago

Thanks to day on airports, in planes... being just offline, we have some new features in Frontools 🚀

  • Improved SASS and CSS linting - finally it's useful! Linting is now integrated in watch task and is fired only on changed files, giving you live feedback about issues in your code 💥 You can also manually disable linting using --disableLinting flag. Old tasks sasslint and csslint works same way, just checking whole codebase for issues.
  • Sourcemaps are now enabled by default - everyone use or should use source maps, so to keep commands shorter I decide to enable this option by default. You can disable this feature using --disableMaps flag.
  • Improved watching for themes with per locale overwrites - unnecessary compilations steps removed, everything is based on "smart" dependency tree engine, like in regular themes 🚀 #performance
  • Under the hood things - I'm not anymore generating dummy Gulp tasks for themes and locales, everything is just based on IIFE in helpers
magento2-frontools - 1.0.0 - Dropped LESS support, new inheritance engine, per locale overwrites and much more!

Published by Igloczek almost 8 years ago

👯‍♂️ Say hi to brand new 1.0.0 👯‍♂️

  • Dropped LESS support - You can still use older version of Frontools to compile your LESS themes
  • New inheritance engine - I'm not using includePaths param anymore. Everything is based on symlinks created in var/view_preprocesed, like in clean M2.
  • Per locale overwrites - thanks to new inheritance engine, you can easily overwrite styles partials per locale
  • Yarn support - brand new, super fast, package manager for Node.js support out of the box, with pre-generated yarn.lock
  • Current Node.js LTS version support- v6 branch
  • Improved styles processing - if your theme have few locales, but you are not using any kind of customizations, it will compile styles just once and save in all necessary places 🔥 #performance
  • Smarter files watching - watcher know which partial belong to which main file and compile only this one 🔥 #performance
  • Globby package improvements - build-in gulp globby package somehow is slow in some cases, so I just replace it with standalone version and get's like 20 faster files list generation 🔥 #performance
  • Watching other files like PHTML, XML and JS - now browser-sync will know that you save this file and will reload your browser automagically
magento2-frontools - 0.11.0 - Improved theme inheritance

Published by Igloczek about 8 years ago

Finally theme inheritance works fine! 🎆

  • SASS partials imports can be nested, no more copying whole directories to overwrite singe partial 🎉
  • static assets files, like fonts or images, are now inherited 💪

But also:

  • @timneutkens create a setup task to simplify installation of tools 🙇
  • CI tests added. Whole codebase are now checked using eslint with customized version of idiomatic.js rules 🔍
  • (as always) performance optimization 🐎

WARNING

If you are a SASS Blank theme user, you have to upgrade your theme to version 0.8.0 to use this release, b/c styles are now placed in different, better, directory structure.

magento2-frontools - 0.10.0 - Tools configuration outside of tools repository

Published by Igloczek over 8 years ago

Thanks to @timneutkens we have few new features:

  • ability to store configs outside of tools directory. Now you can keep them as other M2 configuration files in /dev/tools - let's read readme to get more info.
  • automatic node version switcher config file to avn
magento2-frontools - 0.9.0 - Theme inheritance

Published by Igloczek over 8 years ago

Added inheritance of themes partials, now you can easily modify i.e. single module, without copying whole theme.
Works for both sass and less (without //@magento_import, so you can't use blank or luma) themes.
To enable this feature add parent param to your theme configuration - check config/themes.json.sample

magento2-frontools - 0.8.0

Published by Igloczek over 8 years ago

  • There are no more tools folder in project root, everything stay in one place inside vendor. Now you can create symlink using gulp symlink task and use tools exactly same as before. This change requires to adjust directories paths - now almost everything works on absolute paths. Be sure to check sample config and update your themes.json!
  • All configs was renamed to samples, to simplify overwriting.
  • Added helper to check if proper config files was loaded, if not throw an error with description.
  • Updated node dependencies. There are few important bugs fixed in gulp-sass (i.e. you can't compile styles, when your theme contains not existing extends) package, so your theme may throw some errors during compilations and it's not my fault 😉 Other packages also may contains other important fixes, so pls check changelogs of updated packages.
  • Some minor refactoring #performance
magento2-frontools - 0.7.0

Published by Igloczek over 8 years ago

Default theme.json file was renamed to theme.json.example - tools will throw error when configuration file was not found.
Now you can create custom package containing only configuration files, instead of full copy.

Other changes:

  • improved dependencies loading - should be little bit faster
  • dependencies update
  • styles watching and compilation process ignores node_modules directories
magento2-frontools - 0.5.3

Published by Igloczek over 8 years ago

Thanks to @keithbentrup for contribution.

magento2-frontools - 0.5.0

Published by Igloczek over 8 years ago

#8, #9, #10 - Resolved.

magento2-frontools - 0.4.1

Published by Igloczek over 8 years ago

Fixed files paths for custom themes compiling - both styles and watch tasks was affected.

magento2-frontools - 0.4.0

Published by Igloczek over 8 years ago

  • Fixed watch tasks - now watcher can compile more than one file per theme locale. Memory leaks should be fixed too.
  • brower-sync task config moved to separate file - configs/browser-sync.json