flow-to-typescript icon indicating copy to clipboard operation
flow-to-typescript copied to clipboard

Installed package contains package.json only

Open devlato opened this issue 7 years ago • 7 comments

Hello,

after installing the package with npm I have discovered that the package directory contains a package.json file only. What happened?

devlato avatar Jun 12 '18 14:06 devlato

See #5

UFOMelkor avatar Jun 12 '18 15:06 UFOMelkor

#5, and #1 as linked from there, leave me none-the-wiser as to why the installed package is empty. @bcherny if this project is dead, could you write a note in the readme to avoid people wasting time trying to get it working?

gregplaysguitar avatar Mar 19 '19 08:03 gregplaysguitar

Hey Greg, check out the PRs. This package is under development, and as the readme notes, is in pre-alpha.

bcherny avatar Mar 19 '19 15:03 bcherny

Ok, no problem, appreciate your work! Just wasn't obvious to me that npm install wouldn't work (it might be obvious to others)

gregplaysguitar avatar Mar 19 '19 19:03 gregplaysguitar

  1. you need files entry for dist/src. only main is included by default. dist/src/cli won't ship without it.
  2. prepublishOnly should be prepublish to hook into default npm publish behavior

acao avatar Apr 04 '19 04:04 acao

still getting: warning "[email protected]" has no binaries

acao avatar Jun 02 '19 01:06 acao

this package has a binary that works, if folks are looking: @dylanvann/flow-to-typescript

acao avatar Jun 02 '19 01:06 acao