create-ampless 1.0.0-beta.175 → 1.0.0-beta.177

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.
@@ -0,0 +1,6 @@
1
+ import { ampless } from '@/lib/ampless'
2
+ import { createLlmsTxtRouteHandler } from '@ampless/runtime/routes'
3
+
4
+ // Site-wide AI index. Disable with `cms.config.ai.llmsTxt: false`.
5
+ export const dynamic = 'force-dynamic'
6
+ export const GET = createLlmsTxtRouteHandler(ampless)
@@ -14,6 +14,7 @@ export default defineConfig({
14
14
  site: {
15
15
  name: '{{siteName}}',
16
16
  url: 'http://localhost:3000',
17
+ // description: 'One-line description of this site (used by SEO and /llms.txt).',
17
18
  },
18
19
  // Admin UI language. Built-in dictionaries: 'ja', 'en'. Add more by
19
20
  // dropping `locales/<code>.json` and registering it in `lib/i18n.ts`.
@@ -45,8 +46,9 @@ export default defineConfig({
45
46
  // PostHistory table by the event-dispatcher Lambda.
46
47
  // history: { retentionDays: 0 }, // 0 = keep every revision forever; e.g. 365 to expire after a year
47
48
  // AI-readable publishing. `/<slug>.md` serves a markdown projection of
48
- // each published post (default: enabled).
49
- // ai: { markdownRoutes: false }, // disable the /<slug>.md route
49
+ // each published post and `/llms.txt` serves a site-wide AI index
50
+ // (both default: enabled).
51
+ // ai: { markdownRoutes: false, llmsTxt: { limit: 100 } },
50
52
  // Active plugins. Order doesn't matter; the runtime aggregates metadata
51
53
  // and runs hooks for events each plugin subscribes to.
52
54
  //
@@ -26,21 +26,21 @@
26
26
  "@tiptap/pm": "^3.23.6",
27
27
  "@tiptap/react": "^3.23.6",
28
28
  "@tiptap/starter-kit": "^3.23.6",
29
- "@ampless/plugin-analytics-ga4": "^0.2.0-beta.40",
30
- "@ampless/plugin-cookie-consent": "^0.1.0-beta.31",
31
- "@ampless/plugin-gtm": "^0.2.0-beta.39",
32
- "@ampless/plugin-og-image": "^0.2.0-beta.56",
33
- "@ampless/plugin-plausible": "^0.2.0-beta.39",
34
- "@ampless/plugin-reading-time": "^0.1.0-beta.29",
35
- "@ampless/plugin-rss": "^0.2.0-beta.56",
36
- "@ampless/plugin-schema-jsonld": "^0.1.1-beta.35",
37
- "@ampless/plugin-seo": "^0.2.0-beta.56",
38
- "@ampless/plugin-webhook": "^0.2.0-beta.57",
39
- "@ampless/admin": "^1.0.0-beta.104",
40
- "@ampless/backend": "^1.0.0-beta.86",
41
- "@ampless/runtime": "^1.0.0-beta.69",
29
+ "@ampless/plugin-analytics-ga4": "^0.2.0-beta.41",
30
+ "@ampless/plugin-cookie-consent": "^0.1.0-beta.32",
31
+ "@ampless/plugin-gtm": "^0.2.0-beta.40",
32
+ "@ampless/plugin-og-image": "^0.2.0-beta.57",
33
+ "@ampless/plugin-plausible": "^0.2.0-beta.40",
34
+ "@ampless/plugin-reading-time": "^0.1.0-beta.30",
35
+ "@ampless/plugin-rss": "^0.2.0-beta.57",
36
+ "@ampless/plugin-schema-jsonld": "^0.1.1-beta.36",
37
+ "@ampless/plugin-seo": "^0.2.0-beta.57",
38
+ "@ampless/plugin-webhook": "^0.2.0-beta.58",
39
+ "@ampless/admin": "^1.0.0-beta.105",
40
+ "@ampless/backend": "^1.0.0-beta.87",
41
+ "@ampless/runtime": "^1.0.0-beta.70",
42
42
  "@digital-go-jp/tailwind-theme-plugin": "^0.3.4",
43
- "ampless": "^1.0.0-beta.56",
43
+ "ampless": "^1.0.0-beta.57",
44
44
  "aws-amplify": "^6.17.0",
45
45
  "class-variance-authority": "^0.7.1",
46
46
  "clsx": "^2.1.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ampless",
3
- "version": "1.0.0-beta.175",
3
+ "version": "1.0.0-beta.177",
4
4
  "description": "Create a new ampless project",
5
5
  "license": "MIT",
6
6
  "type": "module",