create-sitecore-jss 22.2.0-canary.51 → 22.2.0-canary.53

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.
@@ -4,6 +4,7 @@ import compression from 'compression';
4
4
  import { createProxyMiddleware } from 'http-proxy-middleware';
5
5
  import { debug } from '@sitecore-jss/sitecore-jss';
6
6
  import { editingRouter } from '@sitecore-jss/sitecore-jss-proxy';
7
+ import { healthCheck } from '@sitecore-jss/sitecore-jss-proxy';
7
8
  import { config } from './config';
8
9
 
9
10
  const server = express();
@@ -127,6 +128,11 @@ server.use(
127
128
  })
128
129
  );
129
130
 
131
+ /**
132
+ * The health check endpoint
133
+ */
134
+ server.use(healthCheck());
135
+
130
136
  /**
131
137
  * Proxy editing requests through the editing router
132
138
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sitecore-jss",
3
- "version": "22.2.0-canary.51",
3
+ "version": "22.2.0-canary.53",
4
4
  "description": "Sitecore JSS initializer",
5
5
  "bin": "./dist/index.js",
6
6
  "scripts": {
@@ -63,5 +63,5 @@
63
63
  "ts-node": "^10.9.1",
64
64
  "typescript": "~4.9.5"
65
65
  },
66
- "gitHead": "103e009bbd767a0c753864fcc28c34eb522ab7f4"
66
+ "gitHead": "3fab1ea7316a7f74584a8e324844e04cf6be4c71"
67
67
  }