summaryrefslogtreecommitdiff
path: root/examples/framework-svelte/svelte.config.js (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-24Bump lit changesets to minor (#5954)Gravatar Matthew Phillips 2-2/+2
2023-01-23Exit pre mode (#5947)Gravatar Matthew Phillips 1-1/+1
2023-01-23[ci] release (beta) (#5911)create-astro@2.0.0-beta.1astro@2.0.0-beta.4@astrojs/webapi@2.0.0-beta.1@astrojs/tailwind@3.0.0-beta.2@astrojs/svelte@2.0.0-beta.3@astrojs/partytown@1.0.3-beta.1@astrojs/netlify@2.0.0-beta.4@astrojs/image@0.12.2-beta.1Gravatar Houston (Bot) 52-87/+220
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-23Go back to pre-mode (#5946)Gravatar Matthew Phillips 1-1/+1
2023-01-23Exit pre-mode for 2.0 release (#5942)Gravatar Matthew Phillips 1-1/+1
2023-01-23[Content Collections] Add `slug` frontmatter field (#5941)Gravatar Ben Holmes 12-77/+188
* feat: respect `slug` frontmatter prop * chore: replace `slug` check with proper types * fix: regen types on `slug` change * chore: add TODO on slug gen * tests: update to use `slug` frontmatter prop * chore: add error message on `slug` inside object schema * lint * chore: add note on frontmatter parse * refactor: move content errors to new heading * chore: ContentSchemaContainsSlugError * chore: changeset * docs: be 10% less gentle Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * fix: avoid parsing slug on unlink * docs: clarify old API is for beta users Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-23chore: migrate changelogs from 1-legacy (#5944)Gravatar Nate Moore 2-0/+18
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-23[ci] formatGravatar natemoo-re 4-6/+10
2023-01-23Remove duplicate CSS in dev (#5917)Gravatar Nate Moore 11-8/+107
* fix(#5817): remove duplicate CSS in dev * chore: add changeset Co-authored-by: Nate Moore <nate@astro.build>
2023-01-23Handle custom injected entry files during build (#5499)Gravatar Bjorn Lu 2-1/+13
2023-01-23[ci] formatGravatar matthewp 2-24/+35
2023-01-23Support prerender in Netlify redirects (#5904)Gravatar Matthew Phillips 12-17/+240
* Support prerender in Netlify redirects * Updated sorting algorithm * Update packages/integrations/netlify/src/shared.ts Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-01-23fix(@astrojs/tailwind): manually load postcss config file (#5908)Gravatar Happydev 4-5/+74
2023-01-23fix: trailingSlash with base breaking partytown file path (#5936)Gravatar Rishi Raj Jain 2-1/+10
* fix: trailingSlash with base breaking partytown file path * Update index.ts * Update index.ts * Update index.ts * fix lint * Update index.ts
2023-01-22Update magic-string used by @astrojs/image and @astrojs/webapi (#5930)Gravatar heyhoe 4-10/+14
2023-01-21Add alt text for images in README (#5919)Gravatar Chloe A 1-3/+11
2023-01-21Improve Svelte README (#5923)Gravatar Chris Swithinbank 2-11/+15
* First stylistic pass * Rework for x/o instead of and * fix typo Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Add changeset Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-21Improve error message for third-party template 404s (#5920)Gravatar Chris Swithinbank 2-1/+19
2023-01-20[ci] formatGravatar natemoo-re 1-71/+83
2023-01-20Add headless support to create-astro (#5898)Gravatar Reuben Tier 3-17/+32
* Add headless support to create-astro * Document new flags for create-astro
2023-01-20chore(webapi): Remove unused file (#5916)Gravatar Erika 1-50/+0
2023-01-20Fix CLI node version check (#5905)Gravatar Bjorn Lu 2-52/+33
2023-01-19Update compiler to 1.0.1 (#5909)Gravatar Caleb Jasik 3-5/+10
* Update compiler to 1.0.1 * Add changeset
2023-01-19[ci] release (beta) (#5906)@astrojs/rss@2.1.0-beta.0Gravatar Hoston (Bot) 5-3/+46
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-19[ci] formatGravatar bholmesdev 1-5/+2
2023-01-19[RSS] Get ready for content collections (#5851)Gravatar Ben Holmes 12-381/+456
* chore: strictNullChecks for zod * feat: expose `rssSchema` helper * refactor: align types with schema types * feat: break glob handler to globToRssItems util * refactor: RSS options validation to Zod * refactor: avoid intermediate type * fix: allow numbers and dates in pubDate * test: update glob and error tests * feat: add rss to with-content starter * fix: move globToRssItems back to internal behavior * chore: JSON.stringify * Revert "fix: move globToRssItems back to internal behavior" This reverts commit 85305075e6444907455541b24bccbccd5016951a. * test: missing url * docs: `import.meta.env.SITE` -> `context.site` * docs: update README to content collections example * fix: url -> link * docs: add `rssSchema` to README * chore: consistent formatting * docs: add `pagesGlobToRssItems()` reference * chore: globToRssItems -> pagesGlobToRssItems * chore: changeset * fix: bad docs line highlighting * fix: add collections export to example * nit: remove "our" * fix: are -> all * fix: more README edits * deps: kleur * chore: add back import.meta.glob handling as deprecated * docs: bump down to `minor`, update headline to be less content collections-y * typo: suggest adding * chore: support URL object on `site` * docs: add await to pagesGlob ex * docs: tighten `rssSchema` explainer * docs: tighten pagesGlobToRssItems section * docs: add content to README * docs: replace examples with docs link * docs: re-we Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-19[ci] release (beta) (#5856)astro@2.0.0-beta.3@astrojs/svelte@2.0.0-beta.2@astrojs/netlify@2.0.0-beta.3@astrojs/image@0.12.2-beta.0Gravatar Hoston (Bot) 44-89/+212
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-19[ci] formatGravatar matthewp 2-10/+13
2023-01-19Rename getEntry to getEntryBySlug (#5893)Gravatar Matthew Phillips 6-22/+61
* Rename getEntry to getEntryBySchema * Improve entrySlug types and return undefined * Add changeset * Update packages/astro/src/content/template/types.d.ts Co-authored-by: Ben Holmes <hey@bholmes.dev> * Update the types to accept both raw string and known value * Add comment on the implementation not currently being O(1) Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-19[ci] formatGravatar matthewp 1-2/+6
2023-01-19Refactor Svelte preprocess integration handling (#5901)Gravatar Bjorn Lu 5-47/+153
* Let user setup vitePreprocess * Abstract function * Add changeset * Update svelte syntax * Make fallback * Fix docs * Update changeset * Fix types
2023-01-19fix(astro/core): Do not automatically add trailing slash (#5608)Gravatar Junya Kono 2-5/+6
* fix: Do not automatically add trailing slash * Update .changeset/twelve-cooks-tickle.md Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * fix: change semver Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-01-19Fix image integration crash on Netlify Functions due to `import.meta.url` ↵Gravatar Erika 10-102/+130
(#5888) * fix(image): Fix immediate crash on Netlify functions due to `import.meta.url` * chore: changeset
2023-01-18feat: add theme toggle button to error overlay (#5884)Gravatar Happydev 2-49/+198
* feat: add theme toggle button for error overlay * add changeset * simplify toggling logic Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * redesign toggle * code figma design * style: remove code indent * add `aria-hidden` to svgs Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> * apply Yan a11y suggestions Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-01-18chore: update compiler (#5896)Gravatar Nate Moore 3-5/+10
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-18[ci] formatGravatar bholmesdev 1-1/+4
2023-01-18Cleanup deprecated Markdown APIs from 0.X (#5891)Gravatar Ben Holmes 5-61/+7
* chore: remove deprecated `getHeaders()` * chore: remove `rawContent()` and `compiledContent()` * chore: remove raw and compiled content from MDX type * chore: remove 0.X error for `astro` property * chore: changeset * lint: no empty interface * chore: update changeset
2023-01-18[ci] formatGravatar natemoo-re 2-6/+9
2023-01-18Remove legacy compiler error handling (#5855)Gravatar Nate Moore 6-32/+21
* refactor: remove legacy compiler handling * docs: add hint to unknown compiler error * feat: add link detection to error overlay * chore: update compiler * chore: update compiler issue link * Update packages/astro/src/core/errors/overlay.ts Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-01-18[ci] formatGravatar natemoo-re 1-1/+0
2023-01-18fix(#5723): build prerendered pages with Netlify edge functions (#5885)Gravatar Nate Moore 2-15/+5
* fix(#5723): build prerendered pages with Netlify edge functions * chore: add changeset Co-authored-by: Nate Moore <nate@astro.build>
2023-01-18chore: Fix image and MDX integrations version's number to get out of 1.0 (#5892)Gravatar Erika 2-2/+2
* chore: Fix image integration version's number to get out of 1.0 * chore: Same thing for MDX integration
2023-01-18Migrate blog and docs starters to content collections (#5858)Gravatar Ben Holmes 66-778/+129
* docs: update README for `content/` * chore: update env * feat: update blog to use content collections * chore: remove with-content starter * fix: single quotes -> double * feat: update docs starter to content collections * refactor: config -> consts * chore: import type * edit: Astro will -> Use Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: remove unused null check * nit: spacing * nit: `as Props` 1 Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * nit: `as Props` 2 Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * chore: consistent CONSTS usage * chore: `type` imports at top * chore: consistent quote usage on YAML * chore: remove `as Props` from docs Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-18Refactor `Props` of `Image` and `Picture` component to support type checking ↵Gravatar Happydev 5-59/+66
(#5788) * correct props type * refactor Picture and Image typings * add missing `alt` property * add changeset * apply suggestions * correct `astro/types` import Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> * apply suggestions * convert to type import Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-01-17Make image and mdx changesets be minor instead of major (#5883)Gravatar Matthew Phillips 3-3/+3
2023-01-17Update blog example env name (#5877)Gravatar Bjorn Lu 2-4/+10
2023-01-17Remove unused exports (#5862)Gravatar Bjorn Lu 2-10/+5
2023-01-17Fix image integration not working on Node 18+ (#5871)Gravatar Erika 10-215/+12
* fix(image): Remove unnecessary polyfill now that we dropped Node 14 * fix(squoosh): Remove fetch of local wasm binary since undici doesn't support that * chore: changeset
2023-01-17Revert "Add missing `noPropertyAccessFromIndexSignature` to strictest ↵Gravatar Bjorn Lu 2-9/+0
tsconfig profile (#5864)" (#5876) This reverts commit 63d5d89038dc8cddf0a137672b68f61a21bb4951.
2023-01-17Add missing `noPropertyAccessFromIndexSignature` to strictest tsconfig ↵Gravatar Clément Nerma 2-0/+9
profile (#5864)