@nocobase/app 1.6.0-alpha.7 → 1.6.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/client/{5415.e54e63e7.async.js → 5415.623fa605.async.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/client/index.html.tpl +1 -1
- package/dist/client/p__index.aa0ec40a.async.js +1590 -0
- package/dist/client/{umi.e33accd4.js → umi.73a8f829.js} +2 -2
- package/lib/config/cache.d.ts +1 -0
- package/lib/config/index.d.ts +1 -0
- package/lib/index.js +1 -4
- package/package.json +6 -6
- package/src/index.ts +2 -4
- package/dist/client/p__index.b47c1f48.async.js +0 -1590
package/lib/config/cache.d.ts
CHANGED
package/lib/config/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare function getConfig(): Promise<{
|
|
|
21
21
|
close?: (store: import("cache-manager").Store) => Promise<void>;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
+
prefix: string;
|
|
24
25
|
}>;
|
|
25
26
|
logger: import("@nocobase/server").AppLoggerOptions;
|
|
26
27
|
telemetry: import("@nocobase/server").AppTelemetryOptions;
|
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/app",
|
|
3
|
-
"version": "1.6.0-alpha.
|
|
3
|
+
"version": "1.6.0-alpha.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"main": "./lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@nocobase/database": "1.6.0-alpha.
|
|
10
|
-
"@nocobase/preset-nocobase": "1.6.0-alpha.
|
|
11
|
-
"@nocobase/server": "1.6.0-alpha.
|
|
9
|
+
"@nocobase/database": "1.6.0-alpha.8",
|
|
10
|
+
"@nocobase/preset-nocobase": "1.6.0-alpha.8",
|
|
11
|
+
"@nocobase/server": "1.6.0-alpha.8"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@nocobase/client": "1.6.0-alpha.
|
|
14
|
+
"@nocobase/client": "1.6.0-alpha.8"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
19
19
|
"directory": "packages/core/app"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "f7ab757a5d7fb723c96bc9c1340291e4deec03ea"
|
|
22
22
|
}
|
package/src/index.ts
CHANGED
|
@@ -13,12 +13,10 @@ import { getConfig } from './config';
|
|
|
13
13
|
async function initializeGateway() {
|
|
14
14
|
await runPluginStaticImports();
|
|
15
15
|
const config = await getConfig();
|
|
16
|
+
|
|
16
17
|
await Gateway.getInstance().run({
|
|
17
18
|
mainAppOptions: config,
|
|
18
19
|
});
|
|
19
20
|
}
|
|
20
21
|
|
|
21
|
-
initializeGateway()
|
|
22
|
-
console.error(e);
|
|
23
|
-
process.exit(1);
|
|
24
|
-
});
|
|
22
|
+
initializeGateway();
|