@nocobase/plugin-multi-app-share-collection 0.21.0-alpha.9 → 1.0.0-alpha.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.
@@ -1,12 +1,12 @@
1
1
  module.exports = {
2
2
  "@formily/react": "2.3.0",
3
- "@nocobase/client": "0.21.0-alpha.9",
4
- "@nocobase/plugin-multi-app-manager": "0.21.0-alpha.9",
3
+ "@nocobase/client": "1.0.0-alpha.2",
4
+ "@nocobase/plugin-multi-app-manager": "1.0.0-alpha.2",
5
5
  "antd": "5.12.8",
6
6
  "react": "18.2.0",
7
- "@nocobase/utils": "0.21.0-alpha.9",
7
+ "@nocobase/utils": "1.0.0-alpha.2",
8
8
  "react-i18next": "11.18.6",
9
- "@nocobase/database": "0.21.0-alpha.9",
10
- "@nocobase/server": "0.21.0-alpha.9",
9
+ "@nocobase/database": "1.0.0-alpha.2",
10
+ "@nocobase/server": "1.0.0-alpha.2",
11
11
  "lodash": "4.17.21"
12
12
  };
@@ -35,7 +35,7 @@ var import_plugin_multi_app_manager = __toESM(require("@nocobase/plugin-multi-ap
35
35
  var import_server = require("@nocobase/server");
36
36
  var import_lodash = __toESM(require("lodash"));
37
37
  const subAppFilteredPlugins = ["multi-app-share-collection", "multi-app-manager"];
38
- const unSyncPlugins = ["localization-management"];
38
+ const unSyncPlugins = ["localization"];
39
39
  class SubAppPlugin extends import_server.Plugin {
40
40
  beforeLoad() {
41
41
  const mainApp = this.options.mainApp;
@@ -47,7 +47,7 @@ class SubAppPlugin extends import_server.Plugin {
47
47
  }
48
48
  }
49
49
  subApp.on("beforeLoadPlugin", (plugin) => {
50
- if (plugin.name === "collection-manager") {
50
+ if (plugin.name === "data-source-main") {
51
51
  plugin.setLoadFilter({
52
52
  "name.$ne": "roles"
53
53
  });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "多应用数据表共享",
5
5
  "description": "",
6
6
  "description.zh-CN": "",
7
- "version": "0.21.0-alpha.9",
7
+ "version": "1.0.0-alpha.2",
8
8
  "main": "./dist/server/index.js",
9
9
  "devDependencies": {
10
10
  "@formily/react": "2.x",
@@ -13,17 +13,17 @@
13
13
  "react-i18next": "^11.15.1"
14
14
  },
15
15
  "peerDependencies": {
16
- "@nocobase/client": "0.x",
17
- "@nocobase/database": "0.x",
18
- "@nocobase/plugin-collection-manager": "0.x",
19
- "@nocobase/plugin-error-handler": "0.x",
20
- "@nocobase/plugin-multi-app-manager": "0.x",
21
- "@nocobase/plugin-users": "0.x",
22
- "@nocobase/server": "0.x",
23
- "@nocobase/test": "0.x",
24
- "@nocobase/utils": "0.x"
16
+ "@nocobase/client": "1.x",
17
+ "@nocobase/database": "1.x",
18
+ "@nocobase/plugin-data-source-main": "1.x",
19
+ "@nocobase/plugin-error-handler": "1.x",
20
+ "@nocobase/plugin-multi-app-manager": "1.x",
21
+ "@nocobase/plugin-users": "1.x",
22
+ "@nocobase/server": "1.x",
23
+ "@nocobase/test": "1.x",
24
+ "@nocobase/utils": "1.x"
25
25
  },
26
- "gitHead": "a6fe6c4ee532c04e5a50ec777bf76436ca624cbd",
26
+ "gitHead": "f89dbc9e67d58404a2e484a5e124f739f340dcf8",
27
27
  "keywords": [
28
28
  "System management"
29
29
  ]