@moneko/react 0.0.9 → 1.0.2
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/README.md +2 -1
- package/env.d.ts +3 -9
- package/package.json +4 -4
package/README.md
CHANGED
package/env.d.ts
CHANGED
|
@@ -56,18 +56,12 @@ declare module '@app' {
|
|
|
56
56
|
directory?: string;
|
|
57
57
|
};
|
|
58
58
|
/** 路由模式 */
|
|
59
|
-
routerMode: 'hash' | 'browser'
|
|
59
|
+
routerMode: 'hash' | 'browser';
|
|
60
60
|
/** 根路由 */
|
|
61
61
|
base: string;
|
|
62
|
-
/** 设计尺寸 */
|
|
63
|
-
designSize: number;
|
|
64
|
-
/** 本地化 */
|
|
65
|
-
locales: boolean;
|
|
66
|
-
/** 渲染模式 */
|
|
67
|
-
mode: 'ssr' | 'csr';
|
|
68
62
|
prefixCls?: string;
|
|
69
|
-
|
|
70
|
-
|
|
63
|
+
theme?: string;
|
|
64
|
+
projectName: string;
|
|
71
65
|
}
|
|
72
66
|
const app: App;
|
|
73
67
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moneko/react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "react",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.11",
|
|
15
|
-
"@types/react-router-dom": "
|
|
15
|
+
"@types/react-router-dom": "5.3.3",
|
|
16
16
|
"react-refresh": "0.14.0",
|
|
17
17
|
"react-refresh-typescript": "2.0.9",
|
|
18
18
|
"react-router": "6.15.0",
|
|
19
19
|
"react-router-dom": "6.15.0",
|
|
20
|
-
"shared-store-object": "
|
|
20
|
+
"shared-store-object": "1.0.8"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@swc/cli": "0.1.62",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@types/react": "^18.2.16",
|
|
28
28
|
"@types/react-dom": "^18.2.7",
|
|
29
29
|
"antd": "5.7.3",
|
|
30
|
-
"eslint-config-neko": "^
|
|
30
|
+
"eslint-config-neko": "^2.0.0",
|
|
31
31
|
"react": "^18.2.0",
|
|
32
32
|
"react-dom": "^18.2.0",
|
|
33
33
|
"shelljs": "^0.8.5",
|