@exdst-sitecore-content-sdk/astro 0.0.25 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +26 -1
  2. package/package.json +32 -19
package/README.md CHANGED
@@ -1,3 +1,28 @@
1
1
  # Sitecore Content SDK for Astro
2
2
 
3
- This module contains Astro components and integration for Sitecore Content SDK.
3
+ `@exdst-sitecore-content-sdk/astro` provides Astro components and integration for the [Sitecore Content SDK](https://doc.sitecore.com/xmc/en/developers/content-sdk/index.html), letting you build SitecoreAI / XM Cloud websites with [Astro](https://astro.build/). It follows the same patterns as the official Next.js Content SDK and supports running Astro locally as a rendering host with metadata editing mode for the SitecoreAI Pages editor.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @exdst-sitecore-content-sdk/astro
9
+ ```
10
+
11
+ The fastest way to start a new project is the initializer:
12
+
13
+ ```bash
14
+ npx @exdst-sitecore-content-sdk/create-astro@latest
15
+ ```
16
+
17
+ ## Why Astro
18
+
19
+ Astro renders to HTML by default and only hydrates the islands that actually need JavaScript. Measured against the same demo on Next.js with the Content SDK, the Astro build delivers **+30 Lighthouse points (mobile)**, **3.2s faster LCP**, and **858 ms less main-thread blocking** — read the [case study](https://exdst.com/case-studies/sitecore-astro-sdk).
20
+
21
+ ## Learn more
22
+
23
+ * Release notes: [Sitecore Astro Content SDK release](https://exdst.com/posts/20260531-astro-content-sdk-release)
24
+ * Why Astro for Sitecore: [case study](https://exdst.com/case-studies/sitecore-astro-sdk) · [Astro services](https://exdst.com/services/astro)
25
+ * Repository root: [jss-astro-public](../../../README.md)
26
+ * Initializer: [`@exdst-sitecore-content-sdk/create-astro`](../create-astro-content-sdk-app/)
27
+
28
+ Sponsored by [EXDST](https://exdst.com/)
package/package.json CHANGED
@@ -1,7 +1,19 @@
1
1
  {
2
2
  "name": "@exdst-sitecore-content-sdk/astro",
3
- "version": "0.0.25",
3
+ "version": "1.0.1",
4
4
  "description": "Astro Content SDK for Sitecore AI (XM Cloud)",
5
+ "keywords": [
6
+ "sitecore",
7
+ "astro",
8
+ "headless",
9
+ "ssg",
10
+ "islands",
11
+ "jamstack",
12
+ "content-sdk",
13
+ "xm-cloud",
14
+ "sitecoreai"
15
+ ],
16
+ "homepage": "https://github.com/exdst/jss-astro-public#astro-content-sdk",
5
17
  "type": "module",
6
18
  "sideEffects": false,
7
19
  "publishConfig": {
@@ -28,47 +40,48 @@
28
40
  },
29
41
  "repository": {
30
42
  "type": "git",
31
- "url": "https://github.com/exdst/jss-astro-public"
43
+ "url": "https://github.com/exdst/jss-astro-public",
44
+ "directory": "astro-content-sdk/packages/astro-content-sdk"
32
45
  },
33
46
  "license": "Apache-2.0",
34
47
  "bugs": {
35
48
  "url": "https://github.com/exdst/jss-astro-public/issues"
36
49
  },
37
50
  "devDependencies": {
38
- "@happy-dom/global-registrator": "^20.8.7",
39
- "@sitecore-content-sdk/events": "^2.0.1",
40
- "@stylistic/eslint-plugin": "^5.2.2",
41
- "@testing-library/jest-dom": "^6.6.3",
42
- "@types/chai": "^5.2.2",
51
+ "@happy-dom/global-registrator": "^20.8.9",
52
+ "@sitecore-content-sdk/events": "^2.0.2",
53
+ "@stylistic/eslint-plugin": "^5.2.3",
54
+ "@testing-library/jest-dom": "^6.6.4",
55
+ "@types/chai": "^5.2.3",
43
56
  "@types/chai-spies": "^1.0.6",
44
57
  "@types/chai-string": "^1.4.5",
45
- "@types/debug": "^4.1.12",
58
+ "@types/debug": "^4.1.13",
46
59
  "@types/mocha": "^10.0.10",
47
- "@types/node": "^24.10.4",
60
+ "@types/node": "^24.10.15",
48
61
  "@types/proxyquire": "^1.3.31",
49
62
  "@types/sinon": "^17.0.4",
50
63
  "@types/sinon-chai": "^4.0.0",
51
- "@typescript-eslint/eslint-plugin": "8.39.0",
52
- "@typescript-eslint/parser": "8.39.0",
53
- "astro": "^6.1.3",
64
+ "@typescript-eslint/eslint-plugin": "8.39.1",
65
+ "@typescript-eslint/parser": "8.39.1",
66
+ "astro": "^6.1.10",
54
67
  "chai": "^4.4.1",
55
68
  "chai-spies": "^1.1.0",
56
69
  "chai-string": "^1.6.0",
57
70
  "eslint": "^9.32.0",
58
71
  "eslint-config-prettier": "^10.1.8",
59
72
  "eslint-plugin-import": "2.32.0",
60
- "eslint-plugin-jsdoc": "52.0.3",
73
+ "eslint-plugin-jsdoc": "52.0.4",
61
74
  "eslint-plugin-prettier": "^4.0.0",
62
75
  "happy-dom": "^16.7.3",
63
76
  "mocha": "^11.2.2",
64
77
  "nyc": "^17.1.0",
65
- "prettier": "^2.8.0",
78
+ "prettier": "^2.8.8",
66
79
  "proxyquire": "^2.1.3",
67
80
  "sinon": "^20.0.0",
68
81
  "sinon-chai": "3.7.0",
69
82
  "tsx": "^4.19.4",
70
83
  "typescript": "~5.8.3",
71
- "vitest": "^3.0.4"
84
+ "vitest": "^3.0.9"
72
85
  },
73
86
  "peerDependencies": {
74
87
  "@sitecore-content-sdk/analytics-core": "^2.0.1",
@@ -76,12 +89,12 @@
76
89
  "astro": "^6.0.0"
77
90
  },
78
91
  "dependencies": {
79
- "@sitecore-content-sdk/content": "^2.0.1",
80
- "@sitecore-content-sdk/core": "^2.0.1",
92
+ "@sitecore-content-sdk/content": "^2.0.2",
93
+ "@sitecore-content-sdk/core": "^2.0.2",
81
94
  "chalk": "^4.1.2",
82
95
  "cookie": "^1.0.2",
83
- "debug": "^4.4.0",
84
- "glob": "^11.0.2",
96
+ "debug": "^4.4.3",
97
+ "glob": "^11.0.3",
85
98
  "nanostores": "^0.10.3"
86
99
  },
87
100
  "exports": {