Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesnt work as expected #2

Open
mi4uu opened this issue Mar 7, 2019 · 4 comments
Open

doesnt work as expected #2

mi4uu opened this issue Mar 7, 2019 · 4 comments

Comments

@mi4uu
Copy link

mi4uu commented Mar 7, 2019

hi,
i used:
barrelbot watch src/components

it produced : index.ts (not tsx!)

`
// THIS FILE IS AUTOGENERATED AND MANAGED BY BARRELBOT. DO NOT EDIT

// for more info: https://github.com/sw-yx/barrelbot
export * from './SmallButton.module.css'
export * from './SmallButton.module.css.d'
export * from './SmallButton.test.tsx'
export * from './SmallButton.tsx'
`

and it gives me an error , should be :
export * from './SmallButton' and so on. also I would like to have a way to ignore css , tests ...

@swyxio
Copy link
Collaborator

swyxio commented Mar 15, 2019

good to know! PR welcome, otherwise i'll get to this when i have time

@deadcoder0904
Copy link

Same. i tried barrelbot watch src/components --extension js but it still generates .ts file

@sgrimard
Copy link

It seems that there may be a publishing error to npmjs.org.
Downloaded version 0.0.6 does not contain the github matching code (with extension support) but contains code that was removed since at least version 0.0.3 (code that says "const EXTENSION = 'ts'; // TODO: PARAMETERIZE").

@swyxio
Copy link
Collaborator

swyxio commented Sep 15, 2019

i'll be honest, i dont use this much right now. @sgrimard would you like to be a maintainer? i can give you publish rights. is your npm name the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants