Matthew Phillips
27ac6a03a1
Use CSS depth to sort CSS in production ( #4446 )
...
* Use CSS depth to sort CSS in production
* Adds a changeset
2022-08-23 13:26:49 -04:00
Ben Holmes
adb2079796
Fix MDX style imports when layout is not applied ( #4443 )
...
* fix: add "astro.needsHeadRendering" to MDX
* test: style imports in pages without layout
* chore: changeset
2022-08-23 13:25:35 -04:00
Erika
ca0c7e8b83
Allow string as a valid value for the target attribute ( #4441 )
2022-08-23 11:39:02 -03:00
Bjorn Lu
baa2ddd010
Warn hydration directive for Astro components in JSX ( #4330 )
...
* Warn hydration directive for Astro components in JSX
* Add changeset
* Better comment
2022-08-23 10:38:31 -04:00
Ben Holmes
dc42f2c00f
Fix astro add @example-org/integration
( #4430 )
...
* fix: parse third-party org names
* chore: changeset
2022-08-23 10:09:39 -04:00
matthewp
bc5cb85232
[ci] format
2022-08-23 12:50:09 +00:00
Matthew Phillips
f40065f510
Ensure index pages are generated on paginated results ( #4426 )
...
* Ensure index pages are generated on paginated results
* Changeset
2022-08-23 08:47:20 -04:00
Kiril Shevchuk
8164fa6f1a
Fix invalid hook usage for exports ( #4385 )
...
* Add proper support functional components exports
* Add changeset
* Add support for `export default X`
2022-08-23 08:46:51 -04:00
Cameron McEfee
b2e976f39c
fix (core): allow falsy values in astro config integrations arrays ( #4427 )
...
* allow falsy values in astro config integrations arrays
* add changeset
2022-08-23 08:23:08 -04:00
Ben Holmes
a2414bf59e
Improve MDX glob perf - move Layout to async import ( #4428 )
...
* fix: move layout to async import
* chore: changeset
* docs: clarify async import
2022-08-22 18:18:30 -04:00
Fred K. Bot
c8d0fa4c4e
[ci] release ( #4425 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-22 16:53:44 -04:00
matthewp
a20e811795
[ci] format
2022-08-22 19:49:45 +00:00
Fred K. Bot
457e559cd5
[ci] release ( #4363 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-22 15:46:46 -04:00
Tony Sullivan
579e2daf8d
[@astrojs/image] Handle query params in remote image URLs during SSG builds ( #4338 )
...
* fix: SSG builds should remove query params when building local image files
* chore: add changeset
* handling an edge case related to stripping extensions from a filename
2022-08-22 19:45:34 +00:00
tony-sull
2c40fba0c8
[ci] format
2022-08-22 19:15:35 +00:00
Tony Sullivan
c4af8723bd
[@astrojs/image] adds a logger to the the image integration ( #4342 )
...
* WIP: adding a console logger that respect vite.logLevel
* adds an optional prefix for messages
* remove temporary debug log
* typo fix
* cleaning up log syntax
* fixing logger whitespace
* adding README docs
* test: disable integration logging in tests
* chore: add changeset
2022-08-22 19:13:19 +00:00
Nu11Terminator
4ac2718883
fix: vercel static export path ( #4370 )
...
This enables the use of `{ output: static, adapter: vercelStaticAdapter}`
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-22 14:50:15 -04:00
Rui Saraiva
be2774b357
chore(basics): update README folder structure ( #4417 )
2022-08-22 14:26:44 -04:00
Fred K. Schott
7310e8a178
add an alpine integration and update example ( #4406 )
2022-08-22 14:25:57 -04:00
Fred K. Schott
a70f69a06c
refactor the JSX plugin to improve performance ( #4405 )
2022-08-22 14:25:09 -04:00
sergix
dd52b2192d
Include note about Tailwind per-component errors using '@apply' ( #4353 )
...
* add: @apply exceptions for component frameworks
Some frameworks, specifically Vue, will not recognize global @layer directives in a global stylesheet because of how Vue's build system works. Instead, prefer to add a plugin to your Tailwind config. #2660 , #3073
* Update README.md
* Update README.md
2022-08-22 14:18:17 -04:00
EBits00
8f20b18875
Updated Express code to serve assets ( #4402 )
...
Assets where not served so the style was not applied, fixed this by adding the line app.use(express.static('dist/client/'))
2022-08-22 12:33:54 -04:00
Maik Jablonski
8264f85f1d
Running Astro as SSG on Vercel without adapter ( #4299 )
...
Fixes the 404 handling.
2022-08-22 11:47:14 -04:00
Ben Holmes
7820096e1b
fix: correctly add react-dom
alias to Vercel edge ( #4421 )
...
* fix: correctly add react-dom alias to vercel edge
* chore: changeset
2022-08-22 11:46:02 -04:00
Bjorn Lu
39088e11db
Bump Vite to 3.0.9 ( #4415 )
2022-08-22 10:58:50 -04:00
matthewp
0402eb0972
[ci] format
2022-08-22 14:41:22 +00:00
Matthew Phillips
5e82f6c245
Fix race condition with directive definitions ( #4375 )
2022-08-22 10:39:16 -04:00
Eldemarkki
439f1d1c0d
Fix typo in stricter tsconfig ( #4394 )
2022-08-20 20:45:23 +08:00
Vincent Uden
2615042923
Fix typo in the docs example ( #4382 )
2022-08-19 16:06:53 +08:00
Bjorn Lu
77b068086d
Preserve all error stack lines ( #4364 )
2022-08-18 14:36:31 +08:00
Nate Moore
41b81d0d7e
Switch examples favicon to use svg ( #4331 )
...
* chore(examples): switch favicon to svg
* chore: astro.svg => favicon.svg
* Update examples/basics/README.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-08-17 15:19:04 -05:00
tony-sull
1beb3f9747
[ci] format
2022-08-17 19:38:50 +00:00
Tony Sullivan
1c6895884c
Testing perf improvements for e2e tests ( #4354 )
...
* WIP: testing fixes to share the dev server in e2e test suites
* temp: testing multiple workers
* Revert "temp: testing multiple workers"
This reverts commit 9c7bc9d93c9c3f6dd62e3732f878f2d86016b213.
2022-08-17 19:37:10 +00:00
Chris Swithinbank
beed20be4a
Provide correct MIME type for dynamic endpoint routes in dev ( #4356 )
2022-08-17 20:07:14 +02:00
Bjorn Lu
500332a426
Refactor static build config merge ( #4344 )
2022-08-17 23:24:14 +08:00
Caleb
675b6d47f4
Fix example blog post markdown-style-guide.md image extension ( #4360 )
2022-08-17 16:11:09 +08:00
Joseph Lozano
aa5118e854
Fallback to undefined rather than false when resolving CLI flags ( #4362 )
2022-08-17 15:47:38 +08:00
Fred K. Bot
1de82f0f78
[ci] release ( #4333 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-16 10:14:44 -04:00
Patrick Smith
45fdbc4650
Don’t use Buffer.byteLength() as Deno can’t use it ( #4324 )
...
* Don’t use Buffer.byteLength() as Deno can’t use it
* Add changeset
* Add tests for Markdown & MDX with Deno
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-08-16 10:08:40 -04:00
Ben Holmes
166b3b8a54
Fix: TS lint on MDXLayoutProps
( #4347 )
...
* fix: extends interface -> type
* chore: changeset
2022-08-16 09:45:10 -04:00
Chris Swithinbank
e2b3f8a3f4
integrations: update recommended method for running astro add ( #4340 )
2022-08-16 10:31:14 +02:00
Tony Sullivan
0274b8d47b
SSR doesn't need to block multiple routes that match the same URL ( #4329 )
...
* fix: SSR doesn't need to block multiple routes that match the same URL
* chore: add changeset
2022-08-15 13:57:10 -04:00
Mahmudul Alam
fbf9752f17
Fix typo offical
( #4336 )
2022-08-15 12:29:33 -05:00
matthewp
5f092230f6
[ci] format
2022-08-15 17:12:41 +00:00
Matthew Phillips
b55f76c1ca
Fix double injecting of head content in md pages ( #4334 )
...
* Fix double injecting of head content
* Refactor
* Changeset
* Break into a separate util fn
* fix oops
* remove unused code
2022-08-15 13:10:28 -04:00
Nate Moore
655d9840f8
fix(blog): height auto img ( #4327 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-15 11:19:47 -05:00
bholmesdev
2edcb30c3d
[ci] format
2022-08-15 14:45:15 +00:00
Ben Holmes
f1a52c18af
[MDX] Switch from Shiki Twoslash -> Astro Markdown highlighter ( #4292 )
...
* freat: twoslash -> Astro shiki parser
* test: update shiki style check
* feat: always apply rehypeRaw
* deps: move remark-shiki-twoslash to dev
* test: add shiki-twoslash test
* docs: update readme with twoslash example
* chore: changeset
* nit: remove "describe('disabled')"
2022-08-15 10:43:12 -04:00
MoustaphaDev
3889a7fa75
docs: fixed typo in the tailwind integration docs ( #4308 )
...
## Changes
Corrected "aother" with "another" in (the tailwind integration docs)[https://docs.astro.build/en/guides/integrations-guide/tailwind/ ].
## Testing
No tests because this pr is just fixing a typo in the docs
## Docs
Well this PR fixes a typo in the docs
<!-- https://github.com/withastro/docs -->
2022-08-15 09:20:39 -05:00
Stinggyray
6227eaf9a2
Update README.md ( #4326 )
...
Removed a duplicate line.
2022-08-15 09:20:22 -05:00