Commit graph

3913 commits

Author SHA1 Message Date
Tim Rinkel
9389517f63
Update README.md (#4517) 2022-08-29 16:42:27 +08:00
applemonkey496
d431fbe4e1
fix: config type import (#4524) 2022-08-29 00:12:58 -03:00
Juan Martín Seery
a2e8e76c30
chore: updated shiki (#4519)
* Upgraded shiki

* Use setColorReplacements

* no-shadow

* Changeset
2022-08-28 08:23:37 -03:00
Fred K. Bot
270852370a
[ci] release (#4508)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-26 21:30:37 -03:00
Erika
4e1af3f0e8
Fix import-meta.d.ts not being included in the package (#4507) 2022-08-26 19:28:34 -03:00
Fred K. Bot
d85133393a
[ci] release (#4502)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-26 13:03:04 -07:00
Fred K. Schott
8d6978b8d0
Update README.md 2022-08-26 11:50:30 -07:00
Mohammed Elhaouari
17e2178568
Add renderer keyword to alpinejs integration (#4501)
* Add renderer keyword to alpinejs

* Add changeset
2022-08-26 11:50:11 -07:00
Fred K. Bot
ff03313848
[ci] release (#4495)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-26 13:01:30 -04:00
Abdullah Mzaien
d5eb500468
chore: update readme to include alpine js integration (#4498) 2022-08-26 11:59:07 -04:00
Erika
9874c7bf42
Update astro check to use latest version of the language server (#4500)
* Update @astrojs/language-server to latest version

* Add changeset

* Update lockfile
2022-08-26 12:54:38 -03:00
Erika
1f42c0791c
Vendor Vite's importMeta.d.ts inside our repo to workaround issue with tsc on Linux (#4499)
* Update @astrojs/language-server to latest version

* Vendor importMeta.d.ts from Vite inside our repo to workaround TypeScript issue on Linux

* Remove unnecessary change

* Add changeset
2022-08-26 12:47:39 -03:00
Ben Holmes
78e06c8ec0
Only print file output only for 404 and 500 routes (#4497)
* fix: print file output only for 404 and 500 routes

* chore: changeset
2022-08-26 11:35:30 -04:00
matthewp
839f3e955a [ci] format 2022-08-26 15:14:23 +00:00
Abdullah Mzaien
824a2adddd
chore: update to solid 1.5 (#4496) 2022-08-26 11:11:57 -04:00
Matthew Phillips
62fd846ea8
Exit prerelease mode for 1.1 release (#4493) 2022-08-26 10:16:29 -04:00
Mohammed Elhaouari
5fbb359afb
Remove "as Props" from the astro examples (#4494) 2022-08-26 10:16:17 -04:00
Fred K. Bot
b3db2c3c4b
[ci] update lockfile (#4492)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-08-26 10:15:42 -04:00
Mark Spratt
7efbda97af
Edit Alpinejs content generation for Docs (#4466)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-26 10:14:40 -03:00
Bjorn Lu
ba697da4c2
Note private env var handling with cloudflare builds (#4490) 2022-08-26 09:03:22 -04:00
Bjorn Lu
1be49088cc
Bump pnpm version (#4488) 2022-08-26 09:01:58 -04:00
Peter Singh
74cb94ca3c
Update blog.astro (#4486) 2022-08-26 16:15:50 +08:00
Tc001
ca24a60b13
Earlier import snippet for @astrojs/image (#4484)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-25 19:39:22 -03:00
Fred K. Bot
7960fb80a1
[ci] release (next) (#4480)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25 17:27:35 -04:00
matthewp
4faee5afed [ci] format 2022-08-25 21:24:13 +00:00
Ben Holmes
ac03218247
[MD] extendDefaultPlugins to preserve default remark plugins (#4474)
* feat: add { extends } to markdown config

* test: remark plugins with extends

* deps: pnpm lock

* chore: changeset

* fix: remarkPlugins -> rehypePlugins

* docs: update markdown config reference

* Revert "feat: add { extends } to markdown config"

This reverts commit 5d050bbcf9a2c0d470cae79c4d0a954d489f4e8c.

* feat: new "extendDefaultPlugins" flag

* docs: update config

* nit: We -> Astro applies

* fix: backticks on `false`

* nit: Note -> REAL note

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

* docs: note -> caution

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-25 17:21:56 -04:00
Ben Holmes
d4cd7a59fd
Update Markdown type signature to match behavior (#4423)
* feat: "file" and "url" top-level layout props

* test: markdown file and url

* test: mdx file and url

* feat: update MarkdownInstance + JSDoc improvements

* chore: changeset
2022-08-25 17:08:43 -04:00
matthewp
9cff515318 [ci] format 2022-08-25 20:32:45 +00:00
gtnbssn
839097c84e
make Remark rehype options available in astro config (#4138)
* make remark-rehype config available in astro.config.mjs

* add test for remark-rehype config, checks that footnotes can be translated

* update lockfile to take the added test into account

* omit handlers and unkownHandler from the RemarkRehype type

* define RemarkRehype with proper references to the handler and handlers types

* formatting

* changeset

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-08-25 16:30:16 -04:00
matthewp
b680c3eb97 [ci] format 2022-08-25 19:23:09 +00:00
Matthew Phillips
cd154e447b
Make Astro.url conform to build.format during the build (#4352)
* Make Astro.url conform to build.format during the build

* Adding a changeset

* Better implementation

* fix some stuff that tests failed on

* Add docs

* Change to minor

* account for empty path
2022-08-25 15:20:59 -04:00
matthewp
11ce2b6ce9 [ci] format 2022-08-25 19:17:45 +00:00
Erika
77ce6be30c
Add template tsconfigs for users to extend from (#4439)
* Add tsconfig templates to extend from

* Add changeset

* Right order for assign parameters

* Add tsconfigs to export map
2022-08-25 15:15:27 -04:00
Aleksander Heintz
fcc36ac908
Make astro package play nice with node16 module resolution (#4182)
* Make astro package play nice with node16 module resolution

Projects using node16 module resolution in typescript uses the new
exports and imports configuration from typescript to find definition
files. This mirrors how nodejs resolves the files. If a package contains
an exports map in the package.json, typescript will ignore the "types"
field (not sure how it plays with typesVersions). This moves the typings
hirearchy of definition files into the same hierarchy that astro
produces output files in, so that typescript can discover them.

Fixes: #4172

* Add changeset

* Reorder export keys

* Update paths inside .d.ts files

Co-authored-by: Princesseuh <princssdev@gmail.com>
2022-08-25 14:57:11 -04:00
Matthew Phillips
243525b156
Add changeset for @astrojs/react minor (#4478) 2022-08-25 14:56:10 -04:00
matthewp
d48de5a06f [ci] format 2022-08-25 18:53:12 +00:00
Sanjaiyan Parthipan
3b5f34d606
Adding time-slicing with startTransition to prevent hydration from blocking the main thread for too long for those users who immediately scroll. (#4313)
* Adding timeslicing for hydrating  :)

* update
2022-08-25 14:50:45 -04:00
Matthew Phillips
1aa5208cbe
Enter prerelease mode for 1.1 (#4477) 2022-08-25 14:50:26 -04:00
Fred K. Bot
0b66ff39b8
[ci] release (#4453)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25 12:00:17 -04:00
Erika
47e71ae8f8
Added more clarification around using Astro.slots.render (#4456)
* Add an error message for when something that's not an array is passed to Astro.slots.render

* Add changeset

* Add more details
2022-08-25 11:42:27 -04:00
Matthew Phillips
78334b9765
Revert "Fix invalid hook usage for exports (#4385)" (#4475)
* Revert "Fix invalid hook usage for exports (#4385)"

This reverts commit 8164fa6f1a.

* Adding a changeset
2022-08-25 11:42:02 -04:00
matthewp
ba1ca7e61f [ci] format 2022-08-25 15:16:13 +00:00
Matthew Phillips
9490f0e223
Include styles imported by hoisted scripts (#4457)
* Include styles imported by hoisted scripts

* Add changeset

* remove unused imports
2022-08-25 11:14:22 -04:00
Bjorn Lu
467108730e
Remove optional chaining in astro-island (#4473) 2022-08-25 22:01:22 +08:00
kagankan
8a2d6958f1
Fix load base option in build (#4469) 2022-08-25 09:35:28 -04:00
Fred K. Bot
1f80c63b74
[ci] update lockfile (#4472)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-08-25 09:33:58 -04:00
bluwy
cb0db5ff9d [ci] format 2022-08-25 08:36:41 +00:00
Bjorn Lu
aa555932be
Support vite.build.cssCodeSplit: false option (#4458) 2022-08-25 16:34:13 +08:00
Ikko Ashimine
1d9d72ea31
Fix typo in vite-plugin-astro/index.ts (#4467) 2022-08-25 16:24:16 +08:00
Adam
62d98e4af3
Update Filter Section (#4455)
Add brief explanation and example of filtering multiple pages.
2022-08-24 16:14:50 -04:00