Diogo/polystella v1#244
Draft
diogoascarneiro wants to merge 27 commits intomainfrom
Draft
Conversation
… Vite - Update @astrojs/cloudflare from ^13.1.2 to ^13.1.10 - Update astro from ^6.0.5 to ^6.1.6 - Update wrangler from ^4.84.1 to ^4.85.0 - Update vite override from ^7 to ^8 - Update pnpm lockfile with new dependency versions
- Add Volta section to package.json specifying Node 24.15.0 - Reformat pnpm-lock.yaml with consistent quote style and spacing
…tions using s3mini polystella config file and tests
… and an env.example file
…erride file for testing (will remove later)
…more closely mirror native Astro getEntry
…s, enabling use of <Content/> or entry.rendered.html
…build-time logging, double quotes escaping when parsing
… and utilities, ai translation frontmatter and a build report
…shell translation files and setup the i18n collection. Applied prettier to existing files
… translation protocol to reduce token usage by around 30%
…ations is now getTranslations). Fixed issues with footer and nav translations
…tegrating homepage with translations
…thout having to run a build, added preview branch handling for translations, added further UI strings.
…ted R2 hits when developing locally
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
cloudflare-research | 4893f82 | Commit Preview URL Branch Preview URL |
May 06 2026, 09:47 AM |
| const stripped = normalised.replace(/^src\/pages\//, "").replace(/\.astro$/, ""); | ||
| // Drop a trailing `/index` — section indexes route to the bare URL. | ||
| const pattern = stripped.replace(/(^|\/)index$/, ""); | ||
| const isDynamic = /\[[^\]]+\]/.test(pattern); |
| /** Stateless R2 client; safe to share across concurrent operations. */ | ||
| export function createR2Client(opts: R2ConnectionOptions): R2Client { | ||
| const baseEndpoint = opts.endpoint ?? `https://${opts.accountId}.r2.cloudflarestorage.com`; | ||
| const endpoint = `${baseEndpoint.replace(/\/+$/, "")}/${opts.bucket}`; |
| } | ||
|
|
||
| function stripCodeFences(text: string): string { | ||
| const fenced = /^```(?:\w+)?\s*\n([\s\S]*?)\n```$/i.exec(text); |
…ed a few more t functions in components
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.
Adds the new PolyStella AI Localization integration for Astro. Description is WIP.
Non-Polystella changes: