matthewp
e36f310c2c
[ci] format
2023-01-19 13:36:12 +00:00
Matthew Phillips
be901dc98c
Rename getEntry to getEntryBySlug ( #5893 )
...
* Rename getEntry to getEntryBySchema
* Improve entrySlug types and return undefined
* Add changeset
* Update packages/astro/src/content/template/types.d.ts
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* Update the types to accept both raw string and known value
* Add comment on the implementation not currently being O(1)
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-19 08:34:27 -05:00
matthewp
4f649014e9
[ci] format
2023-01-19 13:15:53 +00:00
Bjorn Lu
a342a486c2
Refactor Svelte preprocess integration handling ( #5901 )
...
* Let user setup vitePreprocess
* Abstract function
* Add changeset
* Update svelte syntax
* Make fallback
* Fix docs
* Update changeset
* Fix types
2023-01-19 08:13:40 -05:00
Junya Kono
899214298c
fix(astro/core): Do not automatically add trailing slash ( #5608 )
...
* fix: Do not automatically add trailing slash
* Update .changeset/twelve-cooks-tickle.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* fix: change semver
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-01-19 08:12:37 -05:00
Erika
35b26f377f
Fix image integration crash on Netlify Functions due to import.meta.url
( #5888 )
...
* fix(image): Fix immediate crash on Netlify functions due to `import.meta.url`
* chore: changeset
2023-01-19 14:04:15 +01:00
Happydev
ce5c5dbd46
feat: add theme toggle button to error overlay ( #5884 )
...
* feat: add theme toggle button for error overlay
* add changeset
* simplify toggling logic
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* redesign toggle
* code figma design
* style: remove code indent
* add `aria-hidden` to svgs
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
* apply Yan a11y suggestions
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-01-18 22:35:41 +00:00
Nate Moore
64b8082e77
chore: update compiler ( #5896 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-18 16:12:00 -06:00
bholmesdev
e64351eb5c
[ci] format
2023-01-18 22:06:58 +00:00
Ben Holmes
05caf445d4
Cleanup deprecated Markdown APIs from 0.X ( #5891 )
...
* chore: remove deprecated `getHeaders()`
* chore: remove `rawContent()` and `compiledContent()`
* chore: remove raw and compiled content from MDX type
* chore: remove 0.X error for `astro` property
* chore: changeset
* lint: no empty interface
* chore: update changeset
2023-01-18 17:04:37 -05:00
natemoo-re
599a05bfb5
[ci] format
2023-01-18 18:59:33 +00:00
Nate Moore
16dc36a870
Remove legacy compiler error handling ( #5855 )
...
* refactor: remove legacy compiler handling
* docs: add hint to unknown compiler error
* feat: add link detection to error overlay
* chore: update compiler
* chore: update compiler issue link
* Update packages/astro/src/core/errors/overlay.ts
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-01-18 12:57:31 -06:00
natemoo-re
39c1daa641
[ci] format
2023-01-18 18:56:34 +00:00
Nate Moore
8f1ae06e58
fix( #5723 ): build prerendered pages with Netlify edge functions ( #5885 )
...
* fix(#5723 ): build prerendered pages with Netlify edge functions
* chore: add changeset
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-18 12:54:49 -06:00
Erika
dc2496f702
chore: Fix image and MDX integrations version's number to get out of 1.0 ( #5892 )
...
* chore: Fix image integration version's number to get out of 1.0
* chore: Same thing for MDX integration
2023-01-18 09:43:04 -05:00
Happydev
006405d33c
Refactor Props
of Image
and Picture
component to support type checking ( #5788 )
...
* correct props type
* refactor Picture and Image typings
* add missing `alt` property
* add changeset
* apply suggestions
* correct `astro/types` import
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* apply suggestions
* convert to type import
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-01-18 02:41:50 +00:00
Bjorn Lu
1ca81c16b8
Remove unused exports ( #5862 )
2023-01-17 23:12:08 +08:00
Erika
1bd42c6b2a
Fix image integration not working on Node 18+ ( #5871 )
...
* fix(image): Remove unnecessary polyfill now that we dropped Node 14
* fix(squoosh): Remove fetch of local wasm binary since undici doesn't support that
* chore: changeset
2023-01-17 15:48:06 +01:00
Bjorn Lu
998f412c57
Revert "Add missing noPropertyAccessFromIndexSignature
to strictest tsconfig profile ( #5864 )" ( #5876 )
...
This reverts commit 63d5d89038
.
2023-01-17 11:17:59 +08:00
Clément Nerma
63d5d89038
Add missing noPropertyAccessFromIndexSignature
to strictest tsconfig profile ( #5864 )
2023-01-17 10:36:15 +08:00
Bjorn Lu
b66d7195c1
Enable skipLibCheck by default ( #5872 )
2023-01-17 09:43:07 +08:00
Bjorn Lu
8c100a6fe6
Handle server restart from Vite plugins ( #5849 )
2023-01-14 16:51:01 +08:00
Bjorn Lu
e818cc0466
Fix importing client-side components with alias ( #5845 )
2023-01-14 16:50:46 +08:00
Rishi Raj Jain
3a00ecb3eb
Support envPrefix in Astro config ( #5852 )
...
* Support envPrefix in Astro config
* Update packages/astro/src/core/config/schema.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/astro/src/core/build/static-build.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/astro/src/core/build/static-build.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/astro/src/core/config/schema.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/astro/src/core/create-vite.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update .changeset/twenty-llamas-type.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-13 14:57:53 -06:00
Fred K. Bot
02b797fd3c
[ci] release (beta) ( #5792 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-12 11:40:35 -05:00
Sam Chen
cf2de5422c
fix: pass flags to dev ( #5840 )
...
* fix: pass flags to dev
* add changeset
* Update .changeset/eleven-bulldogs-provide.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-12 10:06:44 -06:00
Nate Moore
c4b0cb8bf2
chore: update changelogs, add changeset for _astro
directory ( #5842 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-12 09:59:18 -06:00
natemoo-re
ab3b43e50e
[ci] format
2023-01-12 15:46:47 +00:00
Nate Moore
63a6ceb38d
fix(core): handle encoded characters when matching routes ( #5836 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-12 09:44:18 -06:00
Bjorn Lu
ae8a012a7b
Handle compiler breaking change ( #5803 )
2023-01-12 22:46:56 +08:00
Giuseppe La Torre
12f65a4d55
fix shiki css class replace logic in md and mdx integrations ( #5837 )
2023-01-12 20:15:51 +08:00
matthewp
c53b1fca07
[ci] format
2023-01-11 18:52:51 +00:00
Bjorn Lu
ec09bb6642
Simplify HMR handling ( #5811 )
...
* Simplify HMR handling
* Try skip test to reveal other test result
* Support virtual files
* Fix head injection
* Revert CI changes
* Bring back normalizeFilename
* Refactor
* Add changeset
2023-01-11 13:51:05 -05:00
Ben Holmes
52209ca2ad
[Content collections] Remove experimental flag ( #5825 )
...
* refactor: remove experimental.cc from core
* chore: remove experimental flag from tests
* fix: mock contentDir in remark tests
* fix: check vfile.path in rel-image-error plugin
* fix: move .astro/ excludes to all test/fixtures
* fix: include test/**/fixtures in ignore
* chore: changeset
2023-01-11 12:51:31 -05:00
Ben Holmes
665a2c2225
[Content collections] Improve content config handling ( #5824 )
...
* fix: always generate types on init
* fix: skip type generation when no content dir found
* fix: avoid stripping `.ts` for existsSync check
* chore: changeset
* fix: run type gen when content/ dir added in dev
2023-01-11 12:46:53 -05:00
Chris Swithinbank
1f49cddf9e
Run sync as part of astro check
( #5823 )
...
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-11 17:57:41 +01:00
Nate Moore
01f3f463bf
Fix order-of-execution bug when generating pages ( #5822 )
...
* fix: bundle all pages into a single chunk
* chore: add changeset
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-11 08:51:50 -06:00
Giuseppe La Torre
23dc9ea96a
Fix Code.astro
shiki css class replace logic ( #5829 )
2023-01-11 21:54:09 +08:00
HiDeoo
2303f95142
Add support for serving well-known URIs with the @astrojs/node SSR adapter ( #5832 )
2023-01-11 17:52:51 +08:00
bholmesdev
4b16e9ec99
[ci] format
2023-01-10 23:03:59 +00:00
Ben Holmes
c2180746b4
[Content collections] Move generated types to .astro
directory ( #5786 )
...
* feat: change cacheDir to `.astro`
* feat: write reference in env.d.ts if none exists
* chore: update with-content types
* test: env.d.ts transform
* nit: setUp -> add
* refactor: content.d.ts -> types.d.ts
* chore: update confirmation log
* chore: changeset
* feat: inject env.d.ts if none exists
* feat: set up env.d.ts on `astro sync`
* chore: duplicate envTsPathRelative
* docs: update changeset
* fix: make srcDir if none exists
* fix: types.generated -> .astro in gitignore
* feat: add env.d.ts to test gitignore
* chore: remove env.d.ts from content-collections
* test: move sync tests to `astro sync`, add file write test
* refactor: simplify test gitignore to base
* fix: add / to `.astro` bc that scares me
2023-01-10 18:01:52 -05:00
Dovlat Yakshibayev
813073addd
Bumps partytown version to fix deprecation warning ( #5820 )
...
* bumps partytown version, adds changeset
* changes changeset from minor to patch
* changes changeset from minor to patch
2023-01-10 16:05:28 -06:00
Yan Thomas
d72f929cad
Remove old migration guide link from error docs ( #5808 )
2023-01-10 16:03:54 -03:00
bluwy
cebba86593
[ci] format
2023-01-10 17:01:27 +00:00
wulinsheng123
9869f2f6d8
can jump 404 when that page does not exist ( #5701 )
2023-01-11 00:59:20 +08:00
Le Minh Tri
21a55b3276
test(create-astro): correct wrong argument ( #5812 )
2023-01-11 00:57:16 +08:00
Erika
c55fbcb8ed
Remove more unnecessary polyfills from webapi for Node 16 ( #5814 )
...
* feat(webapi): Remove unnecessary polyfills now that we dropped support for Node 14
* feat(webapi): Removed more unnecessary polyfills for Node 16
* chore: changeset
2023-01-10 15:29:06 +01:00
Ben Holmes
5d960fc40e
[Content Collections] Allow Zod unions, objects, and transforms as schemas ( #5770 )
...
* feat: require `schema: z.object({...})`
* fix: update zod object type check
* fix: update types template
* chore: update with-content config
* chore: update test fixture configs
* test: zod union type
* refactor: enumerate valid schema types
2023-01-10 08:46:43 -05:00
Bjorn Lu
4a1cabfe6b
Cleanup dependencies ( #5773 )
2023-01-10 15:58:55 +08:00
matthewp
10137cd9cc
[ci] format
2023-01-09 22:01:33 +00:00
Erika
1f92d64ea3
Drop Node 14 support ( #5782 )
...
* chore: Update engines field
* fix(deps): Remove node-fetch
* feat(polyfills): Remove node-fetch for undici
* feat(webapi): Remove node-fetch from the webapis polyfills for undici
* feat(core): Remove node-fetch for undici in Astro core
* feat(telemetry): Remove node-fetch for undici
* feat(node): Remove node-fetch for undici in node integration
* feat(vercel): Remove node-fetch for undici in Vercel integration
* chore: update lockfile
* chore: update lockfile
* chore: changeset
* fix(set): Fix set directives not streaming correctly on Node 16
* Try another approach
* Debugging
* Debug fetch
* Use global fetch if there is one
* changeset for lit
* Remove web-streams-polyfill
* Remove web-streams-polyfill license note
* Update .changeset/stupid-wolves-explain.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-09 16:59:20 -05:00
matthewp
9bb08bfe8c
[ci] format
2023-01-09 17:16:20 +00:00
Bjorn Lu
302e0ef8f5
Default preview host to localhost ( #5753 )
...
* Initial refactor
* Extract as vite plugin
* Cleanup vite plugin
* Reduce option passing
* Use localhost as preview default host
* Simplify base handling
* Fix host handling
* Add changeset
* Remove unused imports
* Remove unused sirv dep
* Try pin playwright to 1.28.1
* Update playwright
* Try this
* Speed up CI
* Try fix page off
* Refactor networkidle
* Ensure open connections are destroyed when the preview server is closed
* Revert debug code
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2023-01-09 12:14:07 -05:00
Chris Swithinbank
f35411487b
[markdown-remark] Remove unused dependencies ( #5804 )
...
* [markdown-remark] Remove unused dependency
Follow up to #5785 . Missed one dependency that is no longer used and can be removed.
* [markdown-remark] Remove unused dependency
* Lockfile fix
* Update lockfile [again]
2023-01-09 17:06:29 +01:00
natemoo-re
cb5dbcc51f
[ci] format
2023-01-09 16:03:47 +00:00
Nate Moore
f8f4d49aba
Output assets to _astro
directory ( #5772 )
...
* WIP: emit assets to _astro
* chore: better _astro handling
* refactor: emit server assets to `chunks/`
* chore: update /asset tests
* test: add explicit build output tests
* fix: update image to emit to configured asset path
* chore: update changeset
* chore: update image tests
* chore: update image tests
* test: update css test
* test: update bundling test
* test: update tests
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* chore: add clarifying comment
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-01-09 10:01:33 -06:00
Matthew Phillips
7572f74022
Add Astro as a peerDependency ( #5806 )
...
* Add Astro as a peerDependency
* Add changeset
* Update .changeset/thin-seahorses-worry.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-01-09 10:58:38 -05:00
delucis
62ae11408e
[ci] format
2023-01-09 09:25:26 +00:00
Chris Swithinbank
16107b6a10
Remove Astro-flavored Markdown from @astrojs/markdown-remark
( #5785 )
2023-01-09 10:23:21 +01:00
Chris Swithinbank
54076a41eb
Add @version
metadata to config reference types ( #5793 )
2023-01-09 09:40:20 +01:00
bluwy
a673239548
[ci] format
2023-01-09 07:27:31 +00:00
mdh
e3c8d25664
Fix broken link in comments ( #5798 )
2023-01-09 15:23:43 +08:00
matthewp
eebcf82ef2
[ci] format
2023-01-07 13:32:04 +00:00
Sebastiaan
f7aa1ec25d
[@astrojs/lit] Fix slotted content into main ( #5791 )
...
* Fix add the missing slot attribute to child nodes
* Add lit slot tests
* Add changeset
2023-01-07 08:29:16 -05:00
Fred K. Bot
ec5a39c299
[ci] release (beta) ( #5742 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-06 13:00:12 -05:00
Bjorn Lu
49ab4f231c
Remove proload for config loading ( #5778 )
...
* Refactor resolve and load config
* Add changeset
* Update name
* Remove unnecessary node_env handling
* Fix test
* Update comment
2023-01-06 12:49:18 -05:00
Erika
2f6745019a
Drop Node 14 in CI for Node 16 and add Node 18 to the matrix ( #5768 )
...
* ci(node): Move CI to Node 16 and add Node 18 to the matrix
* fix(netlify): Fix set-cookie not working on Node 18
* fix(netlify): Handle if `set-cookie` is already somehow an array (apparently it can?)
* test(node): Fix `toPromise` to match Astro's
* fix(tests): Use the actual underlying ArrayBuffer instance to create the buffer in toPromise
* chore: changeset
2023-01-06 12:01:54 -05:00
bholmesdev
29acb07f64
[ci] format
2023-01-06 14:28:50 +00:00
Ben Holmes
93e633922c
Add SmartyPants flag ( #5769 )
...
* feat: add smartypants flag
* test: smartypants in markdown and mdx
* docs: Smartypants -> SmartyPants
* chore: changeset
* chore: update changeset with 1.0 -> 2.0 in mind
* chore: bump to minor change
2023-01-06 09:26:02 -05:00
matthewp
04bf679a5d
[ci] format
2023-01-05 21:22:35 +00:00
Matthew Phillips
259a539d7d
Remove legacy.astroFlavoredMarkdown ( #5771 )
...
* Remove legacy.astroFlavoredMarkdown
* update vue mdx test
* Add a changeset
2023-01-05 16:20:40 -05:00
Nate Moore
9ef0c50427
Update compiler ( #5656 )
...
* chore: update compiler
* chore: pin compiler
* update compiler
* update changeset
* chore: test prerelease
* chore: update compiler
* chore: update lockfile
* chore: do not pin compiler
* Delete fresh-kids-serve.md
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-05 10:43:57 -06:00
natemoo-re
2b6e41b1dc
[ci] format
2023-01-05 16:42:57 +00:00
wulinsheng123
9963c6e4d5
feat: change path into assets ( #5584 )
...
* feat: change path
* feat: fix bug #5502
* fix: astro fix to patch
* feat: change to major
* chore: update changelog
* fix: change entryFileNames into assets folder
* fix: fix error message in test
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-01-05 10:41:10 -06:00
Erika
f1da0da29f
Fix MDX integration error message not being compatible with docs ( #5767 )
...
* fix(errors): Fix MDX Integration missing error message so docs generation work properly
* docs(errors): Add more information regarding authoring error messages
2023-01-05 16:46:30 +01:00
Bjorn Lu
a3a7fc9298
Refactor tailwind integration setup ( #5717 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-05 16:02:35 +08:00
bholmesdev
63ef130e76
[ci] format
2023-01-04 23:38:20 +00:00
Ben Holmes
fa8c131f88
Log pretty error when MDX integration is missing ( #5761 )
...
* feat: add MDX integration error handling
* chore: changeset
* docs: applied -> installed
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-04 18:36:21 -05:00
sarah11918
1b0f5f377d
[ci] format
2023-01-04 20:52:45 +00:00
Sarah Rainsberger
5df4a89a3a
[docs] Document base ( #5693 )
2023-01-04 16:50:23 -04:00
matthewp
c0d3877d0d
[ci] format
2023-01-04 20:38:51 +00:00
Matthew Phillips
116d8835ca
Fix for hoisted scripts in project with spaces in the file path ( #5756 )
...
* Fix for hoisted scripts in project with spaces in the file path
* Adding a changeset
* Use viteID instead
2023-01-04 15:36:44 -05:00
natemoo-re
1965ae4628
[ci] format
2023-01-04 19:23:02 +00:00
Nate Moore
55cea0a9d8
Handle getStaticPaths
with prerendered pages ( #5734 )
...
* fix(#5661 ): ensure getStaticPaths is correctly handled for prerendered pages
* test: add prerender getStaticPaths cases
* chore: add changeset
* test: add props to test suite
* chore: update lockfile
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-04 13:20:13 -06:00
Princesseuh
7a81041056
[ci] format
2023-01-04 16:36:17 +00:00
Erika
63745f8d5a
Update telemetry to use new errors information ( #5547 )
...
* Properly get information from AstroError in telemetry
* Record telemetry for dev errors
* Fix tests
* ci(telemetry): Make sure we don't hit telemetry in tests
* fix(build): Fix types
* test: Remove unnecessary flag
* test(errors): Add test to make sure we don't have stacktraces inside error messages
* refactor(types): Type cast `getErrorDataByCode`'s return type so we don't have to cast to any later
2023-01-04 17:34:11 +01:00
Erika
2a57864195
Add file location to errors in build ( #5743 )
...
* feat(errors): Add file location where error happened during build for user-generated errors
* chore: changeset
* fix(errors): Only add information if the error is in a compatible shape
* feat(errors): Add hint to throw Error objects instead of other types for better information
* test(errors): Add test to make sure errors in build have the error location
* chore(lockfile): Update lockfile
* chore: misc text fixes
2023-01-04 13:31:28 +01:00
Chris Swithinbank
000d3e6940
Fix docs links in MDX README ( #5741 )
2023-01-04 11:46:05 +01:00
Sarah Rainsberger
1b4fd083ee
update frontmatter injection link to match docs changes ( #5736 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-01-04 11:44:46 +01:00
Fred K. Bot
2ba3bd9c16
[ci] release (beta) ( #5732 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-03 17:23:30 -05:00
matthewp
0ac87f0836
[ci] format
2023-01-03 22:15:51 +00:00
Ben Holmes
a9c2920264
Markdown and MDX configuration rework ( #5684 )
...
* feat: change extendDefaults -> gfm
* deps: remove smartypants from md/remark
* tests: update markdown plugin tests
* fix: borked lockfile
* feat: allow all Markdown options in MDX config, with extend
* deps: remove smartypants from MDX
* chore: remove unused `mode` property
* chore: remark rehype types
* chore: dead code
* fix: order of default config properties
* refactor: move md defaults to remark
* fix: RemarkRehype type
* fix: apply defaults based on MD defaults
* chore: update plugin tests
* chore: add syntaxHighlight test
* refactor: remove drafts from config defaults
* docs: new MDX config options
* chore: add changeset
* edit: test both extends for syntax highlight
* refactor: remove MDX config deep merge
* docs: update README and changeset
* edit: avoid -> disable
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* edit: `drafts` clarification
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* edit: remove "scare quotes"
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* docs: MDX config options redraft
* docs: add migration
* chore: changeset heading levels
* refactor: githubFlavoredMarkdown -> gfm
* chore: remove unused imports
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-03 17:12:47 -05:00
bholmesdev
163a9a9d0e
[ci] format
2023-01-03 21:33:40 +00:00
Ben Holmes
e2019be6ff
Change frontmatter injection ordering ( #5687 )
...
* feat: make user frontmatter accessible in md
* test: new frontmatter injection
* refactor: move injection utils to remark pkg
* fix: add dist/internal to remark exports
* feat: update frontmater injection in mdx
* tests: new mdx injection
* chore: changeset
* chore: simplify frontmatter destructuring
* fix: remove old _internal references
* refactor: injectedFrontmatter -> remarkPluginFrontmatter
* docs: add content collections change
* chore: changeset heading levels
2023-01-03 16:31:19 -05:00
Bjorn Lu
16c7d0bfd4
Cleanup internal breaking changes ( #5724 )
...
* Remove Astro.glob template literal trick
* Remove RenderTemplateResult toString
* Remove astro add volar warning
* Add changeset
2023-01-03 15:38:51 -05:00
Matthew Phillips
4cc8c84caf
Fix astro-embed peerDep issue ( #5731 )
...
* Fix astro-embed peerDep issue
* Update lockfile
2023-01-03 15:32:43 -05:00
Matthew Phillips
f0a3288ddb
Fix missing ts flag on main ( #5730 )
2023-01-03 14:38:17 -05:00
matthewp
857ae26b2e
[ci] format
2023-01-03 19:08:59 +00:00
Bjorn Lu
dd56c19411
Remove MDX Fragment hack ( #5716 )
...
* Remove MDX Fragment hack
* Update .changeset/lovely-terms-drive.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-01-03 14:06:33 -05:00
Bjorn Lu
5eba34fcc6
Remove deprecated APIs ( #5707 )
...
* Remove deprecated Astro globals
* Remove deprecated hook param
* Fix test
* Add changeset
* Add TODO
2023-01-03 14:06:07 -05:00