0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

347 commits

Author SHA1 Message Date
Houston (Bot)
66bc1041d4
[ci] release (#10739)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-11 13:24:47 +02:00
Emanuele Stoppa
683d51a5ee
feat: upgrade the minimum Node.js maintainance LTS version (#10689)
* feat: upgrade the minimum Node.js maintainance LTS version

* chore: update minimum npm version

* chore: revert npm change

* chore: address Erika's feedback

* chore: apply further suggestions

* Update .changeset/empty-rules-type.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 14:53:55 +01:00
Houston (Bot)
e2a780a46d
[ci] release (#10674)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-04 13:11:24 -04:00
Bjorn Lu
db7f9c8703
Remove unnecessary recmaInjectImportMetaEnv plugin for MDX (#10673) 2024-04-04 15:07:40 +08:00
Houston (Bot)
f7d6254f8f
[ci] release (#10603)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 15:46:43 +08:00
Houston (Bot)
bb7707e171
[ci] release (#10556)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-26 17:24:02 -04:00
Houston (Bot)
fdceed5889
[ci] release (#10503)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 20:46:06 +05:30
Emanuele Stoppa
dfd146f591
Revert "[ci] format" (#10417)
* Revert "[ci] format"

This reverts commit 1863727215.

* pin dependency

* update lock
2024-03-13 09:55:24 +00:00
Houston (Bot)
1863727215 [ci] format 2024-03-13 05:53:52 +00:00
Houston (Bot)
b3dbb49058
[ci] update lockfile (#10234)
Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-03-13 13:52:42 +08:00
Houston (Bot)
0e074fb390
[ci] release (#10365)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-11 10:25:30 +00:00
Bjorn Lu
9e1ef6f0c9
Fix mdx test fail with rehype-pretty-code (#10370) 2024-03-08 20:39:15 +08:00
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