@studiocms/mdx 0.1.0-beta.30 → 0.1.0

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/dist/index.js +2 -2
  2. package/package.json +10 -8
package/dist/index.js CHANGED
@@ -49,10 +49,10 @@ function studiocmsMDX(options) {
49
49
  studiocmsMinimumVersion: "0.1.0-beta.21",
50
50
  requires: ["@studiocms/md"],
51
51
  hooks: {
52
- "studiocms:astro:config": ({ addIntegrations }) => {
52
+ "studiocms:astro-config": ({ addIntegrations }) => {
53
53
  addIntegrations(internalMDXIntegration(packageIdentifier, resolvedOptions));
54
54
  },
55
- "studiocms:config:setup": ({ setRendering }) => {
55
+ "studiocms:rendering": ({ setRendering }) => {
56
56
  setRendering({
57
57
  pageTypes: [
58
58
  // Define the MDX page type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studiocms/mdx",
3
- "version": "0.1.0-beta.30",
3
+ "version": "0.1.0",
4
4
  "description": "Add MDX Support to your StudioCMS project with ease!",
5
5
  "author": {
6
6
  "name": "withstudiocms",
@@ -57,28 +57,30 @@
57
57
  "dependencies": {
58
58
  "@mdx-js/mdx": "^3.1.1",
59
59
  "astro-integration-kit": "^0.19.1",
60
- "react": "^19.2.0",
61
- "react-dom": "^19.2.0",
60
+ "react": "^19.2.3",
61
+ "react-dom": "^19.2.3",
62
62
  "rehype-highlight": "^7.0.2",
63
63
  "remark-gfm": "^4.0.1",
64
64
  "unified": "^11.0.5"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/node": "^22.0.0",
68
- "@types/react": "^19.2.2",
69
- "@types/react-dom": "^19.2.2"
68
+ "@types/react": "^19.2.7",
69
+ "@types/react-dom": "^19.2.3"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "astro": "^5.12.9",
73
- "effect": "^3.19.2",
73
+ "effect": "^3.19.14",
74
74
  "vite": "^6.3.4",
75
- "@studiocms/md": "0.1.0-beta.30",
76
- "studiocms": "0.1.0-beta.30"
75
+ "@studiocms/md": "0.1.0",
76
+ "studiocms": "0.1.0"
77
77
  },
78
78
  "scripts": {
79
79
  "build": "buildkit build 'src/**/*.{ts,astro,css,json,png,d.ts}'",
80
80
  "dev": "buildkit dev 'src/**/*.{ts,astro,css,json,png,d.ts}'",
81
81
  "test": "vitest",
82
+ "effect-check": "pnpm effect-language-service diagnostics --project tsconfig.tspc.json",
83
+ "ci:effect-check": "pnpm effect-check --format github-actions",
82
84
  "typecheck": "tspc -p tsconfig.tspc.json"
83
85
  }
84
86
  }