-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* revert: markdoc asset bleed * chore: changeset
- Loading branch information
1 parent
cbdb0fd
commit 57e65d2
Showing
16 changed files
with
120 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@astrojs/markdoc': patch | ||
'@astrojs/mdx': patch | ||
'astro': patch | ||
--- | ||
|
||
Fix: revert Markdoc asset bleed changes. Production build issues were discovered that deserve a different fix. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { defineCollection, z } from 'astro:content'; | ||
|
||
const docs = defineCollection({ | ||
schema: z.object({ | ||
title: z.string(), | ||
}), | ||
}); | ||
|
||
export const collections = { docs }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,11 @@ | ||
export const PROPAGATED_ASSET_FLAG = 'astroPropagatedAssets'; | ||
export const CONTENT_RENDER_FLAG = 'astroRenderContent'; | ||
export const CONTENT_FLAG = 'astroContentCollectionEntry'; | ||
export const DATA_FLAG = 'astroDataCollectionEntry'; | ||
export const CONTENT_FLAGS = [CONTENT_FLAG, DATA_FLAG, PROPAGATED_ASSET_FLAG] as const; | ||
|
||
export const VIRTUAL_MODULE_ID = 'astro:content'; | ||
export const LINKS_PLACEHOLDER = '@@ASTRO-LINKS@@'; | ||
export const STYLES_PLACEHOLDER = '@@ASTRO-STYLES@@'; | ||
export const SCRIPTS_PLACEHOLDER = '@@ASTRO-SCRIPTS@@'; | ||
|
||
export const CONTENT_FLAGS = [ | ||
CONTENT_FLAG, | ||
CONTENT_RENDER_FLAG, | ||
DATA_FLAG, | ||
PROPAGATED_ASSET_FLAG, | ||
] as const; | ||
|
||
export const CONTENT_TYPES_FILE = 'types.d.ts'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.