Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit dd19473

Browse files
committed
update dependencies to drop node 8
1 parent e15e96e commit dd19473

File tree

4 files changed

+565
-367
lines changed

4 files changed

+565
-367
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
All notable changes to the "react-github-buttons" project will be documented in this file.
44

55
## [Unreleased]
6+
- Switch to yarn
7+
- Update Dependencies
8+
- Drop node 8
69

710
## [0.4.0] 2019-6-15
811
### Added

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-github-buttons",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"description": "React Components for dynamic buttons for github repo's star, fork etc.",
55
"keywords": [
66
"react",
@@ -24,8 +24,8 @@
2424
"module": "dist/index.es.js",
2525
"jsnext:main": "dist/index.es.js",
2626
"engines": {
27-
"node": ">=8",
28-
"npm": ">=5"
27+
"node": ">=10",
28+
"npm": ">=6"
2929
},
3030
"scripts": {
3131
"test": "cross-env CI=1 react-scripts-ts test --env=jsdom",
@@ -44,27 +44,27 @@
4444
"react-dom": "^15.0.0 || ^16.0.0"
4545
},
4646
"devDependencies": {
47-
"@svgr/rollup": "^4.3.0",
48-
"@types/jest": "^24.0.14",
47+
"@rollup/plugin-url": "^5.0.1",
48+
"@svgr/rollup": "^5.4.0",
49+
"@types/jest": "^26.0.14",
4950
"@types/prop-types": "^15.7.1",
5051
"@types/react": "^16.3.13",
5152
"@types/react-dom": "^16.0.5",
5253
"babel-core": "^6.26.3",
5354
"babel-runtime": "^6.26.0",
54-
"cross-env": "^5.1.4",
55-
"eslint": "^5.16.0",
56-
"gh-pages": "^2.0.1",
55+
"cross-env": "^7.0.2",
56+
"eslint": "^7.10.0",
57+
"gh-pages": "^3.1.0",
5758
"react-scripts-ts": "^3.1.0",
58-
"rollup": "^1.15.2",
59+
"rollup": "^2.28.2",
5960
"rollup-plugin-babel": "^4.3.2",
6061
"rollup-plugin-commonjs": "^10.0.0",
6162
"rollup-plugin-node-resolve": "^5.0.2",
6263
"rollup-plugin-peer-deps-external": "^2.2.0",
63-
"rollup-plugin-postcss": "^2.0.3",
64-
"rollup-plugin-typescript2": "^0.21.1",
65-
"rollup-plugin-url": "^2.2.2",
64+
"rollup-plugin-postcss": "^3.1.8",
65+
"rollup-plugin-typescript2": "^0.27.3",
6666
"tslint": "^5.17.0",
67-
"typescript": "^3.5.1"
67+
"typescript": "^4.0.3"
6868
},
6969
"files": [
7070
"dist"

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import external from 'rollup-plugin-peer-deps-external'
44
// import postcss from 'rollup-plugin-postcss-modules'
55
import postcss from 'rollup-plugin-postcss'
66
import resolve from 'rollup-plugin-node-resolve'
7-
import url from 'rollup-plugin-url'
7+
import url from '@rollup/plugin-url'
88
import svgr from '@svgr/rollup'
99

1010
import pkg from './package.json'

0 commit comments

Comments
 (0)