1efaef6be0
* chore: remove unused util * chore: changeset * deps: shiki * wip: first stab at shiki markdoc config * feat: get shiki working! * refactor: return HTML string directly from transform * chore: move shiki to markdoc dev dep * refactor: use async cache with clear docs on why * test: transform units with Shiki config options * refactor: switch to `extends` model * refactor: nodes/ -> extensions/ * feat: raise friendly error for Promise extensions * docs: README * chore: lint * chore: dead file * chore: lowercase for fuzzy find please * fix: bad ctx spread * chore: clean up cache, add shiki imp error * chore: add shiki to optional peer deps * chore: hoist those consts * docs: more explicit "install shiki now please" Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * oops bad find and replace * chore: update changeset * nit: period haunts me --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
76 lines
1.9 KiB
JSON
76 lines
1.9 KiB
JSON
{
|
|
"name": "@astrojs/markdoc",
|
|
"description": "Add support for Markdoc in your Astro site",
|
|
"version": "0.2.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": {
|
|
".": "./dist/index.js",
|
|
"./components": "./components/index.ts",
|
|
"./runtime": "./dist/runtime.js",
|
|
"./config": "./dist/config.js",
|
|
"./experimental-assets-config": "./dist/experimental-assets-config.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"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": {
|
|
"@markdoc/markdoc": "^0.2.2",
|
|
"esbuild": "^0.17.12",
|
|
"github-slugger": "^2.0.0",
|
|
"gray-matter": "^4.0.3",
|
|
"kleur": "^4.1.5",
|
|
"zod": "^3.17.3"
|
|
},
|
|
"peerDependencies": {
|
|
"astro": "workspace:^2.5.5",
|
|
"shiki": "^0.14.1"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"shiki": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/markdown-remark": "^2.2.1",
|
|
"@types/chai": "^4.3.1",
|
|
"@types/html-escaper": "^3.0.0",
|
|
"@types/mocha": "^9.1.1",
|
|
"astro": "workspace:*",
|
|
"astro-scripts": "workspace:*",
|
|
"chai": "^4.3.6",
|
|
"devalue": "^4.2.0",
|
|
"linkedom": "^0.14.12",
|
|
"mocha": "^9.2.2",
|
|
"rollup": "^3.20.1",
|
|
"shiki": "^0.14.1",
|
|
"vite": "^4.3.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.12.0"
|
|
}
|
|
}
|