diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 08b2f6384..dfcc75048 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,9 +12,7 @@ }, "dependencies": { "@astrojs/markdoc": "^0.0.1", - "astro": "^2.0.6", - "html-escaper": "^3.0.3", - "stringify-attributes": "^3.0.0" + "astro": "^2.0.6" }, "devDependencies": { "@markdoc/markdoc": "^0.2.2" diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 7450ad14e..b24e2cd5f 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -20,6 +20,7 @@ "homepage": "https://docs.astro.build/en/guides/integrations-guide/markdoc/", "exports": { ".": "./dist/index.js", + "./components": "./components/index.ts", "./package.json": "./package.json" }, "scripts": { @@ -31,10 +32,13 @@ }, "dependencies": { "@markdoc/markdoc": "^0.2.2", - "gray-matter": "^4.0.3" + "gray-matter": "^4.0.3", + "html-escaper": "^3.0.3", + "stringify-attributes": "^3.0.0" }, "devDependencies": { "@types/chai": "^4.3.1", + "@types/html-escaper": "^3.0.0", "@types/mocha": "^9.1.1", "astro": "workspace:*", "astro-scripts": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ef394cb74..260baba36 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -316,13 +316,9 @@ importers: '@astrojs/markdoc': ^0.0.1 '@markdoc/markdoc': ^0.2.2 astro: ^2.0.6 - html-escaper: ^3.0.3 - stringify-attributes: ^3.0.0 dependencies: '@astrojs/markdoc': link:../../packages/integrations/markdoc astro: link:../../packages/astro - html-escaper: 3.0.3 - stringify-attributes: 3.0.0 devDependencies: '@markdoc/markdoc': 0.2.2 @@ -2921,19 +2917,25 @@ importers: specifiers: '@markdoc/markdoc': ^0.2.2 '@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 gray-matter: ^4.0.3 + html-escaper: ^3.0.3 linkedom: ^0.14.12 mocha: ^9.2.2 + stringify-attributes: ^3.0.0 vite: ^4.0.3 dependencies: '@markdoc/markdoc': 0.2.2 gray-matter: 4.0.3 + html-escaper: 3.0.3 + stringify-attributes: 3.0.0 devDependencies: '@types/chai': 4.3.4 + '@types/html-escaper': 3.0.0 '@types/mocha': 9.1.1 astro: link:../../astro astro-scripts: link:../../../scripts