ochre-sdk 0.22.23 → 0.22.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/dist/index.d.mts +1 -0
- package/dist/index.mjs +3 -0
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -864,6 +864,7 @@ type Website = {
|
|
|
864
864
|
properties: {
|
|
865
865
|
type: WebsiteType;
|
|
866
866
|
status: "development" | "preview" | "production";
|
|
867
|
+
versionLabel: "experimental" | "alpha" | "beta" | "test" | "staging" | "pre-release" | "release";
|
|
867
868
|
privacy: "public" | "password" | "private";
|
|
868
869
|
contact: {
|
|
869
870
|
name: string;
|
package/dist/index.mjs
CHANGED
|
@@ -5295,11 +5295,14 @@ function parseWebsiteProperties(properties, websiteTree, sidebar) {
|
|
|
5295
5295
|
type ??= "traditional";
|
|
5296
5296
|
let status = getPropertyValueContentByLabel(websiteProperties, "status");
|
|
5297
5297
|
status ??= "development";
|
|
5298
|
+
let versionLabel = getPropertyValueContentByLabel(websiteProperties, "version-label");
|
|
5299
|
+
versionLabel ??= "release";
|
|
5298
5300
|
let privacy = getPropertyValueContentByLabel(websiteProperties, "privacy");
|
|
5299
5301
|
privacy ??= "public";
|
|
5300
5302
|
const returnProperties = {
|
|
5301
5303
|
type,
|
|
5302
5304
|
status,
|
|
5305
|
+
versionLabel,
|
|
5303
5306
|
privacy,
|
|
5304
5307
|
contact: null,
|
|
5305
5308
|
loadingVariant: "spinner",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ochre-sdk",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Node.js library for working with OCHRE (Online Cultural and Historical Research Environment) data",
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
"@date-fns/utc": "^2.1.1",
|
|
47
47
|
"date-fns": "^4.1.0",
|
|
48
48
|
"fast-equals": "^6.0.0",
|
|
49
|
-
"valibot": "^1.
|
|
49
|
+
"valibot": "^1.4.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@antfu/eslint-config": "^
|
|
53
|
-
"@types/node": "^24.12.
|
|
54
|
-
"bumpp": "^11.0
|
|
52
|
+
"@antfu/eslint-config": "^9.0.0",
|
|
53
|
+
"@types/node": "^24.12.3",
|
|
54
|
+
"bumpp": "^11.1.0",
|
|
55
55
|
"eslint": "^10.3.0",
|
|
56
56
|
"prettier": "^3.8.3",
|
|
57
|
-
"tsdown": "^0.
|
|
57
|
+
"tsdown": "^0.22.0",
|
|
58
58
|
"typescript": "^6.0.3",
|
|
59
|
-
"vitest": "^4.1.
|
|
59
|
+
"vitest": "^4.1.6"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"dev": "tsdown src/index.ts --watch",
|