summaryrefslogtreecommitdiff
path: root/packages/integrations/svelte/server.js (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-07-26[ci] update lockfile (#4054)Gravatar Fred K. Bot 1-88/+88
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-07-26[ci] formatGravatar matthewp 2-30/+32
2022-07-26Move getStaticPaths call to happen during generation (#4047)Gravatar Matthew Phillips 10-88/+143
* Move getStaticPaths call to happen during generation * Adds a changeset * Update routing-priority.test.js * revert test change, clarify test purpose * Keep track of paths that have already been built Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-07-26[ci] update lockfile (#4040)Gravatar Fred K. Bot 1-120/+120
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com> Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-07-26update md deprecation messagesastro@0.0.0-rc-20220726043527@astrojs/vue@0.0.0-rc-20220726043527@astrojs/vercel@0.0.0-rc-20220726043527@astrojs/tailwind@0.0.0-rc-20220726043527@astrojs/svelte@0.0.0-rc-20220726043527@astrojs/sitemap@0.0.0-rc-20220726043527@astrojs/prefetch@0.0.0-rc-20220726043527@astrojs/partytown@0.0.0-rc-20220726043527@astrojs/node@0.0.0-rc-20220726043527@astrojs/netlify@0.0.0-rc-20220726043527@astrojs/mdx@0.0.0-rc-20220726043527@astrojs/markdown-remark@0.0.0-rc-20220726043527@astrojs/markdown-component@0.0.0-rc-20220726043527@astrojs/lit@0.0.0-rc-20220726043527@astrojs/image@0.0.0-rc-20220726043527@astrojs/deno@0.0.0-rc-20220726043527@astrojs/cloudflare@0.0.0-rc-20220726043527Gravatar Fred K. Schott 1-3/+3
2022-07-26add support for injected page-ssr scripts (#4050)Gravatar Fred K. Schott 7-1/+32
2022-07-25[ci] formatGravatar tony-sull 3-3/+3
2022-07-25Removes `fileURLToPath` dependency from `@astrojs/image` SSR production ↵Gravatar Tony Sullivan 11-22/+24
endpoint (#4048) * removing fileURLToPath dependency from SSR production endpoint * chore: add changeset
2022-07-25[docs content] use "version" not since (#4043)Gravatar Sarah Rainsberger 1-2/+2
* [docs content] use "version" not since Change to use `@version` to create the `<Since />` component for docs. (not `@since) Also, quick sentence edit. * Update packages/astro/src/@types/astro.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-07-25[ci] formatGravatar matthewp 1-4/+8
2022-07-25Add warnings on markdown deprecations (#4046)Gravatar Matthew Phillips 3-3/+25
* Warn when using content.astro.headers * Warn when using setup without the legacy flag enabled * Adds a changeset
2022-07-25[ci] formatGravatar matthewp 4-12/+9
2022-07-25Build the before-hydration script (#4042)Gravatar Matthew Phillips 10-92/+151
* Build the before-hydration script * Adding a changeset
2022-07-25[ci] formatGravatar Princesseuh 1-1/+0
2022-07-25Added missing "loading" attribute for "IFrameHTMLAttributes" (#4044)Gravatar András Torma 2-0/+7
* Add missing "loading" attr to iFrame * Add changeset * re-ordering attributes
2022-07-25[ci] formatastro@0.0.0-rc-20220725043302@astrojs/vue@0.0.0-rc-20220725043302@astrojs/vercel@0.0.0-rc-20220725043302@astrojs/tailwind@0.0.0-rc-20220725043302@astrojs/svelte@0.0.0-rc-20220725043302@astrojs/sitemap@0.0.0-rc-20220725043302@astrojs/prefetch@0.0.0-rc-20220725043302@astrojs/partytown@0.0.0-rc-20220725043302@astrojs/node@0.0.0-rc-20220725043302@astrojs/netlify@0.0.0-rc-20220725043302@astrojs/mdx@0.0.0-rc-20220725043302@astrojs/markdown-remark@0.0.0-rc-20220725043302@astrojs/markdown-component@0.0.0-rc-20220725043302@astrojs/lit@0.0.0-rc-20220725043302@astrojs/image@0.0.0-rc-20220725043302@astrojs/deno@0.0.0-rc-20220725043302@astrojs/cloudflare@0.0.0-rc-20220725043302Gravatar FredKSchott 17-75/+79
2022-07-25[ci] update lockfile (#4036)Gravatar Fred K. Bot 1-69/+75
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-07-25[Doc-generated content] legacy.astroFlavoredMarkdown (#4027)Gravatar Sarah Rainsberger 1-10/+23
* Update astro.ts * custom aside syntax * adding `@since` tag Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * closing comment Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-07-25Add the `output` option (#4015)Gravatar Matthew Phillips 67-251/+365
* Start of work on astroConfig.mode === 'server' * Add tests and more * adapter -> deploy in some places * Add fallback for `adapter` config * Update more tests * Update image tests * Fix clientAddress test * Updates based on PR review * Add a changeset * Update integrations tests + readme * Oops * Remove old option * Rename `mode` to `output` * Update Node adapter test * Update test * fred pass * fred pass * fred pass * fix test Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-07-24Update `astro` version to `1.0.0-rc.0` (#4030)Gravatar Nate Moore 30-57/+57
* chore: update `astro` to `1.0.0-rc.0` * chore: update `astro` version in examples Co-authored-by: Nate Moore <nate@astro.build>
2022-07-23[ci] formatGravatar natemoo-re 1-2/+2
2022-07-23Fix: (patching old PR) Check node version and find acceptable host ↵Gravatar Ari Gibson 2-1/+7
accordingly (#4032) * fix: check node version and find acceptable host accordingly * Update for Node v18.4+ * Removed unrelated changesets * Revert "Removed unrelated changesets" This reverts commit e77ffc0fed79568a677d497058d3bbca8faeab7c. * chore: remove duplicate changeset Co-authored-by: Nate Moore <nate@astro.build>
2022-07-23[ci] formatGravatar natemoo-re 2-2/+4
2022-07-23Rename Markdown util `getHeaders()` to `getHeadings()` (#4031)Gravatar Nate Moore 12-42/+64
* Renamed getHeaders() to getHeadings(), according to RFC #208. * chore: update changeset * fix: expose MarkdownHeading type from `astro` Co-authored-by: Félix Sanz <me@felixsanz.com> Co-authored-by: Nate Moore <nate@astro.build>
2022-07-23Preserve authored CSS specificity (#4024)Gravatar Nate Moore 6-15/+24
* feat: preserve authored CSS specificity * chore: update tests to use :where() * test: fix HTML and CSS test * test: fix imported markdown CSS test Co-authored-by: Nate Moore <nate@astro.build>
2022-07-23[ci] update lockfile (#4026)Gravatar Fred K. Bot 1-79/+90
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-07-22[ci] formatGravatar tony-sull 10-44/+36
2022-07-22WIP: [image] Fixing SSR support and improving error validation (#4013)Gravatar Tony Sullivan 48-238/+557
* fix: SSR builds were hitting an undefined error and skipping the step for copying original assets * chore: update lockfile * chore: adding better error validation to getImage and getPicture * refactor: cleaning up index.ts * refactor: moving SSG build generation logic out of the integration * splitting build to ssg & ssr helpers, re-enabling SSR image build tests * sharp should automatically rotate based on EXIF * cleaning up how static images are tracked for SSG builds * undo unrelated mod.d.ts change * chore: add changeset
2022-07-22[ci] formatGravatar tony-sull 7-31/+33
2022-07-22Feat: new `legacy.astroFlavoredMarkdown` flag (#4016)Gravatar Ben Holmes 64-223/+481
* refactor: add legacy.jsxInMarkdown flag to config * refactor: jsxInMarkdown -> astroFlavoredMarkdown * refactor: remove `markdown.mode` * feat: wire up legacy.astroFlavoredMarkdown * test: add legacy to astro-markdown fixture * test: remark autolinking * test: remark components * test: remark expressions * test: remark strictness * chore: remove "mode" from md component * chore: remove "mode: md" from tests * Fixing legacy MD tests, adding named slots tests for MDX pages * chore: update lock file * WIP: debugging named slots in MDX * fix: handle named slots in MDX properly * chore: re-enabling slots tests for MDX pages * fixing test validation for svelte & vue * removing unused Tailwind test * legacy flag for Markdown component tests * adding is:raw to Markdown component test * adding is:raw to all Markdown component test fixtures * can't use is:raw when nesting markdown components * another nested test can't use is:raw * one more <Markdown> test fix * fixing another JSX markdown component test * chore: add changeset * e2e tests were missing the legacy flag * removing the broken tailwind E2E markdown page Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com> Co-authored-by: Nate Moore <nate@astro.build>
2022-07-22[ci] formatGravatar matthewp 4-11/+25
2022-07-22SSR 404 and 500 routes in adapters (#4018)Gravatar Okiki Ojo 14-21/+124
* fix(WIP): SSR 404 and 500 routes * Implement the feature Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-07-22[ci] formatGravatar matthewp 4-14/+13
2022-07-22Fixes Node adapter receiving a request body (#4023)Gravatar Matthew Phillips 9-16/+274
* Fixes Node adapter receiving a request body * Updated lockfile
2022-07-22Handle EXIF orientation flag (#4021)Gravatar Chris Swithinbank 2-3/+9
* Handle EXIF orientation flag * Create gentle-mails-mate.md
2022-07-22[ci] formatGravatar natemoo-re 2-7/+10
2022-07-22Overhaul HMR handling for `.astro` files (#3932)Gravatar Nate Moore 11-204/+41
* feat(hmr): overhaul HMR handling for `.astro` files * test: remove irrelevant hmr-css test * fix: ignore HMR logs for monorepo files * fix: explicitly call import.meta.hot.decline() * chore: add changeset * fix: run smoke tests in serial * chore: bump postcss test timeout * test: fix undefined `this` Co-authored-by: Nate Moore <nate@astro.build>
2022-07-22[ci] update lockfile (#4019)Gravatar Fred K. Bot 1-1313/+1223
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-07-22Add `pnpm-merge-driver` instructions (#4022)Gravatar Nate Moore 1-0/+7
* chore: add pnpm-merge-driver * chore: remove @pnpm/merge-driver * chore: update contributing with merge-driver instructions * Delete pnpm-lock.yaml * chore: reset pnpm-lock.yaml * chore: reset pnpm-lock.yaml Co-authored-by: Nate Moore <nate@astro.build>
2022-07-22[ci] formatGravatar natemoo-re 9-41/+44
2022-07-22Add `.html` support (#3867)Gravatar Nate Moore 32-12/+534
* feat: add html package * feat: support assets in HTML * feat(html): upgrade html integration * feat(html): add `@astrojs/html` integration * feat(html): add html support to astro core * test(html): update html tests with package.json files * chore: add changeset * fix: remove import cycle * chore: fix types * refactor: remove @astrojs/html, add to core * chore: update types for `*.html` * fix: move *.html to astro/env Co-authored-by: Nate Moore <nate@astro.build>
2022-07-22[ci] formatGravatar natemoo-re 2-13/+15
2022-07-22New handling for `define:vars` scripts and styles (#3976)Gravatar Nate Moore 8-66/+93
* feat: new handling for `define:vars` scripts and styles * fix: handle new script hoisting pattern * refactor: compiler handles sourcemaps * chore: update to handle is:inline define:vars * chore: bump compiler to latest * chore: update define:vars tests * fix: output of `define:vars` is not object style * fix: appease ts * chore: remove unused file * chore: revert unecessary refactors * chore: prefer sync `defineScriptVars` * chore: add changeset Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Okiki Ojo <okikio.dev@gmail.com>
2022-07-22feat(vercel): remove requirement of `ENABLE_VC_BUILD=1` (#4020)Gravatar Juan Martín Seery 5-34/+6
* Remove requirement of `ENABLE_VC_BUILD=1` * Changeset
2022-07-21[ci] formatastro@0.0.0-rc-20220722032928@astrojs/vue@0.0.0-rc-20220722032928@astrojs/vercel@0.0.0-rc-20220722032928@astrojs/tailwind@0.0.0-rc-20220722032928@astrojs/svelte@0.0.0-rc-20220722032928@astrojs/sitemap@0.0.0-rc-20220722032928@astrojs/prefetch@0.0.0-rc-20220722032928@astrojs/partytown@0.0.0-rc-20220722032928@astrojs/node@0.0.0-rc-20220722032928@astrojs/netlify@0.0.0-rc-20220722032928@astrojs/mdx@0.0.0-rc-20220722032928@astrojs/markdown-remark@0.0.0-rc-20220722032928@astrojs/markdown-component@0.0.0-rc-20220722032928@astrojs/lit@0.0.0-rc-20220722032928@astrojs/image@0.0.0-rc-20220722032928@astrojs/deno@0.0.0-rc-20220722032928@astrojs/cloudflare@0.0.0-rc-20220722032928Gravatar bholmesdev 2-21/+23
2022-07-21Fix: use `set:html` when markdown mode is `md` (#4008)Gravatar Ben Holmes 11-13/+143
* refactor: add legacy.jsxInMarkdown flag to config * fix: use `set:html` when `markdown.mode` is 'md' * Revert "refactor: add legacy.jsxInMarkdown flag to config" This reverts commit 5572e8d9b33eb1e9168d221f22348d3b3cb4b29a. * fix: move `remarkUnwrap, remarkEscape` to MDX only * fix: only apply scary HTML passthroughs on MDX * fix: move all JSX-specific rehype plugins under `isMDX` * fix: "allowDangerousHtml" for md (required for Shiki) * fix: apply `set:html` for non-layouts too * test: JSX expressions, components, syntax highlighting * chore: changeset * fix: ignore "setup" and "components" in plain MD mode * refactor: create new fixture to avoid weird caching error * fix: dup package name * chore: update lock * fix: apply rehypeCollectHeaders to md
2022-07-21[ci] formatGravatar bholmesdev 3-26/+24
2022-07-21[MDX] Add Prism and Shiki support (#4002)Gravatar Ben Holmes 11-22/+339
* deps: add rehype-prism, shiki, rehype-pretty-code * wip: apply rehype plugins depending on config * wip: cherry-pick jsx-runtime fix? * deps: rehype-pretty-code -> shiki-twoslash, add rehype-raw * wip: add jsx-runtime fix * feat: get shiki working! * deps: add @astrojs/prism, prismjs, unist-util-visit * feat: add prism support * example: add small syntax highlight demo to with-mdx * deps: remove rehype-prism * chore: remove unused async * chore: add .test.js to all mdx tests * test: shiki, shikiConfig, prism * fix: remove "is:raw" from prism output * docs: add syntax highlighting section * chore: add changeset * nit: "Shiki config" -> Shiki config Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Revert "wip: add jsx-runtime fix" This reverts commit 07f4528f449281afb7bbc154b09292244795a183. * docs: link to integration README from example Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-07-21[ci] formatGravatar natemoo-re 1-1/+4
2022-07-21fix: provide hint for undefined exports (#4003)Gravatar Nate Moore 1-1/+3
Co-authored-by: Nate Moore <nate@astro.build>