1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

fix typedoc (#1378)

This commit is contained in:
mihaisc 2022-03-29 07:36:22 -07:00 committed by GitHub
parent 7837bac5c7
commit 0c65a03a69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ const { description, version } = libJsPackage
// Setup our paths, relative to project root
const outPath = './dist/lib.json'
const files = ['./src/lib.ts']
const files = ['./src/index.ts']
// specifically point to tsconfig, otherwise TypeDoc fails
const config = typescript.findConfigFile('./tsconfig.js', typescript.sys.fileExists)
@ -30,8 +30,8 @@ const generateJson = async () => {
entryPoints: files
})
const src = app.expandInputFiles(files)
const project = app.convert(src)
const src = app.getEntryPoints()
const project = app.converter.convert(src)
// Generate the JSON file
await app.generateJson(project, outPath)