From 62f9ffe35a1997a751995b33f8579f78308db323 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Jul 2026 17:47:08 +0000 Subject: [PATCH] [ci] release --- .changeset/opinionated-mdx-rebuild.md | 26 -------------------------- apps/docs/CHANGELOG.md | 8 ++++++++ apps/docs/package.json | 2 +- packages/sitex/CHANGELOG.md | 27 +++++++++++++++++++++++++++ packages/sitex/package.json | 2 +- 5 files changed, 37 insertions(+), 28 deletions(-) delete mode 100644 .changeset/opinionated-mdx-rebuild.md create mode 100644 apps/docs/CHANGELOG.md diff --git a/.changeset/opinionated-mdx-rebuild.md b/.changeset/opinionated-mdx-rebuild.md deleted file mode 100644 index fcc25dc..0000000 --- a/.changeset/opinionated-mdx-rebuild.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -"@fulldotdev/sitex": minor ---- - -Rebuild Sitex around MDX-only pages and a framework-owned document head. - -Breaking changes: - -- Pages are MDX files only. TSX files in `src/pages` fail the build with a migration error; move page markup into layouts and blocks. Dynamic `[param]` routes and the `paths` export are removed. -- The `site` config is required: `sitex({ site: { name, url } })`. Optional fields: `description`, `titleTemplate`, `locale`, `image`, `favicon`, `twitter`, `organization`. -- Frontmatter follows a validated schema: `layout`, `title`, and `description` are required. `type` (`webpage` | `article` | `faq`) drives JSON-LD structured data; `image`, `canonical`, and `index` are optional overrides. Articles require `publishedAt`; FAQ pages require `questions`. -- Apps do not provide `index.html`. Layouts render the full document (``/``/``) and Sitex parses the rendered page to add missing head defaults (charset, viewport, canonical, og:url, robots, favicon, generator) and hoist JSON-LD into the head. -- `src/styles/global.css` is required and automatically imported as the global stylesheet entry. Tailwind is not bundled by Sitex; apps that use Tailwind install `tailwindcss` and `@tailwindcss/vite` themselves. -- `MarkdownLayoutProps` is renamed to `LayoutProps` and now includes the page schema fields. `PageContext`, `StaticPath`, and `StaticPaths` are removed. -- `sitex:pages` has a stable, statically declared `Page` type; generated `.sitex/pages.d.ts` files are no longer written (legacy ones are cleaned up automatically). -- The `src/pages/examples/**` exemption is removed; everything under `src/pages` is a page. -- The main entry no longer exports UI components (`Layout`, `Section`, `Typography`, `Price`, and friends). They moved to the Sitex shadcn registry; install them with `shadcn add` from `https://sitex.full.dev/r/{name}.json`. `@fulldotdev/sitex` now exports types only, plus the `/plugin` and `/island` entries. -- Globals moved to `src/globals/index.yaml` as the root locale file. The root locale name comes from the new `site.locale` option (default `"en"`); additional files like `nl.yaml` define locale variants served under `/nl` route prefixes and are exposed through the `locales` export of `sitex:globals`. A single named file like `en.yaml` still works as the root locale. -- Static HTML is rendered in-process during `vp build` through a dedicated SSR build environment; Sitex no longer boots a second Vite server after the client build. - -New: - -- Link prefetching is on by default: speculation rules let supporting browsers prerender on hover, with a small hover-prefetch fallback module for others. Opt out with `prefetch: false` or `data-no-prefetch`. -- `vp build` writes `sitemap.xml` (respects `index: false` and `canonical` overrides, `lastmod` from `updatedAt`/`publishedAt`) and a default `robots.txt` when the app ships none. -- Path-alias imports (like `@/components/alert`) now resolve inside MDX pages on newer Vite resolvers. -- Frontmatter validation errors are targeted per field, and MDX pages are typechecked against their layout props via `.sitex/typecheck`. diff --git a/apps/docs/CHANGELOG.md b/apps/docs/CHANGELOG.md new file mode 100644 index 0000000..a2f6686 --- /dev/null +++ b/apps/docs/CHANGELOG.md @@ -0,0 +1,8 @@ +# docs + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [[`ecb3779`](https://github.com/fulldotdev/sitex/commit/ecb3779c3a9c89803ddf86def07de2a684a6c223)]: + - @fulldotdev/sitex@0.4.0 diff --git a/apps/docs/package.json b/apps/docs/package.json index 316a3ac..593e778 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "0.0.0", + "version": "0.0.1", "private": true, "type": "module", "scripts": { diff --git a/packages/sitex/CHANGELOG.md b/packages/sitex/CHANGELOG.md index 0f10d42..a12a5ea 100644 --- a/packages/sitex/CHANGELOG.md +++ b/packages/sitex/CHANGELOG.md @@ -1,5 +1,32 @@ # @fulldotdev/sitex +## 0.4.0 + +### Minor Changes + +- [#7](https://github.com/fulldotdev/sitex/pull/7) [`ecb3779`](https://github.com/fulldotdev/sitex/commit/ecb3779c3a9c89803ddf86def07de2a684a6c223) Thanks [@silveltman](https://github.com/silveltman)! - Rebuild Sitex around MDX-only pages and a framework-owned document head. + + Breaking changes: + + - Pages are MDX files only. TSX files in `src/pages` fail the build with a migration error; move page markup into layouts and blocks. Dynamic `[param]` routes and the `paths` export are removed. + - The `site` config is required: `sitex({ site: { name, url } })`. Optional fields: `description`, `titleTemplate`, `locale`, `image`, `favicon`, `twitter`, `organization`. + - Frontmatter follows a validated schema: `layout`, `title`, and `description` are required. `type` (`webpage` | `article` | `faq`) drives JSON-LD structured data; `image`, `canonical`, and `index` are optional overrides. Articles require `publishedAt`; FAQ pages require `questions`. + - Apps do not provide `index.html`. Layouts render the full document (``/``/``) and Sitex parses the rendered page to add missing head defaults (charset, viewport, canonical, og:url, robots, favicon, generator) and hoist JSON-LD into the head. + - `src/styles/global.css` is required and automatically imported as the global stylesheet entry. Tailwind is not bundled by Sitex; apps that use Tailwind install `tailwindcss` and `@tailwindcss/vite` themselves. + - `MarkdownLayoutProps` is renamed to `LayoutProps` and now includes the page schema fields. `PageContext`, `StaticPath`, and `StaticPaths` are removed. + - `sitex:pages` has a stable, statically declared `Page` type; generated `.sitex/pages.d.ts` files are no longer written (legacy ones are cleaned up automatically). + - The `src/pages/examples/**` exemption is removed; everything under `src/pages` is a page. + - The main entry no longer exports UI components (`Layout`, `Section`, `Typography`, `Price`, and friends). They moved to the Sitex shadcn registry; install them with `shadcn add` from `https://sitex.full.dev/r/{name}.json`. `@fulldotdev/sitex` now exports types only, plus the `/plugin` and `/island` entries. + - Globals moved to `src/globals/index.yaml` as the root locale file. The root locale name comes from the new `site.locale` option (default `"en"`); additional files like `nl.yaml` define locale variants served under `/nl` route prefixes and are exposed through the `locales` export of `sitex:globals`. A single named file like `en.yaml` still works as the root locale. + - Static HTML is rendered in-process during `vp build` through a dedicated SSR build environment; Sitex no longer boots a second Vite server after the client build. + + New: + + - Link prefetching is on by default: speculation rules let supporting browsers prerender on hover, with a small hover-prefetch fallback module for others. Opt out with `prefetch: false` or `data-no-prefetch`. + - `vp build` writes `sitemap.xml` (respects `index: false` and `canonical` overrides, `lastmod` from `updatedAt`/`publishedAt`) and a default `robots.txt` when the app ships none. + - Path-alias imports (like `@/components/alert`) now resolve inside MDX pages on newer Vite resolvers. + - Frontmatter validation errors are targeted per field, and MDX pages are typechecked against their layout props via `.sitex/typecheck`. + ## 0.3.0 ### Minor Changes diff --git a/packages/sitex/package.json b/packages/sitex/package.json index 03e527b..3fb0e63 100644 --- a/packages/sitex/package.json +++ b/packages/sitex/package.json @@ -1,6 +1,6 @@ { "name": "@fulldotdev/sitex", - "version": "0.3.0", + "version": "0.4.0", "description": "A simpler React framework for building content sites.", "homepage": "https://github.com/fulldotdev/sitex#readme", "bugs": {