@astrojs/markdoc 0.0.1 → 0.0.2

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,5 +1,5 @@
1
- @astrojs/markdoc:build: cache hit, replaying output a0f6fc6f4f62084c
1
+ @astrojs/markdoc:build: cache hit, replaying output 47496cc6f200c29e
2
2
  @astrojs/markdoc:build: 
3
- @astrojs/markdoc:build: > @astrojs/markdoc@0.0.1 build /home/runner/work/astro/astro/packages/integrations/markdoc
3
+ @astrojs/markdoc:build: > @astrojs/markdoc@0.0.2 build /home/runner/work/astro/astro/packages/integrations/markdoc
4
4
  @astrojs/markdoc:build: > astro-scripts build "src/**/*.ts" && tsc
5
5
  @astrojs/markdoc:build: 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @astrojs/markdoc
2
2
 
3
+ ## 0.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#6494](https://github.com/withastro/astro/pull/6494) [`a13e9d7e3`](https://github.com/withastro/astro/commit/a13e9d7e33baccf51e7d4815f99b481ad174bc57) Thanks [@Yan-Thomas](https://github.com/Yan-Thomas)! - Consistency improvements to several package descriptions
8
+
3
9
  ## 0.0.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -218,7 +218,7 @@ import Aside from './Aside';
218
218
  <Aside client:load />
219
219
  ```
220
220
 
221
- This component [can be applied via the `components` prop](#render-html-elements-as-astro-components):
221
+ This component [can be applied via the `components` prop](#render-markdoc-nodes--html-elements-as-astro-components):
222
222
 
223
223
  ```astro
224
224
  ---
@@ -277,7 +277,7 @@ Now, you can call this function from any Markdoc content entry:
277
277
  ```
278
278
 
279
279
  :::note
280
- These options will be applied during [the Markdoc "transform" phase](https://markdoc.dev/docs/render#transform). This is run **at build time** (rather than server request time) both for static and SSR Astro projects. If you need to define configuration at runtime (ex. SSR variables), [see the next section](#Define-markdoc-configuration-at-runtime).
280
+ These options will be applied during [the Markdoc "transform" phase](https://markdoc.dev/docs/render#transform). This is run **at build time** (rather than server request time) both for static and SSR Astro projects. If you need to define configuration at runtime (ex. SSR variables), [see the next section](#define-markdoc-configuration-at-runtime).
281
281
  :::
282
282
 
283
283
  📚 [See the Markdoc documentation](https://markdoc.dev/docs/functions#creating-a-custom-function) for more on using variables or functions in your content.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astrojs/markdoc",
3
- "description": "Use Markdoc within Astro",
4
- "version": "0.0.1",
3
+ "description": "Add support for Markdoc pages in your Astro site",
4
+ "version": "0.0.2",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "author": "withastro",
@@ -33,7 +33,7 @@
33
33
  "@types/chai": "^4.3.1",
34
34
  "@types/html-escaper": "^3.0.0",
35
35
  "@types/mocha": "^9.1.1",
36
- "astro": "2.1.0",
36
+ "astro": "2.1.3",
37
37
  "astro-scripts": "0.0.14",
38
38
  "chai": "^4.3.6",
39
39
  "devalue": "^4.2.0",
package/src/index.ts CHANGED
@@ -3,7 +3,7 @@ import Markdoc from '@markdoc/markdoc';
3
3
  import type { AstroConfig, AstroIntegration, ContentEntryType, HookParameters } from 'astro';
4
4
  import fs from 'node:fs';
5
5
  import { fileURLToPath } from 'node:url';
6
- import { InlineConfig } from 'vite';
6
+ import type { InlineConfig } from 'vite';
7
7
  import {
8
8
  getAstroConfigPath,
9
9
  MarkdocError,