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.12.0 Latest Release

Published by Igloczek almost 3 years ago

  • Dropped support for using gulp directly, all tasks need to be used via yarn [taskName] or npm run [taskName]
  • Rewritten ESLint task, integrated with watch and dev tasks
  • Added option to set a custom Babel config
  • New default config for Babel and Browserlist, that targets only most popular browsers in North America and Europe (no IE11)
  • Magepack tasks throws now more meaningful errors if required params were not set
  • Added support for Node.js v16, dropped  for Node.js v12
  • All dependencies got update to the latest version
  • Native ESM is now used internaly instead of pollified version
magento2-frontools - 1.11.0 - Magepack support

Published by Igloczek almost 4 years ago

Added

  • magepackGenerate and magepackBundle tasks - you don't need to install globally Magepack CLI anymore to optimize your theme performance
  • Option to import .js config files via getConfig helper

Changed

  • Minor dependencies bump
magento2-frontools - 1.10.1

Published by JKrupinski almost 4 years ago

Bump node-sass to v5.0.0 supported by Node.js v14.

magento2-frontools - 1.10.0

Published by Igloczek almost 4 years ago

  • Option to use Dart Sass compiler - Since Node Sass is now deprecated, we are adding an option to switch to Dart Sass. Unfortunately, Dart Sass doesn't support all Node Sass features, so for now we will keep the older solution as default, to simplify the migration process.
  • Node.js v14 LTS support added
magento2-frontools - 1.9.0

Published by Igloczek about 4 years ago

magento2-frontools - 1.8.1

Published by Igloczek almost 5 years ago

Fixes:

  • Not working dev, never ending browser sync initialization process- #365 #370

Updates:

  • Dependencies update
magento2-frontools - Gulp 4.x - Node.js LTS 12.x support

Published by Igloczek almost 5 years ago

Breaking changes

  • email-fix task was renamed to emailfix. To keep backward compatibility you can still use old naming via npm scripts yarn email-fix or npm run email-fix
  • AT themes.json in postcss config of the theme, you shouldn't use plugins.something anymore, but just something. Although, all dependencies are no longer automatically available everywhere, so if you wish to use some additional PostCSS plugin, you need to import it manually in helpers/scss.js file. Please check sample config

Under the hood changes

  • Rewrite to Gulp 4.x - ES Modules, cleaner code and other cool stuff
  • Node.js 12.x (active LTS) support
  • Dependencies clean up and update, including vulnerability fixes
magento2-frontools - 1.7.0

Published by Igloczek over 5 years ago

magento2-frontools - 1.6.0

Published by Igloczek almost 6 years ago

  • babel task now saves source maps to separate files, also in production mode - #335
  • new email-fix task to solve problems with inline emails styles on older Magento 2 versions - #247
  • Babel upgraded to 7.x - #343
  • Lots of dependencies upgrades
  • npm-shrinkwrap.json added to make npm installs safer
  • Required Node.js version set to >=8.9.0 <11.0.0 to target active LTS versions
magento2-frontools - 1.5.0 - Rewritten watch task and new svg task

Published by Igloczek over 7 years ago

  • rewritten watch task now handles also adding, removing, moving and renaming files on the fly. Also, issues related to nested SASS imports and hanging watcher should be now eliminated.
  • new svg task to easily generate SVG icons sprites
  • #208 - ability to disable adding .min to output files, while using --prod flag
  • dropped support for localeOverwrites, due to implementation complexity and ability to easily replace it with new child theme created just for these overwrites
  • partial Windows OS support dropped, due to implementation complexity and lack of the willingness to invest time on maintenance OS not supported by Magento platform
  • deploy and browser-sync task removed
magento2-frontools - 1.4.2 - Fixed inheritance resolver

Published by Igloczek over 7 years ago

magento2-frontools - 1.4.0 - It's time to say "Hi" to ES6/ES7 in Magento 2

Published by Igloczek over 7 years ago

  • Babel support has landed in Frontools 🔥
  • Inheritance engine now supports all types of files.
  • Added ignore param to help you with unwanted files from 3rd party modules.
  • Refactored deploy task are now using inheritance task results.
magento2-frontools - 1.3.10 - Fixed output size of styles compilation with --prod flag

Published by Igloczek over 7 years ago

Production ready code contains source maps, which makes CSS files extremely large (~2MB).

magento2-frontools - 1.3.7 - Fixed throwing proper errors during style compilation with --ci flag

Published by Igloczek over 7 years ago

magento2-frontools - 1.3.9 - Windows support added

Published by Igloczek over 7 years ago

magento2-frontools - 1.3.5 - Streams, streams... streams everywhere

Published by Igloczek over 7 years ago

I found a huge mistake in the way I was handling multiple gulp streams, which leads to bugy behavior of SASS lint, CSS lint and styles compilation.

magento2-frontools - 1.3.0 - Let's use modules!

Published by Igloczek over 7 years ago

Now you can map files partials and main SASS files from modules and use them as they will be inside your theme.

Check out sample config file to know how to use this feature.

magento2-frontools -

Published by Igloczek over 7 years ago

magento2-frontools - 1.2.0

Published by Igloczek over 7 years ago

  • added styleDir param to handle themes with different structure i.e. closer to Magento 2 default web/css
  • simplified theme.json configuration - removed lang param and postcss now have a default value
  • improved nested inheritance (#142 & #143)
magento2-frontools - 1.1.2 - removed npm-shrinkwrap.json

Published by Igloczek almost 8 years ago

npm-shrinkwrap.json file removed. If you want to keep safe versions of dependencies all the time, use Yarn, yarn.lock file is added to repository and will be updated in future.