0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

8834 commits

Author SHA1 Message Date
Matthew Phillips
c0c96452a2 [ci] format 2024-09-06 16:42:29 +00:00
Matthew Phillips
bd1d4aaf82
Allow passing into the crypto key via ASTRO_KEY (#11879)
* Allow passing into the crypto key via ASTRO_KEY

* Add a changeset

* Add test

* Use the node package

* omg

* Create a new create-key command

* linting

* lint again

* Update the changeset
2024-09-06 12:41:39 -04:00
Florian Lefebvre
e55c668b25
chore: changeset minor (#11938) 2024-09-06 15:23:17 +02:00
Florian Lefebvre
7d70ba3178
feat(create-astro): ts-check comment (#11924) 2024-09-06 14:23:02 +02:00
Florian Lefebvre
5b4e3abbb1
feat(next): envField jsdoc (#11927)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-06 14:21:27 +02:00
Lukas Bachlechner
4a95159746 [ci] format 2024-09-06 11:27:38 +00:00
Lukas Bachlechner
4a44e82bbd
fix: explicitly check for null props in serializeSignals (#11930)
* fix: explicitly check for null props in `serializeSignals`

* chore: add changeset
2024-09-06 13:26:51 +02:00
Erika
c58193a691
fix(add): Use proper export names when adding adapters (#11935)
* fix(add): Use proper export names when adding adapters

* chore: changeset
2024-09-06 11:38:15 +02:00
Florian Lefebvre
a8a3d2cde8
feat(next): ctx.isPrerendered (#11875) 2024-09-05 16:58:23 +02:00
Houston (Bot)
65bfefb96b
[ci] release (#11909)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-05 03:42:00 +02:00
Gabriel Pereira Woitechen
ca54e3f819
perf(astro/assets): avoid downloading original image when using cache (#11904) 2024-09-04 15:32:03 +02:00
Houston (Bot)
70865b3cdc
[ci] release (alpha) (#11910)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-04 12:44:20 +01:00
Matt Kane
c3dce8363b
Unflag content layer (#11911)
* Unflag content layer

* Lint

* More detailed changeset

* Update .changeset/heavy-seahorses-poke.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-04 09:40:46 +01:00
Matt Kane
b5d827ba68
Export LoaderContext types (#11914)
* Export data store types

* Format

* Change name again!
2024-09-04 08:16:09 +01:00
Florian Lefebvre
38047119ff
feat(next): better tsconfig (#11859)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-09-03 17:49:09 +02:00
Matthew Phillips
5d7bc70fc3 [ci] format 2024-09-03 13:46:53 +00:00
Matthew Phillips
7ff7134b80
Provide an error message when Actions throws in setup (#11886)
* Provide an error message when Actions throws in setup

* Update .changeset/many-turtles-tie.md

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

---------

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-09-03 09:45:57 -04:00
Matt Kane
5a39da87d3 Merge branch 'main' into next 2024-09-03 14:31:29 +01:00
Matt Kane
f69605174b [ci] format 2024-09-03 13:26:33 +00:00
Matt Kane
d63bc50d99
fix: keep data store outside of node_modules during dev (#11902)
* fix: don't keep data store in node_modules during dev

* Lint

* Fix test

* Wait for data store

* Use helper for data store file

* Fix data store file helper

* Lint

* Handle case where Vite already knows about save
2024-09-03 14:25:45 +01:00
Luiz Ferraz
5705200398 [ci] format 2024-09-03 12:54:20 +00:00
Luiz Ferraz
cc820c5d5e
Fix mixed DB token env vars (#11894)
* Fix mixed DB token env vars

* Test env combinations

* Fix linter issues

* Fix linter issues

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-03 14:53:29 +02:00
Houston (Bot)
da473ec0aa
[ci] release (alpha) (#11903)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-03 12:52:02 +01:00
Matt Kane
334948ced2
feat: allow integrations to refresh content layer data (#11878)
* Allow integrations to refresh content layer data

This reverts commit 90a862fc94.

* Add test

* Add changeset

* Add wait in test

* Dispose of queue

* Skip if no content layer collections

* Use spaces in markdown

* fix: don't keep data store in node_modules during dev

* Lint

* Fix test

* Apply suggestions from code review

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

* Re-order tests

* Wait for data store

* Lint

* Handle case where Vite already knows about save

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-03 12:44:57 +01:00
Matt Kane
4563ffcd89 Fix merge 2024-09-02 17:52:26 +01:00
Matt Kane
a1d78b75aa Merge branch 'main' into next 2024-09-02 17:40:53 +01:00
Bjorn Lu
3ab3b4efbc
Clean up Astro metadata in vfile.data (#11861)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-02 21:43:34 +08:00
Bjorn Lu
2bdde80cd3
Set external: true when loading astro config (#11819)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-02 21:22:54 +08:00
Bjorn Lu
cd542109ba
Remove unused types (#11895) 2024-09-02 21:14:57 +08:00
Bjorn Lu
560ef15ad2
Refactor createShikiHighlighter (#11825)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-02 21:08:25 +08:00
Bjorn Lu
19751df887
Fix examples version update for removed packages (#11901) 2024-09-02 21:00:49 +08:00
renovate[bot]
8a1abcfd9d
fix(deps): update dependency vitefu to v1 (#11899)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 19:34:29 +08:00
Houston (Bot)
60d8e30008
[ci] release (#11883)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-02 13:19:39 +02:00
Chris Swithinbank
80b4a181a0
Fix user-facing type for i18n.routing.fallbackType (#11900) 2024-09-02 13:01:38 +02:00
Erika
39d330f6f2
docs: rework docs around errors (#11802)
* docs: rework docs around errors

* Update packages/astro/src/core/errors/README.md

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* docs: expand deprecation description

---------

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-09-02 11:43:19 +02:00
renovate[bot]
645f4e21a7
fix(deps): update all non-major dependencies (#11896) 2024-09-02 10:54:53 +08:00
Matt Kane
e45070459f
fix: separate image extraction from schema parsing in content layer (#11884)
* fix: separate image extraction from schema parsing in content layer

* rm unused imports
2024-09-01 10:05:43 +01:00
bluwy
edd8ae9084 Remove unused babel dependencies
https://github.com/withastro/astro/pull/11789 got lost
2024-09-01 02:03:17 +08:00
Houston (Bot)
534d3edff8
[ci] release (alpha) (#11853)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-30 16:12:25 -04:00
Alexander Niebuhr
11ebf3bd15
chore: move node and vercel to adapters repo (#11866) 2024-08-30 19:43:43 +02:00
Armand Philippot
8e5257adda
docs(i18n): fix typo in fallbackType JSDoc comment (#11870) 2024-08-30 09:45:31 +01:00
Sarah Rainsberger
01b48a466e
[docs] formatting for config ref docs (#11876) 2024-08-29 14:00:40 -03:00
Houston (Bot)
21747e9eae
[ci] release (#11871)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-29 23:28:48 +08:00
Bjorn Lu
9327d56755
Use default import in astro add (#11872) 2024-08-29 23:05:16 +08:00
Emanuele Stoppa
342b9a9fd1
test: fix regression (#11873)
* test: fix regression

* lock file
2024-08-29 16:00:38 +01:00
Matt Kane
e311cc02f3 Merge branch 'main' into next 2024-08-29 15:35:37 +01:00
Matt Kane
d1bd1a11f7
Moves content layer sync to a queue and support selective sync (#11767)
* wip: allow integrations to refresh contel layer

* Use queue for sync jobs

* Remove integration-specific code

* Fix type

* changeset
2024-08-29 15:22:40 +01:00
Princesseuh
96a6aecbc5
fix: type imports in actions 2024-08-29 15:27:02 +02:00
Princesseuh
8ce54b5d6a
fix: remove type for directRenderScript 2024-08-29 15:22:46 +02:00
Princesseuh
027b8398f7
Merge branch 'main' into next 2024-08-29 15:22:24 +02:00