jeffijoe / typesync

Install missing TypeScript typings for dependencies in your package.json.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add `typesync install` command?

septs opened this issue · comments

commented

update package.json file after,
call package installer (npm OR yarn)

cases:

  1. both (not)? exists package-lock.json and yarn.lock files, after rejection install.
  2. only exists package-lock.json, use npm install command install.
  3. only exists yarn.lock, use yarn install command install.

see https://yarnpkg.com/lang/en/docs/yarn-lock/
see https://docs.npmjs.com/files/package-lock.json

Hi @septs!

This is sort of a dupe of #3 — the cost vs benefit of this does not make it worthwhile. Simply doing && npm install or && yarn install after typesync is not much effort.