bencoveney / barrelsby

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Opposite of branch mode

Exeteres opened this issue · comments

I need a mode, that creates a barrel in every directory that NOT contains other directories.
For example:

core/
    messages/
        Message.ts
        index.ts // should be generated
app/
    main.ts

And use this as

import { Message } from "core/messages"

in main.ts
It will be a great feature that will allow to completely hide the index.ts files in the working environment!

Hi - Sorry for the delayed response.

This sounds like a great idea. Perhaps this should be a leaf value for the location option?

Thanks for contributing 👍

Honestly, I do not really understand these names.
But it sounds good

No activity has been seen recently, marking as stale. If this is a mistake please reach out to a collaborator