|
| 1 | +--- |
| 2 | +title: "Netcentric FE Build v2.0.0" |
| 3 | +date: 2022-05-06T08:00:00+06:00 |
| 4 | +draft: false |
| 5 | +author: |
| 6 | + name: "Raul Parralejo" |
| 7 | + url: "https://github.com/netcentric/fe-build/" |
| 8 | +type: "post" |
| 9 | +--- |
| 10 | + |
| 11 | +We are proud to announce the release of a major version of the [Netcentric FE Build](https://github.com/netcentric/fe-build/), an all-in-one solution for building modern frontend projects, with special focus on [AEM](https://business.adobe.com/products/experience-manager/adobe-experience-manager.html) (Adobe Experience Manager). |
| 12 | + |
| 13 | +The FE Build is a public [npm module](https://www.npmjs.com/package/@netcentric/fe-build) that can be integrated in any project running AEM in order to lint the source files, to compile [SASS](https://sass-lang.com/) and run [PostCSS](https://postcss.org/) plugins on it (like [Autoprefixer](https://github.com/postcss/autoprefixer)), to transpile (and polyfill if needed) ECMAScript 2016+ code into ES5, and to automatically create [clientLibs](https://experienceleague.adobe.com/docs/experience-manager-64/developing/introduction/clientlibs.html?lang=en) from the source files to embed the optimized code. |
| 14 | + |
| 15 | +If you want to start using the FE Build in your project, please follow the official guide 👉 [Netcentric/fe-build](https://github.com/Netcentric/fe-build). |
| 16 | + |
| 17 | +## Breaking Changes |
| 18 | + |
| 19 | +This release contains breaking changes. We know these can be disruptive, but they were needed to keep the dependencies updated. |
| 20 | + |
| 21 | +[Stylelint v14](https://stylelint.io/migration-guide/to-14/) does not no longer includes the syntaxes that parse CSS-like languages like SCSS. You will need to install and configure these syntaxes in your project. We recommend extending a shared config like [@netcentric/stylelint-config](https://github.com/Netcentric/stylelint-config) that includes the appropriate syntax to lint SCSS. |
| 22 | + |
| 23 | +### Migration Guide |
| 24 | +First, install the shared config as a dependency: |
| 25 | +``` |
| 26 | +npm install --save-dev @netcentric/stylelint-config |
| 27 | +``` |
| 28 | + |
| 29 | +Then, update your [Stylelint configuration object]((https://stylelint.io/user-guide/configure/)) to use it: |
| 30 | +``` |
| 31 | +{ |
| 32 | + "extends": "@netcentric/stylelint-config", |
| 33 | + "rules": { |
| 34 | + .. |
| 35 | + } |
| 36 | +} |
| 37 | +``` |
| 38 | + |
| 39 | +## Changelog |
| 40 | +### Features |
| 41 | + |
| 42 | +- Adds migration guide ([e537ab1](https://github.com/netcentric/fe-build/commit/e537ab1f2ac12ecfb370459af66f98d9b4a38576)). |
| 43 | +- Adds supported node.js versions ([31e9371](https://github.com/netcentric/fe-build/commit/31e93719b3c6263b42bed86545e8a70782fb77f0)). |
| 44 | +- Updates stylelint to v14.6.1 and removes obsolete `syntax` option ([18742aa](https://github.com/netcentric/fe-build/commit/18742aadba82e5b83c7995e6a5c6b145101bf490)). |
| 45 | + |
| 46 | +### Bug Fixes |
| 47 | + |
| 48 | +- Removes support for IE Mobile (browserlist) ([344d97e](https://github.com/netcentric/fe-build/commit/344d97e3e1af3839b1a2d30b742006ab998b87c3)). |
| 49 | +- Updates eslint-plugin-import because current version is not supported by eslint v7 ([2b6aeff](https://github.com/netcentric/fe-build/commit/2b6aeff713840c97a3fdb1c2f67b0911ab01575e)). |
| 50 | + |
| 51 | +## About Netcentric Open Source Projects |
| 52 | + |
| 53 | +The FE Build, as other projects in the [Netcentric open source space](https://github.com/Netcentric), is the result of the effort of your colleagues at Netcentric. Anyone can be part of it and help to make it better. If you find an issue, please don't hesitate and [open an issue](https://github.com/Netcentric/fe-build/issues) in Github. Or, even better, open a pull request and start [contributing](https://github.com/Netcentric/fe-build/blob/main/docs/CONTRIBUTING.md) to our open source projects ❤️. |
| 54 | + |
0 commit comments