@crombolo/server 0.41.1 → 0.42.1
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/package.json +13 -13
- package/src/config.ts +1 -1
- package/src/status.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crombolo/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.1",
|
|
4
4
|
"description": "Internal to crombolo, with no compatibility promise: use @crombolo/crombolo. The crombolo HTTP server: routing, configuration, media stores and background jobs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Crombolo",
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@crombolo/api-delivery": "0.
|
|
35
|
-
"@crombolo/api-management": "0.
|
|
36
|
-
"@crombolo/auth": "0.
|
|
37
|
-
"@crombolo/backoffice-host": "0.
|
|
38
|
-
"@crombolo/common": "0.
|
|
39
|
-
"@crombolo/content": "0.
|
|
40
|
-
"@crombolo/contracts": "0.
|
|
41
|
-
"@crombolo/core": "0.
|
|
42
|
-
"@crombolo/data": "0.
|
|
43
|
-
"@crombolo/render": "0.
|
|
44
|
-
"@crombolo/schema": "0.
|
|
45
|
-
"@crombolo/transfer": "0.
|
|
34
|
+
"@crombolo/api-delivery": "0.42.1",
|
|
35
|
+
"@crombolo/api-management": "0.42.1",
|
|
36
|
+
"@crombolo/auth": "0.42.1",
|
|
37
|
+
"@crombolo/backoffice-host": "0.42.1",
|
|
38
|
+
"@crombolo/common": "0.42.1",
|
|
39
|
+
"@crombolo/content": "0.42.1",
|
|
40
|
+
"@crombolo/contracts": "0.42.1",
|
|
41
|
+
"@crombolo/core": "0.42.1",
|
|
42
|
+
"@crombolo/data": "0.42.1",
|
|
43
|
+
"@crombolo/render": "0.42.1",
|
|
44
|
+
"@crombolo/schema": "0.42.1",
|
|
45
|
+
"@crombolo/transfer": "0.42.1",
|
|
46
46
|
"@logtape/logtape": "^2.3.8",
|
|
47
47
|
"jose": "^6.2.12"
|
|
48
48
|
}
|
package/src/config.ts
CHANGED
|
@@ -982,7 +982,7 @@ export function describeDatabase(
|
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
984
|
|
|
985
|
-
export const VERSION = '0.
|
|
985
|
+
export const VERSION = '0.42.1'
|
|
986
986
|
|
|
987
987
|
/** A whole number of seconds from the environment; undefined when unset or not one. */
|
|
988
988
|
/** A positive number from a setting, else the default. */
|
package/src/status.ts
CHANGED
|
@@ -113,13 +113,13 @@ async function contentCounts(db: Db): Promise<SiteStatus['content']> {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
/** The vendored client
|
|
116
|
+
/** The Umbraco release the vendored client was built from, which is a fact about this deployment too. */
|
|
117
117
|
export function backofficeVersion(): string | undefined {
|
|
118
118
|
for (const base of [join(import.meta.dir, '..', '..'), process.cwd()]) {
|
|
119
|
-
const file = join(base, 'backoffice-dist', '
|
|
119
|
+
const file = join(base, 'backoffice-dist', 'dist', 'VERSION')
|
|
120
120
|
if (!existsSync(file)) continue
|
|
121
121
|
try {
|
|
122
|
-
return
|
|
122
|
+
return readFileSync(file, 'utf8').trim().split('@').pop() || undefined
|
|
123
123
|
} catch {
|
|
124
124
|
return undefined
|
|
125
125
|
}
|