Remco Haszing
a31bbd7ff8
fix(markdown): don’t generate mdast html nodes ( #10104 )
...
* fix(markdown): don’t generate mdast html nodes
`html` nodes from mdast are converted to `raw` hast nodes. These nodes
are then not processed by proper rehype plugins. Typically if a remark
plugin generates `html` nodes, this indicates it should have actually
been a rehype plugin.
This changes the remark plugins that generate `html` nodes into rehype
nodes. These were `remarkPrism` and `remarkShiki`.
Closes #9909
* Apply suggestions from code review
* refactor(mdx): move user defined rehype plugins after syntax highlighting
* fix(mdx): fix issue in mdx rehype plugin ordering
* docs: explain why html/raw nodes are avoided in changeset
This also includes some hints on what users could do to upgrade of they
rely on these nodes.
* Fix MDX rehype plugin ordering
* refactor(remark): restore remarkPrism and remarkShiki
They aren’t used anymore, but removing would be a breaking change.
* chore: mark deprecated
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/thirty-beds-smoke.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-03-08 10:53:39 +00:00
Bjorn Lu
8526ca3967
Update turbo test dependsOn ( #10329 )
...
* Update turbo test dependsOn
* Update mdx timeout
2024-03-05 15:16:55 +00:00
Bjorn Lu
f6fc18cc61
Update Vite to latest ( #10259 )
2024-02-28 23:20:17 +08:00
Emanuele Stoppa
2dd00a0024
chore: import sort source code, exception for the astro
package ( #10242 )
...
* chore: import sort source code, exception for the `astro` package
* fix import sorting bug
* Update packages/integrations/lit/server.js
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-27 11:15:27 +00:00
Emanuele Stoppa
1e638c4019
chore: import sorting for test folder and e2e folder ( #10190 )
2024-02-22 13:58:10 +00:00
Emanuele Stoppa
062623438b
chore: use biome to sort imports - only test files ( #10180 )
...
* chore: use biome to sort imports
* do the sorting
* Update package.json
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-21 14:08:19 +00:00
Bjorn Lu
787e6f5247
Update to Vite 5.1 ( #10120 )
2024-02-15 17:20:38 +08:00
Bjorn Lu
436841e97e
Use eslint-plugin-regexp ( #9993 )
2024-02-07 20:43:19 +08:00
Alex Nguyen
11d5e52710
migrate MDX tests ( #9894 )
2024-01-31 08:37:34 +00:00
Houston (Bot)
3a50cbf6ed
[ci] release ( #9843 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-30 15:41:06 +00:00
Houston (Bot)
eaf483fe73
[ci] release ( #9785 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-23 19:27:10 -05:00
Oliver Speir
f04b563039
[ci] format
2024-01-23 23:19:35 +00:00
Oliver Speir
df37366556
MDX remark image props ( #9753 )
...
* rearrange plugins and add props to Image component
* add tests and update lockfile
* add changeset
* re-rearrange plugin order, gfm/smartypants then user defined then image related then shiki/prism
* make more generic
* add more/better tests
* remove unused logger
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-01-23 18:18:09 -05:00
Stefano
9aa7a5368c
fix: vite security issue ( #9773 )
2024-01-23 20:48:20 +08:00
Houston (Bot)
2b5f1d6be8
[ci] release ( #9728 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-22 15:11:07 -05:00
Houston (Bot)
2292d0b580
[ci] release ( #9709 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-18 10:30:19 +00:00
Bjorn Lu
1539e04a8e
Simplify HMR for circular imports and CSS ( #9706 )
2024-01-17 11:27:21 +08:00
Houston (Bot)
7a275c1648
[ci] release ( #9625 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-11 16:32:08 +08:00
Bjorn Lu
e72efd6a9a
Use esbuild for env replacement ( #9652 )
2024-01-11 12:06:14 +08:00
Houston (Bot)
98fa8f02ab
[ci] release ( #9491 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-27 13:34:07 -05:00
Sarah Rainsberger
36bedf1a5f
[ci] format
2023-12-21 20:36:15 +00:00
Sarah Rainsberger
1baf0b0d3c
[docs] minimal integration READMEs ( #9479 )
...
Co-authored-by: Emanuele Stoppa <602478+ematipico@users.noreply.github.com>
Co-authored-by: Elian <15145918+ElianCodes@users.noreply.github.com>
Co-authored-by: Alexander Niebuhr <45965090+alexanderniebuhr@users.noreply.github.com>
2023-12-21 16:35:11 -04:00
Houston (Bot)
97342d218e
[ci] release ( #9457 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-20 17:39:13 +00:00
Florian Lefebvre
e83b5095f1
chore: upgrade vite to latest ( close #9443 ) ( #9452 )
...
* chore: upgrade vite to latest
* chore: add changeset
* fix: enforce type
* fix: postcss
* chore: log messages
* fix: take vite re-optimizing message into account
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-12-20 11:54:25 +00:00
Houston (Bot)
f47b85ce6f
[ci] release ( #9365 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-11 11:57:19 +00:00
Arsh
1b4e918981
chore: update peer dependencies ( #9366 )
2023-12-07 23:34:14 +08:00
Houston (Bot)
5f13e7e0dc
[ci] release ( #9307 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-05 09:39:16 -04:00
Bjorn Lu
cfa0c454b5
[ci] format
2023-11-30 15:06:09 +00:00
Erika
000e8f4654
feat: implement overlay main screen redesign ( #9118 )
...
* feat: implement redesign
* fix: make it build
* feat: visual tweaks
* feat(overlay): update styling, integration endpoint
* feat: add fallback icons
* Clean up tests (#9183 )
* Add `@astrojs/upgrade` package for automatic package upgrades (#8525 )
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* [ci] format
* fix: links with same path but different search params not prefetched (#9189 )
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix: discord icon
* chore: changeset
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Spencer Whitehead <35475068+SpencerWhitehead7@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-28 09:39:38 -05:00
Houston (Bot)
415fec54f8
[ci] release (beta) ( #9114 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-27 12:59:31 -05:00
Bjorn Lu
cdabf6ef02
Remove support for simple objects in endpoints ( #9181 )
...
* Deprecate simple object from endpoints
* Update changeset
* Add missing Response return
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
* Update .changeset/clever-beds-notice.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-27 12:51:57 -05:00
Bjorn Lu
153a5abb90
Remove deprecated features from Astro 3.0 ( #9168 )
2023-11-28 00:44:20 +08:00
Bjorn Lu
abf601233f
Update all dependencies ( #9138 )
...
Co-authored-by: delucis <delucis@users.noreply.github.com>
2023-11-21 12:09:19 +08:00
Bjorn Lu
1c48ed2865
Support Vite 5 ( #9122 )
2023-11-17 22:02:05 +08:00
Houston (Bot)
e63aac94ca
[ci] release ( #9078 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-14 23:20:35 +08:00
Houston (Bot)
83c8870684
[ci] release ( #9021 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-09 12:49:35 -05:00
Bjorn Lu
c8976440ff
Prevent bumping peer deps ( #8893 )
2023-10-26 18:07:02 +08:00
Houston (Bot)
a86b41c852
[ci] release ( #8895 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-24 12:26:45 -04:00
Remco Haszing
5a3d46da1e
Recommend the VS Code MDX extension ( #8897 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-24 11:04:59 -05:00
Houston (Bot)
42a83ffcfe
[ci] release ( #8861 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-23 17:22:50 +08:00
Houston (Bot)
c6e0d8e1cd
[ci] release ( #8848 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-18 13:31:13 +01:00
Houston (Bot)
3468c06f56
[ci] release ( #8820 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-17 03:28:33 +05:30
Houston (Bot)
6bb69305c9
[ci] release ( #8796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-12 09:43:24 -05:00
Houston (Bot)
9cd6a6657b
[ci] release ( #8768 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-10 22:30:52 +08:00
Houston (Bot)
584d6f0680
[ci] release ( #8738 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-05 11:10:06 +01:00
Emanuele Stoppa
6f60da805e
feat: add provenance to packages ( #8737 )
2023-10-03 15:25:25 +01:00
Houston (Bot)
78fda5c3ec
[ci] release ( #8722 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-02 23:55:56 +08:00
Houston (Bot)
a067c2a2c7
[ci] release ( #8699 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-02 16:34:57 +08:00
Houston (Bot)
2d33b9362d
[ci] release ( #8695 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-28 14:12:22 -04:00
Matthew Phillips
2167ffd72f
Revert "[ci] release ( #8671 )" ( #8696 )
...
This reverts commit eada8ab8fa
.
2023-09-28 13:57:54 -04:00