File tree Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " create-lumapps-extension" ,
3
- "version" : " 0.4.0 " ,
3
+ "version" : " 0.4.2 " ,
4
4
"description" : " " ,
5
5
"author" : " lab@lumapps.com" ,
6
6
"main" : " index.js" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " template-react-ts" ,
3
- "version" : " 0.4.0 " ,
3
+ "version" : " 0.4.2 " ,
4
4
"private" : true ,
5
5
"dependencies" : {
6
6
"@lumapps-extensions-playground/common" : " ^1.0.0" ,
9
9
"@lumx/icons" : " ^1.0.7" ,
10
10
"@lumx/react" : " ^1.0.7" ,
11
11
"lodash" : " ^4.17.21" ,
12
- "lumapps-sdk-js" : " ^0.0.30 " ,
12
+ "lumapps-sdk-js" : " ^0.0.39 " ,
13
13
"moment" : " ^2.29.1" ,
14
14
"moment-range" : " ^4.0.2" ,
15
15
"react" : " ^16.13.1" ,
36
36
]
37
37
},
38
38
"devDependencies" : {
39
- "@lumapps-extensions-playground/devenv" : " ^1.0.0 " ,
39
+ "@lumapps-extensions-playground/devenv" : " ^1.0.3 " ,
40
40
"@lumapps-extensions-playground/playground-server" : " ^1.0.0" ,
41
41
"@testing-library/jest-dom" : " ^4.2.4" ,
42
42
"@testing-library/react" : " ^9.3.2" ,
59
59
"npm-run-all" : " ^4.1.5" ,
60
60
"prettier" : " 2.2.0" ,
61
61
"prettier-stylelint" : " ^0.4.2" ,
62
+ "react-redux" : " ^7.2.3" ,
62
63
"react-scripts" : " 3.4.3" ,
63
64
"stylelint" : " ^9.10.1" ,
64
65
"stylelint-config-idiomatic-order" : " ^6.2.0" ,
Original file line number Diff line number Diff line change 1
- import { Playground } from '@lumapps-extensions-playground/devenv' ;
1
+ import { Playground , store } from '@lumapps-extensions-playground/devenv' ;
2
2
3
3
import '@lumapps-extensions-playground/devenv/devenv.esm.css' ;
4
4
@@ -7,17 +7,20 @@ import '@lumx/core/lumx.css';
7
7
8
8
import React from 'react' ;
9
9
import ReactDOM from 'react-dom' ;
10
+ import { Provider } from 'react-redux' ;
10
11
import config from './config.js' ;
11
12
import { Widget , WidgetGlobalSettings , WidgetSettings } from './widget' ;
12
13
13
14
ReactDOM . render (
14
15
< React . StrictMode >
15
- < Playground
16
- config = { config }
17
- Widget = { Widget }
18
- WidgetSettings = { WidgetSettings }
19
- WidgetGlobalSettings = { WidgetGlobalSettings }
20
- />
16
+ < Provider store = { store } >
17
+ < Playground
18
+ config = { config }
19
+ Widget = { Widget }
20
+ WidgetSettings = { WidgetSettings }
21
+ WidgetGlobalSettings = { WidgetGlobalSettings }
22
+ />
23
+ </ Provider >
21
24
</ React . StrictMode > ,
22
25
document . getElementById ( 'root' ) ,
23
26
) ;
You can’t perform that action at this time.
0 commit comments