@sarimarcus/content-sites-tourism 0.28.0 → 0.28.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/CHANGELOG.md +4 -0
- package/package.json +3 -3
- package/src/schema/builders.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All packages in the platform release in lockstep; entries are per release version.
|
|
4
4
|
|
|
5
|
+
## 0.28.1 (2026-10-06)
|
|
6
|
+
|
|
7
|
+
- `./schema` touristTrip stop URLs resolve through the RouteMap (`ctx.route`), and the monument and museum builders inherit core's stricter free-entry rule (SLA-2983).
|
|
8
|
+
|
|
5
9
|
## 0.28.0 (2026-10-05)
|
|
6
10
|
|
|
7
11
|
- No changes; lockstep release with core (SLA-2972).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarimarcus/content-sites-tourism",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.1",
|
|
4
4
|
"description": "City-tourism vertical: city-entity components, pages templates and utilities for the tourism sites.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"astro": "^7.0.6",
|
|
38
38
|
"tailwindcss": "^4.1.18",
|
|
39
|
-
"@sarimarcus/content-sites-core": "0.28.
|
|
40
|
-
"@sarimarcus/content-sites-ui": "0.28.
|
|
39
|
+
"@sarimarcus/content-sites-core": "0.28.1",
|
|
40
|
+
"@sarimarcus/content-sites-ui": "0.28.1"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/src/schema/builders.ts
CHANGED
|
@@ -158,7 +158,7 @@ export function touristTripBuilder(options: TouristTripOptions = {}): SchemaBuil
|
|
|
158
158
|
name: stop.name,
|
|
159
159
|
description: stop.description,
|
|
160
160
|
geo: geoCoordinates(stop.coordinates),
|
|
161
|
-
...(stop.slug && stop.type !== 'landmark' ? { url: ctx.
|
|
161
|
+
...(stop.slug && stop.type !== 'landmark' ? { url: ctx.route(stop.type, stop.slug) } : {}),
|
|
162
162
|
},
|
|
163
163
|
})),
|
|
164
164
|
},
|