eslint fixes in tests (#1418)
This commit is contained in:
parent
55a28ed645
commit
bf6f16c8be
1 changed files with 219 additions and 184 deletions
|
|
@ -1,30 +1,33 @@
|
|||
import { OptionDefaults } from "typedoc";
|
||||
import { findWorkspacePackages } from "@pnpm/workspace.find-packages";
|
||||
import { readWorkspaceManifest } from "@pnpm/workspace.read-manifest";
|
||||
import { OptionDefaults } from 'typedoc';
|
||||
import { findWorkspacePackages } from '@pnpm/workspace.find-packages';
|
||||
import { readWorkspaceManifest } from '@pnpm/workspace.read-manifest';
|
||||
|
||||
// Read workspace manifest and find all public packages
|
||||
const workspaceManifest = await readWorkspaceManifest(process.cwd());
|
||||
const packages = await findWorkspacePackages(process.cwd(), {
|
||||
patterns: workspaceManifest?.packages,
|
||||
patterns: workspaceManifest?.packages
|
||||
});
|
||||
const publicPackages = packages.filter(p => p.manifest.private !== true);
|
||||
const entryPoints = publicPackages.map(p => p.rootDir);
|
||||
|
||||
console.log('Typedoc selected public packages:', publicPackages.map(p => p.manifest.name));
|
||||
console.log(
|
||||
'Typedoc selected public packages:',
|
||||
publicPackages.map(p => p.manifest.name)
|
||||
);
|
||||
|
||||
export default {
|
||||
name: "MCP TypeScript SDK",
|
||||
entryPointStrategy: "packages",
|
||||
name: 'MCP TypeScript SDK',
|
||||
entryPointStrategy: 'packages',
|
||||
entryPoints,
|
||||
packageOptions: {
|
||||
blockTags: [...OptionDefaults.blockTags, "@format"]
|
||||
blockTags: [...OptionDefaults.blockTags, '@format']
|
||||
},
|
||||
projectDocuments: ["docs/documents.md"],
|
||||
projectDocuments: ['docs/documents.md'],
|
||||
navigation: {
|
||||
compactFolders: true,
|
||||
includeFolders: false,
|
||||
includeFolders: false
|
||||
},
|
||||
headings: {
|
||||
readme: false,
|
||||
},
|
||||
readme: false
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue