create-content-sdk-app 2.4.0-canary.20260907183144 → 2.4.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.
@@ -12,8 +12,8 @@
12
12
  # CSDK_PUBLIC_SITECORE_API_HOST=
13
13
 
14
14
  # Site / language
15
- # CSDK_PUBLIC_SITECORE_DEFAULT_SITE=
16
- # CSDK_PUBLIC_SITECORE_DEFAULT_LANGUAGE=en
15
+ # CSDK_PUBLIC_DEFAULT_SITE_NAME=
16
+ # CSDK_PUBLIC_DEFAULT_LANGUAGE=en
17
17
 
18
18
  # Global switch for Content SDK experimental features. Set to `true`
19
19
  # together with individual `CSDK_EXPERIMENTAL_*` flags during development.
@@ -24,3 +24,6 @@
24
24
 
25
25
  # Timeout (ms) for Sitecore Experience Edge requests to respond within. Default is 400.
26
26
  # PERSONALIZE_MIDDLEWARE_EDGE_TIMEOUT=
27
+
28
+ # Optional secret for /api/revalidate endpoint used to revalidate loaders cache
29
+ # SITECORE_REVALIDATE_SECRET=
@@ -52,6 +52,9 @@ const loaderCache = createLoaderCache({
52
52
 
53
53
  app.use(express.json());
54
54
 
55
+ /** Health check endpoint. */
56
+ app.get('/healthz', (_req, res) => res.sendStatus(200));
57
+
55
58
  /** Production webhook: POST /api/revalidate (Sitecore Edge OSR). */
56
59
  app.use(
57
60
  createSitecoreRevalidateMiddleware({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-content-sdk-app",
3
- "version": "2.4.0-canary.20260907183144",
3
+ "version": "2.4.0",
4
4
  "description": "Sitecore Content SDK initializer",
5
5
  "bin": "./dist/index.js",
6
6
  "scripts": {
@@ -38,12 +38,12 @@
38
38
  "minimist": "^1.2.8"
39
39
  },
40
40
  "devDependencies": {
41
- "@sitecore-content-sdk/analytics-core": "2.1.3-canary.20260907183144",
42
- "@sitecore-content-sdk/angular": "0.3.0-canary.20260907183144",
43
- "@sitecore-content-sdk/cli": "2.3.0-canary.20260907183144",
44
- "@sitecore-content-sdk/events": "2.1.3-canary.20260907183144",
45
- "@sitecore-content-sdk/nextjs": "2.4.0-canary.20260907183144",
46
- "@sitecore-content-sdk/personalize": "2.1.1-canary.20260907183144",
41
+ "@sitecore-content-sdk/analytics-core": "^2.1.2",
42
+ "@sitecore-content-sdk/angular": "~1.0.0",
43
+ "@sitecore-content-sdk/cli": "^2.3.0",
44
+ "@sitecore-content-sdk/events": "^2.1.2",
45
+ "@sitecore-content-sdk/nextjs": "^2.4.0",
46
+ "@sitecore-content-sdk/personalize": "^2.1.0",
47
47
  "@stylistic/eslint-plugin": "^5.2.2",
48
48
  "@types/chai": "^5.2.2",
49
49
  "@types/cross-spawn": "^6.0.6",