Closed renanmav closed 4 years ago
Here is the fix
In package.json
in the main
property need to add lib/index.js
And also need to add,
"files": [
"lib"
],
And publish it. The binary will come as usual, as it is already addressed here https://github.com/sibelius/ast-i18n/blob/master/package.json#L5
Also, rm
is not present in the dev dep so, need to add that too.
The problem
I have installed this package from npm with
yarn add ast-i18n
.Tried to execute the cli with
yarn ast-i18n --src=packages/web/src
and end up with this:The why's
The cli is as follows.
Checking the
node_modules
folder I see this:There isn't such
lib
folder. We should generate it along with its type declarations and minified version.