Fred K. Bot
592de3d703
[ci] release ( #4589 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 16:13:04 -04:00
Fred K. Bot
fdf10d40be
[ci] update lockfile ( #4597 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-09-02 15:36:18 -04:00
Jan Müller
72c760e9b8
feat(image): throw if alt text is missing ( #4511 )
...
* feat(image): throw if no `alt` is provided
* chore: add changeset
* docs(image): update README
* updated alt text stuff throughout
* fixing with-mdx test suite
* warn for missing alt text, will throw an error in a future release
* final README tweaks
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-09-01 21:24:07 +00:00
Fred K. Bot
9d86113114
[ci] update lockfile ( #4570 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-09-01 12:35:46 -04:00
Bjorn Lu
16814dc718
Move ast-types as dev dependency ( #4586 )
2022-09-01 12:33:29 -04:00
Fred K. Bot
005d53145f
[ci] release ( #4555 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-31 18:03:27 -04:00
Dan Jutan
d5bd23d5f4
Update templates to avoid devDependencies and :global ( #4576 )
...
* devDependencies => dependencies
* :global -> is:global
* update lockfile
* remove unneeded markdown dependency
* fix remaining merge conflicts
* update lockfile
2022-08-31 16:17:15 -04:00
Dan Jutan
23d4f80145
Revert "Update templates to avoid devDependencies and :global ( #4544 )" ( #4575 )
...
This reverts commit ca2d0728e4
.
2022-08-31 15:27:36 -04:00
Dan Jutan
ca2d0728e4
Update templates to avoid devDependencies and :global ( #4544 )
...
* devDependencies => dependencies
* :global -> is:global
* update lockfile
* remove unneeded markdown dependency
2022-08-31 19:18:53 +00:00
Tony Sullivan
00c605ce35
Image integration refactor and cleanup ( #4482 )
...
* WIP: simplifying the use of `fs` vs. the vite plugin
* removing a few node deps (etag and node:path)
* adding ts defs for sharp
* using the same mime package as astro's core App
* fixing file URL support in windows
* using file URLs when loading local image metadata
* fixing a bug in the etag helper
* Windows compat
* splitting out dev & build tests
* why do these suites fail in parallel?
* one last windows compat case
* Adding tests for treating /public images the same as remote URLs
* a couple fixes for Astro's `base` config
* adding base path tests for SSR
* fixing a bad merge, lost the kleur dependency
* adding a test suite for images + MDX
* chore: add changeset
* simplifying the with-mdx tests
* bugfix: don't duplicate the period when using existing file extensions
* let Vite cache the image loader service
* adding some docs for using /public images
* fixing changeset
* Update packages/integrations/image/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/image/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* nit: minor README syntax tweaks
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-30 21:09:44 +00:00
Ben Holmes
8f8dff4d33
[MDX] Extend Markdown plugin config, with customization options ( #4504 )
...
* test: new combined remark / rehype suite
* fix: use with-plugins fixture
* chore: remove old mdx plugin tests
* docs: add JS docs
* docs: update README with thorough example
* chore: changeset
* fix: add "extends" error message
* fix: ignore string-based plugins in md
* feat: add warning log for string plugins
* docs: highlight `extendPlugins`
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* nit: highlight "extendPlugins"
* fix: md plugins type check
* chore: "defaults" -> "astroDefaults"
* nit: info log when inheriting markdown plugins
* refactor: one big log on new behavior
* dan: dan nit
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-30 13:38:35 -04:00
Fred K. Bot
e905784bf1
[ci] release ( #4520 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-30 12:45:04 -04:00
Matthew Phillips
2f05f5d307
Include trailingSlash in astro:build:done hook ( #4553 )
2022-08-30 11:45:16 -04:00
Fred K. Bot
4dad059318
[ci] update lockfile ( #4514 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-08-30 08:33:44 -04:00
Julius Marminge
feb88afb8c
fix: improve docs example ( #4355 )
...
* fix: improve docs example
* final touches
* chore: prettier
* lockfile
* ci?
* downgrade types node
* fresh lockfile
* lockfile and npmrc
* remove debug log
* Merge branch 'main' into docs-template-ts
* merging lockfiles suck
* update lockfile
* satisfy linter
2022-08-29 12:00:08 -04: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
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. 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
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
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
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
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
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
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
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
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
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
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
Bjorn Lu
aa555932be
Support vite.build.cssCodeSplit: false
option ( #4458 )
2022-08-25 16:34:13 +08:00
Fred K. Bot
8b00456765
[ci] update lockfile ( #4452 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-08-24 11:28:39 -04:00
Bjorn Lu
a38a568299
Fix incorrect css test ( #4451 )
2022-08-24 22:11:42 +08:00
hippotastic
57fafc7c01
Add tests: Special chars in component import paths ( #4263 )
...
* Add tests: Special chars in component import paths
* Fix ESLint warnings, add Windows dev exclusion
* Crude fix
* chore: update compiler
* chore: bump compiler
* fix: remove decodeURI
* Fix tests and skip them for now
Co-authored-by: Princesseuh <princssdev@gmail.com>
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-23 15:55:03 -04:00
Fred K. Bot
65885e2066
[ci] update lockfile ( #4434 )
...
* [ci] update lockfile
* Pin rollup to ~2.77.0
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2022-08-23 15:49:43 -04:00
Fred K. Bot
5427e89491
[ci] release ( #4431 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-23 15:27:10 -04:00
Matthew Phillips
f40065f510
Ensure index pages are generated on paginated results ( #4426 )
...
* Ensure index pages are generated on paginated results
* Changeset
2022-08-23 08:47:20 -04:00
Fred K. Bot
457e559cd5
[ci] release ( #4363 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-22 15:46:46 -04:00
Tony Sullivan
c4af8723bd
[@astrojs/image] adds a logger to the the image integration ( #4342 )
...
* WIP: adding a console logger that respect vite.logLevel
* adds an optional prefix for messages
* remove temporary debug log
* typo fix
* cleaning up log syntax
* fixing logger whitespace
* adding README docs
* test: disable integration logging in tests
* chore: add changeset
2022-08-22 19:13:19 +00:00
Fred K. Schott
7310e8a178
add an alpine integration and update example ( #4406 )
2022-08-22 14:25:57 -04:00
Bjorn Lu
39088e11db
Bump Vite to 3.0.9 ( #4415 )
2022-08-22 10:58:50 -04:00
Matthew Phillips
5e82f6c245
Fix race condition with directive definitions ( #4375 )
2022-08-22 10:39:16 -04:00
Fred K. Bot
1de82f0f78
[ci] release ( #4333 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-16 10:14:44 -04:00
Patrick Smith
45fdbc4650
Don’t use Buffer.byteLength() as Deno can’t use it ( #4324 )
...
* Don’t use Buffer.byteLength() as Deno can’t use it
* Add changeset
* Add tests for Markdown & MDX with Deno
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-08-16 10:08:40 -04:00
Matthew Phillips
b55f76c1ca
Fix double injecting of head content in md pages ( #4334 )
...
* Fix double injecting of head content
* Refactor
* Changeset
* Break into a separate util fn
* fix oops
* remove unused code
2022-08-15 13:10:28 -04:00
Ben Holmes
f1a52c18af
[MDX] Switch from Shiki Twoslash -> Astro Markdown highlighter ( #4292 )
...
* freat: twoslash -> Astro shiki parser
* test: update shiki style check
* feat: always apply rehypeRaw
* deps: move remark-shiki-twoslash to dev
* test: add shiki-twoslash test
* docs: update readme with twoslash example
* chore: changeset
* nit: remove "describe('disabled')"
2022-08-15 10:43:12 -04:00
Fred K. Schott
0e2f4d74b7
image fix ( #4322 )
2022-08-15 00:26:33 -04:00
Fred K. Bot
16edf0c773
[ci] release ( #4296 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-13 10:09:17 -07:00
Fred K. Schott
d2063b4cf9
update examples/blog package.json
2022-08-13 01:01:49 -07:00
Fred K. Schott
d54588c7a4
Update: blog template ( #4283 )
...
* add new blog template
* update placeholder images
* use svg favicon
* Update examples/blog/src/pages/blog/using-mdx.mdx
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fred pass
* more fred pass
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-13 00:09:40 -07:00