Skip to content
This repository was archived by the owner on May 15, 2022. It is now read-only.

Commit bd21d19

Browse files
committed
Update dependencies
1 parent bd96040 commit bd21d19

File tree

8 files changed

+20346
-21353
lines changed

8 files changed

+20346
-21353
lines changed

example/components/ReactDatGui.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import 'react-dat-gui/dist/index.css';
2-
31
import DatGui, {
42
DatBoolean,
53
DatButton,

example/next.config.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
/**
2-
* Configure Next.js
3-
*
4-
* @see https://nextjs.org/docs/#custom-configuration
5-
*/
6-
const withCSS = require('@zeit/next-css');
7-
8-
module.exports = withCSS({
1+
module.exports = {
92
assetPrefix: process.env.NODE_ENV === 'production' ? '/react-dat-gui' : ''
10-
});
3+
};

example/package-lock.json

Lines changed: 12809 additions & 15006 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
"not op_mini all"
1111
],
1212
"dependencies": {
13-
"@zeit/next-css": "^1.0.1",
14-
"next": "^9.3.0",
15-
"prop-types": "file:../node_modules/prop-types",
13+
"next": "^10.1.1",
14+
"prop-types": "^15.7.2",
1615
"react": "file:../node_modules/react",
1716
"react-dat-gui": "file:..",
1817
"react-dom": "file:../node_modules/react-dom"
@@ -26,7 +25,7 @@
2625
"deploy": "npm run export && shx touch out/.nojekyll && gh-pages -t -d out && npm run clean"
2726
},
2827
"devDependencies": {
29-
"gh-pages": "^2.1.1",
30-
"shx": "^0.3.2"
28+
"gh-pages": "^3.1.0",
29+
"shx": "^0.3.3"
3130
}
3231
}

example/pages/_app.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import 'react-dat-gui/dist/index.css';
2+
3+
function MyApp({ Component, pageProps }) {
4+
return <Component {...pageProps} />;
5+
}
6+
7+
export default MyApp;

package-lock.json

Lines changed: 7474 additions & 6284 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -53,59 +53,61 @@
5353
},
5454
"dependencies": {
5555
"classnames": "2.2.6",
56-
"lodash.clamp": "^4.0.2",
57-
"lodash.clonedeep": "^4.3.2",
58-
"lodash.isfinite": "^3.3.1",
56+
"lodash.clamp": "^4.0.3",
57+
"lodash.clonedeep": "^4.5.0",
58+
"lodash.isfinite": "^3.3.2",
5959
"lodash.isstring": "^4.0.1",
6060
"lodash.isundefined": "^3.0.1",
61-
"lodash.result": "^4.4.0",
62-
"lodash.set": "^4.2.0",
63-
"react-color": "^2.13.8"
61+
"lodash.result": "^4.5.2",
62+
"lodash.set": "^4.3.2",
63+
"react-color": "^2.19.3",
64+
"sass": "^1.32.8"
6465
},
6566
"devDependencies": {
66-
"@babel/core": "^7.8.7",
67-
"@babel/helper-plugin-test-runner": "^7.8.3",
68-
"@babel/plugin-proposal-class-properties": "^7.5.0",
69-
"@babel/plugin-proposal-object-rest-spread": "^7.5.4",
70-
"@babel/plugin-transform-runtime": "^7.5.0",
71-
"@babel/preset-env": "^7.5.4",
72-
"@babel/preset-react": "^7.0.0",
73-
"@babel/runtime": "^7.8.7",
74-
"@testing-library/jest-dom": "^4.1.0",
75-
"@testing-library/react": "^9.1.3",
76-
"autoprefixer": "^9.6.1",
67+
"@babel/core": "^7.13.14",
68+
"@babel/helper-plugin-test-runner": "^7.13.10",
69+
"@babel/plugin-proposal-class-properties": "^7.13.0",
70+
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
71+
"@babel/plugin-transform-runtime": "^7.13.10",
72+
"@babel/preset-env": "^7.13.12",
73+
"@babel/preset-react": "^7.13.13",
74+
"@babel/runtime": "^7.13.10",
75+
"@rollup/plugin-babel": "^5.3.0",
76+
"@rollup/plugin-commonjs": "^18.0.0",
77+
"@rollup/plugin-node-resolve": "^11.2.1",
78+
"@testing-library/jest-dom": "^5.11.10",
79+
"@testing-library/react": "^11.2.5",
80+
"autoprefixer": "^10.2.5",
7781
"babel-eslint": "10.0.3",
7882
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
7983
"babel-polyfill": "^6.26.0",
8084
"cssnano": "^4.1.10",
81-
"eslint": "^6.3.0",
82-
"eslint-config-airbnb": "^18.0.1",
83-
"eslint-config-prettier": "^6.1.0",
84-
"eslint-plugin-import": "^2.18.0",
85-
"eslint-plugin-jsx-a11y": "^6.2.3",
86-
"eslint-plugin-prettier": "^3.1.0",
87-
"eslint-plugin-react": "^7.14.2",
88-
"eslint-plugin-react-hooks": "^1.7.0",
85+
"eslint": "^7.23.0",
86+
"eslint-config-airbnb": "^18.2.1",
87+
"eslint-config-prettier": "^8.1.0",
88+
"eslint-plugin-import": "^2.22.1",
89+
"eslint-plugin-jsx-a11y": "^6.4.1",
90+
"eslint-plugin-prettier": "^3.3.1",
91+
"eslint-plugin-react": "^7.23.1",
92+
"eslint-plugin-react-hooks": "^4.2.0",
8993
"identity-obj-proxy": "^3.0.0",
90-
"jest": "^25.1.0",
91-
"prettier": "^1.18.2",
94+
"jest": "^26.6.3",
95+
"postcss": "^8.2.8",
96+
"prettier": "^2.2.1",
9297
"prop-types": "^15.7.2",
93-
"react": "^16.8.4",
94-
"react-dom": "^16.8.4",
95-
"rollup": "^1.20.3",
96-
"rollup-plugin-babel": "^4.3.3",
97-
"rollup-plugin-commonjs": "^10.1.0",
98-
"rollup-plugin-copy": "^3.3.0",
99-
"rollup-plugin-filesize": "^6.2.0",
100-
"rollup-plugin-node-resolve": "^5.2.0",
101-
"rollup-plugin-postcss": "^2.0.3",
102-
"rollup-plugin-scss": "^1.0.2",
103-
"stylelint": "^10.1.0",
104-
"stylelint-config-recommended": "^2.2.0"
98+
"react": "^17.0.0",
99+
"react-dom": "^17.0.0",
100+
"rollup": "^2.44.0",
101+
"rollup-plugin-copy": "^3.4.0",
102+
"rollup-plugin-filesize": "^9.1.1",
103+
"rollup-plugin-postcss": "^4.0.0",
104+
"rollup-plugin-scss": "^2.6.1",
105+
"stylelint": "^13.12.0",
106+
"stylelint-config-recommended": "^4.0.0"
105107
},
106108
"peerDependencies": {
107109
"prop-types": "^15.7.2",
108-
"react": "^16.0.0",
109-
"react-dom": "^16.0.0"
110+
"react": ">=16.0.0",
111+
"react-dom": ">=16.0.0"
110112
}
111113
}

rollup.config.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import path from 'path';
2-
import babel from 'rollup-plugin-babel';
3-
import commonjs from 'rollup-plugin-commonjs';
2+
import babel from '@rollup/plugin-babel';
3+
import commonjs from '@rollup/plugin-commonjs';
4+
import resolve from '@rollup/plugin-node-resolve';
45
import filesize from 'rollup-plugin-filesize';
5-
import resolve from 'rollup-plugin-node-resolve';
66
import postcss from 'rollup-plugin-postcss';
77
import autoprefixer from 'autoprefixer';
88
import cssnano from 'cssnano';
@@ -22,12 +22,13 @@ export default {
2222
{
2323
file: pkg.main,
2424
format: 'cjs',
25-
sourcemap: true
25+
sourcemap: true,
26+
exports: 'named',
2627
},
2728
{
2829
file: pkg.module,
2930
format: 'es',
30-
sourcemap: true
31+
sourcemap: true,
3132
}
3233
],
3334
external: id =>
@@ -36,7 +37,7 @@ export default {
3637
postcss({ plugins: [autoprefixer, cssnano], extract: pkg.style }),
3738
babel({
3839
exclude: 'node_modules/**',
39-
runtimeHelpers: true
40+
babelHelpers: 'runtime'
4041
}),
4142
resolve(),
4243
commonjs({

0 commit comments

Comments
 (0)