docs: update typedoc, convert packages to esm, generate references (#10699)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-12-23 15:20:09 +02:00
1 parent 0559d54c18
commit 870cb6e88c
1210 files changed
+746989 -813362

No files matched your search

@@ -22,7 +22,7 @@
"react-docgen": "^7.0.1",
"resolve": "^1.22.8",
"ts-node": "^10.9.1",
"typedoc": "^0.26.7",
"typedoc": "^0.27.5",
"typedoc-plugin-custom": "*",
"typescript": "^5.6.2",
"utils": "*"
@@ -31,6 +31,6 @@
"@types/node": "^20.12.10"
},
"peerDependencies": {
"typedoc": "0.26.x"
"typedoc": "0.27.x"
}
}
@@ -2,10 +2,9 @@
import { program } from "commander"
import generate from "./commands/generate.js"
import path from "path"
import { fileURLToPath } from "url"
import { getDirname } from "utils"
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const __dirname = getDirname(import.meta.url)
program
.description("Generate React specs used for documentation purposes.")