@keystatic/templates-nextjs 0.0.3 → 0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @keystatic/templates-nextjs
2
2
 
3
+ ## 0.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [bbbca74f]
8
+ - Updated dependencies [944dbe67]
9
+ - Updated dependencies [91857b9b]
10
+ - Updated dependencies [0bafd9f1]
11
+ - Updated dependencies [9f16e062]
12
+ - @keystatic/core@0.0.108
13
+
14
+ ## 0.0.4
15
+
16
+ ### Patch Changes
17
+
18
+ - 12905059: Moved API routes from pages to app directory.
19
+
3
20
  ## 0.0.3
4
21
 
5
22
  ### Patch Changes
@@ -0,0 +1,6 @@
1
+ import { makeRouteHandler } from '@keystatic/next/route-handler';
2
+ import keystaticConfig from '../../../../keystatic.config';
3
+
4
+ export const { POST, GET } = makeRouteHandler({
5
+ config: keystaticConfig,
6
+ });
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@keystatic/templates-nextjs",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
- "@keystatic/core": "^0.0.107",
6
+ "@keystatic/core": "^0.0.108",
7
7
  "@keystatic/next": "^0.0.11",
8
8
  "next": "^13.4.4",
9
9
  "react": "^18.2.0",
@@ -1,6 +0,0 @@
1
- import config from '../../../keystatic.config';
2
- import { makeAPIRouteHandler } from '@keystatic/next/api';
3
-
4
- export default makeAPIRouteHandler({
5
- config,
6
- });