@lightspeed/crane 2.0.3 → 2.0.5

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.
Files changed (28) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/cli.mjs +37 -21
  3. package/package.json +3 -2
  4. package/template/headers/example-header/showcases/2.ts +0 -3
  5. package/template/page-templates/example-template/pages/custom.ts +6 -0
  6. package/template/preview/shared/api-routes.ts +337 -11
  7. package/template/preview/shared/preview.ts +86 -30
  8. package/template/preview/shared/utils.ts +0 -1
  9. package/template/preview/vite.config.js +5 -0
  10. package/template/reference/sections/about-us/component/Stats.vue +2 -2
  11. package/template/reference/sections/about-us/settings/content.ts +28 -21
  12. package/template/reference/sections/about-us/settings/design.ts +1 -1
  13. package/template/reference/sections/about-us/showcases/1.ts +1 -0
  14. package/template/reference/sections/about-us/showcases/2.ts +1 -0
  15. package/template/reference/sections/intro-slider/component/Slider.vue +1 -1
  16. package/template/reference/sections/intro-slider/component/Title.vue +2 -2
  17. package/template/reference/sections/intro-slider/settings/content.ts +22 -1
  18. package/template/reference/sections/intro-slider/settings/design.ts +1 -1
  19. package/template/reference/sections/intro-slider/showcases/1.ts +1 -0
  20. package/template/reference/sections/intro-slider/showcases/2.ts +1 -0
  21. package/template/reference/sections/tag-lines/component/HighlightedText.vue +1 -1
  22. package/template/reference/sections/tag-lines/component/Title.vue +1 -1
  23. package/template/reference/sections/tag-lines/settings/content.ts +34 -0
  24. package/template/reference/sections/trending-categories/component/Title.vue +1 -1
  25. package/template/sections/example-section/settings/content.ts +15 -13
  26. package/template/sections/example-section/showcases/1.ts +0 -1
  27. package/template/sections/example-section/showcases/2.ts +0 -1
  28. package/template/sections/example-section/showcases/3.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.5 - 2026-01-14
4
+
5
+ ### Added
6
+
7
+ - Add support for Category and Product selectors in the Deck content editor.
8
+
9
+ ### Changed
10
+
11
+ - Updated dependencies
12
+ - @lightspeed/crane-api@1.1.1
13
+
14
+ ### Fixed
15
+
16
+ - Add better error handling during 'preview' mode.
17
+ - Fix reference template showcases errors for 'preview' mode.
18
+
19
+ ## 2.0.4 - 2026-01-07
20
+
21
+ ### Added
22
+
23
+ - Fetch the local content configuration for Instant Site in 'preview' mode.
24
+ - Add support for initialising, building and deploying custom template pages.
25
+
26
+ ### Changed
27
+
28
+ - Updated dependencies
29
+ - @lightspeed/crane-api@1.1.0
30
+
31
+ ### Fixed
32
+
33
+ - Fix object transformation immutability during the 'deploy' process.
34
+ - Fix faulty configuration amongst reference custom sections, headers and footers.
35
+ - Overwrite the preview folder files to automatically enable new preview capabilities for older apps.
36
+
3
37
  ## 2.0.3 - 2025-12-17
4
38
 
5
39
  ### Fixed