From e1d87795d0f1fa7ae3e34b39a009f1f96b9025d0 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 11 Jun 2019 23:12:47 +0200 Subject: [PATCH] package updates, add changelog * closes #21 --- CHANGELOG.md | 86 ++++++++++++++++++++++++++++++++++++++++ package.json | 30 +++++++------- webpack.common.config.js | 7 ++-- 3 files changed, 106 insertions(+), 17 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..74eeca0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,86 @@ +### Changelog + +All notable changes to this project will be documented in this file. Dates are displayed in UTC. + +Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). + +#### [v1.1.6](https://github.com/kremalicious/blowfish/compare/v1.1.6...v1.1.6) + +> 11 June 2019 + +- Update file-loader to the latest version 🚀 [`#20`](https://github.com/kremalicious/blowfish/pull/20) +- package updates, add changelog [`#21`](https://github.com/kremalicious/blowfish/issues/21) +- test fixes [`e86cade`](https://github.com/kremalicious/blowfish/commit/e86cade48b7f58c4403c8a3d7a5ecc412aab7d81) +- update product screenshot [`ca6b8d1`](https://github.com/kremalicious/blowfish/commit/ca6b8d150386a2716f1d40bb7ee6f0001319cf4a) +- chore(package): update file-loader to version 4.0.0 [`3db7153`](https://github.com/kremalicious/blowfish/commit/3db7153d2555d1de14c26323eae1d7a3924160d2) + +#### [v1.1.5](https://github.com/kremalicious/blowfish/compare/v1.1.4...v1.1.5) + +> 4 June 2019 + +- support for scss modules [`#19`](https://github.com/kremalicious/blowfish/pull/19) +- identicon fixes [`#18`](https://github.com/kremalicious/blowfish/pull/18) +- fix Ticker highlight style [`65204fa`](https://github.com/kremalicious/blowfish/commit/65204fa0ff7bf1a24faad86a60bd8ba431b6208b) +- Release 1.1.5 [`41ce088`](https://github.com/kremalicious/blowfish/commit/41ce088313b99982f384be1a22e7748d9a793eb6) + +#### [v1.1.4](https://github.com/kremalicious/blowfish/compare/v1.1.3...v1.1.4) + +> 4 June 2019 + +- 24hr price changes [`#17`](https://github.com/kremalicious/blowfish/pull/17) +- number formatting tweaks [`0a1feaf`](https://github.com/kremalicious/blowfish/commit/0a1feafa7460b45f822e547771abc5cb25711d12) +- output 24hr price changes [`1c59257`](https://github.com/kremalicious/blowfish/commit/1c5925741751c070db6fd8d64054321cd2d17bb2) +- bump packages [`c4e9b2f`](https://github.com/kremalicious/blowfish/commit/c4e9b2ff3e7acdd321cfa6253c837566b134d020) + +#### [v1.1.3](https://github.com/kremalicious/blowfish/compare/v1.1.2...v1.1.3) + +> 29 May 2019 + +- Linux UI fixes, and some Windows fixes [`#16`](https://github.com/kremalicious/blowfish/pull/16) +- Linux fixes [`6ea9f7f`](https://github.com/kremalicious/blowfish/commit/6ea9f7ffb3502238c4b1b7f4702f8f9cc93445b5) +- fix title bar [`9f7a72c`](https://github.com/kremalicious/blowfish/commit/9f7a72cc483db7d7a9414ec06ac89aa5cb1c3af2) +- Linux build fixes [`1c8ec7e`](https://github.com/kremalicious/blowfish/commit/1c8ec7ee87d904b2d12203d5da09b201353ac364) + +#### [v1.1.2](https://github.com/kremalicious/blowfish/compare/v1.1.1...v1.1.2) + +> 28 May 2019 + +- fix release assets [`6e813c2`](https://github.com/kremalicious/blowfish/commit/6e813c20ead3d2f1b8e40b52d1d02f45fb668579) +- Release 1.1.2 [`5c5e21f`](https://github.com/kremalicious/blowfish/commit/5c5e21fda4d06b7fa13f7ea3b3e8e222b1fda62f) + +#### [v1.1.1](https://github.com/kremalicious/blowfish/compare/v1.1.0...v1.1.1) + +> 28 May 2019 + +- release process with release-it [`#15`](https://github.com/kremalicious/blowfish/pull/15) +- bump electron-builder [`6a2c76d`](https://github.com/kremalicious/blowfish/commit/6a2c76d5683c881647716d460232cc7f81b12cc2) +- Release 1.1.1 [`a589ec5`](https://github.com/kremalicious/blowfish/commit/a589ec564c05fbc1800f20edb09e26a44fe063c1) + +#### [v1.1.0](https://github.com/kremalicious/blowfish/compare/v1.0.2...v1.1.0) + +> 25 May 2019 + +- Electron Touch Bar [`#10`](https://github.com/kremalicious/blowfish/pull/10) +- refactor and code cleanup [`#12`](https://github.com/kremalicious/blowfish/pull/12) +- refactor [`8097306`](https://github.com/kremalicious/blowfish/commit/8097306dceefda7e6e090b043042f63c9e617b61) +- switch between currencies [`498909a`](https://github.com/kremalicious/blowfish/commit/498909a8f4284b4d65f2bcfe105ba34d38329d4b) +- update touchbar with data [`d5b43be`](https://github.com/kremalicious/blowfish/commit/d5b43be6ec7a9d591742f43e1824b4bce8c771ab) + +#### [v1.0.2](https://github.com/kremalicious/blowfish/compare/v1.0.1...v1.0.2) + +> 20 May 2019 + +- consistent number formatting based on system locale [`#11`](https://github.com/kremalicious/blowfish/pull/11) +- Release v1.0.2 [`09f37af`](https://github.com/kremalicious/blowfish/commit/09f37af8d59d05bc596cd90113648c324c5abaf3) + +#### v1.0.1 + +> 19 May 2019 + +- change primary color based on system accent color [`#9`](https://github.com/kremalicious/blowfish/pull/9) +- Touch Bar support [`#2`](https://github.com/kremalicious/blowfish/pull/2) +- user preferences & router setup [`#1`](https://github.com/kremalicious/blowfish/pull/1) +- fix dark mode detection [`#6`](https://github.com/kremalicious/blowfish/issues/6) +- initial commit 🐡 [`a296148`](https://github.com/kremalicious/blowfish/commit/a296148f5be0cb218d757f544cda11ce1ec20ccc) +- setup user preferences [`bfe2a76`](https://github.com/kremalicious/blowfish/commit/bfe2a76ad68e88626044e9f4215aa44dbffa3686) +- balance data fetching refactor, preferences tweaks [`057f27a`](https://github.com/kremalicious/blowfish/commit/057f27a970e0833a6b4c8f8b43de5e04a59e79e0) diff --git a/package.json b/package.json index 239f141..48d3b80 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "build": "cross-env NODE_ENV=production webpack --config webpack.common.config.js", "package": "electron-builder build -mwl && open ./dist", "dist": "rm -rf {dist,build}/ && npm run build && npm run package", - "release": "release-it --non-interactive" + "release": "release-it --non-interactive", + "changelog": "auto-changelog -p" }, "repository": "https://github.com/kremalicious/blowfish.git", "homepage": "https://github.com/kremalicious/blowfish", @@ -24,7 +25,7 @@ "@coingecko/cryptoformat": "^0.3.2", "ethereum-address": "0.0.4", "ethereum-blockies": "github:MyEtherWallet/blockies", - "ms": "^2.1.1" + "ms": "^2.1.2" }, "devDependencies": { "@babel/core": "^7.4.5", @@ -34,15 +35,16 @@ "@babel/runtime": "^7.4.5", "@reach/router": "^1.2.1", "@svgr/webpack": "^4.3.0", + "auto-changelog": "^1.13.0", "babel-eslint": "^10.0.1", "babel-loader": "^8.0.6", "copy-webpack-plugin": "^5.0.3", "cross-env": "^5.2.0", - "css-loader": "^2.1.1", - "electron": "^5.0.2", + "css-loader": "^3.0.0", + "electron": "^5.0.3", "electron-builder": "^20.43.0", "electron-devtools-installer": "^2.2.4", - "electron-store": "^3.2.0", + "electron-store": "^3.3.0", "eslint": "^5.16.0", "eslint-config-prettier": "^4.3.0", "eslint-plugin-react": "^7.13.0", @@ -50,20 +52,20 @@ "html-webpack-plugin": "^3.2.0", "mini-css-extract-plugin": "^0.7.0", "node-sass": "^4.12.0", - "prettier": "^1.17.1", + "prettier": "^1.18.2", "prettier-stylelint": "^0.4.2", "react": "^16.8.6", "react-dom": "^16.8.6", "react-pose": "^4.0.8", - "release-it": "^12.2.2", + "release-it": "^12.3.0", "sass-loader": "^7.1.0", "style-loader": "^0.23.1", - "stylelint": "^10.0.1", + "stylelint": "^10.1.0", "stylelint-config-css-modules": "^1.4.0", "stylelint-config-standard": "^18.3.0", "webpack": "^4.33.0", - "webpack-cli": "^3.3.2", - "webpack-dev-server": "^3.5.1" + "webpack-cli": "^3.3.4", + "webpack-dev-server": "^3.7.1" }, "browserslist": "electron >= 5.0", "build": { @@ -90,10 +92,10 @@ } }, "release-it": { - "scripts": { - "beforeStart": "npm test", - "afterBump": "npm run dist", - "afterRelease": "echo Successfully released ${name} v${version} to ${repo.repository}." + "hooks": { + "after:init": "npm test", + "after:bump": "npm run changelog", + "before:release": "npm run dist" }, "git": { "tagName": "v${version}" diff --git a/webpack.common.config.js b/webpack.common.config.js index e4ff182..2137cb2 100644 --- a/webpack.common.config.js +++ b/webpack.common.config.js @@ -35,9 +35,10 @@ module.exports = { { loader: 'css-loader', options: { - modules: true, - localIdentName: '[name]__[local]___[hash:base64:5]', - camelCase: true, + modules: { + localIdentName: '[name]__[local]___[hash:base64:5]' + }, + localsConvention: 'camelCase', sourceMap: isDevelopment } },