@nocobase/app-server 0.7.0-alpha.2 → 0.7.0-alpha.20
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/esm/config/plugins.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { resolve } from 'path';
|
|
1
2
|
export default [
|
|
2
3
|
'@nocobase/plugin-error-handler',
|
|
3
4
|
'@nocobase/plugin-collection-manager',
|
|
@@ -16,6 +17,11 @@ export default [
|
|
|
16
17
|
'@nocobase/plugin-acl',
|
|
17
18
|
'@nocobase/plugin-china-region',
|
|
18
19
|
'@nocobase/plugin-workflow',
|
|
19
|
-
[
|
|
20
|
+
[
|
|
21
|
+
'@nocobase/plugin-client',
|
|
22
|
+
{
|
|
23
|
+
dist: resolve(process.cwd(), 'packages/app/client/dist'),
|
|
24
|
+
},
|
|
25
|
+
],
|
|
20
26
|
];
|
|
21
27
|
//# sourceMappingURL=plugins.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/config/plugins.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/config/plugins.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,eAAe;IACb,gCAAgC;IAChC,qCAAqC;IACrC,oCAAoC;IACpC,oCAAoC;IACpC,+BAA+B;IAC/B,kCAAkC;IAClC;QACE,wBAAwB;QACxB;YACE,GAAG,EAAE;gBACH,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU;aAC/B;SACF;KACF;IACD,sBAAsB;IACtB,+BAA+B;IAC/B,2BAA2B;IAC3B;QACE,yBAAyB;QACzB;YACE,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,0BAA0B,CAAC;SACzD;KACF;CACuB,CAAC","sourcesContent":["import { PluginsConfigurations } from '@nocobase/server';\nimport { resolve } from 'path';\n\nexport default [\n '@nocobase/plugin-error-handler',\n '@nocobase/plugin-collection-manager',\n '@nocobase/plugin-ui-schema-storage',\n '@nocobase/plugin-ui-routes-storage',\n '@nocobase/plugin-file-manager',\n '@nocobase/plugin-system-settings',\n [\n '@nocobase/plugin-users',\n {\n jwt: {\n secret: process.env.JWT_SECRET,\n },\n },\n ],\n '@nocobase/plugin-acl',\n '@nocobase/plugin-china-region',\n '@nocobase/plugin-workflow',\n [\n '@nocobase/plugin-client',\n {\n dist: resolve(process.cwd(), 'packages/app/client/dist'),\n },\n ],\n] as PluginsConfigurations;\n"]}
|
package/lib/config/plugins.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const path_1 = require("path");
|
|
3
4
|
exports.default = [
|
|
4
5
|
'@nocobase/plugin-error-handler',
|
|
5
6
|
'@nocobase/plugin-collection-manager',
|
|
@@ -18,6 +19,11 @@ exports.default = [
|
|
|
18
19
|
'@nocobase/plugin-acl',
|
|
19
20
|
'@nocobase/plugin-china-region',
|
|
20
21
|
'@nocobase/plugin-workflow',
|
|
21
|
-
[
|
|
22
|
+
[
|
|
23
|
+
'@nocobase/plugin-client',
|
|
24
|
+
{
|
|
25
|
+
dist: (0, path_1.resolve)(process.cwd(), 'packages/app/client/dist'),
|
|
26
|
+
},
|
|
27
|
+
],
|
|
22
28
|
];
|
|
23
29
|
//# sourceMappingURL=plugins.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/config/plugins.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/config/plugins.ts"],"names":[],"mappings":";;AACA,+BAA+B;AAE/B,kBAAe;IACb,gCAAgC;IAChC,qCAAqC;IACrC,oCAAoC;IACpC,oCAAoC;IACpC,+BAA+B;IAC/B,kCAAkC;IAClC;QACE,wBAAwB;QACxB;YACE,GAAG,EAAE;gBACH,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU;aAC/B;SACF;KACF;IACD,sBAAsB;IACtB,+BAA+B;IAC/B,2BAA2B;IAC3B;QACE,yBAAyB;QACzB;YACE,IAAI,EAAE,IAAA,cAAO,EAAC,OAAO,CAAC,GAAG,EAAE,EAAE,0BAA0B,CAAC;SACzD;KACF;CACuB,CAAC","sourcesContent":["import { PluginsConfigurations } from '@nocobase/server';\nimport { resolve } from 'path';\n\nexport default [\n '@nocobase/plugin-error-handler',\n '@nocobase/plugin-collection-manager',\n '@nocobase/plugin-ui-schema-storage',\n '@nocobase/plugin-ui-routes-storage',\n '@nocobase/plugin-file-manager',\n '@nocobase/plugin-system-settings',\n [\n '@nocobase/plugin-users',\n {\n jwt: {\n secret: process.env.JWT_SECRET,\n },\n },\n ],\n '@nocobase/plugin-acl',\n '@nocobase/plugin-china-region',\n '@nocobase/plugin-workflow',\n [\n '@nocobase/plugin-client',\n {\n dist: resolve(process.cwd(), 'packages/app/client/dist'),\n },\n ],\n] as PluginsConfigurations;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/app-server",
|
|
3
|
-
"version": "0.7.0-alpha.
|
|
3
|
+
"version": "0.7.0-alpha.20",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -11,24 +11,24 @@
|
|
|
11
11
|
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@nocobase/database": "0.7.0-alpha.
|
|
15
|
-
"@nocobase/plugin-acl": "0.7.0-alpha.
|
|
16
|
-
"@nocobase/plugin-china-region": "0.7.0-alpha.
|
|
17
|
-
"@nocobase/plugin-client": "0.7.0-alpha.
|
|
18
|
-
"@nocobase/plugin-collection-manager": "0.7.0-alpha.
|
|
19
|
-
"@nocobase/plugin-error-handler": "0.7.0-alpha.
|
|
20
|
-
"@nocobase/plugin-file-manager": "0.7.0-alpha.
|
|
21
|
-
"@nocobase/plugin-system-settings": "0.7.0-alpha.
|
|
22
|
-
"@nocobase/plugin-ui-routes-storage": "0.7.0-alpha.
|
|
23
|
-
"@nocobase/plugin-ui-schema-storage": "0.7.0-alpha.
|
|
24
|
-
"@nocobase/plugin-users": "0.7.0-alpha.
|
|
25
|
-
"@nocobase/plugin-workflow": "0.7.0-alpha.
|
|
26
|
-
"@nocobase/server": "0.7.0-alpha.
|
|
14
|
+
"@nocobase/database": "0.7.0-alpha.20",
|
|
15
|
+
"@nocobase/plugin-acl": "0.7.0-alpha.20",
|
|
16
|
+
"@nocobase/plugin-china-region": "0.7.0-alpha.20",
|
|
17
|
+
"@nocobase/plugin-client": "0.7.0-alpha.20",
|
|
18
|
+
"@nocobase/plugin-collection-manager": "0.7.0-alpha.20",
|
|
19
|
+
"@nocobase/plugin-error-handler": "0.7.0-alpha.20",
|
|
20
|
+
"@nocobase/plugin-file-manager": "0.7.0-alpha.20",
|
|
21
|
+
"@nocobase/plugin-system-settings": "0.7.0-alpha.20",
|
|
22
|
+
"@nocobase/plugin-ui-routes-storage": "0.7.0-alpha.20",
|
|
23
|
+
"@nocobase/plugin-ui-schema-storage": "0.7.0-alpha.20",
|
|
24
|
+
"@nocobase/plugin-users": "0.7.0-alpha.20",
|
|
25
|
+
"@nocobase/plugin-workflow": "0.7.0-alpha.20",
|
|
26
|
+
"@nocobase/server": "0.7.0-alpha.20"
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|
|
30
30
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
31
31
|
"directory": "packages/app/server"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "d2e0cbdb5d26ba66e87a9d7660b10f3ec30a3c4b"
|
|
34
34
|
}
|
package/src/config/plugins.ts
CHANGED
|
@@ -19,5 +19,10 @@ export default [
|
|
|
19
19
|
'@nocobase/plugin-acl',
|
|
20
20
|
'@nocobase/plugin-china-region',
|
|
21
21
|
'@nocobase/plugin-workflow',
|
|
22
|
-
[
|
|
22
|
+
[
|
|
23
|
+
'@nocobase/plugin-client',
|
|
24
|
+
{
|
|
25
|
+
dist: resolve(process.cwd(), 'packages/app/client/dist'),
|
|
26
|
+
},
|
|
27
|
+
],
|
|
23
28
|
] as PluginsConfigurations;
|