File tree Expand file tree Collapse file tree 6 files changed +1825
-3414
lines changed Expand file tree Collapse file tree 6 files changed +1825
-3414
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "root": true,
3+ "extends": [
4+ "next",
5+ "next/core-web-vitals"
6+ ]
7+ }
Original file line number Diff line number Diff line change 1+ [build .environment ]
2+ NODE_VERSION = " 12"
Original file line number Diff line number Diff line change 11const path = require ( 'path' ) ;
22
33module . exports = {
4+ reactStrictMode : true ,
45 webpack : config => {
56 config . resolve . alias [ 'react-live' ] = path . resolve ( '../' ) ;
67
Original file line number Diff line number Diff line change 11{
22 "name" : " react-live-demo" ,
3- "version" : " 1.1 .0" ,
3+ "version" : " 1.2 .0" ,
44 "private" : true ,
55 "license" : " MIT" ,
66 "scripts" : {
77 "prebuild" : " cd .. && yarn && yarn build" ,
88 "prebuild:npm" : " cd .. && npm i && npm run build" ,
99 "dev" : " next dev" ,
1010 "build" : " next build && next export" ,
11- "start" : " next start"
11+ "start" : " next start" ,
12+ "lint" : " next lint"
1213 },
1314 "dependencies" : {
14- "formidable-oss-badges" : " ^0.3.5 " ,
15- "next" : " 9.5.3 " ,
16- "polished" : " ^3.6.7 " ,
17- "react" : " 16.13.1 " ,
18- "react-dom" : " 16.13.1 " ,
19- "react-live" : " ^2.2.2 " ,
20- "styled-components" : " ^5.2 .0"
15+ "formidable-oss-badges" : " ^0.3.6 " ,
16+ "next" : " 11.0.0 " ,
17+ "polished" : " ^4.1.3 " ,
18+ "react" : " 17.0.2 " ,
19+ "react-dom" : " 17.0.2 " ,
20+ "react-live" : " ^2.2.3 " ,
21+ "styled-components" : " ^5.3 .0"
2122 },
2223 "devDependencies" : {
2324 "babel-plugin-polished" : " ^1.1.0" ,
24- "babel-plugin-styled-components" : " ^1.11.1"
25+ "babel-plugin-styled-components" : " ^1.12.0" ,
26+ "eslint" : " 7.29.0" ,
27+ "eslint-config-next" : " 11.0.0"
28+ },
29+ "engines" : {
30+ "node" : " >=12.0.0"
2531 }
26- }
32+ }
Original file line number Diff line number Diff line change @@ -106,8 +106,8 @@ class Index extends Component {
106106
107107 < Description >
108108 If you want to demo a couple of components in tandem, without
109- evaluating a single one inline, you can use the " noInline" prop and
110- call " render" .
109+ evaluating a single one inline, you can use the " noInline" prop and
110+ call " render" .
111111 </ Description >
112112 < LiveEdit noInline code = { noInlineExample } />
113113 </ Container >
You can’t perform that action at this time.
0 commit comments