create-ampless 1.0.0-alpha.98 → 1.0.0-beta.148
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/README.ja.md +4 -4
- package/README.md +4 -4
- package/dist/index.js +198 -29
- package/dist/templates/_shared/README.ja.md +4 -4
- package/dist/templates/_shared/README.md +4 -4
- package/dist/templates/_shared/amplify/backend.ts +1 -1
- package/dist/templates/_shared/amplify/data/get-published-post.js +13 -1
- package/dist/templates/_shared/amplify/data/list-posts-by-tag.js +15 -3
- package/dist/templates/_shared/amplify/data/list-published-posts.js +26 -15
- package/dist/templates/_shared/amplify/events/dispatcher/handler.ts +11 -1
- package/dist/templates/_shared/amplify/secrets/encryption-key.ts +2 -2
- package/dist/templates/_shared/app/(admin)/admin/_editor-bootstrap.tsx +13 -0
- package/dist/templates/_shared/app/(admin)/admin/layout.tsx +2 -1
- package/dist/templates/_shared/app/(admin)/admin/preview/route.tsx +4 -0
- package/dist/templates/_shared/cms.config.ts +3 -0
- package/dist/templates/_shared/docs/plugin-author-guide.ja.md +841 -31
- package/dist/templates/_shared/docs/plugin-author-guide.md +1147 -80
- package/dist/templates/_shared/package.json +17 -16
- package/dist/templates/_shared/plugins/README.ja.md +1 -1
- package/dist/templates/_shared/plugins/README.md +1 -1
- package/dist/templates/blog/pages/home.tsx +5 -5
- package/dist/templates/blog/pages/post.tsx +5 -3
- package/dist/templates/corporate/pages/home.tsx +5 -5
- package/dist/templates/corporate/pages/post.tsx +5 -3
- package/dist/templates/dads/pages/home.tsx +5 -5
- package/dist/templates/dads/pages/post.tsx +5 -3
- package/dist/templates/docs/pages/post.tsx +5 -3
- package/dist/templates/landing/pages/home.tsx +5 -5
- package/dist/templates/landing/pages/post.tsx +5 -3
- package/dist/templates/minimal/pages/post.tsx +5 -3
- package/dist/templates/plugin-local/README.md +1 -1
- package/dist/templates/plugin-standalone/README.ja.md +3 -3
- package/dist/templates/plugin-standalone/README.md +3 -3
- package/package.json +1 -1
|
@@ -41,6 +41,9 @@ export default defineConfig({
|
|
|
41
41
|
// IANA timezone used for date rendering. Pin this so SSR and CSR
|
|
42
42
|
// always produce the same string. Examples: 'Asia/Tokyo', 'America/New_York'.
|
|
43
43
|
timezone: 'UTC',
|
|
44
|
+
// Post revision history. Every post save is snapshotted into the
|
|
45
|
+
// PostHistory table by the event-dispatcher Lambda.
|
|
46
|
+
// history: { retentionDays: 0 }, // 0 = keep every revision forever; e.g. 365 to expire after a year
|
|
44
47
|
// Active plugins. Order doesn't matter; the runtime aggregates metadata
|
|
45
48
|
// and runs hooks for events each plugin subscribes to.
|
|
46
49
|
//
|