a9c2920264
* 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>
64 lines
1.9 KiB
JSON
64 lines
1.9 KiB
JSON
{
|
|
"name": "@astrojs/markdown-remark",
|
|
"version": "1.2.0",
|
|
"type": "module",
|
|
"author": "withastro",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git",
|
|
"directory": "packages/markdown/remark"
|
|
},
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
|
"homepage": "https://astro.build",
|
|
"main": "./dist/index.js",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./dist/internal.js": "./dist/internal.js"
|
|
},
|
|
"scripts": {
|
|
"prepublish": "pnpm build",
|
|
"build": "astro-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json",
|
|
"build:ci": "astro-scripts build \"src/**/*.ts\"",
|
|
"postbuild": "astro-scripts copy \"src/**/*.js\"",
|
|
"dev": "astro-scripts dev \"src/**/*.ts\"",
|
|
"test": "mocha --exit --timeout 20000"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/micromark-extension-mdx-jsx": "^1.0.3",
|
|
"@astrojs/prism": "^1.0.0",
|
|
"acorn": "^8.7.1",
|
|
"acorn-jsx": "^5.3.2",
|
|
"github-slugger": "^1.4.0",
|
|
"hast-util-to-html": "^8.0.3",
|
|
"import-meta-resolve": "^2.1.0",
|
|
"mdast-util-from-markdown": "^1.2.0",
|
|
"mdast-util-mdx-expression": "^1.2.1",
|
|
"mdast-util-mdx-jsx": "^1.2.0",
|
|
"micromark-extension-mdx-expression": "^1.0.3",
|
|
"micromark-extension-mdx-md": "^1.0.0",
|
|
"micromark-util-combine-extensions": "^1.0.0",
|
|
"rehype-raw": "^6.1.1",
|
|
"rehype-stringify": "^9.0.3",
|
|
"remark-gfm": "^3.0.1",
|
|
"remark-parse": "^10.0.1",
|
|
"remark-rehype": "^10.1.0",
|
|
"shiki": "^0.11.1",
|
|
"unified": "^10.1.2",
|
|
"unist-util-map": "^3.1.1",
|
|
"unist-util-visit": "^4.1.0",
|
|
"vfile": "^5.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.3.1",
|
|
"@types/github-slugger": "^1.3.0",
|
|
"@types/hast": "^2.3.4",
|
|
"@types/mdast": "^3.0.10",
|
|
"@types/mocha": "^9.1.1",
|
|
"@types/unist": "^2.0.6",
|
|
"astro-scripts": "workspace:*",
|
|
"chai": "^4.3.6",
|
|
"micromark-util-types": "^1.0.2",
|
|
"mocha": "^9.2.2"
|
|
}
|
|
}
|