Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

[WIP] TSD Future #170

Closed
wants to merge 1 commit into from
Closed

[WIP] TSD Future #170

wants to merge 1 commit into from

Conversation

blakeembrey
Copy link
Member

This is the PR for #150. Uses a new tsd.json format (seen in the PR) to handle the updated functionality. Takes future compatibility seriously in that dependencies can resolve transparently between NPM/Bower/TSD.

  • Resolve dependency tree from multiple sources (NPM, Bower, TSD)
  • Resolve TSD dependencies in child dependencies (tsd.json in NPM/Bower module)
  • Implement tsd install using dependency tree and automatically resolving missing deps
  • Implement tsd install to prompt for conflicts
  • Implement tsd install --implicit by searching, installing and saving dependencies from definitely typed that are currently missing
  • Implement tsd search <query> to search and install from definitely typed
  • Create tsd init --upgrade to upgrade from old tsd.json format seamlessly (manually blacklist node from being a normal dependency)
  • Implement tsd list to show current installed, extraneous and missing deps from dependency tree
  • Implement tsd rm <name> to remove a dependency
  • Implement --save, --save-dev, --save-ambient, --save-ambient-dev for tsd install <query> and tsd rm <query>
  • Implement tsd prune to remove extranuous dependencies (deps found in tsd.d.ts but not listed)

@ciotlosm
Copy link

Is this branch available as a build? I'd be very interested in this one

@blakeembrey
Copy link
Member Author

Hi @ciotlosm. There's nothing available yet, but this PR/branch will be up to date with any changes and comments so feel free to watch for anything to say when it's usable. Right now, there's no actual functionality (can't do any commands) but the core resolving logic is there.

@clavecoder clavecoder mentioned this pull request Jun 28, 2015
7 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants