@v-office/website-sdk 2.22.0 → 2.24.0
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/cli.mjs +2 -2
- package/dist/{client-BtZ30vTP.mjs → client-DC4LG3CP.mjs} +223 -31
- package/dist/index.d.mts +79 -5
- package/dist/index.mjs +3 -3
- package/dist/instructions/CHANGELOG.md +2 -0
- package/dist/instructions/MIGRATION.md +2 -0
- package/dist/instructions/creation.md +6 -0
- package/dist/instructions/search.md +85 -1
- package/dist/instructions/versions/2.23.0/CHANGELOG.md +62 -0
- package/dist/instructions/versions/2.23.0/MIGRATION.md +33 -0
- package/dist/instructions/versions/2.24.0/CHANGELOG.md +19 -0
- package/dist/instructions/versions/2.24.0/MIGRATION.md +17 -0
- package/dist/{rentals-DfNu7s7w.mjs → rentals-eqFhtCdT.mjs} +2 -12
- package/dist/{search-CZ1TRGAB.mjs → search-CKL-8T8q.mjs} +17 -5
- package/dist/{to-rental-highlights-CN-wpRh3.mjs → to-rental-highlights-C1NF2uuE.mjs} +343 -14
- package/instructions/CHANGELOG.md +2 -0
- package/instructions/MIGRATION.md +2 -0
- package/instructions/creation.md +6 -0
- package/instructions/search.md +85 -1
- package/instructions/versions/2.23.0/CHANGELOG.md +62 -0
- package/instructions/versions/2.23.0/MIGRATION.md +33 -0
- package/instructions/versions/2.23.0/release.json +3 -0
- package/instructions/versions/2.24.0/CHANGELOG.md +19 -0
- package/instructions/versions/2.24.0/MIGRATION.md +17 -0
- package/instructions/versions/2.24.0/release.json +3 -0
- package/package.json +7 -3
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Migration: 2.23.0 to 2.24.0
|
|
2
|
+
|
|
3
|
+
## 1. Upgrade
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
pnpm add @v-office/website-sdk@2.24.0
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
No changes are required.
|
|
10
|
+
|
|
11
|
+
## 2. Let the site manifest report the backend
|
|
12
|
+
|
|
13
|
+
The backend reaches the site manifest when the build also uses `@v-office/site-manifest` 0.1.0
|
|
14
|
+
or later (`siteManifest()` from `@v-office/site-manifest/astro` in `astro.config`). Nothing has
|
|
15
|
+
to be configured: the manifest reports the backend of every SDK the build constructs, in the
|
|
16
|
+
content loaders or while prerendering pages. An SDK that the site creates only in the browser
|
|
17
|
+
is not part of the build and is not reported.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@v-office/website-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.24.0",
|
|
4
4
|
"description": "Website-facing SDK facade backed by @v-office/sdk-core",
|
|
5
5
|
"bin": {
|
|
6
6
|
"website-sdk": "./dist/cli.mjs"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@graphql-typed-document-node/core": "3.2.0",
|
|
45
|
-
"@v-office/sdk-core": "1.
|
|
45
|
+
"@v-office/sdk-core": "1.24.0",
|
|
46
46
|
"effect": "4.0.0-rc.115",
|
|
47
47
|
"graphql": "17.0.2",
|
|
48
48
|
"yaml": "^2.9.0"
|
|
@@ -69,7 +69,11 @@
|
|
|
69
69
|
"build": "tsdown",
|
|
70
70
|
"codegen:v9:properties": "node codegen/v9/heuristic-generation/generate/index.ts && oxfmt codegen/v9/heuristic-generation/v9-data.ts",
|
|
71
71
|
"codegen:v9:graphql": "graphql-codegen --config codegen/v9/graphql-codegen/codegen.ts",
|
|
72
|
-
"codegen": "pnpm
|
|
72
|
+
"codegen:v9:v0:types": "pnpm --package=typescript@6.0.3 --package=openapi-typescript@7.13.0 dlx openapi-typescript codegen/v9/v0/openapi.yaml -o codegen/v9/v0/generated/openapi-types.ts && oxfmt codegen/v9/v0/generated/openapi-types.ts",
|
|
73
|
+
"codegen:v9:v0": "node codegen/v9/v0/generate/index.ts && oxfmt codegen/v9/v0/generated/v0-data.ts",
|
|
74
|
+
"codegen:v9:v1:types": "pnpm --package=typescript@6.0.3 --package=openapi-typescript@7.13.0 dlx openapi-typescript codegen/v9/v1/openapi.yaml -o codegen/v9/v1/generated/openapi-types.ts && oxfmt codegen/v9/v1/generated/openapi-types.ts",
|
|
75
|
+
"codegen:v9:v1": "node codegen/v9/v1/generate/index.ts && oxfmt codegen/v9/v1/generated/v1-data.ts",
|
|
76
|
+
"codegen": "pnpm run codegen:v9:properties && pnpm run codegen:v9:graphql && pnpm run codegen:v9:v0:types && pnpm run codegen:v9:v0 && pnpm run codegen:v9:v1:types && pnpm run codegen:v9:v1",
|
|
73
77
|
"dev": "tsdown --watch",
|
|
74
78
|
"typecheck": "tsc --noEmit",
|
|
75
79
|
"lint": "oxlint .",
|