@astrojs/markdoc 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
4
|
-
import { parseFrontmatter } from "@astrojs/
|
|
4
|
+
import { parseFrontmatter } from "@astrojs/internal-helpers/frontmatter";
|
|
5
5
|
import Markdoc from "@markdoc/markdoc";
|
|
6
6
|
import { emitClientAsset } from "astro/assets/utils";
|
|
7
7
|
import { emitImageMetadata } from "astro/assets/utils/node";
|
package/dist/extensions/shiki.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createShikiHighlighter } from "@astrojs/
|
|
1
|
+
import { createShikiHighlighter } from "@astrojs/internal-helpers/shiki";
|
|
2
2
|
import Markdoc from "@markdoc/markdoc";
|
|
3
3
|
import { unescapeHTML } from "astro/runtime/server/index.js";
|
|
4
4
|
async function shiki(config) {
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MarkdownHeading } from '@astrojs/markdown
|
|
1
|
+
import type { MarkdownHeading } from '@astrojs/internal-helpers/markdown';
|
|
2
2
|
import { type NodeType, type RenderableTreeNode } from '@markdoc/markdoc';
|
|
3
3
|
import type { AstroInstance } from 'astro';
|
|
4
4
|
import type { AstroMarkdocConfig } from './config.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrojs/markdoc",
|
|
3
3
|
"description": "Add support for Markdoc in your Astro site",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"author": "withastro",
|
|
@@ -60,8 +60,7 @@
|
|
|
60
60
|
"esbuild": "^0.27.3",
|
|
61
61
|
"github-slugger": "^2.0.0",
|
|
62
62
|
"htmlparser2": "^10.1.0",
|
|
63
|
-
"@astrojs/internal-helpers": "0.
|
|
64
|
-
"@astrojs/markdown-remark": "7.1.2",
|
|
63
|
+
"@astrojs/internal-helpers": "0.10.0",
|
|
65
64
|
"@astrojs/prism": "4.0.2"
|
|
66
65
|
},
|
|
67
66
|
"peerDependencies": {
|
|
@@ -72,7 +71,7 @@
|
|
|
72
71
|
"devalue": "^5.6.3",
|
|
73
72
|
"linkedom": "^0.18.12",
|
|
74
73
|
"vite": "^7.3.2",
|
|
75
|
-
"astro": "6.
|
|
74
|
+
"astro": "6.4.0",
|
|
76
75
|
"astro-scripts": "0.0.14"
|
|
77
76
|
},
|
|
78
77
|
"engines": {
|