Skip to content

Commit 0c939ca

Browse files
authored
Merge pull request #9 from tidunguyen/master
Bump Dependencies to latest NodeJS LTS v14.17.6
2 parents 2111d9d + 33c7fd9 commit 0c939ca

3 files changed

Lines changed: 29 additions & 25 deletions

File tree

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"targets": {
77
"node": "6.0.0"
88
},
9-
"useBuiltIns": "usage"
9+
"useBuiltIns": "usage",
10+
"corejs": 3
1011
}
1112
]
1213
]

package.json

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,28 +33,29 @@
3333
},
3434
"homepage": "https://github.com/Gyumeijie/github-files-fetcher",
3535
"dependencies": {
36-
"@babel/polyfill": "^7.0.0",
37-
"@gyumeijie/cli-progress": "^1.0.0",
38-
"args-parser": "^1.1.0",
39-
"axios": "^0.18.0",
40-
"colors": "^1.3.2",
41-
"is-online": "^7.0.0",
42-
"shelljs": "^0.8.2"
36+
"@gyumeijie/cli-progress": "^1.0.2",
37+
"args-parser": "^1.3.0",
38+
"axios": "^0.21.4",
39+
"colors": "^1.4.0",
40+
"core-js": "^3.17.3",
41+
"is-online": "^9.0.1",
42+
"shelljs": "^0.8.4"
4343
},
4444
"devDependencies": {
45-
"@babel/core": "^7.1.2",
46-
"@babel/preset-env": "^7.1.0",
47-
"babel-loader": "^8.0.4",
48-
"copy-webpack-plugin": "^4.5.3",
49-
"cz-conventional-changelog": "^2.1.0",
50-
"eslint": "^5.5.0",
51-
"eslint-config-airbnb": "^17.1.0",
52-
"eslint-plugin-import": "^2.14.0",
53-
"eslint-plugin-jsx-a11y": "^6.1.1",
54-
"eslint-plugin-react": "^7.11.1",
55-
"webpack": "^4.20.2",
56-
"webpack-cli": "^3.1.2",
57-
"write-to-file-webpack": "^1.0.4"
45+
"@babel/core": "^7.15.5",
46+
"@babel/preset-env": "^7.15.6",
47+
"babel-loader": "^8.2.2",
48+
"copy-webpack-plugin": "^9.0.1",
49+
"cz-conventional-changelog": "^3.3.0",
50+
"eslint": "^7.32.0",
51+
"eslint-config-airbnb": "^18.2.1",
52+
"eslint-plugin-import": "^2.24.2",
53+
"eslint-plugin-jsx-a11y": "^6.4.1",
54+
"eslint-plugin-react": "^7.25.2",
55+
"eslint-plugin-react-hooks": "^4.2.0",
56+
"webpack": "^5.53.0",
57+
"webpack-cli": "^4.8.0",
58+
"write-to-file-webpack": "^1.0.6"
5859
},
5960
"config": {
6061
"commitizen": {

webpack.config.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ module.exports = {
2020
'electron',
2121
],
2222
plugins: [
23-
new CopyWebpackPlugin([
24-
{ from: 'CHANGELOG.md', to: path.resolve(__dirname, 'dist', 'CHANGELOG.md') },
25-
{ from: 'README.md', to: path.resolve(__dirname, 'dist', 'README.md') },
26-
]),
23+
new CopyWebpackPlugin({
24+
patterns: [
25+
{ from: 'CHANGELOG.md', to: path.resolve(__dirname, 'dist', 'CHANGELOG.md') },
26+
{ from: 'README.md', to: path.resolve(__dirname, 'dist', 'README.md') },
27+
]
28+
}),
2729
new WriteToFilePlugin({
2830
filename: path.resolve(__dirname, 'dist/package.json'),
2931
data() {

0 commit comments

Comments
 (0)