@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.
- package/bin/goodfellow-next.js +85 -7
- package/dist/admin.js +2 -2
- package/dist/components.d.ts +18 -1
- package/dist/components.js +65 -4
- package/dist/config.d.ts +12 -2
- package/dist/config.js +106 -19
- package/dist/{dev-editor-CzE9HofK.js → dev-editor-BYUVUdPI.js} +1 -1
- package/dist/export.d.ts +34 -11
- package/dist/export.js +79 -14
- package/dist/image-sizes-mark-BOE7ObB9.js +17 -0
- package/dist/index.d.ts +10 -4
- package/dist/index.js +127 -27
- package/dist/{plugins-K5i8XztM.js → plugins-UKkfu0Uj.js} +3 -2
- package/dist/server.d.ts +7 -0
- package/dist/server.js +4 -1
- package/dist/{site-files-BeLnLxCl.js → site-files-Cmu3ovIs.js} +30 -16
- package/package.json +16 -11
|
@@ -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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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.
|
|
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.
|
|
67
|
-
"@goodfellow-cms/core": "0.
|
|
68
|
-
"@goodfellow-cms/react": "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.
|
|
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.
|
|
80
|
-
"@goodfellow-cms/bitbucket": "0.
|
|
81
|
-
"@goodfellow-cms/github": "0.
|
|
82
|
-
"@goodfellow-cms/gitlab": "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",
|