[ci] release#8
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@fulldotdev/sitex@0.4.0
Minor Changes
#7
ecb3779Thanks @silveltman! - Rebuild Sitex around MDX-only pages and a framework-owned document head.Breaking changes:
src/pagesfail the build with a migration error; move page markup into layouts and blocks. Dynamic[param]routes and thepathsexport are removed.siteconfig is required:sitex({ site: { name, url } }). Optional fields:description,titleTemplate,locale,image,favicon,twitter,organization.layout,title, anddescriptionare required.type(webpage|article|faq) drives JSON-LD structured data;image,canonical, andindexare optional overrides. Articles requirepublishedAt; FAQ pages requirequestions.index.html. Layouts render the full document (<html>/<head>/<body>) 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.cssis required and automatically imported as the global stylesheet entry. Tailwind is not bundled by Sitex; apps that use Tailwind installtailwindcssand@tailwindcss/vitethemselves.MarkdownLayoutPropsis renamed toLayoutPropsand now includes the page schema fields.PageContext,StaticPath, andStaticPathsare removed.sitex:pageshas a stable, statically declaredPagetype; generated.sitex/pages.d.tsfiles are no longer written (legacy ones are cleaned up automatically).src/pages/examples/**exemption is removed; everything undersrc/pagesis a page.Layout,Section,Typography,Price, and friends). They moved to the Sitex shadcn registry; install them withshadcn addfromhttps://sitex.full.dev/r/{name}.json.@fulldotdev/sitexnow exports types only, plus the/pluginand/islandentries.src/globals/index.yamlas the root locale file. The root locale name comes from the newsite.localeoption (default"en"); additional files likenl.yamldefine locale variants served under/nlroute prefixes and are exposed through thelocalesexport ofsitex:globals. A single named file likeen.yamlstill works as the root locale.vp buildthrough a dedicated SSR build environment; Sitex no longer boots a second Vite server after the client build.New:
prefetch: falseordata-no-prefetch.vp buildwritessitemap.xml(respectsindex: falseandcanonicaloverrides,lastmodfromupdatedAt/publishedAt) and a defaultrobots.txtwhen the app ships none.@/components/alert) now resolve inside MDX pages on newer Vite resolvers..sitex/typecheck.docs@0.0.1
Patch Changes
ecb3779]: