microsoft / microsoft/DefinitelyTyped-tools

How to download @types of a project only

Open
#813 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
423
Forks
237
Avg merge
18h 18m
Merged PRs (30d)
11

Description

I am looking for a way to download the types definitions for my dependencies of my project.

The idea is:

  • I am working working with docker on Mac host so my package are installed inside them
  • I do not need (and I cannot because some packages don't install corectly on Mac) to download the wholes packages module .
  • I need typing of packages on my host to have good dev experience.

Because package.json have a types fields I suppose there is a way to only download them but no luck to find how.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named; begin by locating the code or documentation that processes package.json's types field. Compare that behavior with the Docker-based dependency workflow described here, then define and verify a type-only download path for the stated case.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.