summaryrefslogtreecommitdiff
path: root/examples/framework-react/src (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-08-11docs(netlify): remove comma (#8040)Gravatar Arsh 1-1/+1
* docs(netlify): remove comma * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * them -> these functions --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-11[ci] formatGravatar lilnasy 3-11/+15
2023-08-11Add Incremental Static Regeneration support for the Netlify's on-demand ↵Gravatar Arsh 7-3/+116
builders adapter (#7975) * feat(netlify): expose builders ttl as a local * add changeset * docs(netlify): caching using on-demand builders * reword readme section * Update packages/integrations/netlify/package.json Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * include builders-types.d.ts in the distribution * document caveat regarding query params * update changeset * mutation -> function * locals.netlify -> locals.runtime * update types and changeset * Apply suggestions from code review Co-authored-by: Elian ☕️ <hello@elian.codes> * Apply suggestions from code review Co-authored-by: Elian ☕️ <hello@elian.codes> --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Elian ☕️ <hello@elian.codes>
2023-08-11[ci] formatGravatar matthewp 1-1/+1
2023-08-11Prevent Vercel NFT from scanning /dev (#8039)Gravatar Matthew Phillips 2-0/+8
* Prevent Vercel NFT from scanning /dev * Add a comment
2023-08-11[ci] formatGravatar matthewp 1-5/+6
2023-08-11Prevent script re-execution on page evaluation (#8033)Gravatar Matthew Phillips 4-0/+53
2023-08-11fix: middleware entry point to not be set (#8036)Gravatar Emanuele Stoppa 3-8/+22
* fix: middleware entry point to not be set * chore: update tests
2023-08-10[ci] formatGravatar natemoo-re 3-27/+33
2023-08-10Support `--host` for Node adapter preview (#6928)Gravatar Jerry_wu 4-4/+69
* supporting a network address access a website when an user set host = true in Node environment * fix bug * sumbit test code * optimism * delect white space * test * fix test * fix test error * test * test * test * fix test error * Optimizing code based on the comments * optimize test * fix: rebase issues * chore: format * chore: add changeset * chore: format * chore: format * chore: lint --------- Co-authored-by: wuls <linsheng.wu@beantechs.com> Co-authored-by: Nate Moore <nate@astro.build>
2023-08-10[ci] formatGravatar natemoo-re 1-1/+1
2023-08-10fix(#5637): fix yarn berry support for create-astro (#8028)Gravatar Nate Moore 2-1/+15
2023-08-10Ensure dev server restart respects `base` removal (#8027)Gravatar Nate Moore 4-60/+44
* fix(#6067): dev server restart respects base removal * chore: remove baseCss
2023-08-10Remove unnecessary hyphen from svg tag (#8025)Gravatar Shinya Fujino 1-1/+1
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10Update path to image in public/ to suppress warning (#8026)Gravatar Shinya Fujino 1-1/+1
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10[ci] formatGravatar natemoo-re 3-15/+15
2023-08-10feat(@astrojs/cloudfalre): add cloudflare envs to `Astro.locals` (#7541)Gravatar Alexander Niebuhr 12-33/+176
* add support for advanced mode * add support for directory mode * use asset fallback as in cloudflare's docs * update locals * come up with new runtime in `Astro.locals` * add overwrite protection * minor cleanup * changeset * address review comments * move overwrite protection to adapter * fix types * fix comment * resolve review comments * update changeset * add test * redo ts * fix integration test port * updated tests, add new port * add TODO comment * update changeset * add JSDoc * Update packages/integrations/cloudflare/src/runtime.ts --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10[ci] formatGravatar bluwy 2-6/+6
2023-08-10Fix getCollection return new instance in prod (#8022)Gravatar Bjorn Lu 4-1/+45
2023-08-10View Transitions: do not animate same page navigation, but animate hash ↵Gravatar Martin Trapp 2-1/+10
links to different pages (#8013) * Links with hash marks are now supported if they lead to a different page * treat links to same page equally, independent of hash or not * Links to the same page do not trigger view transitions * special treatment for trailing hash * view transitions: simpler rule to exclude in-page links
2023-08-10[ci] release (#8017)astro@2.10.5@astrojs/cloudflare@6.7.0Gravatar Houston (Bot) 43-76/+83
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-10[ci] formatGravatar ematipico 1-1/+1
2023-08-10Update content-types.template.d.ts (#8010)Gravatar Oliver Speir 1-1/+3
Provides more useful information when hovering variables typed with CollectionEntry<"collectionName"> * Does not change the functionality of existing code * Flatten<AnyEntryMap[C]> is the same as AnyEntryMap[C][keyof AnyEntryMap[C]] * Both will produce a union of all note entry types within the "collectionName" key
2023-08-10[ci] formatGravatar bluwy 2-3/+6
2023-08-10Move hoisted script analysis optimization as experimental (#8011)Gravatar Bjorn Lu 6-38/+88
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-10more efficient _routes.json for cloudflare integration (#7846)Gravatar Marco Schumacher 17-16/+242
* more efficient _routes.json for cloudflare integration * added tests * updated pnpm-lock.yaml * added changeset * cleaned up test * fix: convert window path separators * updated docs * handle more cases * Apply suggestions from code review Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * incorporate feedback from code review * used other pnpm version * better fallback for empty include array * adjust test case to changed fallback for empty include array * updated docs --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-09[ci] release (#8000)create-astro@3.1.12astro@2.10.4@astrojs/preact@2.2.2Gravatar Houston (Bot) 48-96/+97
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-09Support Bun by adjusting how `@babel/plugin-transform-react-jsx` is ↵Gravatar dave caruso 3-12/+15
imported. (#8007) * Support bun/other tooling that respects `__esModule` * Add changeset file
2023-08-09[ci] formatGravatar ElianCodes 1-14/+14
2023-08-09fixed image path and add markdown syntax in example (#7802)Gravatar Keshav Mohta 1-6/+113
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Elian ☕️ <hello@elian.codes>
2023-08-09Remove nested JSON.stringify from props serialization (#7995)Gravatar Jany Belluz 4-29/+41
2023-08-09docs: Fix error link in markdoc (#8006)Gravatar 李瑞丰 1-1/+1
2023-08-08fix: `EndpointOutput` type with encoding `'binary'` (#8003)Gravatar Juan Martín Seery 5-18/+28
* fix: `EndpointOutput` type with encoding `'binary'` * Changeset
2023-08-08Add shorthand for Starlight templates to `create astro` (#7993)Gravatar Chris Swithinbank 2-1/+9
* Add shorthand for Starlight templates to `create astro` * Update packages/create-astro/src/actions/template.ts * Update packages/create-astro/src/actions/template.ts --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07chore: remove MDX integration from Tailwind example (#7987)Gravatar Elian ☕️ 5-19/+17
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07[ci] release (#7988)astro@2.10.3Gravatar Houston (Bot) 41-70/+71
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-07fix: ensure `injectRoute` works during build (#7986)Gravatar Nate Moore 3-1/+8
2023-08-07Add screen reader text to example blog footer (#7984)Gravatar Jeff Ruane 1-0/+3
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07[ci] release (#7958)astro@2.10.2@astrojs/rss@2.4.4@astrojs/lit@2.1.1Gravatar Houston (Bot) 51-106/+97
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-07Fix formatting in Lit README (#7985)Gravatar Chris Swithinbank 2-1/+10
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07[ci] formatGravatar natemoo-re 1-4/+1
2023-08-07Added slashes at the end of the filter option in the sitemap docs (#7915)Gravatar Marek Brzezinski 1-5/+5
I trend to implement the sitemap and I found out that filter option works only when the URL has slashes at the end. I changed the examples. Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07Fix missing CSS when 404 server Response redirects to a custom 404 page (#7946)Gravatar André Alves 7-7/+43
* Fix missing css import on 404 redirect * Chore: changeset --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07[ci] formatGravatar natemoo-re 1-4/+9
2023-08-07Fix `injectRoute` (#7943)Gravatar Nate Moore 5-8/+37
* fix: inject route! hack! * refactor: use integration container to resolve all injected routes * chore: add changeset * Fix pnpm workspace injectRoute bug See https://github.com/withastro/astro/issues/7561#issuecomment-1620063634 Closes #7561 * Revert "Fix pnpm workspace injectRoute bug" This reverts commit 3082c7c26976f8fe38e5aef6f9771426077898ba. * Update .changeset/stupid-pants-press.md Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/vite-plugin-scripts/page-ssr.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * refactor: cleanup injectedRoute resolution logic --------- Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-08-07[ci] formatGravatar natemoo-re 2-51/+56
2023-08-07Refactor page filename logic (#7983)Gravatar Nate Moore 3-16/+67
* fix(#7561): refactor astro page filename logic * chore: add changeset
2023-08-07Fix inline root resolve logic (#7977)Gravatar Bjorn Lu 3-0/+38
2023-08-07Add URL to RSSOptions.site type (#7964)Gravatar Timon Jurschitsch 2-1/+6
2023-08-04ci: enable codegen errors job (#7961)Gravatar Emanuele Stoppa 1-18/+17