@nocobase/preset-nocobase 1.2.7-alpha → 1.2.9-alpha
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/lib/server/index.js +11 -8
- package/package.json +59 -59
package/lib/server/index.js
CHANGED
|
@@ -122,8 +122,9 @@ const _PresetNocoBase = class _PresetNocoBase extends import_server.Plugin {
|
|
|
122
122
|
}
|
|
123
123
|
async allPlugins() {
|
|
124
124
|
return (await Promise.all(
|
|
125
|
-
this.getBuiltInPlugins().map(async (
|
|
126
|
-
const
|
|
125
|
+
this.getBuiltInPlugins().map(async (pkgOrName) => {
|
|
126
|
+
const { name } = await import_server.PluginManager.parseName(pkgOrName);
|
|
127
|
+
const packageJson = await this.getPackageJson(pkgOrName);
|
|
127
128
|
return {
|
|
128
129
|
name,
|
|
129
130
|
packageName: packageJson.name,
|
|
@@ -135,8 +136,8 @@ const _PresetNocoBase = class _PresetNocoBase extends import_server.Plugin {
|
|
|
135
136
|
)).concat(
|
|
136
137
|
await Promise.all(
|
|
137
138
|
this.getLocalPlugins().map(async (plugin) => {
|
|
138
|
-
const name = plugin[0];
|
|
139
|
-
const packageJson = await this.getPackageJson(
|
|
139
|
+
const { name } = await import_server.PluginManager.parseName(plugin[0]);
|
|
140
|
+
const packageJson = await this.getPackageJson(plugin[0]);
|
|
140
141
|
return { name, packageName: packageJson.name, version: packageJson.version };
|
|
141
142
|
})
|
|
142
143
|
)
|
|
@@ -146,8 +147,9 @@ const _PresetNocoBase = class _PresetNocoBase extends import_server.Plugin {
|
|
|
146
147
|
const repository = this.app.db.getRepository("applicationPlugins");
|
|
147
148
|
const items = (await repository.find()).map((item) => item.name);
|
|
148
149
|
const plugins = await Promise.all(
|
|
149
|
-
this.getBuiltInPlugins().map(async (
|
|
150
|
-
const
|
|
150
|
+
this.getBuiltInPlugins().map(async (pkgOrName) => {
|
|
151
|
+
const { name } = await import_server.PluginManager.parseName(pkgOrName);
|
|
152
|
+
const packageJson = await this.getPackageJson(pkgOrName);
|
|
151
153
|
return {
|
|
152
154
|
name,
|
|
153
155
|
packageName: packageJson.name,
|
|
@@ -163,8 +165,9 @@ const _PresetNocoBase = class _PresetNocoBase extends import_server.Plugin {
|
|
|
163
165
|
continue;
|
|
164
166
|
}
|
|
165
167
|
}
|
|
166
|
-
const
|
|
167
|
-
const
|
|
168
|
+
const pkgOrName = plugin[0];
|
|
169
|
+
const { name } = await import_server.PluginManager.parseName(pkgOrName);
|
|
170
|
+
const packageJson = await this.getPackageJson(pkgOrName);
|
|
168
171
|
plugins.push({ name, packageName: packageJson.name, version: packageJson.version });
|
|
169
172
|
}
|
|
170
173
|
return plugins;
|
package/package.json
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/preset-nocobase",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9-alpha",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"main": "./lib/server/index.js",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@formily/json-schema": "2.x",
|
|
8
|
-
"@nocobase/plugin-acl": "1.2.
|
|
9
|
-
"@nocobase/plugin-action-bulk-edit": "1.2.
|
|
10
|
-
"@nocobase/plugin-action-bulk-update": "1.2.
|
|
11
|
-
"@nocobase/plugin-action-custom-request": "1.2.
|
|
12
|
-
"@nocobase/plugin-action-duplicate": "1.2.
|
|
13
|
-
"@nocobase/plugin-action-export": "1.2.
|
|
14
|
-
"@nocobase/plugin-action-import": "1.2.
|
|
15
|
-
"@nocobase/plugin-action-print": "1.2.
|
|
16
|
-
"@nocobase/plugin-api-doc": "1.2.
|
|
17
|
-
"@nocobase/plugin-api-keys": "1.2.
|
|
18
|
-
"@nocobase/plugin-audit-logs": "1.2.
|
|
19
|
-
"@nocobase/plugin-auth": "1.2.
|
|
20
|
-
"@nocobase/plugin-auth-sms": "1.2.
|
|
21
|
-
"@nocobase/plugin-backup-restore": "1.2.
|
|
22
|
-
"@nocobase/plugin-block-iframe": "1.2.
|
|
23
|
-
"@nocobase/plugin-block-workbench": "1.2.
|
|
24
|
-
"@nocobase/plugin-calendar": "1.2.
|
|
25
|
-
"@nocobase/plugin-charts": "1.2.
|
|
26
|
-
"@nocobase/plugin-client": "1.2.
|
|
27
|
-
"@nocobase/plugin-collection-sql": "1.2.
|
|
28
|
-
"@nocobase/plugin-data-source-main": "1.2.
|
|
29
|
-
"@nocobase/plugin-data-source-manager": "1.2.
|
|
30
|
-
"@nocobase/plugin-data-visualization": "1.2.
|
|
31
|
-
"@nocobase/plugin-error-handler": "1.2.
|
|
32
|
-
"@nocobase/plugin-field-china-region": "1.2.
|
|
33
|
-
"@nocobase/plugin-field-formula": "1.2.
|
|
34
|
-
"@nocobase/plugin-field-markdown-vditor": "1.2.
|
|
35
|
-
"@nocobase/plugin-field-sequence": "1.2.
|
|
36
|
-
"@nocobase/plugin-file-manager": "1.2.
|
|
37
|
-
"@nocobase/plugin-gantt": "1.2.
|
|
38
|
-
"@nocobase/plugin-graph-collection-manager": "1.2.
|
|
39
|
-
"@nocobase/plugin-kanban": "1.2.
|
|
40
|
-
"@nocobase/plugin-localization": "1.2.
|
|
41
|
-
"@nocobase/plugin-logger": "1.2.
|
|
42
|
-
"@nocobase/plugin-map": "1.2.
|
|
43
|
-
"@nocobase/plugin-mobile-client": "1.2.
|
|
44
|
-
"@nocobase/plugin-mock-collections": "1.2.
|
|
45
|
-
"@nocobase/plugin-multi-app-manager": "1.2.
|
|
46
|
-
"@nocobase/plugin-multi-app-share-collection": "1.2.
|
|
47
|
-
"@nocobase/plugin-snapshot-field": "1.2.
|
|
48
|
-
"@nocobase/plugin-system-settings": "1.2.
|
|
49
|
-
"@nocobase/plugin-theme-editor": "1.2.
|
|
50
|
-
"@nocobase/plugin-ui-schema-storage": "1.2.
|
|
51
|
-
"@nocobase/plugin-users": "1.2.
|
|
52
|
-
"@nocobase/plugin-verification": "1.2.
|
|
53
|
-
"@nocobase/plugin-workflow": "1.2.
|
|
54
|
-
"@nocobase/plugin-workflow-action-trigger": "1.2.
|
|
55
|
-
"@nocobase/plugin-workflow-aggregate": "1.2.
|
|
56
|
-
"@nocobase/plugin-workflow-delay": "1.2.
|
|
57
|
-
"@nocobase/plugin-workflow-dynamic-calculation": "1.2.
|
|
58
|
-
"@nocobase/plugin-workflow-loop": "1.2.
|
|
59
|
-
"@nocobase/plugin-workflow-mailer": "1.2.
|
|
60
|
-
"@nocobase/plugin-workflow-manual": "1.2.
|
|
61
|
-
"@nocobase/plugin-workflow-parallel": "1.2.
|
|
62
|
-
"@nocobase/plugin-workflow-request": "1.2.
|
|
63
|
-
"@nocobase/plugin-workflow-sql": "1.2.
|
|
64
|
-
"@nocobase/server": "1.2.
|
|
8
|
+
"@nocobase/plugin-acl": "1.2.9-alpha",
|
|
9
|
+
"@nocobase/plugin-action-bulk-edit": "1.2.9-alpha",
|
|
10
|
+
"@nocobase/plugin-action-bulk-update": "1.2.9-alpha",
|
|
11
|
+
"@nocobase/plugin-action-custom-request": "1.2.9-alpha",
|
|
12
|
+
"@nocobase/plugin-action-duplicate": "1.2.9-alpha",
|
|
13
|
+
"@nocobase/plugin-action-export": "1.2.9-alpha",
|
|
14
|
+
"@nocobase/plugin-action-import": "1.2.9-alpha",
|
|
15
|
+
"@nocobase/plugin-action-print": "1.2.9-alpha",
|
|
16
|
+
"@nocobase/plugin-api-doc": "1.2.9-alpha",
|
|
17
|
+
"@nocobase/plugin-api-keys": "1.2.9-alpha",
|
|
18
|
+
"@nocobase/plugin-audit-logs": "1.2.9-alpha",
|
|
19
|
+
"@nocobase/plugin-auth": "1.2.9-alpha",
|
|
20
|
+
"@nocobase/plugin-auth-sms": "1.2.9-alpha",
|
|
21
|
+
"@nocobase/plugin-backup-restore": "1.2.9-alpha",
|
|
22
|
+
"@nocobase/plugin-block-iframe": "1.2.9-alpha",
|
|
23
|
+
"@nocobase/plugin-block-workbench": "1.2.9-alpha",
|
|
24
|
+
"@nocobase/plugin-calendar": "1.2.9-alpha",
|
|
25
|
+
"@nocobase/plugin-charts": "1.2.9-alpha",
|
|
26
|
+
"@nocobase/plugin-client": "1.2.9-alpha",
|
|
27
|
+
"@nocobase/plugin-collection-sql": "1.2.9-alpha",
|
|
28
|
+
"@nocobase/plugin-data-source-main": "1.2.9-alpha",
|
|
29
|
+
"@nocobase/plugin-data-source-manager": "1.2.9-alpha",
|
|
30
|
+
"@nocobase/plugin-data-visualization": "1.2.9-alpha",
|
|
31
|
+
"@nocobase/plugin-error-handler": "1.2.9-alpha",
|
|
32
|
+
"@nocobase/plugin-field-china-region": "1.2.9-alpha",
|
|
33
|
+
"@nocobase/plugin-field-formula": "1.2.9-alpha",
|
|
34
|
+
"@nocobase/plugin-field-markdown-vditor": "1.2.9-alpha",
|
|
35
|
+
"@nocobase/plugin-field-sequence": "1.2.9-alpha",
|
|
36
|
+
"@nocobase/plugin-file-manager": "1.2.9-alpha",
|
|
37
|
+
"@nocobase/plugin-gantt": "1.2.9-alpha",
|
|
38
|
+
"@nocobase/plugin-graph-collection-manager": "1.2.9-alpha",
|
|
39
|
+
"@nocobase/plugin-kanban": "1.2.9-alpha",
|
|
40
|
+
"@nocobase/plugin-localization": "1.2.9-alpha",
|
|
41
|
+
"@nocobase/plugin-logger": "1.2.9-alpha",
|
|
42
|
+
"@nocobase/plugin-map": "1.2.9-alpha",
|
|
43
|
+
"@nocobase/plugin-mobile-client": "1.2.9-alpha",
|
|
44
|
+
"@nocobase/plugin-mock-collections": "1.2.9-alpha",
|
|
45
|
+
"@nocobase/plugin-multi-app-manager": "1.2.9-alpha",
|
|
46
|
+
"@nocobase/plugin-multi-app-share-collection": "1.2.9-alpha",
|
|
47
|
+
"@nocobase/plugin-snapshot-field": "1.2.9-alpha",
|
|
48
|
+
"@nocobase/plugin-system-settings": "1.2.9-alpha",
|
|
49
|
+
"@nocobase/plugin-theme-editor": "1.2.9-alpha",
|
|
50
|
+
"@nocobase/plugin-ui-schema-storage": "1.2.9-alpha",
|
|
51
|
+
"@nocobase/plugin-users": "1.2.9-alpha",
|
|
52
|
+
"@nocobase/plugin-verification": "1.2.9-alpha",
|
|
53
|
+
"@nocobase/plugin-workflow": "1.2.9-alpha",
|
|
54
|
+
"@nocobase/plugin-workflow-action-trigger": "1.2.9-alpha",
|
|
55
|
+
"@nocobase/plugin-workflow-aggregate": "1.2.9-alpha",
|
|
56
|
+
"@nocobase/plugin-workflow-delay": "1.2.9-alpha",
|
|
57
|
+
"@nocobase/plugin-workflow-dynamic-calculation": "1.2.9-alpha",
|
|
58
|
+
"@nocobase/plugin-workflow-loop": "1.2.9-alpha",
|
|
59
|
+
"@nocobase/plugin-workflow-mailer": "1.2.9-alpha",
|
|
60
|
+
"@nocobase/plugin-workflow-manual": "1.2.9-alpha",
|
|
61
|
+
"@nocobase/plugin-workflow-parallel": "1.2.9-alpha",
|
|
62
|
+
"@nocobase/plugin-workflow-request": "1.2.9-alpha",
|
|
63
|
+
"@nocobase/plugin-workflow-sql": "1.2.9-alpha",
|
|
64
|
+
"@nocobase/server": "1.2.9-alpha",
|
|
65
65
|
"cronstrue": "^2.11.0"
|
|
66
66
|
},
|
|
67
67
|
"repository": {
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
70
70
|
"directory": "packages/presets/nocobase"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "b80e4678e8098d60755195ec63f865122aba021a"
|
|
73
73
|
}
|