@nocobase/app 2.1.22 → 2.1.24
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/client/src/__tests__/runtimePublicPath.test.ts +13 -3
- package/client/src/runtimePublicPath.ts +12 -3
- package/client-v2/src/__tests__/runtimePublicPath.test.ts +26 -0
- package/client-v2/src/main.tsx +2 -3
- package/client-v2/src/runtimePublicPath.ts +34 -0
- package/dist/client/assets/{index-22697985.js → index-81af4d74.js} +325 -324
- package/dist/client/assets/{vendor-markdown-c8e9c5dd.css → vendor-markdown-1f674ec1.css} +1 -1
- package/dist/client/assets/{vendor-markdown-6cd7c4ae.js → vendor-markdown-543b0a6e.js} +21 -21
- package/dist/client/assets/vendor-markdown-543b0a6e.js.LICENSE.txt +38 -0
- package/dist/client/assets/{vendor-misc-0f74f11a.js → vendor-misc-c30c528b.js} +5 -5
- package/dist/client/index.html +1 -1
- package/dist/client/index.html.tpl +1 -1
- package/dist/client/v/assets/{2025-5c7b4a6f.css → 8384-336ef7b3.css} +1 -1
- package/dist/client/v/assets/{2025-87ab227c.js → 8384-4b58de2e.js} +2 -2
- package/dist/client/v/assets/{2025-87ab227c.js.LICENSE.txt → 8384-4b58de2e.js.LICENSE.txt} +27 -0
- package/dist/client/v/assets/{index-5fc8727b.js → index-9b204fac.js} +157 -156
- package/dist/client/v/index.html +1 -1
- package/lib/config/cache.js +1 -1
- package/package.json +7 -7
- package/src/config/cache.ts +1 -1
- package/dist/client/assets/vendor-markdown-6cd7c4ae.js.LICENSE.txt +0 -11
- /package/dist/client/assets/{index-22697985.js.LICENSE.txt → index-81af4d74.js.LICENSE.txt} +0 -0
- /package/dist/client/assets/{vendor-misc-0f74f11a.js.LICENSE.txt → vendor-misc-c30c528b.js.LICENSE.txt} +0 -0
- /package/dist/client/v/assets/{index-5fc8727b.js.LICENSE.txt → index-9b204fac.js.LICENSE.txt} +0 -0
package/dist/client/v/index.html
CHANGED
|
@@ -14,7 +14,7 @@ window['__nocobase_ws_url__'] = window['__nocobase_ws_url__'] || "";
|
|
|
14
14
|
window['__nocobase_ws_path__'] = window['__nocobase_ws_path__'] || "/ws";
|
|
15
15
|
window['__nocobase_app_dev__'] = window['__nocobase_app_dev__'] || false;
|
|
16
16
|
window['__esm_cdn_base_url__'] = window['__esm_cdn_base_url__'] || "https://esm.sh";
|
|
17
|
-
window['__esm_cdn_suffix__'] = window['__esm_cdn_suffix__'] || "";</script><script src="/v/browser-checker.js?v=1"></script><script type="module" src="/v/assets/runtime-72080663.js"></script><script type="module" src="/v/assets/vendor-antd-ecosystem-de737eca.js"></script><script type="module" src="/v/assets/vendor-moment-84b317dc.js"></script><script type="module" src="/v/assets/vendor-lodash-905dd3b8.js"></script><script type="module" src="/v/assets/vendor-ses-b7bccbcd.js"></script><script type="module" src="/v/assets/vendor-antd-icons-97ed2369.js"></script><script type="module" src="/v/assets/vendor-antd-f8c3ace1.js"></script><script type="module" src="/v/assets/
|
|
17
|
+
window['__esm_cdn_suffix__'] = window['__esm_cdn_suffix__'] || "";</script><script src="/v/browser-checker.js?v=1"></script><script type="module" src="/v/assets/runtime-72080663.js"></script><script type="module" src="/v/assets/vendor-antd-ecosystem-de737eca.js"></script><script type="module" src="/v/assets/vendor-moment-84b317dc.js"></script><script type="module" src="/v/assets/vendor-lodash-905dd3b8.js"></script><script type="module" src="/v/assets/vendor-ses-b7bccbcd.js"></script><script type="module" src="/v/assets/vendor-antd-icons-97ed2369.js"></script><script type="module" src="/v/assets/vendor-antd-f8c3ace1.js"></script><script type="module" src="/v/assets/8384-4b58de2e.js"></script><script type="module" src="/v/assets/index-9b204fac.js"></script><link href="/v/assets/vendor-antd-debce1bd.css" rel="stylesheet"><link href="/v/assets/8384-336ef7b3.css" rel="stylesheet"></head>
|
|
18
18
|
<body>
|
|
19
19
|
<div id="root"></div>
|
|
20
20
|
</body>
|
package/lib/config/cache.js
CHANGED
|
@@ -29,7 +29,7 @@ __export(cache_exports, {
|
|
|
29
29
|
cacheManager: () => cacheManager
|
|
30
30
|
});
|
|
31
31
|
module.exports = __toCommonJS(cache_exports);
|
|
32
|
-
const redisURL = process.env.
|
|
32
|
+
const redisURL = process.env.CACHE_REDIS_URL || process.env.REDIS_URL;
|
|
33
33
|
const cacheManager = {
|
|
34
34
|
defaultStore: process.env.CACHE_DEFAULT_STORE || "memory",
|
|
35
35
|
stores: {
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/app",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.24",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@nocobase/cli-v1": "2.1.
|
|
10
|
-
"@nocobase/database": "2.1.
|
|
11
|
-
"@nocobase/preset-nocobase": "2.1.
|
|
12
|
-
"@nocobase/server": "2.1.
|
|
9
|
+
"@nocobase/cli-v1": "2.1.24",
|
|
10
|
+
"@nocobase/database": "2.1.24",
|
|
11
|
+
"@nocobase/preset-nocobase": "2.1.24",
|
|
12
|
+
"@nocobase/server": "2.1.24"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@nocobase/client": "2.1.
|
|
15
|
+
"@nocobase/client": "2.1.24"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
19
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
20
20
|
"directory": "packages/core/app"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "5b5e5c5987d6e93dadf940e0605e830b09f84f79"
|
|
23
23
|
}
|
package/src/config/cache.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
import { CacheManagerOptions } from '@nocobase/cache';
|
|
11
11
|
|
|
12
|
-
const redisURL = process.env.
|
|
12
|
+
const redisURL = process.env.CACHE_REDIS_URL || process.env.REDIS_URL;
|
|
13
13
|
export const cacheManager: CacheManagerOptions = {
|
|
14
14
|
defaultStore: process.env.CACHE_DEFAULT_STORE || 'memory',
|
|
15
15
|
stores: {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Wait for document loaded before starting the execution
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */
|
|
6
|
-
|
|
7
|
-
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
8
|
-
|
|
9
|
-
/*! Check if previously processed */
|
|
10
|
-
|
|
11
|
-
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
|
|
File without changes
|
|
File without changes
|
/package/dist/client/v/assets/{index-5fc8727b.js.LICENSE.txt → index-9b204fac.js.LICENSE.txt}
RENAMED
|
File without changes
|