@astrojs/mdx 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +10 -9
  2. package/package.json +7 -4
package/README.md CHANGED
@@ -42,15 +42,16 @@ npm install @astrojs/mdx
42
42
 
43
43
  Then, apply this integration to your `astro.config.*` file using the `integrations` property:
44
44
 
45
- ```js ins={3} "mdx()"
46
- // astro.config.mjs
47
- import { defineConfig } from 'astro/config';
48
- import mdx from '@astrojs/mdx';
49
-
50
- export default defineConfig({
51
- // ...
52
- integrations: [mdx()],
53
- });
45
+ ```diff lang="js" "mdx()"
46
+ // astro.config.mjs
47
+ import { defineConfig } from 'astro/config';
48
+ + import mdx from '@astrojs/mdx';
49
+
50
+ export default defineConfig({
51
+ // ...
52
+ integrations: [mdx()],
53
+ // ^^^^^
54
+ });
54
55
  ```
55
56
 
56
57
  ### Editor Integration
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astrojs/mdx",
3
3
  "description": "Add support for MDX pages in your Astro site",
4
- "version": "1.1.0",
4
+ "version": "1.1.2",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "author": "withastro",
@@ -41,10 +41,10 @@
41
41
  "source-map": "^0.7.4",
42
42
  "unist-util-visit": "^4.1.2",
43
43
  "vfile": "^5.3.7",
44
- "@astrojs/markdown-remark": "3.2.0"
44
+ "@astrojs/markdown-remark": "3.3.0"
45
45
  },
46
46
  "peerDependencies": {
47
- "astro": "^3.1.0"
47
+ "astro": "^3.3.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/chai": "^4.3.5",
@@ -67,12 +67,15 @@
67
67
  "remark-toc": "^8.0.1",
68
68
  "unified": "^10.1.2",
69
69
  "vite": "^4.4.9",
70
- "astro": "3.1.0",
70
+ "astro": "3.3.0",
71
71
  "astro-scripts": "0.0.14"
72
72
  },
73
73
  "engines": {
74
74
  "node": ">=18.14.1"
75
75
  },
76
+ "publishConfig": {
77
+ "provenance": true
78
+ },
76
79
  "scripts": {
77
80
  "build": "astro-scripts build \"src/**/*.ts\" && tsc",
78
81
  "build:ci": "astro-scripts build \"src/**/*.ts\"",