feat!: Expose updated JS Client API via js-client.api package (#246)

This commit is contained in:
Pavel
2023-02-15 03:00:42 +03:00
committed by GitHub
parent 9667c4fec6
commit d4bb8fb429
25 changed files with 858 additions and 564 deletions

View File

@ -0,0 +1,33 @@
// @ts-check
// If won't use `@ts-check` - just remove that comments (with `@type` JSDoc below).
/** @type import('dts-bundle-generator/config-schema').OutputOptions */
const commonOutputParams = {
inlineDeclareGlobals: false,
sortNodes: true,
};
/** @type import('dts-bundle-generator/config-schema').BundlerConfig */
const config = {
compilationOptions: {
preferredConfigPath: './tsconfig.json',
},
entries: [
{
filePath: './src/index.ts',
outFile: './dist/index.d.ts',
noCheck: false,
libraries: {
importedLibraries: ['node', '@types/node'],
inlinedLibraries: ['@fluencelabs/avm', '@fluencelabs/marine-js'],
},
output: commonOutputParams,
},
],
};
module.exports = config;