@goodfellow-cms/next 0.7.0 → 0.9.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.
@@ -1,6 +1,8 @@
1
1
  //#region src/site-files.ts
2
2
  /** The release whose Next.js sites have the editor's sandboxed frames at `app/admin/editor/`. */
3
3
  const FRAMES_RELEASE = "0.5.0";
4
+ /** The release whose Next.js sites tell Vercel not to build drafts' and plugins' tasks' branches. */
5
+ const VERCEL_BRANCHES_RELEASE = "0.9.0";
4
6
  /** `app/admin/page.tsx` as every release before the frames wrote it, loading the site's config itself. */
5
7
  const CLIENT_ADMIN_PAGE = `"use client";
6
8
 
@@ -30,21 +32,33 @@ export default function EditorPage() {
30
32
  return <GoodfellowEditor config={config} />;
31
33
  }
32
34
  `;
33
- /**
34
- * The Next.js starter's files that `goodfellow-next update` keeps up to date
35
- * where nobody has changed them, as the starter now has them. A test checks
36
- * they match `templates/next`.
37
- */
38
- const NEXT_SITE_FILES = [{
39
- path: "app/admin/page.tsx",
40
- since: FRAMES_RELEASE,
41
- content: ADMIN_PAGE,
42
- earlier: [CLIENT_ADMIN_PAGE]
43
- }, {
44
- path: "app/admin/editor/page.tsx",
45
- since: FRAMES_RELEASE,
46
- content: EDITOR_PAGE,
47
- earlier: []
48
- }];
35
+ const NEXT_SITE_FILES = [
36
+ {
37
+ path: "app/admin/page.tsx",
38
+ since: FRAMES_RELEASE,
39
+ content: ADMIN_PAGE,
40
+ earlier: [CLIENT_ADMIN_PAGE]
41
+ },
42
+ {
43
+ path: "app/admin/editor/page.tsx",
44
+ since: FRAMES_RELEASE,
45
+ content: EDITOR_PAGE,
46
+ earlier: []
47
+ },
48
+ {
49
+ path: "vercel.json",
50
+ since: VERCEL_BRANCHES_RELEASE,
51
+ content: `{
52
+ "git": {
53
+ "deploymentEnabled": {
54
+ "goodfellow-draft-*": false,
55
+ "goodfellow-task-*": false
56
+ }
57
+ }
58
+ }
59
+ `,
60
+ earlier: []
61
+ }
62
+ ];
49
63
  //#endregion
50
64
  export { EDITOR_PAGE as n, NEXT_SITE_FILES as r, ADMIN_PAGE as t };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@goodfellow-cms/next",
3
- "version": "0.7.0",
4
- "description": "Goodfellow pages and the admin panel in a Next.js site.",
3
+ "version": "0.9.0",
4
+ "description": "Goodfellow CMS pages and the admin panel in a Next.js site.",
5
5
  "keywords": [
6
6
  "goodfellow",
7
7
  "cms",
@@ -12,6 +12,10 @@
12
12
  ],
13
13
  "homepage": "https://goodfellow-cms.github.io/goodfellow-cms/docs/nextjs",
14
14
  "bugs": "https://github.com/goodfellow-cms/goodfellow-cms/issues",
15
+ "funding": {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/goodfellow-cms"
18
+ },
15
19
  "license": "MIT",
16
20
  "repository": {
17
21
  "type": "git",
@@ -63,23 +67,24 @@
63
67
  "dist"
64
68
  ],
65
69
  "dependencies": {
66
- "@goodfellow-cms/ai": "0.7.0",
67
- "@goodfellow-cms/core": "0.7.0",
68
- "@goodfellow-cms/react": "0.7.0",
69
- "rolldown": "1.2.12"
70
+ "@goodfellow-cms/ai": "0.9.0",
71
+ "@goodfellow-cms/core": "0.9.0",
72
+ "@goodfellow-cms/react": "0.9.0",
73
+ "rolldown": "1.2.12",
74
+ "sharp": "0.35.5"
70
75
  },
71
76
  "peerDependencies": {
72
- "@goodfellow-cms/admin": "0.7.0",
77
+ "@goodfellow-cms/admin": "0.9.0",
73
78
  "@puckeditor/core": "0.23.0",
74
79
  "next": "^16.0.0",
75
80
  "react": "^19.0.0",
76
81
  "react-dom": "^19.0.0"
77
82
  },
78
83
  "devDependencies": {
79
- "@goodfellow-cms/admin": "0.7.0",
80
- "@goodfellow-cms/bitbucket": "0.7.0",
81
- "@goodfellow-cms/github": "0.7.0",
82
- "@goodfellow-cms/gitlab": "0.7.0",
84
+ "@goodfellow-cms/admin": "0.9.0",
85
+ "@goodfellow-cms/bitbucket": "0.9.0",
86
+ "@goodfellow-cms/github": "0.9.0",
87
+ "@goodfellow-cms/gitlab": "0.9.0",
83
88
  "@puckeditor/core": "0.23.0",
84
89
  "@tailwindcss/browser": "4.3.3",
85
90
  "@types/react": "^19.2.0",