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:
parent
7837bac5c7
commit
0c65a03a69
@ -12,7 +12,7 @@ const { description, version } = libJsPackage
|
|||||||
|
|
||||||
// Setup our paths, relative to project root
|
// Setup our paths, relative to project root
|
||||||
const outPath = './dist/lib.json'
|
const outPath = './dist/lib.json'
|
||||||
const files = ['./src/lib.ts']
|
const files = ['./src/index.ts']
|
||||||
|
|
||||||
// specifically point to tsconfig, otherwise TypeDoc fails
|
// specifically point to tsconfig, otherwise TypeDoc fails
|
||||||
const config = typescript.findConfigFile('./tsconfig.js', typescript.sys.fileExists)
|
const config = typescript.findConfigFile('./tsconfig.js', typescript.sys.fileExists)
|
||||||
@ -30,8 +30,8 @@ const generateJson = async () => {
|
|||||||
entryPoints: files
|
entryPoints: files
|
||||||
})
|
})
|
||||||
|
|
||||||
const src = app.expandInputFiles(files)
|
const src = app.getEntryPoints()
|
||||||
const project = app.convert(src)
|
const project = app.converter.convert(src)
|
||||||
|
|
||||||
// Generate the JSON file
|
// Generate the JSON file
|
||||||
await app.generateJson(project, outPath)
|
await app.generateJson(project, outPath)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user