You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We can't import Barrelsby from the package to be used programmatically because the main entry in package.json is set incorrectly. It should be ./bin/index.js. For the time being, I used patch-package to fix it locally.
Note that when using it programmatically, you must pass both the delete and noHeader flags set to true. Otherwise, it reproduces #153.
To Reproduce
Steps to reproduce the behavior:
Try to import Barrelsby
See the error
Expected behavior
To be able to import the package
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: [e.g. iOS]
Node Version [e.g. 14, 16]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
We can't import
Barrelsby
from the package to be used programmatically because themain
entry inpackage.json
is set incorrectly. It should be./bin/index.js
. For the time being, I usedpatch-package
to fix it locally.Note that when using it programmatically, you must pass both the
delete
andnoHeader
flags set totrue
. Otherwise, it reproduces #153.To Reproduce
Steps to reproduce the behavior:
Barrelsby
Expected behavior
To be able to import the package
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: