Closed karlhorky closed 3 years ago
npm does not run postinstall on every package install (as @mike-clark-8192 mentioned in https://github.com/jeffijoe/typesync/pull/65#issuecomment-778509942).
This switches to a bash script as an alternative.
Thinking about this more, it would be even nicer if typesync could take a package name as an argument:
typesync
typesync install <pkg name>
or just:
typesync <pkg name>
and then it would handle the installation, like typac does. Then there would be no need for a shell script.
typac
Coverage remained the same at 100.0% when pulling 0c25a8eee10137723b7d5aecb3a3fb93162497dc on karlhorky:patch-1 into a623e611a06cdc8120c85135e2a72b969b737e24 on jeffijoe:master.
npm does not run postinstall on every package install (as @mike-clark-8192 mentioned in https://github.com/jeffijoe/typesync/pull/65#issuecomment-778509942).
This switches to a bash script as an alternative.
Thinking about this more, it would be even nicer if
typesync
could take a package name as an argument:or just:
and then it would handle the installation, like
typac
does. Then there would be no need for a shell script.