fb7af55114
* feat: URL support for markdoc tags * refactor: move to separate file * feat: support URL for markdoc nodes * feat: support `extends` with URL * chore: changeset * fix: bad AstroMarkdocConfig type * fix: experimentalAssetsConfig missing * fix: correctly merge runtime config * chore: formatting * deps: astro internal helpers * feat: component() util, new astro bundling * chore: remove now unused code * todo: missing hint * fix: import.meta.url type error * wip: test nested collection calls * feat: resolve paths from project root * refactor: move getHeadings() to runtime module * fix: broken collectHeadings * test: update fixture configs * chore: remove suggestions. Out of scope! * fix: throw outside esbuild * refactor: shuffle imports around * Revert "wip: test nested collection calls" This reverts commit 9354b3cf9222fd65b974b0cddf4e7a95ab3cd2b2. * chore: revert back to mjs config * chore: add jsdocs to stringified helpers * fix: restore updated changeset --------- Co-authored-by: bholmesdev <bholmesdev@gmail.com>
96 lines
2.4 KiB
JSON
96 lines
2.4 KiB
JSON
{
|
|
"name": "@astrojs/markdoc",
|
|
"description": "Add support for Markdoc in your Astro site",
|
|
"version": "0.3.3",
|
|
"type": "module",
|
|
"types": "./dist/index.d.ts",
|
|
"author": "withastro",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git",
|
|
"directory": "packages/integrations/markdoc"
|
|
},
|
|
"keywords": [
|
|
"astro-integration",
|
|
"astro-component",
|
|
"markdoc"
|
|
],
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
|
"homepage": "https://docs.astro.build/en/guides/integrations-guide/markdoc/",
|
|
"exports": {
|
|
"./prism": {
|
|
"types": "./dist/extensions/prism.d.ts",
|
|
"default": "./dist/extensions/prism.js"
|
|
},
|
|
"./shiki": {
|
|
"types": "./dist/extensions/shiki.d.ts",
|
|
"default": "./dist/extensions/shiki.js"
|
|
},
|
|
"./config": {
|
|
"types": "./dist/config.d.ts",
|
|
"default": "./dist/config.js"
|
|
},
|
|
".": "./dist/index.js",
|
|
"./components": "./components/index.ts",
|
|
"./runtime": "./dist/runtime.js",
|
|
"./experimental-assets-config": "./dist/experimental-assets-config.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"config": [
|
|
"./dist/config.d.ts"
|
|
],
|
|
"prism": [
|
|
"./dist/extensions/prism.d.ts"
|
|
],
|
|
"shiki": [
|
|
"./dist/extensions/shiki.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"components",
|
|
"dist",
|
|
"template"
|
|
],
|
|
"scripts": {
|
|
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
|
|
"build:ci": "astro-scripts build \"src/**/*.ts\"",
|
|
"dev": "astro-scripts dev \"src/**/*.ts\"",
|
|
"test": "mocha --exit --timeout 20000",
|
|
"test:match": "mocha --timeout 20000 -g"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/internal-helpers": "^0.1.0",
|
|
"@astrojs/prism": "^2.1.2",
|
|
"@markdoc/markdoc": "^0.3.0",
|
|
"esbuild": "^0.17.19",
|
|
"github-slugger": "^2.0.0",
|
|
"gray-matter": "^4.0.3",
|
|
"kleur": "^4.1.5",
|
|
"shiki": "^0.14.1",
|
|
"zod": "^3.17.3"
|
|
},
|
|
"peerDependencies": {
|
|
"astro": "workspace:^2.7.1"
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/markdown-remark": "^2.2.1",
|
|
"@types/chai": "^4.3.5",
|
|
"@types/html-escaper": "^3.0.0",
|
|
"@types/mocha": "^9.1.1",
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*",
|
|
"chai": "^4.3.7",
|
|
"devalue": "^4.3.2",
|
|
"linkedom": "^0.14.26",
|
|
"mocha": "^9.2.2",
|
|
"rollup": "^3.25.1",
|
|
"vite": "^4.3.9"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.12.0"
|
|
}
|
|
}
|