Commit graph

768 commits

Author SHA1 Message Date
Fred K. Schott
ef198ff835
handle diff symbols in shiki (#3108)
* handle diff symbols in shiki

* Create violet-cups-glow.md
2022-04-18 22:36:42 -07:00
Juan Martín Seery
4ac3797344
feat(vercel): added warning when ENABLE_FILE_SYSTEM_API=1 is missing (#3139)
* Added warning in buildtime

* Updated readme

* Changeset
2022-04-18 19:19:46 -03:00
Ben Holmes
facf8016e2
Fix: show correct error log on 5xx error (#3137)
* fix: show correct error log on 5xx error

* chore: changeset
2022-04-18 18:12:30 -04:00
Ben Holmes
44bacd2011
Fix: component styles within imported markdown files (#3116)
* fix: replace markdown path prefix with suffix flag

* fix: avoid non-encoded colons for flag

* fix: remove needless ?

* fix: dev server load order

* fix: production build crawl dynamic imports

* fix: remove  unused virtual_module_id const

* fix: remove unsafe "!" on getmodbyid

* fix: remove needless @id path check

* fix: add list of SSR-able file extensions

* docs: virtual_mod_id change

* fix: support id prefix on resolved ids

* fix: switch to ?mdImport flag to resolve glob imports

* tests: imported md styles for dev and build

* chore: changeset
2022-04-18 15:44:42 -04:00
Tony Sullivan
394ab90547
Perf: reuse Shiki highlighters per theme/lang (#3130)
* reuse Shiki highlighters per theme/lang

* chore: adding changeset
2022-04-18 16:30:19 +00:00
Chris Swithinbank
9e35758ec3
Roll back to React 17 in docs template (#3129)
The docs example template includes Algolia’s Docsearch components to provide a search bar but this doesn’t support React 18 yet, so will error when dependencies are being installed.

See https://discord.com/channels/830184174198718474/965413318678425600
2022-04-18 10:09:57 -04:00
Matthew Phillips
e5383cd357
Handle static file serving in Deno adapter's start command (#3121)
* Handle static file serving in Deno adapter's start command

* Adds a changeset

* Ignore a .ts imort
2022-04-15 17:01:33 -04:00
Juan Martín Seery
b0ba22c5ff
fix(vercel): CJS bundle fix (#3051)
* fix(vercel): CJS bundle fix

* Changeset
2022-04-15 15:58:57 -04:00
Tony Sullivan
e0f838ca39
Fix/numeric path params (#3087)
* adding support for numeric params in getStaticPaths()

* chore: adding changeset

* ignore undefined params in type validation
2022-04-15 14:16:11 -05:00
github-actions[bot]
c1336ae41c
[ci] release (#3114)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-14 15:28:42 -04:00
Matthew Phillips
1687009f31
Add client:only CSS to their pages (#3113)
* Add client:only CSS to their pages

* Adds a changeset

* Use viteID for windows
2022-04-14 12:19:03 -04:00
github-actions[bot]
254048dc82
[ci] release (#3103)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-14 15:10:29 +00:00
Matthew Phillips
4ac0d5d4e7
Support the Markdown component in SSR (#3036)
* Support the Markdown component in SSR

* Adds a changeset

* Support runtime markdown in Node.js

* Remove option from test adapter
2022-04-14 09:51:53 -04:00
Tony Sullivan
254a8f3749
Fixing bug that could lose Tailwind's default presets (#3099)
* fixing bug that could lose Tailwind's default presets

* updating integration README

* chore: adding changeset

* test: fixing the tailwind tests
2022-04-13 15:05:00 +00:00
github-actions[bot]
b23f6b1596
[ci] release (#3101)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-13 08:55:32 -04:00
Matthew Phillips
5acf77dd22
Re-enable custom element test and fix "undefined" child (#3095)
* Re-enable custom element test and fix "undefined" child

* Remove outdated comment

* Adds a changeset
2022-04-13 08:44:22 -04:00
github-actions[bot]
21926278ba
[ci] release (#3090)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-12 20:15:14 -07:00
Fred K. Schott
5316253445 add missing changeset 2022-04-12 20:08:09 -07:00
Fred K. Schott
d33e177817
handle delete resrved word (#3078) 2022-04-12 19:57:05 -07:00
Fred K. Schott
81e210e03c
fix build base bug (#3068)
* fix ssr url search params bug

* fix build base bug

* safer slash removal
2022-04-12 19:54:07 -07:00
Ben Holmes
564caf24c2
Fix: React hydration failure (#3094)
* fix: react hydration failure

* chore: changeset
2022-04-12 17:00:52 -04:00
Matthew Phillips
a5caf08e24
Allow setting multiple cookies in Netlify adapter (#3092)
* Allow setting multiple cookies in Netlify adapter

* Adds a changeset

* Set the response status code

* Add a comment on why this is needed
2022-04-12 16:50:10 -04:00
Juan Martín Seery
f665d1a250
fix(vercel): support dynamic paths (#3081)
* fix(vercel): support dynamic paths

* Changeset
2022-04-12 10:02:59 -04:00
github-actions[bot]
0966a432a8
[ci] release (#3080)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-11 19:59:32 -07:00
Juan Martín Seery
b835e285de
feat: markdown config typechecking (#2970)
* Added schemas to markdown plugin

* Added new schemas to main package

* Changesets

* typeraw

* Explaination about the weird type hack

* Added markdown.mode to config

* Added comment

* Formatted

* Moved validation to `astro` and added RemarkPlugin ad RehypePlugin

* Removed the ability to have a custom markdown renderer internally

* Fixed plugin type

* Removed unused renderMarkdownWithFrontmatter

* Added missing dependency

* Dynamically import astro markdown

* Cache import
2022-04-11 16:01:12 -07:00
Fred K. Schott
5b3464a803
fix ssr url search params bug (#3066) 2022-04-11 15:57:18 -07:00
hippotastic
9f248b0563
Make Netlify adapter actually append redirects (#3079) 2022-04-11 12:30:47 -07:00
github-actions[bot]
791a524411
[ci] release (#3064)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-10 21:13:11 -07:00
Fred K. Schott
815d62f151 trigger re-release changeset 2022-04-10 21:09:30 -07:00
Fred K. Schott
55c4321b25 trigger re-release changeset 2022-04-10 21:04:52 -07:00
Fred K. Schott
bb0015c8f9 trigger re-release changeset 2022-04-10 21:02:10 -07:00
github-actions[bot]
21c74e572c
[ci] release (#3061)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-10 20:15:02 -07:00
Fred K. Schott
2bb6a06ebb revert release 2022-04-10 20:11:34 -07:00
github-actions[bot]
46f02d9cf4
[ci] release (#3060)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-10 20:01:00 -07:00
Fred K. Schott
9f9189ed8e update changeset 2022-04-10 19:53:36 -07:00
Fred K. Schott
8ca5bfad1a update changeset 2022-04-10 19:44:17 -07:00
Fred K. Schott
4ab1a12481 correct changesets 2022-04-10 18:45:58 -07:00
Steve Lee
7b0fbd731e
Fix SSR static build public file copying. fixes #3016 (#3037)
* Fix SSR static build public file copying

* chore: update lockfile

* remove dirname and use URL constructor

* Cleanup test and actually test what it says it tests

Co-authored-by: Nate Moore <nate@skypack.dev>
2022-04-10 18:23:17 -07:00
Fred K. Schott
a9ecefb8ac
fix our weird beta release issues (#3031) 2022-04-10 18:17:39 -07:00
Fred K. Schott
c05a544acd update tailwind integration readme 2022-04-10 18:12:34 -07:00
Fred K. Schott
732ea3881e
Create dry-candles-behave.md 2022-04-10 14:36:08 -07:00
Juan Martín Seery
982f64f69a
chore: updated esbuild (#3028)
* chore: updated esbuild

* Changeset
2022-04-10 14:33:10 -07:00
Erika
d1f292199c
Update JSDoc comments that get shown in editor (#2999) 2022-04-07 17:08:27 -04:00
github-actions[bot]
a5aea2ce56
[ci] release (beta) (#3023)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-07 15:22:47 -04:00
Matthew Phillips
4b0f27d9ff
Fixes adding set-cookie headers multiple times (#3026)
* Fixes adding set-cookie headers multiple times

* Adds a changeset
2022-04-07 15:18:08 -04:00
Matthew Phillips
7e9d82d75e
Warn when trying to access headers in SSG mode (#3021)
* Warn when trying to access headers in SSG mode

* Adds a changeset

* Warn when accessing headers at all + a test
2022-04-07 15:17:05 -04:00
Tony Sullivan
c773dcde31
Exclude any ?raw or ?url css imports when adding asset links (#3020)
* exclude any ?raw css imports when adding css asset links

* ?url imports should be ignored as well

* chore: adding changeset
2022-04-07 18:26:26 +00:00
Matthew Phillips
8c04ff1f0b
Allow an adapter to export default (#3022)
* Allow an adapter to export default

* Adds a changeset
2022-04-07 13:21:56 -04:00
github-actions[bot]
1d0c1d8977
[ci] release (beta) (#3007)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-06 16:40:46 -05:00
Nate Moore
25cc9218f8
fix(#2987): relative config handling with --config flag (#3001)
* fix(#2987): relative config handling with `--config` flag

* test: fix tests

* fix: improve config test for failure case

* fix: test on windows?

* fix: test on windows?
2022-04-06 16:37:49 -05:00