jeffijoe / typesync

Install missing TypeScript typings for dependencies in your package.json.
MIT License
1.51k stars 21 forks source link

Make TypeSync work without the typespublisher resource + use `npm-registry-fetch` #97

Closed jeffijoe closed 1 year ago

jeffijoe commented 1 year ago

Since Microsoft removed the typespublisher resource that TypeSync relies on as a type definition source, TypeSync stopped working.

TypeSync has been updated to no longer depend on that resource, and instead depends solely on the npm registry. This does mean that we lose the ability to semi-detect unused typings, since the "globals" list is not available to us anymore, so that feature has been removed.

Additionally, we are now using npm-registry-fetch which should give us authentication, retries, and registry selection for free.

Closes #96, #89, and #67

coveralls commented 1 year ago

Coverage Status

Coverage: 100.0%. Remained the same when pulling 4729e49f4c0872a882cd2049600fc160146add0e on fix/syncing into 7227d67a1139f41dcabf90b8db60afb1d6c98258 on master.