barrelbot icon indicating copy to clipboard operation
barrelbot copied to clipboard

doesnt work as expected

Open mi4uu opened this issue 7 years ago • 4 comments

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 ...

mi4uu avatar Mar 07 '19 15:03 mi4uu

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

swyxio avatar Mar 15 '19 00:03 swyxio

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

deadcoder0904 avatar Mar 17 '19 04:03 deadcoder0904

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").

sgrimard avatar Sep 12 '19 10:09 sgrimard

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?

swyxio avatar Sep 15 '19 02:09 swyxio