@nocobase/app-server 0.7.0-alpha.13 → 0.7.0-alpha.16

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,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
- ['@nocobase/plugin-client'],
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":"AAGA,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,CAAC,yBAAyB,CAAC;CACH,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 ['@nocobase/plugin-client'],\n] as PluginsConfigurations;\n"]}
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"]}
@@ -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
- ['@nocobase/plugin-client'],
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":";;AAGA,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,CAAC,yBAAyB,CAAC;CACH,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 ['@nocobase/plugin-client'],\n] as PluginsConfigurations;\n"]}
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.13",
3
+ "version": "0.7.0-alpha.16",
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.13",
15
- "@nocobase/plugin-acl": "0.7.0-alpha.13",
16
- "@nocobase/plugin-china-region": "0.7.0-alpha.13",
17
- "@nocobase/plugin-client": "0.7.0-alpha.13",
18
- "@nocobase/plugin-collection-manager": "0.7.0-alpha.13",
19
- "@nocobase/plugin-error-handler": "0.7.0-alpha.13",
20
- "@nocobase/plugin-file-manager": "0.7.0-alpha.13",
21
- "@nocobase/plugin-system-settings": "0.7.0-alpha.13",
22
- "@nocobase/plugin-ui-routes-storage": "0.7.0-alpha.13",
23
- "@nocobase/plugin-ui-schema-storage": "0.7.0-alpha.13",
24
- "@nocobase/plugin-users": "0.7.0-alpha.13",
25
- "@nocobase/plugin-workflow": "0.7.0-alpha.13",
26
- "@nocobase/server": "0.7.0-alpha.13"
14
+ "@nocobase/database": "0.7.0-alpha.16",
15
+ "@nocobase/plugin-acl": "0.7.0-alpha.16",
16
+ "@nocobase/plugin-china-region": "0.7.0-alpha.16",
17
+ "@nocobase/plugin-client": "0.7.0-alpha.16",
18
+ "@nocobase/plugin-collection-manager": "0.7.0-alpha.16",
19
+ "@nocobase/plugin-error-handler": "0.7.0-alpha.16",
20
+ "@nocobase/plugin-file-manager": "0.7.0-alpha.16",
21
+ "@nocobase/plugin-system-settings": "0.7.0-alpha.16",
22
+ "@nocobase/plugin-ui-routes-storage": "0.7.0-alpha.16",
23
+ "@nocobase/plugin-ui-schema-storage": "0.7.0-alpha.16",
24
+ "@nocobase/plugin-users": "0.7.0-alpha.16",
25
+ "@nocobase/plugin-workflow": "0.7.0-alpha.16",
26
+ "@nocobase/server": "0.7.0-alpha.16"
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": "62eb85de5f341f343577232ebecce7f9fb7a5b21"
33
+ "gitHead": "27399f4e5e6d1f9f2c0eee4d6be8ff89df625bd8"
34
34
  }
@@ -19,5 +19,10 @@ export default [
19
19
  '@nocobase/plugin-acl',
20
20
  '@nocobase/plugin-china-region',
21
21
  '@nocobase/plugin-workflow',
22
- ['@nocobase/plugin-client'],
22
+ [
23
+ '@nocobase/plugin-client',
24
+ {
25
+ dist: resolve(process.cwd(), 'packages/app/client/dist'),
26
+ },
27
+ ],
23
28
  ] as PluginsConfigurations;