Skip to content

Commit 2c2c4f2

Browse files
authored
Merge pull request #26 from Netcentric/fe-build-2
Fe build 2
2 parents cc2281d + 245ad66 commit 2c2c4f2

File tree

7 files changed

+116
-4
lines changed

7 files changed

+116
-4
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run format

content/blog/2022-01-09.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Netcentric is proud to have launched this microsite to showcase our open source
1414

1515
We will use this as a platform to update the community on repository milestones and updates in general.
1616

17-
For now head over to our [Github Organization](https://github.com/Netcentric). Fork any repo and contribute!
17+
For now head over to our [Github Organization](https://github.com/Netcentric). Fork any repo and contribute!

content/blog/2022-01-10.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ Pull requests are welcome! ❤️
2222

2323
## Grab it
2424

25-
👉 [Netcentric/stylelint-config](https://github.com/Netcentric/stylelint-config)
25+
👉 [Netcentric/stylelint-config](https://github.com/Netcentric/stylelint-config)

content/blog/2022-05-06.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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+

content/code-of-conduct/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ draft: false
55
layout: page
66
---
77

8-
{{% codeofconduct %}}
8+
{{% codeofconduct %}}

npm-shrinkwrap.json

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "netcentric.github.io",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "Netcentric Open Source Site",
5+
"scripts": {
6+
"format": "prettier --write ./content/**/*.md",
7+
"prepare": "husky install"
8+
},
59
"repository": {
610
"type": "git",
711
"url": "git+https://github.com/Netcentric/netcentric.github.io.git"
@@ -18,5 +22,9 @@
1822
"dependencies": {
1923
"@fullhuman/postcss-purgecss": "^4.1.3",
2024
"postcss-cli": "^9.1.0"
25+
},
26+
"devDependencies": {
27+
"husky": "^7.0.4",
28+
"prettier": "^2.6.2"
2129
}
2230
}

0 commit comments

Comments
 (0)