@coorpacademy/app-review 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.js +1 -1
- package/lib/index.js +2 -2
- package/package.json +5 -4
- package/src/index.tsx +1 -1
package/es/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
2
|
import { connect, Provider } from 'react-redux';
|
|
3
|
+
import AppReviewRootView from '@coorpacademy/components/es/template/app-review/root-view';
|
|
3
4
|
import configureStore from './configure-store';
|
|
4
5
|
import { navigateTo, navigateBack } from './actions/navigation';
|
|
5
6
|
import { getCurrentViewName } from './reducers/navigation';
|
|
6
|
-
import AppReviewRootView from '@coorpacademy/components';
|
|
7
7
|
// -----------------------------------------------------------------------------
|
|
8
8
|
const mapStateToProps = (state, ownProps) => {
|
|
9
9
|
return { ...ownProps, viewName: getCurrentViewName(state) };
|
package/lib/index.js
CHANGED
|
@@ -13,16 +13,16 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
var react_1 = require("react");
|
|
15
15
|
var react_redux_1 = require("react-redux");
|
|
16
|
+
var root_view_1 = require("@coorpacademy/components/es/template/app-review/root-view");
|
|
16
17
|
var configure_store_1 = require("./configure-store");
|
|
17
18
|
var navigation_1 = require("./actions/navigation");
|
|
18
19
|
var navigation_2 = require("./reducers/navigation");
|
|
19
|
-
var components_1 = require("@coorpacademy/components");
|
|
20
20
|
// -----------------------------------------------------------------------------
|
|
21
21
|
var mapStateToProps = function (state, ownProps) {
|
|
22
22
|
return __assign(__assign({}, ownProps), { viewName: (0, navigation_2.getCurrentViewName)(state) });
|
|
23
23
|
};
|
|
24
24
|
var mapDispatchToProps = { navigateTo: navigation_1.navigateTo, navigateBack: navigation_1.navigateBack };
|
|
25
|
-
var App = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(
|
|
25
|
+
var App = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(root_view_1.default);
|
|
26
26
|
// -----------------------------------------------------------------------------
|
|
27
27
|
var AppRevision = function (_a) {
|
|
28
28
|
var services = _a.services;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/app-review",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=16.15.0"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
|
-
"start": "node
|
|
11
|
-
"static": "node
|
|
10
|
+
"start": "node commands/start.js",
|
|
11
|
+
"static": "node commands/build-static-webapp.js",
|
|
12
12
|
"poststatic": "cp -r public static",
|
|
13
13
|
"prepare": "npm run clean && npm run build --production",
|
|
14
14
|
"build:commonjs": "tsc -p tsconfig.lib.json",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@coorpacademy/components": "^10.19.4",
|
|
40
|
+
"esbuild-plugin-css-modules": "^0.1.3",
|
|
40
41
|
"react": "^17.0.2",
|
|
41
42
|
"react-native": "0.68.1",
|
|
42
43
|
"react-redux": "^8.0.1",
|
|
@@ -55,5 +56,5 @@
|
|
|
55
56
|
"redux-devtools-extension": "^2.13.9",
|
|
56
57
|
"typescript": "^4.6.4"
|
|
57
58
|
},
|
|
58
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "3b9f1e72d3d943d226a63dffed97aac52e2d8292"
|
|
59
60
|
}
|
package/src/index.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, {useEffect, useState} from 'react';
|
|
2
2
|
import {connect, Provider} from 'react-redux';
|
|
3
|
+
import AppReviewRootView from '@coorpacademy/components/es/template/app-review/root-view';
|
|
3
4
|
|
|
4
5
|
import configureStore from './configure-store';
|
|
5
6
|
import {navigateTo, navigateBack} from './actions/navigation';
|
|
6
7
|
import {getCurrentViewName} from './reducers/navigation';
|
|
7
|
-
import AppReviewRootView from '@coorpacademy/components';
|
|
8
8
|
|
|
9
9
|
// -----------------------------------------------------------------------------
|
|
10
10
|
|