fumadocs-typescript 4.0.0 → 4.0.1

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 -1
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -191,7 +191,8 @@ function mapProperty(entry, renderMarkdown) {
191
191
  return __async(this, null, function* () {
192
192
  const value = valueToEstree({
193
193
  type: entry.type,
194
- default: entry.tags.default || entry.tags.defaultValue
194
+ default: entry.tags.default || entry.tags.defaultValue,
195
+ required: entry.required
195
196
  });
196
197
  if (entry.description) {
197
198
  const hast = toEstree(yield renderMarkdown(entry.description), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-typescript",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Typescript Integration for Fumadocs",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -40,18 +40,18 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@mdx-js/mdx": "^3.1.0",
43
- "@types/estree": "^1.0.6",
43
+ "@types/estree": "^1.0.7",
44
44
  "@types/hast": "^3.0.4",
45
45
  "@types/mdast": "^4.0.3",
46
- "@types/node": "22.13.11",
46
+ "@types/node": "22.13.14",
47
47
  "@types/react": "19.0.12",
48
48
  "@types/react-dom": "19.0.4",
49
49
  "typescript": "^5.8.2",
50
50
  "unified": "^11.0.5",
51
51
  "eslint-config-custom": "0.0.0",
52
- "fumadocs-core": "15.1.3",
53
- "fumadocs-ui": "15.1.3",
54
- "tsconfig": "0.0.0"
52
+ "fumadocs-ui": "15.2.1",
53
+ "tsconfig": "0.0.0",
54
+ "fumadocs-core": "15.2.1"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "typescript": "*"