question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Host @types packages individually on GitHub

See original GitHub issue

@types packages are generated from DefinitelyTyped and published to the npm registry. These packages are included by listing them as a dependency in a project’s package.json, just like any other npm dependency. Unlike most npm dependencies, however, there is no simple way to fork an @types package and declare the fork as a dependency.

As an example, I’ve had need of an updated type definition for vega, so I started working on a PR to DT, except there was no easy way to develop this update (save going into my node modules folder and making changes). I would be incredibly useful if I could find a repository for the published package at a known location (linked to in the package.json), so I could fork it and list the fork as a dependency (for example: "@types/vega": "weswigham/AtTypes-vega") in my package.json while I work on it/while I wait for the PR to be reviewed.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:8
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
blakeembreycommented, Nov 1, 2016
0reactions
blakeembreycommented, Feb 7, 2017

@weswigham That doesn’t help contributing back. What would that look like? Fork it, make changes, push, fork DefinitelyTyped, copy and paste changes, make PR, pull from fork when types-publisher runs, repeat? How does anyone use the definition while waiting for their PR to DefinitelyTyped to be merged?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration Options - Renovate Docs
Say you're using a monorepo and want to split pull requests based on the location of the package definition, so that individual teams...
Read more >
Hosting your website on Github (article) - Khan Academy
Github is a company that hosts "code repositories", collections of code for projects. Many of the code repositories are "open source", which means...
Read more >
Build GitHub repositories - Azure Pipelines - Microsoft Learn
There are three authentication types for granting Azure Pipelines access to your GitHub repositories while creating a pipeline.
Read more >
Import your project from GitHub to GitLab
After you have authorized access to your GitHub repositories, you are redirected to the GitHub importer page and your GitHub repositories are ...
Read more >
Building repositories from GitHub | Cloud Build Documentation
GitHub triggers: This type of trigger uses the Cloud Build GitHub app to configure and authenticate to GitHub. GitHub triggers allow you to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found