We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
watch mode, monorepo
Hi All!
So, I'm trying to run typedoc --watch in a monorepo repository but I'm facing the following error:
typedoc --watch
The provided tsconfig file looks like a solution style tsconfig, which is not supported in watch mode
In the root typedoc.json I have the following config:
typedoc.json
{ "$schema": "https://typedoc.org/schema.json", "name": ..., "out": "docs", "media": "./media", "entryPointStrategy": "packages", "entryPoints": ["packages/lib"], "sort": ["source-order"], "categorizeByGroup": false, "searchCategoryBoosts": { "Base": 1.2, "Inputs": 2 }, "visibilityFilters": {}, "excludePrivate": true, "includeVersion": true, "excludeNotDocumented": true }
In the packages/lib folder I have the following configs:
package.json
{ "name": ..., "version": "0.0.1", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "files": [ "dist/*" ], "exports": { ... }, "typesVersions": { ... }, "typedoc": { "entryPoint": "./src/typedocs.ts", "tsconfig": "./tsconfig.json" }, "scripts": { "dev": "tsup --watch", "build": "tsup", "docs:build": "typedoc", "docs:watch": "typedoc --watch" }, "license": "MIT", "devDependencies": { "tsup": "^6.7.0", "typescript": "^5.0.2" } }
tsconfig.json
{ "compilerOptions": { "target": "ESNext", "useDefineForClassFields": true, "module": "esnext", "moduleResolution": "node", "lib": ["ESNext", "DOM"], "strict": true, "sourceMap": true, "isolatedModules": true, "esModuleInterop": true, "noUnusedLocals": true, "noUnusedParameters": true, "noImplicitReturns": true, "skipLibCheck": true, "outDir": "./dist", // "outFile": "./dist/index.d.ts", "rootDir": "./src", "baseUrl": "./src", "declaration": true, "declarationDir": "./dist/", "emitDeclarationOnly": true, "allowJs": false, "paths": { ... } }, "include": ["src"] }
./src/typedocs.ts is a series of exports (I'm developing a multiple entry points lib)
./src/typedocs.ts
Please, what am I doing wrong? 😥
Cheers,
The text was updated successfully, but these errors were encountered:
#1772 - not yet supported
Sorry, something went wrong.
No branches or pull requests
Search terms
watch mode, monorepo
Question
Hi All!
So, I'm trying to run
typedoc --watch
in a monorepo repository but I'm facing the following error:The provided tsconfig file looks like a solution style tsconfig, which is not supported in watch mode
In the root
typedoc.json
I have the following config:In the packages/lib folder I have the following configs:
package.json
tsconfig.json
./src/typedocs.ts
is a series of exports (I'm developing a multiple entry points lib)Please, what am I doing wrong? 😥
Cheers,
The text was updated successfully, but these errors were encountered: