@nocobase/plugin-mobile-client 0.14.0-alpha.6 → 0.14.0-alpha.8
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/dist/externalVersion.js +4 -4
- package/dist/server/plugin.js +0 -7
- package/package.json +2 -2
package/dist/externalVersion.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@nocobase/client": "0.14.0-alpha.
|
|
2
|
+
"@nocobase/client": "0.14.0-alpha.8",
|
|
3
3
|
"react": "18.2.0",
|
|
4
4
|
"react-router-dom": "6.14.1",
|
|
5
|
-
"@nocobase/server": "0.14.0-alpha.
|
|
5
|
+
"@nocobase/server": "0.14.0-alpha.8",
|
|
6
6
|
"antd": "5.8.6",
|
|
7
7
|
"react-i18next": "11.18.6",
|
|
8
8
|
"@ant-design/icons": "5.1.4",
|
|
9
|
-
"@nocobase/database": "0.14.0-alpha.
|
|
9
|
+
"@nocobase/database": "0.14.0-alpha.8",
|
|
10
10
|
"@formily/react": "2.2.27",
|
|
11
11
|
"@formily/shared": "2.2.27",
|
|
12
12
|
"lodash": "4.17.21",
|
|
13
13
|
"ahooks": "3.7.8",
|
|
14
|
-
"@formily/antd-v5": "1.1.
|
|
14
|
+
"@formily/antd-v5": "1.1.7"
|
|
15
15
|
};
|
package/dist/server/plugin.js
CHANGED
|
@@ -23,7 +23,6 @@ __export(plugin_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(plugin_exports);
|
|
24
24
|
var import_server = require("@nocobase/server");
|
|
25
25
|
var import_path = require("path");
|
|
26
|
-
var import_routes = require("./routes");
|
|
27
26
|
class MobileClientPlugin extends import_server.Plugin {
|
|
28
27
|
afterAdd() {
|
|
29
28
|
}
|
|
@@ -37,12 +36,6 @@ class MobileClientPlugin extends import_server.Plugin {
|
|
|
37
36
|
});
|
|
38
37
|
}
|
|
39
38
|
async install() {
|
|
40
|
-
const repository = this.app.db.getRepository("uiRoutes");
|
|
41
|
-
for (const values of import_routes.routes) {
|
|
42
|
-
await repository.create({
|
|
43
|
-
values
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
39
|
const uiSchemas = this.db.getRepository("uiSchemas");
|
|
47
40
|
const systemSettings = this.db.getRepository("systemSettings");
|
|
48
41
|
const schema = await uiSchemas.insert({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-mobile-client",
|
|
3
|
-
"version": "0.14.0-alpha.
|
|
3
|
+
"version": "0.14.0-alpha.8",
|
|
4
4
|
"main": "./dist/server/index.js",
|
|
5
5
|
"displayName": "Mobile client",
|
|
6
6
|
"displayName.zh-CN": "移动端",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"@nocobase/test": "0.x",
|
|
31
31
|
"@nocobase/utils": "0.x"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "59c82fef6e34707802b5841f5ec4d9b3b6b68abb"
|
|
34
34
|
}
|