Skip to content

Commit 4df5871

Browse files
committed
Release 5.3.0
- Packages major versions update. - Demo page update.
1 parent f636734 commit 4df5871

10 files changed

Lines changed: 1082 additions & 881 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Change log
22

3+
## [5.3.0](https://github.com/WeAreAthlon/frontend-webpack-boilerplate/releases/tag/v5.3.0)
4+
### 16/02/2021
5+
6+
### Documentation Updates
7+
8+
* _README_ documentacion available as HTML version in the demo page [index.html](src/templates/index.html)
9+
* Built demo page is available on https://weareathlon.github.io/frontend-webpack-boilerplate/
10+
11+
### Packages Major Version Updates
12+
13+
+ `html-webpack-plugin@5.0.1` from `4.x` new features can be found on the official [release notes](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md#500-2021-02-03).
14+
+ `postcss-loader@5.0.0` from `4.x` new features can be found on the official [release notes](https://github.com/webpack-contrib/postcss-loader/releases/tag/v5.0.0).
15+
+ `sass-loader@11.0.1` from `10.x` new features can be found on the official [release notes](https://github.com/webpack-contrib/sass-loader/releases/tag/v11.0.0).
16+
17+
### Package Versions Update
18+
19+
+ `ajv@7.1.0`
20+
+ `autoprefixer@10.2.4` change log can be found on the official [release notes](https://github.com/postcss/autoprefixer/releases/tag/10.2.4).
21+
+ `@babel/preset-env@7.12.16` change log can be found on the official [release notes](https://github.com/babel/babel/releases/tag/v7.12.16).
22+
+ `@babel/core@7.12.16` change log can be found on the official [release notes](https://github.com/babel/babel/releases/tag/v7.12.16).
23+
+ `eslint@7.20.0` change log can be found on the official [release notes](https://github.com/eslint/eslint/releases/tag/v7.20.0).
24+
+ `css-loader@5.0.2` change log can be found on the official [release notes](https://github.com/webpack-contrib/postcss-loader/releases/tag/v5.0.2).
25+
+ `mini-css-extract-plugin@1.3.7` change log can be found on the official [release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases/tag/v1.3.7).
26+
+ `postcss@8.2.6` change log can be found on the official [release notes](https://github.com/postcss/postcss/releases/tag/8.2.6).
27+
+ `sass@1.32.7` change log can be found on the official [release notes](https://github.com/sass/dart-sass/releases/tag/1.32.7).
28+
+ `webpack@5.22.0` change log can be found on the official [release notes](https://github.com/webpack/webpack/releases/tag/v5.22.0).
29+
+ `webpack-bundle-analyzer@4.4.0` change log can be found on the official [release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md#440).
30+
+ `webpack-cli@4.5.0` change log can be found on the official [release notes](https://github.com/webpack/webpack-cli/releases/tag/v4.5.0).
31+
332
## [5.2.2](https://github.com/WeAreAthlon/frontend-webpack-boilerplate/releases/tag/v5.2.2)
433
### 15/01/2021
534

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Webpack 5 Boilerplate Template
22

33
![Maintenance](https://img.shields.io/maintenance/yes/2021?logo=github)
4-
![webpack-current](https://img.shields.io/badge/webpack-v5.15.0-green?logo=webpack)
4+
![webpack-current](https://img.shields.io/badge/webpack-v5.22.0-green?logo=webpack)
55
![node-current (scoped)](https://img.shields.io/node/v/@weareathlon/frontend-webpack-boilerplate)
66
[![Build Status](https://api.travis-ci.org/weareathlon/frontend-webpack-boilerplate.svg?branch=master)](https://travis-ci.org/weareathlon/frontend-webpack-boilerplate)
77
[![GitHub Issues](https://img.shields.io/github/issues-raw/WeAreAthlon/frontend-webpack-boilerplate)](https://github.com/WeAreAthlon/frontend-webpack-boilerplate/issues)
@@ -162,7 +162,7 @@ $ npm run watch
162162

163163
This command is suitable if you develop with external web server.
164164

165-
**Note:** File watching does not work with *NFS* (*Windows*) and virtual machines under *VirtualBox*. Extend the configuration in such cases by:
165+
> **Note:** File watching does not work with *NFS* (*Windows*) and virtual machines under *VirtualBox*. Extend the configuration in such cases by:
166166
167167
```js
168168
module.exports = {

package-lock.json

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

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"author": "WeAreAthlon <hello@weareathlon.com> (https://www.weareathlon.com)",
33
"name": "@weareathlon/frontend-webpack-boilerplate",
4-
"version": "5.2.2",
4+
"version": "5.3.0",
55
"description": "Starter project template boilerplate based on Webpack with SASS/PostCSS and babel ES6/7 support.",
66
"homepage": "https://github.com/WeAreAthlon/frontend-webpack-boilerplate#readme",
77
"browserslist": [
@@ -21,39 +21,39 @@
2121
],
2222
"dependencies": {},
2323
"devDependencies": {
24-
"@babel/core": "^7.12.10",
25-
"@babel/preset-env": "^7.12.11",
26-
"ajv": "^7.0.3",
27-
"autoprefixer": "^10.2.3",
24+
"@babel/core": "^7.12.16",
25+
"@babel/preset-env": "^7.12.16",
26+
"ajv": "^7.1.0",
27+
"autoprefixer": "^10.2.4",
2828
"babel-loader": "^8.2.2",
2929
"clean-webpack-plugin": "^3.0.0",
3030
"copy-webpack-plugin": "^7.0.0",
31-
"css-loader": "^5.0.1",
31+
"css-loader": "^5.0.2",
3232
"css-minimizer-webpack-plugin": "^1.2.0",
33-
"eslint": "^7.18.0",
33+
"eslint": "^7.20.0",
3434
"eslint-config-airbnb": "^18.2.1",
3535
"eslint-plugin-import": "^2.22.1",
3636
"eslint-plugin-jsx-a11y": "^6.4.1",
3737
"eslint-plugin-react": "^7.22.0",
3838
"eslint-plugin-react-hooks": "^4.2.0",
3939
"file-loader": "^6.2.0",
40-
"html-webpack-plugin": "^4.5.1",
40+
"html-webpack-plugin": "^5.0.1",
4141
"image-minimizer-webpack-plugin": "^2.2.0",
4242
"imagemin-gifsicle": "^7.0.0",
4343
"imagemin-jpegtran": "^7.0.0",
4444
"imagemin-optipng": "^8.0.0",
4545
"imagemin-svgo": "^8.0.0",
46-
"mini-css-extract-plugin": "^1.3.4",
47-
"postcss": "^8.2.4",
48-
"postcss-loader": "^4.1.0",
49-
"sass": "^1.32.5",
46+
"mini-css-extract-plugin": "^1.3.7",
47+
"postcss": "^8.2.6",
48+
"postcss-loader": "^5.0.0",
49+
"sass": "^1.32.7",
5050
"sass-lint": "^1.13.1",
51-
"sass-loader": "^10.1.1",
51+
"sass-loader": "^11.0.0",
5252
"terser-webpack-plugin": "^5.1.1",
5353
"url-loader": "^4.1.1",
54-
"webpack": "^5.16.0",
54+
"webpack": "^5.22.0",
5555
"webpack-bundle-analyzer": "^4.4.0",
56-
"webpack-cli": "^4.4.0",
56+
"webpack-cli": "^4.5.0",
5757
"webpack-dev-server": "^3.11.2",
5858
"webpack-merge": "^5.7.3"
5959
},

src/images/content/github.png

2.56 KB
Loading

src/images/content/header.png

239 KB
Loading

src/js/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const demo = () => 'Webpack Boilerplate v5.0.1 - SASS/PostCSS, ES6/7, browser sync, source code listing and more.';
1+
const demo = () => 'Webpack Boilerplate v5.3.0 - SASS/PostCSS, ES6/7, browser sync, source code listing and more.';
22

33
// eslint-disable-next-line no-console
44
console.log(demo());

src/scss/base/_vars.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/* Colour palette */
1010
$black: #000;
1111
$white: #fff;
12+
$light-gray: #f1f1f1;
1213

1314
$body-background-color: #333;
1415
$foreground-color: #fff;

src/scss/demo.scss

Lines changed: 174 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,209 @@ body {
22
background: $body-background-color;
33
color: $foreground-color;
44
font-family: 'DINP-R', arial, serif;
5+
font-size: 1.2em;
56
}
67

78
header {
89
font-size: 2em;
9-
margin: 20px;
1010
color: $caption-color;
1111
text-align: center;
1212
background: $foreground-color url('../images/design/heading.png') center 20px no-repeat;
1313
padding: 60px 30px 30px;
1414
background-size: 160px;
15+
width: 90%;
16+
margin: 20px auto;
17+
position: relative;
18+
19+
small {
20+
font-size: .5em;
21+
22+
img {
23+
display: inline;
24+
width: 20px;
25+
}
26+
}
1527
}
1628

1729
main {
18-
color: $foreground-color;
19-
text-align: center;
20-
padding: 10px;
30+
background: $foreground-color;
31+
color: $black;
32+
margin: 20px auto;
33+
padding: 40px;
34+
width: 90%;
35+
36+
h1 {
37+
font-size: 2em;
38+
font-weight: bold;
39+
padding: 20px;
40+
text-align: center;
41+
}
42+
43+
h2 {
44+
font-weight: bold;
45+
font-size: 1.5em;
46+
text-align: center;
47+
padding: 20px;
48+
}
49+
50+
h3 {
51+
font-weight: bold;
52+
text-align: center;
53+
padding: 10px;
54+
}
2155
}
2256

2357
.badges {
2458
img {
2559
display: inline;
2660
}
61+
62+
h6 {
63+
font-size: .5em;
64+
}
2765
}
2866

2967
a {
3068
color: $link-color;
69+
70+
&:hover {
71+
color: $black;
72+
}
3173
}
3274

3375
address {
3476
color: $accent-color;
3577
}
3678

79+
pre {
80+
margin: 10px;
81+
padding: 20px;
82+
83+
code {
84+
display: block;
85+
background: $body-background-color;
86+
color: $white;
87+
padding: 10px;
88+
border-left: 6px solid $link-color;
89+
}
90+
}
91+
3792
.logo {
3893
margin: 0 auto;
3994
display: block;
4095
}
96+
97+
ul {
98+
list-style-type: square;
99+
list-style-position: inside;
100+
}
101+
102+
ol {
103+
list-style-type: decimal;
104+
list-style-position: inside;
105+
}
106+
107+
ul ul,
108+
ol ul {
109+
list-style-type: circle;
110+
list-style-position: inside;
111+
margin-left: 15px;
112+
}
113+
114+
ol ol,
115+
ul ol {
116+
list-style-type: lower-latin;
117+
list-style-position: inside;
118+
margin-left: 15px;
119+
}
120+
121+
blockquote {
122+
background: $light-gray;
123+
border-left: 4px solid $link-color;
124+
border-radius: 3px;
125+
margin: 10px 0;
126+
padding: 10px 10px 10px 20px;
127+
}
128+
129+
code {
130+
font-family: Consolas, 'courier new';
131+
color: $link-color;
132+
background-color: $light-gray;
133+
padding: 2px;
134+
font-size: 1em;
135+
border-radius: 3px;
136+
}
137+
138+
footer {
139+
text-align: center;
140+
padding-bottom: 20px;
141+
142+
a:hover {
143+
color: $white;
144+
}
145+
}
146+
147+
.github-corner:hover {
148+
.octo-arm {
149+
animation: octocat-wave 560ms ease-in-out;
150+
}
151+
}
152+
153+
@keyframes octocat-wave {
154+
0% {
155+
transform: rotate(0deg);
156+
}
157+
158+
20% {
159+
transform: rotate(-25deg);
160+
}
161+
162+
40% {
163+
transform: rotate(10deg);
164+
}
165+
166+
60% {
167+
transform: rotate(-25deg);
168+
}
169+
170+
80% {
171+
transform: rotate(10deg);
172+
}
173+
174+
100% {
175+
transform: rotate(0deg);
176+
}
177+
}
178+
179+
@media (max-width: 500px) {
180+
.github-corner {
181+
&:hover {
182+
.octo-arm {
183+
animation: none;
184+
}
185+
}
186+
187+
.octo-arm {
188+
animation: octocat-wave 560ms ease-in-out;
189+
}
190+
}
191+
}
192+
193+
@media only screen and (min-width: 1024px) {
194+
header,
195+
main {
196+
width: 60%;
197+
}
198+
}
199+
200+
@media only screen and (max-width: 1023px) {
201+
main {
202+
h1 {
203+
font-size: 1.3em;
204+
}
205+
206+
h2 {
207+
font-size: 1.1em;
208+
}
209+
}
210+
}

0 commit comments

Comments
 (0)