@readme/markdown 6.75.0-beta.25 → 6.75.0-beta.26

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.
@@ -0,0 +1,2 @@
1
+ declare const calloutTransformer: () => (tree: any) => void;
2
+ export default calloutTransformer;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@readme/markdown",
3
3
  "description": "ReadMe's React-based Markdown parser",
4
4
  "author": "Rafe Goldberg <rafe@readme.io>",
5
- "version": "6.75.0-beta.25",
5
+ "version": "6.75.0-beta.26",
6
6
  "main": "dist/main.node.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "browser": "dist/main.js",
@@ -12,7 +12,8 @@
12
12
  "dist"
13
13
  ],
14
14
  "scripts": {
15
- "build": "webpack --mode production",
15
+ "build": "webpack --mode production && npm run build-types",
16
+ "build-types": "npx tsc --declaration --emitDeclarationOnly --declarationDir ./dist --skipLibCheck",
16
17
  "lint": "eslint . --ext .jsx --ext .js --ext .ts --ext .tsx",
17
18
  "release": "npx semantic-release",
18
19
  "release.dry": "npx semantic-release --dry-run",
@@ -24,7 +25,7 @@
24
25
  "dependencies": {
25
26
  "@mdx-js/mdx": "^3.0.0",
26
27
  "@readme/emojis": "^5.0.0",
27
- "@readme/syntax-highlighter": "^12.1.5",
28
+ "@readme/syntax-highlighter": "^13.0.0",
28
29
  "copy-to-clipboard": "^3.3.2",
29
30
  "core-js": "^3.36.1",
30
31
  "debug": "^4.3.4",
@@ -49,8 +50,8 @@
49
50
  "@mdx-js/react": "^3.0.0",
50
51
  "@readme/variable": "^16.0.0",
51
52
  "@tippyjs/react": "^4.1.0",
52
- "react": "^16.14.0",
53
- "react-dom": "^16.14.0"
53
+ "react": "16.x || 17.x || 18.x",
54
+ "react-dom": "16.x || 17.x || 18.x"
54
55
  },
55
56
  "devDependencies": {
56
57
  "@babel/core": "^7.21.4",
@@ -67,12 +68,11 @@
67
68
  "@commitlint/cli": "^17.5.1",
68
69
  "@commitlint/config-angular": "^17.4.4",
69
70
  "@commitlint/config-conventional": "^17.4.4",
70
- "@hot-loader/react-dom": "^16.14.0",
71
71
  "@readme/eslint-config": "^14.0.0",
72
72
  "@semantic-release/changelog": "^6.0.3",
73
73
  "@semantic-release/git": "^10.0.1",
74
+ "@testing-library/react": "^14",
74
75
  "@testing-library/jest-dom": "^6.4.2",
75
- "@testing-library/react": "^12.1.2",
76
76
  "@testing-library/user-event": "^14.5.2",
77
77
  "@types/mdast": "^4.0.3",
78
78
  "@types/mdx": "^2.0.12",