Skip to content

Commit

Permalink
Release 5.0.1
Browse files Browse the repository at this point in the history
Configurations cleanup.
  • Loading branch information
pnikolov committed Oct 28, 2020
1 parent 9812a6a commit 3c76aa4
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 42 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
language: node_js
dist: xenial
os: linux
node_js:
- node
- lts/*
Expand All @@ -9,11 +11,11 @@ script:
- npm run lint:js
- npm run production
deploy:
strategy: git
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep-history: true
local-dir: dist
token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep_history: true
local_dir: dist
on:
branch: master
node: 'lts/*'
node_js: 'lts/*'
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
# Change log

## [5.0.1](https://github.com/WeAreAthlon/frontend-webpack-boilerplate/releases/tag/v5.0.1)
### 28/10/2020

### Updates

* Fix `.travis.yml` configuration warnings.
* Fix varous spelling errors.
* Development wepback configuration cleanup.

### Packages Version Updates

* `[email protected]` change log can be found on the official [release notes](https://github.com/webpack-contrib/file-loader/releases/tag/v6.2.0).
* `[email protected]` change log can be found on the official [release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases/tag/v1.2.1).
* `[email protected]` change log can be found on the official [release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases/tag/v5.0.3).
* `[email protected]` change log can be found on the official [release notes](https://github.com/webpack/webpack/releases/tag/v5.3.0).

## [5.0.0](https://github.com/WeAreAthlon/frontend-webpack-boilerplate/releases/tag/v5.0.0)
### 27/10/2020

### New Features

* Configurable **browsers versions support**. It uses [`browserslist`](https://github.com/browserslist/browserslist#full-list) - just specify the browsers you want to support in the `package.json` file for `browserslist`.
Configuration per **environment**
* Configuration per **environment**
* `development` - [`sourcemaps`](https://webpack.js.org/configuration/devtool/), [`browser synced developmentment server`](https://webpack.js.org/configuration/dev-server/)
* `production` - [`minification`](https://webpack.js.org/plugins/terser-webpack-plugin/), [`sourcemaps`](https://webpack.js.org/configuration/devtool/)
* Automatic building of all template HTML files placed under `src/templates/`, no need to manually configure each file anymore.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Webpack 5 Boilerplate

![Maintenance](https://img.shields.io/maintenance/yes/2020?logo=github)
![webpack-current](https://img.shields.io/badge/webpack-v5.2.0-green?logo=webpack)
![webpack-current](https://img.shields.io/badge/webpack-v5.3.0-green?logo=webpack)
![node-current (scoped)](https://img.shields.io/node/v/@weareathlon/frontend-webpack-boilerplate)
[![Build Status](https://api.travis-ci.org/weareathlon/frontend-webpack-boilerplate.svg?branch=master)](https://travis-ci.org/weareathlon/frontend-webpack-boilerplate)
[![GitHub Issues](https://img.shields.io/github/issues-raw/WeAreAthlon/frontend-webpack-boilerplate)](https://github.com/WeAreAthlon/frontend-webpack-boilerplate/issues)
Expand Down
1 change: 0 additions & 1 deletion configuration/webpack.dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module.exports = merge(webpackConfiguration, {
compress: true,
overlay: true,
hot: false,
port: 8080,
watchOptions: {
poll: 300,
},
Expand Down
54 changes: 27 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "WeAreAthlon <[email protected]> (https://www.weareathlon.com)",
"name": "@weareathlon/frontend-webpack-boilerplate",
"version": "5.0.0",
"version": "5.0.1",
"description": "Starter project template boilerplate based on Webpack with SASS/PostCSS and babel ES6/7 support.",
"homepage": "https://github.com/WeAreAthlon/frontend-webpack-boilerplate#readme",
"browserslist": [
Expand Down Expand Up @@ -36,18 +36,18 @@
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.1.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^4.5.0",
"imagemin-webpack-plugin": "^2.4.2",
"mini-css-extract-plugin": "^1.2.0",
"mini-css-extract-plugin": "^1.2.1",
"postcss": "^8.1.4",
"postcss-loader": "^4.0.4",
"sass": "^1.27.0",
"sass-lint": "^1.13.1",
"sass-loader": "^10.0.4",
"terser-webpack-plugin": "^5.0.1",
"terser-webpack-plugin": "^5.0.3",
"url-loader": "^4.1.1",
"webpack": "^5.2.0",
"webpack": "^5.3.0",
"webpack-cli": "^4.1.0",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^5.2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/js/demo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const demo = () => 'Frotned Webpack Boilerplate v5.0.0 - SASS, ES6/7, browser sync, source code listing and more.';
const demo = () => 'Webpack Boilerplate v5.0.1 - SASS/PostCSS, ES6/7, browser sync, source code listing and more.';

// eslint-disable-next-line no-console
console.log(demo());
2 changes: 1 addition & 1 deletion src/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1>

<section class="badges">
<a href="https://github.com/WeAreAthlon/frontend-webpack-boilerplate/" target="_blank"><img src="https://img.shields.io/maintenance/yes/2020?logo=github" alt="Maintenance"></a>
<a href="https://webpack.js.org" target="_blank"><img src="https://img.shields.io/badge/webpack-v5.2.0-green?logo=webpack" alt="Current Webpack Version"></a>
<a href="https://webpack.js.org" target="_blank"><img src="https://img.shields.io/badge/webpack-v5.3.0-green?logo=webpack" alt="Current Webpack Version"></a>
<a href="https://travis-ci.org/weareathlon/frontend-webpack-boilerplate" target="_blank"><img src="https://api.travis-ci.org/weareathlon/frontend-webpack-boilerplate.svg?branch=master" alt="Build Status"></a>
<a href="https://github.com/WeAreAthlon/frontend-webpack-boilerplate/issues" target="_blank"><img src="https://img.shields.io/github/issues-raw/WeAreAthlon/frontend-webpack-boilerplate" alt="GitHub Issues"></a>
<a href="https://snyk.io/test/github/WeAreAthlon/frontend-webpack-boilerplate?targetFile=package.json" target="_blank"><img src="https://snyk.io/test/github/WeAreAthlon/frontend-webpack-boilerplate/badge.svg?targetFile=package.json" alt="Known Vulnerabilities"></a>
Expand Down

0 comments on commit 3c76aa4

Please sign in to comment.