@nocobase/server 1.6.0-beta.18 → 1.6.0-beta.19
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.
|
@@ -164,8 +164,14 @@ var resource_default = {
|
|
|
164
164
|
const pkgPath = import_path.default.resolve(process.env.NODE_MODULES_PATH, item.packageName);
|
|
165
165
|
const r = await import_fs_extra.default.exists(pkgPath);
|
|
166
166
|
if (r) {
|
|
167
|
-
|
|
168
|
-
const
|
|
167
|
+
let t = "";
|
|
168
|
+
const dist = import_path.default.resolve(pkgPath, PLUGIN_CLIENT_ENTRY_FILE);
|
|
169
|
+
const distExists = await import_fs_extra.default.exists(dist);
|
|
170
|
+
if (distExists) {
|
|
171
|
+
const fsState = await import_fs_extra.default.stat(distExists ? dist : pkgPath);
|
|
172
|
+
t = `&t=${fsState.mtime.getTime()}`;
|
|
173
|
+
}
|
|
174
|
+
const url = `${process.env.APP_SERVER_BASE_URL}${process.env.PLUGIN_STATICS_PATH}${item.packageName}/${PLUGIN_CLIENT_ENTRY_FILE}?version=${item.version}${t}`;
|
|
169
175
|
arr.push({
|
|
170
176
|
...item.toJSON(),
|
|
171
177
|
url
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/server",
|
|
3
|
-
"version": "1.6.0-beta.
|
|
3
|
+
"version": "1.6.0-beta.19",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
"@koa/cors": "^5.0.0",
|
|
11
11
|
"@koa/multer": "^3.0.2",
|
|
12
12
|
"@koa/router": "^9.4.0",
|
|
13
|
-
"@nocobase/acl": "1.6.0-beta.
|
|
14
|
-
"@nocobase/actions": "1.6.0-beta.
|
|
15
|
-
"@nocobase/auth": "1.6.0-beta.
|
|
16
|
-
"@nocobase/cache": "1.6.0-beta.
|
|
17
|
-
"@nocobase/data-source-manager": "1.6.0-beta.
|
|
18
|
-
"@nocobase/database": "1.6.0-beta.
|
|
19
|
-
"@nocobase/evaluators": "1.6.0-beta.
|
|
20
|
-
"@nocobase/lock-manager": "1.6.0-beta.
|
|
21
|
-
"@nocobase/logger": "1.6.0-beta.
|
|
22
|
-
"@nocobase/resourcer": "1.6.0-beta.
|
|
23
|
-
"@nocobase/sdk": "1.6.0-beta.
|
|
24
|
-
"@nocobase/telemetry": "1.6.0-beta.
|
|
25
|
-
"@nocobase/utils": "1.6.0-beta.
|
|
13
|
+
"@nocobase/acl": "1.6.0-beta.19",
|
|
14
|
+
"@nocobase/actions": "1.6.0-beta.19",
|
|
15
|
+
"@nocobase/auth": "1.6.0-beta.19",
|
|
16
|
+
"@nocobase/cache": "1.6.0-beta.19",
|
|
17
|
+
"@nocobase/data-source-manager": "1.6.0-beta.19",
|
|
18
|
+
"@nocobase/database": "1.6.0-beta.19",
|
|
19
|
+
"@nocobase/evaluators": "1.6.0-beta.19",
|
|
20
|
+
"@nocobase/lock-manager": "1.6.0-beta.19",
|
|
21
|
+
"@nocobase/logger": "1.6.0-beta.19",
|
|
22
|
+
"@nocobase/resourcer": "1.6.0-beta.19",
|
|
23
|
+
"@nocobase/sdk": "1.6.0-beta.19",
|
|
24
|
+
"@nocobase/telemetry": "1.6.0-beta.19",
|
|
25
|
+
"@nocobase/utils": "1.6.0-beta.19",
|
|
26
26
|
"@types/decompress": "4.2.7",
|
|
27
27
|
"@types/ini": "^1.3.31",
|
|
28
28
|
"@types/koa-send": "^4.1.3",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"@types/serve-handler": "^6.1.1",
|
|
57
57
|
"@types/ws": "^8.5.5"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "3d63b81ba99b4c9c30fbf9ad879c675281d28c28"
|
|
60
60
|
}
|