Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
insin committed Jun 27, 2020
1 parent 1011217 commit 2fd62e7
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 28 deletions.
28 changes: 28 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
## Dependencies

- @babel/cli: v7.8.4 → [v7.10.3](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7102-2020-05-30)
- @babel/core: v7.9.6 → [v7.10.3](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7102-2020-05-30)
- @babel/plugin-proposal-nullish-coalescing-operator: v7.8.3 → [v7.10.1](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7101-2020-05-27)
- @babel/plugin-proposal-optional-chaining: v7.9.0 → [v7.10.3](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7100-2020-05-26)
- @babel/plugin-syntax-jsx: v7.8.3 → [v7.10.1](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7101-2020-05-27)
- @babel/plugin-transform-react-constant-elements: v7.9.0 → [v7.10.1](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7101-2020-05-27)
- @babel/plugin-transform-react-jsx: v7.9.4 → [v7.10.3](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7100-2020-05-26)
- @babel/plugin-transform-runtime: v7.9.6 → [v7.10.3](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7100-2020-05-26)
- @babel/polyfill: v7.8.7 → [v7.10.1](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7101-2020-05-27)
- @babel/preset-env: v7.9.6 → [v7.10.3](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7100-2020-05-26)
- @babel/preset-flow: v7.9.0 → [v7.10.1](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7101-2020-05-27)
- @babel/preset-react: v7.9.4 → [v7.10.1](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7101-2020-05-27)
- @babel/runtime: v7.9.6 → [v7.10.3](https://github.com/babel/babel/blob/master/CHANGELOG.md#v7100-2020-05-26)
- @pmmmwh/react-refresh-webpack-plugin: v0.3.1 → [v0.3.3](https://github.com/pmmmwh/react-refresh-webpack-plugin/releases)
- autoprefixer: v9.8.0 → [v9.8.4](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md#984)
- babel-plugin-inferno: v6.1.0 → v6.1.1
- chalk: v4.0.0 → [v4.1.0](https://github.com/chalk/chalk/releases/tag/v4.1.0)
- copy-webpack-plugin: v6.0.1 → [v6.0.2](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md#602-2020-06-03)
- cross-spawn: v7.0.2 → [v7.0.3](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md#703-2020-05-25)
- css-loader: v3.5.3 → [v3.6.0](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md#360-2020-06-13)
- fs-extra: v9.0.0 → [v9.0.1](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#901--2020-06-03)
- inquirer: v7.1.0 → [v7.2.0](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%407.2.0)
- karma: v5.0.9 → [v5.1.0](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md#510-2020-06-11)
- react-refresh: v0.8.2 → [v0.8.3](https://github.com/facebook/react/commits/3ca1904b37ad1f527ff5e31b51373caea67478c5/packages/react-refresh)
- terser-webpack-plugin: v3.0.1 → [v3.0.6](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md#306-2020-06-18)

# 0.25.2 / 2020-05-20

## Fixed
Expand Down
33 changes: 33 additions & 0 deletions package-changelog.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/**
* Generates changelog Markdown for pinned npm packages in a package.json diff
*
* Usage: git diff package.json | node package-changelog.js
*/

let fs = require('fs')

let changes = fs.readFileSync(0, 'utf-8')

let re = /^(?<change>[+-])\s*"(?<pkg>[^"]+)"\s*:\s*"(?<version>\d+\.\d+\.\d+)"/gm

let deps = new Map()

Array.from(changes.matchAll(re)).forEach(({groups}) => {
if (!deps.has(groups.pkg)) {
deps.set(groups.pkg, {})
}
deps.get(groups.pkg)[groups.change] = groups.version
})

let changelog = Array.from(deps.keys())
.sort()
.map((pkg) => {
let versions = deps.get(pkg)
if (!versions.hasOwnProperty('-')) {
return `- ${pkg}: v${versions['+']}`
}
return `- ${pkg}: v${versions['-']} → [v${versions['+']}]()`
})
.join('\n')

console.log(changelog)
56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,47 +27,47 @@
"node": ">=10.13.0"
},
"dependencies": {
"chalk": "4.0.0",
"chalk": "4.1.0",
"copy-template-dir": "1.4.0",
"cross-spawn": "7.0.2",
"cross-spawn": "7.0.3",
"debug": "4.1.1",
"detect-port": "1.3.0",
"figures": "3.2.0",
"filesize": "6.1.0",
"fs-extra": "9.0.0",
"fs-extra": "9.0.1",
"gzip-size": "5.1.1",
"inquirer": "7.1.0",
"inquirer": "7.2.0",
"minimist": "1.2.5",
"ora": "4.0.4",
"resolve": "1.17.0",
"run-series": "1.1.8",
"semver": "7.3.2",
"webpack-merge": "4.2.2",

"@babel/cli": "7.8.4",
"@babel/core": "7.9.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.8.3",
"@babel/plugin-proposal-optional-chaining": "7.9.0",
"@babel/cli": "7.10.3",
"@babel/core": "7.10.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.10.1",
"@babel/plugin-proposal-optional-chaining": "7.10.3",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-jsx": "7.8.3",
"@babel/plugin-transform-react-constant-elements": "7.9.0",
"@babel/plugin-transform-react-jsx": "7.9.4",
"@babel/plugin-transform-runtime": "7.9.6",
"@babel/polyfill": "7.8.7",
"@babel/preset-env": "7.9.6",
"@babel/preset-react": "7.9.4",
"@babel/runtime": "7.9.6",
"@pmmmwh/react-refresh-webpack-plugin": "0.3.1",
"@babel/plugin-syntax-jsx": "7.10.1",
"@babel/plugin-transform-react-constant-elements": "7.10.1",
"@babel/plugin-transform-react-jsx": "7.10.3",
"@babel/plugin-transform-runtime": "7.10.3",
"@babel/polyfill": "7.10.1",
"@babel/preset-env": "7.10.3",
"@babel/preset-react": "7.10.1",
"@babel/runtime": "7.10.3",
"@pmmmwh/react-refresh-webpack-plugin": "0.3.3",
"babel-plugin-add-module-exports": "1.0.2",
"babel-plugin-inferno": "6.1.0",
"babel-plugin-inferno": "6.1.1",
"babel-plugin-istanbul": "6.0.0",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-transform-decorators-legacy": "1.3.5",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"babel-preset-proposals": "0.3.0",
"react-refresh": "0.8.2",
"react-refresh": "0.8.3",

"karma": "5.0.9",
"karma": "5.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-coverage": "2.0.2",
"karma-mocha": "2.0.1",
Expand All @@ -81,11 +81,11 @@
"expect": "1.20.2",

"webpack": "4.43.0",
"autoprefixer": "9.8.0",
"autoprefixer": "9.8.4",
"babel-loader": "8.1.0",
"case-sensitive-paths-webpack-plugin": "2.3.0",
"copy-webpack-plugin": "6.0.1",
"css-loader": "3.5.3",
"copy-webpack-plugin": "6.0.2",
"css-loader": "3.6.0",
"eventsource-polyfill": "0.9.6",
"file-loader": "6.0.0",
"html-webpack-plugin": "4.3.0",
Expand All @@ -95,21 +95,21 @@
"open": "7.0.4",
"postcss-loader": "3.0.0",
"style-loader": "1.2.1",
"terser-webpack-plugin": "3.0.1",
"terser-webpack-plugin": "3.0.6",
"url-loader": "4.1.0",
"webpack-dev-middleware": "3.7.2",
"webpack-dev-server": "3.11.0",
"webpack-hot-middleware": "2.25.0"
},
"devDependencies": {
"@babel/preset-flow": "7.9.0",
"@babel/register": "7.9.0",
"@babel/preset-flow": "7.10.1",
"@babel/register": "7.10.3",
"cross-env": "7.0.2",
"eslint-config-jonnybuchanan": "6.0.0",
"eventsource": "1.0.7",
"flow-bin": "0.125.1",
"flow-bin": "0.128.0",
"glob": "7.1.6",
"nyc": "15.0.1",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"temp": "0.9.1",
"tree-kill": "1.2.2"
Expand Down

0 comments on commit 2fd62e7

Please sign in to comment.