Skip to content

chore: release main#9

Closed
pleaseai-bot[bot] wants to merge 1 commit into
mainfrom
release-please--branches--main
Closed

chore: release main#9
pleaseai-bot[bot] wants to merge 1 commit into
mainfrom
release-please--branches--main

Conversation

@pleaseai-bot
Copy link
Copy Markdown
Contributor

@pleaseai-bot pleaseai-bot Bot commented Dec 4, 2025

🤖 I have created a release beep boop

docs: 1.0.0

1.0.0 (2025-12-04)

⚠ BREAKING CHANGES

  • layer: Tabs now use ::tabs-item{label="..."} syntax instead of ::tabs-list/::tabs-trigger/::tabs-content

Features

  • add release-please, cloudflare deployment, and dotenvx configuration (5ce0642)
  • docs: configure Nuxt Content to use Cloudflare D1 database (be5192e)
  • initial (d0522ff)
  • layer: add Accordion, Card UI and FeatureCard content components (1e8b02b)
  • layer: add custom content components and UI primitives for extending apps (#8) (7615ad7)
  • layer: add PageHero, PageSection, PageCard components and enhance ButtonA (#5) (220164d)
  • layer: add shadcn-vue CLI components and MDC content system (66a2f1d)
  • layer: enhance MDC tabs with icons, type safety, and accessibility (#6) (facd76c)

Bug Fixes

  • deps: add zod and zod-to-json-schema for Nuxt Content schema support (6ec61a2)
  • docs: update compatibility date and change nitro preset to cloudflare_pages (d873a08)
  • layer: add @source for TypeScript files in Tailwind CSS v4 (140b06c)
  • layer: add proper code block styling with Tailwind import (#7) (450599c)
  • layer: replace nuxt-shiki with @nuxt/content built-in highlighting (54b7a42)
  • layer: resolve UI components from layer directory in multi-layer setup (#3) (1f40071)

Documentation

  • components: add content/MDC component documentation (fa975a9)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • docs-please bumped to 0.2.0-beta.0
docs-please: 0.2.0-beta.0

0.2.0-beta.0 (2025-12-04)

⚠ BREAKING CHANGES

  • layer: Tabs now use ::tabs-item{label="..."} syntax instead of ::tabs-list/::tabs-trigger/::tabs-content

Features

  • layer: add Accordion, Card UI and FeatureCard content components (1e8b02b)
  • layer: add custom content components and UI primitives for extending apps (#8) (7615ad7)
  • layer: add PageHero, PageSection, PageCard components and enhance ButtonA (#5) (220164d)
  • layer: add shadcn-vue CLI components and MDC content system (66a2f1d)
  • layer: enhance MDC tabs with icons, type safety, and accessibility (#6) (facd76c)

Bug Fixes

  • deps: add zod and zod-to-json-schema for Nuxt Content schema support (6ec61a2)
  • layer: add @source for TypeScript files in Tailwind CSS v4 (140b06c)
  • layer: add proper code block styling with Tailwind import (#7) (450599c)
  • layer: prerender index route for Cloudflare Pages D1 compatibility (52b8ad0)
  • layer: replace nuxt-shiki with @nuxt/content built-in highlighting (54b7a42)
  • layer: resolve i18n type error with any cast (28d6b25)
  • layer: resolve UI components from layer directory in multi-layer setup (#3) (1f40071)
  • layer: simplify landing collection query to fix prerender (a636fa2)
  • layer: use slot pattern for ProsePre to fix getShikiHighlighter error (bb2b132)

This PR was generated with Release Please. See documentation.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Dec 4, 2025

Deploying docs-please with  Cloudflare Pages  Cloudflare Pages

Latest commit: cf0fb22
Status:🚫  Deploy failed.

View logs

@amondnet amondnet closed this Dec 4, 2025
amondnet added a commit that referenced this pull request May 28, 2026
* feat(layer): add Vercel markdown-rewrite module

Adds a Nuxt module that injects Vercel build-output rewrite rules so
that AI agents (anything sending `Accept: text/markdown` or
`User-Agent: curl/*`) get served raw markdown instead of the SPA shell.

Behaviour:
- No-op on every non-Vercel preset (matches `vercel`, `vercel-edge`,
  `vercel-static`, etc. via `preset.startsWith('vercel')`).
- On Vercel: read `<output.publicDir>/../config.json`, validate that
  `llms.txt` was emitted, and unshift route pairs onto `routes` so
  they fire before the SPA fallback.
- Rules:
  - `/`         -> `/llms.txt`
  - `/<locale>` -> `/llms.txt`   (per `runtimeConfig.public.i18n.locales`)
  - `/<page>`   -> `/raw<page>.md` for every `/raw/...md` link found
    in `llms.txt`
- Vercel's `has` array is AND-ed, so OR semantics between the
  `Accept` and `User-Agent` matchers require emitting two rules per
  `src` -> `dest` pair.
- Locale codes are regex-escaped before being joined into the
  alternation so exotic codes can't break the pattern.

Ports upstream docus commits `6fd8686b` and `9ceafe6f` -- see
`docs/docus-upstream-changes.md` item #9.

Verification:
- `bun lint`        -> clean
- `bun typecheck`   -> no new errors in `markdown-rewrite.ts`
- `NITRO_PRESET=vercel bun --filter @pleaseai/docs-site build`
  injects two routes (homepage / Accept + User-Agent) into
  `.vercel/output/config.json`.
- Default (cloudflare) build is unchanged; module bails silently.

* fix(layer): apply review suggestions

Apply review feedback from cubic-dev-ai and gemini-code-assist on
the markdown-rewrite module:

- Read locale config from `nuxt.options.i18n` instead of
  `runtimeConfig.public.i18n` (matching the pattern used by the
  `nitro:config` hook in nuxt.config.ts). The i18n module does
  not always populate `runtimeConfig.public.i18n`, so the previous
  source could silently miss locale routes. (cubic)
- Decode the URL pathname with `decodeURIComponent` so that paths
  with URL-encoded characters (e.g. `%20`) match Vercel's router,
  which compares against decoded request pathnames. (gemini)
- Allow an optional trailing slash on docs page route patterns
  (`/?$` instead of `$`) so requests like
  `/en/getting-started/installation/` are matched consistently
  with the per-locale homepage routes. (cubic, gemini)

* Merge branch 'main' into worktree-agent-a1a3a89e87faf9e6d

Resolve modules-array conflict in packages/layer/nuxt.config.ts by
keeping both new module registrations from #29/#30/#31 and this PR's
markdown-rewrite module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant