Mohamed
f4c2ba870e
chore(@astrojs/integrations/lit): use Node.js for testing ( #9944 )
2024-02-02 11:17:32 +00:00
voxel!()
587b373009
[ci] format
2024-02-02 11:16:26 +00:00
voxel!()
c1a3e80dfe
chore(telemetry): Migrate tests to node:test
( #9886 )
...
* Migrate Telemetry tests to node:test
* Remove fallback to chai
* Remove chai and mocha dependencies
* Fix trailing comma
* Fix pnpm-lock.yaml desync
* Add back old tests with progression
* Remove mocha tests again
* Remove trailing comma
2024-02-02 11:15:29 +00:00
Houston (Bot)
2ac371404d
[ci] release ( #9926 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-01 17:15:45 -05:00
ktym4a
b176825b34
fix: route matching for encoded pathnames ( #9934 )
...
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2024-02-01 17:08:05 -05:00
Nate Moore
9d2fdb293d
Improve astro sync
error handling ( #9888 )
...
* fix(#9711 ): improve `astro sync` error handling
* Update .changeset/healthy-jokes-deny.md
* update unit tests
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-01 16:59:14 -05:00
Arsh
756f9595e7
[ci] format
2024-02-01 21:49:11 +00:00
Arsh
1568afb78a
fix(middleware): load while retrieving ssr manifest for prerendering ( #9938 )
...
* fix(middleware): load while retrieving ssr manifest for prerendering
* add test
* add changeset
2024-02-01 16:46:42 -05:00
Fred K. Schott
055bd27d9d
[ci] format
2024-02-01 21:26:08 +00:00
Fred K. Schott
5d08a69f83
fix semver check ( #9937 )
2024-02-01 16:25:11 -05:00
Arsh
4467441896
fix(NodeApp): fix responses with null bodies never completing ( #9931 )
...
* fix(NodeApp): fix responses with null bodies never completing
* add changeset
* add test
* chore(tests): restore correct assertions
* adjust incorrect test
* added Astro.redirect and Response.redirect test cases
* updated incorrect HTTP status
* adjust api-routes.test.js after cherry-pick
* bup markdoc test timeout
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Friedemann Sommer <friedemannsommer@users.noreply.github.com>
2024-02-01 16:24:21 -05:00
Sarah Rainsberger
b956149b28
[docs] update typo in error message ( #9929 )
2024-02-01 12:39:30 -04:00
Chris Swithinbank
7e2c2c52f9
Fix indentation formatting in types JSDoc ( #9927 )
2024-02-01 16:51:29 +01:00
Bjorn Lu
432c170554
Exit code 1 if node:test fail ( #9928 )
2024-02-01 23:47:13 +08:00
Kristian Binau
27ea080e24
fix: use publicDir & base for 'include your base in url' error message ( #9841 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-01 23:13:58 +08:00
Ofer Shaal
2f448a27f2
fix: upgrade lit library to v3 ( #9915 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-01 23:02:58 +08:00
Larry Ivan Villegas Costas
d52529e094
Add a name property for DetailsHTMLAttributes ( #9918 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-01 23:02:47 +08:00
Luiz Ferraz
54dbaebf50
fix(docs): Fix import in changelog example ( #9924 )
2024-02-01 13:58:32 +00:00
Emanuele Stoppa
8fb9624b08
fix(docs): add missing variant ( #9922 )
2024-02-01 11:29:37 +00:00
Emanuele Stoppa
b31a46673e
chore: fix alignment docs ( #9920 )
...
* chore: fix alignment docs
* apply Sarah suggestion
2024-02-01 10:29:07 +00:00
Houston (Bot)
2561c99598
[ci] release ( #9904 )
...
* [ci] release
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/vercel/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-01 10:04:19 +00:00
Arsh
d702d6ae50
[ci] format
2024-02-01 07:03:42 +00:00
Arsh
2f6d1faa6f
fix(NodeApp): end with "Internal server error" on mid-stream error ( #9908 )
...
* fix(NodeApp): end with "Internal server error" on mid-stream error
* add changeset
* add test
* Apply suggestions from code review
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-01 07:02:40 +00:00
Nate Moore
440bdff8cc
[ci]: use M1 mac image ( #9913 )
2024-01-31 14:40:13 -06:00
Nate Moore
aaedb848b1
Silently ignore adapters that don't export start()
( #9911 )
2024-01-31 13:51:56 -06:00
Matthew Phillips
520be8b113
[ci] format
2024-01-31 15:31:41 +00:00
Matthew Phillips
49e0c24d7f
Provide better ignores for Vercel's file tracer ( #9885 )
...
* Provide better ignores for Vercel's file tracer
* Improve the changeset
2024-01-31 10:30:35 -05:00
Fabian Kachlock
7be5f94dcf
fix: content types reference to config on windows ( #9877 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-31 23:28:23 +08:00
Atharva
38e40f1cc2
chore(@astrojs/vue
): use Node.js for testing ( #9901 )
...
* chore: migrate vue tests to node
* chore: prune chai/mocha from package-lock
2024-01-31 14:58:44 +00:00
Matthew Phillips
694fd86739
[ci] format
2024-01-31 14:40:19 +00:00
Matthew Phillips
fad4f64aa1
Implements build.format: 'preserve' ( #9764 )
...
* Implements build.format: 'preserve'
* Restructure test
* Add a test for base
* Update .changeset/tame-flies-confess.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Add trailing slash + i18n testing
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tame-flies-confess.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* tiny punctuation/conjunction nit fixes
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-31 14:39:20 +00:00
Oliver Speir
84c100dd33
[ci] format
2024-01-31 14:00:11 +00:00
Oliver Speir
d4b886141b
Allow images in content collections folder to be used without relative import prefix ( #9755 )
...
* adds the ./ prefix to the import statement for user
* remove accidental new line added
* add tests
* add changeset
* Update young-eyes-film.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-31 13:59:06 +00:00
Bjorn Lu
7d937c1589
Add CLI shortcuts ( #9159 )
...
* Add CLI shortcuts
* Update changeset
* Remove server urls shortcut
* feat: improve CLI shortcut formatting
* chore: remove unused import
* Cleanup
* Cleanup
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-31 13:57:34 +00:00
Erika
58f9e393a1
Add ComponentProps
util ( #9839 )
...
* chore: changeset
* Update .changeset/cuddly-moons-hang.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-31 13:56:44 +00:00
Emanuele Stoppa
cddbec4619
[ci] format
2024-01-31 13:56:11 +00:00
Emanuele Stoppa
041fdd5c89
feat(i18n): domain support ( #9143 )
...
* i18n(domains): validation and updated logic (#9099 )
* feat(i18n): domain with lookup table (#9112 )
* chore: add changelog, fix types and enable experimental support in node/vercel
* rebase and update lock file
* chore: fix failing test
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
* Update .changeset/tidy-carrots-jump.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* wip
* chore: rebase, conflicts and tests
* update lock file
* chore: correct configuration
* chore: correct configuration
* fix: regressions
* chore: fix conflicts and add more tests
* chore: add more validation
* chore: more tests and add more restrictions
* fix changeset
* change and revert adapters
* add another restriction
* lock file update
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* wat
* fix syntax error
* fix config example
* Fix for #9673 (#9680 )
* Fix for #9673
* 🦋 add changeset file
* Update breezy-plants-smoke.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* ⚡ ️ simplified normalizeConfigPath
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Fix env var replacement for export const prerender (#9807 )
* feat(alpinejs): allow customizing the Alpine instance (#9751 )
* feat(alpinejs): allows customzing the Alpine instance
* chore: add e2e tests
* fix: rename script
* Update index.ts
* fix: lockfile
* [ci] format
* chore: use correct lock file
* chore: rebase
* fix regressions in tests
* fix regressions in tests
* fix build
* add description
* fix missing types
* chore: fix tests, again :D
* eslint
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* chore: address feedback
* chore: fix regressions
* chore: refactor naming
* Update packages/astro/src/core/app/index.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* chore: address feedback
* update lock file
* chore: infer routing from options, not strategy
* merge from main
* merge from main
* Experimental support in vercel adapter
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/tidy-carrots-jump.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* better changesets
* Updates both experimental.i18nDomains and i18ndomains for experimental strategy
* fix link syntax
* consistent tabs/spaces
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* apply suggestion
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Lou Cyx <git@lou.cx>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Florian Lefebvre <ematipico@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-31 13:55:03 +00:00
Houston (Bot)
43391ac60d
[ci] release ( #9879 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-31 10:40:01 +00:00
ktym4a
bfc145b778
chore(@astrojs/markdoc): use Node.js for testing ( #9897 )
2024-01-31 10:37:39 +00:00
Ming-jun Lu
8dc7b39a62
chore(@astrojs/sitemap): migrate tests to node:test
( #9892 )
...
* chore(@astrojs/sitemap): migrate tests to `node:test`
* chore(@astrojs/sitemap): remove `chai` and `mocha` from devDependencies
2024-01-31 09:47:33 +00:00
Emanuele Stoppa
1c4a263d8f
Revert "chore(@astrojs/integrations/sitemap): use Node.js for testing ( #9891 )" ( #9900 )
...
This reverts commit 82de54979e
.
2024-01-31 09:47:21 +00:00
Alex Nguyen
11d5e52710
migrate MDX tests ( #9894 )
2024-01-31 08:37:34 +00:00
Mohamed
6dbafb8f5f
[ci] format
2024-01-31 08:32:27 +00:00
Mohamed
82de54979e
chore(@astrojs/integrations/sitemap): use Node.js for testing ( #9891 )
2024-01-31 08:31:12 +00:00
voxel!()
4349254376
chore(@astrojs/integrations/react) Migrate tests to node:test
for @astrojs/react
( #9899 )
...
* Migrate Telemetry tests to node:test
* Remove fallback to chai
* Remove chai and mocha dependencies
* Fix trailing comma
* Fix pnpm-lock.yaml desync
* Add back old tests with progression
* Convert tests to node:test
* Remove unused dependencies
* Remove artifact changes
* Revert more artifacts
* Fix more
2024-01-31 08:29:26 +00:00
Arsh
84e9935a91
[ci] format
2024-01-31 06:08:21 +00:00
Arsh
37369550ab
fix(dev): prevent comma-separating multiple Set-Cookie headers ( #9884 )
...
* fix(dev): prevent comma-separating multiple Set-Cookie headers
* add changeset
* add test
2024-01-31 06:07:25 +00:00
Nate Moore
a8383173da
[ci] format
2024-01-30 23:17:37 +00:00
Nate Moore
13c3b712c7
Improves YAML error handling consistency ( #9882 )
...
* fix: improves yaml error handling consistency
* chore: add changeset
2024-01-30 17:16:31 -06:00
Arsh
70ae19d500
[ci] format
2024-01-30 17:17:06 +00:00