Releases: SnowdogApps/magento2-frontools
1.1.0 - Improved SASS and CSS linting, better watching of themes with overwrites per locale
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 taskssasslint
andcsslint
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
1.0.0 - Dropped LESS support, new inheritance engine, per locale overwrites and much more!
👯♂️ 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 invar/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
0.11.0 - Improved theme inheritance
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.
0.10.0 - Tools configuration outside of tools repository
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
0.9.0 - Theme inheritance
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
0.8.0
- There are no more
tools
folder in project root, everything stay in one place insidevendor
. Now you can create symlink usinggulp 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 yourthemes.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
0.7.0
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
0.5.3
Thanks to @keithbentrup for contribution.