summaryrefslogtreecommitdiff
path: root/examples/framework-svelte/svelte.config.js (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-08-13[ci] formatGravatar Emanuele Stoppa 1-9/+10
2024-08-13fix(actions): save error stack trace in memory (#11689)Gravatar Emanuele Stoppa 2-3/+31
2024-08-13fix(deps): update all non-major dependencies (#11674)Gravatar renovate[bot] 70-836/+946
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-08-13chore: upgrade biome to the latest (#11688)Gravatar Emanuele Stoppa 3-40/+40
2024-08-13[ci] formatGravatar Matthew Phillips 13-21/+19
2024-08-13Encrypt server islands props (#11535)Gravatar Matthew Phillips 28-48/+199
* Encrypt server islands props * Comment on the hex algo * Use @oslojs/encoding * Rename functions * Add base to test * Remove old tests no longer valid * Run test locally * Make sure adapters run before manifest * Add a changeset * Adjust test adapter * don't assume adapter is at root * Add a changeset * Updates on review comments * Update oslo * Add better description of Node adapter change
2024-08-13[ci] formatGravatar Billy Le 2-25/+29
2024-08-13Set action input default values from zod if FormData key is not present (#11655)Gravatar Billy Le 3-3/+75
* fix: remove duplicate while loop. use correct boolean values on validation * chore: rephrase changeset
2024-08-13[ci] formatGravatar Emanuele Stoppa 1-1/+7
2024-08-13fix: make semicolon optional when detecting `prerender` option (#11678)Gravatar Emanuele Stoppa 2-1/+6
* fix: make semicolon optional when detecting `prerender` option * trim to remove possible carriage return * Apply suggestions from code review Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-08-12Update astro.ts (#11665)Gravatar huseeiin 1-1/+1
2024-08-12Fix readme link to astro-rss package (#11666)Gravatar Jade van Dorsten 1-1/+1
2024-08-09[ci] release (#11654)astro@4.13.3@astrojs/solid-js@4.4.1@astrojs/react@3.6.2Gravatar Houston (Bot) 42-122/+119
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-09[ci] formatGravatar Ben Holmes 3-3/+3
2024-08-09Actions: auto-redirect action response to avoid "confirm form resubmission" ↵Gravatar Ben Holmes 9-40/+174
dialog (#11603) * feat: redirect with result to avoid resubmission dialog * fix: use standard POST for react forms * fix(test): handle redirect responses * refactor: actionresultbehavior -> disableredirect * refactor: next() -> throw internal error * fix(test): bad referer link * refactor: followRedirect -> followExpectedRedirect * refactor: remove encryption TODO * feat: changeset * chore: whitespace * feat: laravel note * refactor: clean up cookie -> action payload * refactor: actionsinternal -> actionpayload * refactor: use _astroAction const * refactor: actionRedirect string as const * refactor: simplify error check * chore: remove stray console log * refactor: only delete cookies on error * fix: check cookie after handling POST requests * chore: remove unused tgz * Revert "fix: check cookie after handling POST requests" This reverts commit 607f90f07b26a9358faf7bde947ba2e34674b3ff. * Revert "refactor: only delete cookies on error" This reverts commit 52aab84b6b16c7e6166fbe1a77655827d2efb71c.
2024-08-09[ci] formatGravatar Emanuele Stoppa 1-1/+1
2024-08-09chore: add two missing integrations to the README (#11662)Gravatar Emanuele Stoppa 1-18/+20
* chore: add two missing integrations to the README * address feedback
2024-08-09Prevent throwing in react and solid component checks (#11624)Gravatar Bjorn Lu 7-53/+36
2024-08-09Simplify eslint and pnpm config (#11646)Gravatar Bjorn Lu 7-31/+20
2024-08-08Actions: fix missing orThrow type when input is omitted (#11658)Gravatar Ben Holmes 3-5/+21
* fix: orThrow missing when input is omitted * chore: changeset
2024-08-08[ci] formatGravatar Florian Lefebvre 1-2/+2
2024-08-08chore: improve astro:env docs (#11653)Gravatar Florian Lefebvre 2-8/+17
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-08[ci] release (#11602)astro@4.13.2Gravatar Houston (Bot) 39-93/+79
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-08Actions: remove "action used with get" error (#11648)Gravatar Ben Holmes 3-11/+18
* fix: remove "action used with get" error * chore: remove unused import * fix(test): does not throw on GET * chore: changeset
2024-08-08chore: add formatting commit to blame ignore (#11651)Gravatar Erika 1-0/+2
2024-08-08update formatter config (#11640)Gravatar Darius 492-1848/+1863
* update formatter config * format --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-08-08[ci] formatGravatar Josh Goldberg ✨ 4-6/+4
2024-08-08chore: bump typescript-eslint to v8 (#11649)Gravatar Josh Goldberg ✨ 74-175/+169
2024-08-07Consistent file hashes (#11628)Gravatar Matthew Lee 3-10/+30
* Fix css plugin having inconsistent builds in different environments Astro's css plugin generates chunk ids that include a hash of all of the chunk's parent ids. These ids are currently the absolute file paths of the parent files. The generated chunk ids are then inserted into those pages as import statements. Because these import statements include a hash based on these absolute file paths, this causes rollup to generate different hashes for those pages when a build is run in different environments. The exact same project will produce identical assets with different filenames when built on different machines, or when built from different directories on the same machine, etc. To fix this, I've stripped out the working directory of these file paths before they are added to the hash. This means that the hash will still change if the files referencing it chacnge (which I believe is the intended behavior), but will be stable if the entire project is built in different environments. * add changeset * fixup! use settings.config.root and vite's normalizePath I've chosen to update the function signature of shortHashedName to match createSlugger's, so it now accepts the settings object and returns the actual hashing function. This way, createSlugger's function signature doesn't need to update to needlessly accept an additional argument. * fixup! remove unused import * Update .changeset/young-pillows-shave.md Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * fixup! use fileURLtoPath --------- Co-authored-by: Matt Lee <mdlee.md@gmail.com> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-08-07Remove tsconfig-resolver from repo (#11642)Gravatar Bjorn Lu 3-56/+14
2024-08-07Improve regex performance (#11635)Gravatar Bjorn Lu 23-32/+39
2024-08-07[ci] formatGravatar Bjorn Lu 1-2/+2
2024-08-07Remove `#astro/*` subpath imports (#11636)Gravatar Bjorn Lu 2-6/+3
2024-08-06Actions: fix 500 on empty object for Vercel serverless (#11634)Gravatar Ben Holmes 5-6/+33
* fix: only set content-type when body is defined * feat(test): content-type is omitted * chore: changeset
2024-08-05[ci] formatGravatar Ben Holmes 5-5/+5
2024-08-05Actions: Add `devalue` for serializing complex values (#11593)Gravatar Ben Holmes 12-190/+260
* wip: move getActionResult setup to render * feat: serialize action data for edge * refactor: serializeActionResult util * feat: introduce devalue for body parsing * refactor: orthrow -> main * feat(test): Date and Set * refactor: move getAction to separate file for bundling * docs: changeset * Revert "refactor: move getAction to separate file for bundling" This reverts commit ef2b40991f90ff64c063cb4364eb2affcb2328c3. * Revert "Revert "refactor: move getAction to separate file for bundling"" This reverts commit 40deaeda1dd350b27fa3da994a7c37005ae7a187. * fix: actions import from client * feat: add support for URL objects * refactor: new isActionError utility * refactor: reuse isInputError in fromJson * fix: use INTERNAL_SERVER_ERROR for unknown errors
2024-08-05[ci] formatGravatar Jeff R 1-2/+2
2024-08-05sort newest to oldest (#11587)Gravatar Jeff R 7-7/+7
* sort newest to oldest * Update pubDate to preserve a meaningful order in the examples/blog folder
2024-08-05fix: audit incorrectly flagging images as above the fold (#10891) (#11617)Gravatar Abu Bakr 2-2/+9
* fix: audit incorrectly flagging images as above the fold (#10891) Previously used lement.offsetTop to find the y position of the image, which does not work when the element parent has a position: relative property. Instead, this uses lement.getBoundingClientRect().y top get real y position of the image. There's one issue though, which is that getBoundingClientRect returns the position relative to the user's viewport, not the absolute position. So, add window.scrollY to the value to cancel that effect out, and you have the element's absolute position. https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY * chore: add changeset
2024-08-05fix(deps): update all non-major dependencies (#11618)Gravatar renovate[bot] 15-206/+206
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05chore(deps): update dependency postcss-preset-env to v10 (#11619)Gravatar renovate[bot] 2-424/+425
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02fix(astro:content): add deprecated to `getEntryBySlug` & `getDataEntryById` ↵Gravatar Armand Philippot 2-0/+7
(#11600) Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-08-02[error docs] adds section heading for Actions (#11601)Gravatar Sarah Rainsberger 1-0/+6
2024-08-02[ci] release (#11590)astro@4.13.1Gravatar Houston (Bot) 34-121/+125
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-02chore: Remove unnecessary CSS in basic example (#11596)Gravatar Mateusz Ż 1-1/+0
2024-08-02[ci] formatGravatar Bjorn Lu 3-6/+3
2024-08-02Remove more unused code (#11598)Gravatar Bjorn Lu 32-403/+41
2024-08-02Remove unused code (#11592)Gravatar Bjorn Lu 6-49/+2
2024-08-01[ci] formatGravatar Ben Holmes 2-4/+4
2024-08-01Actions: Remove async local storage dependency (#11584)Gravatar Ben Holmes 16-84/+256
* refactor: move from Async local storage to .bind() * feat: Astro.callAction for server calls * feat(e2e): update server call * feat(types): test callAction types * fix: callAction context on rewrite * feat: called from server error * chore: remove store.ts file * chore: remove getApiContext client stub * chore: changeset * fix: src -> dist import * refactor: move content collection errors together * fix: move rfc link to hint