bencoveney / barrelsby

Automatic TypeScript barrels (index.ts files) for your entire code base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

barrelsby prints "[Function: configParser]" to the console

michael42 opened this issue · comments

Apparently, barrelsby always prints some left-over debugging line to the console.

Reproduction:

$ npm init -y
[...]
$ npm add -D barrelsby@2.3.0
$ npx barrelsby
[Function: configParser]

Commit ee20f24 added the line, but I don't find it in options.ts, so it's probably a manual addition and recompiling should remove it. For further cleanup, I'd recommend not checking in the compiled files and also configuring the files-property of the package.json, so the raw sources, tests, GitHub workflows and VS Code settings are not included in the package and published to NPM.

Thanks for the bug report.

@BitForger has a branch in progress that I think will address some of those additional points - test-framework-refactor - For any others, perhaps they deserve their own issues.

commented

I didn't see this happening anymore in the latest version (2.3.1).