You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
please make package.json version on github more useful #1818
What is the suggested path for taking the github version of typescript as npm package dependency?
For instance, there are some small issues with the latest npm package 1.4.1, which are fixed in master, but master package.json still has version 1.4.0. So even if I npm install from the git repo, the version for the dependency can't be specified correctly.
My (naive?) suggestion would be:
master version should always be at least as high as latest npm version
add a build number to the version in master, and bump it every time the LKG is updated,
Btw, does anyone know how to specify a github dependency in package.json, without npm install being wasteful? Using
npm (1.4.3) seems to clone the whole repo, when a shallow clone would be sufficient, and I don't want to think whether it is going to be more clever on updates. And while npm accepts tarballs, github offers zipfiles.
My best guess would be to specify the dependency with name and version only, then manually do something like
grmpf. Now that you've been so helpful, npm is driving me crazy: even though I've got typescript 1.5.0 installed globally, it refuses to accept that as a dependency, no matter what I try to convince it to ignore the registry. But that seems to be an npm bug: npm/npm#5509 (and no, the workaround doesn't for me).
Is there a tracking issue for the npm build automation?
Not currently, I'll set one up.
Since it isn't self-descriptive, it has the feeling of an inside joke.
It's a Pokémon reference. The intro song starts off with the lyrics "I wanna be the very best". The tag is basically as if to say "this is a very hard task, you must be very determined to figure out a solution".
Activity
RyanCavanaugh commentedon Jan 27, 2015
Welcome back Claus 😄
We've been talking about doing a rolling-build style thing on NPM and should roll the above recommendations into that.
Arnavion commentedon Jan 28, 2015
Claus Reinke (@clausreinke) Meanwhile, you can use https://github.com/Arnavion/typescript-github
mhegazy commentedon Jan 30, 2015
Daniel Rosenwasser (@DanielRosenwasser) just pump up the version to 1.5 everywhere.
clausreinke commentedon Jan 30, 2015
Mohamed Hegazy (@mhegazy) Daniel Rosenwasser (@DanielRosenwasser) as long as version bump + fresh LKG always go together, that should help. If you don't like to spend a "real" version number for every build, add a build number.
(Since I raised concerns about npm github dependencies above: after the initial (too deep) clone, subsequent installs have been fast.)
clausreinke commentedon Jan 31, 2015
grmpf. Now that you've been so helpful, npm is driving me crazy: even though I've got typescript 1.5.0 installed globally, it refuses to accept that as a dependency, no matter what I try to convince it to ignore the registry. But that seems to be an npm bug: npm/npm#5509 (and no, the workaround doesn't for me).
DanielRosenwasser commentedon Jan 31, 2015
We should definitely adopt that label for some issues.
DanielRosenwasser commentedon Jan 31, 2015
Should we consider this
Fixednow?clausreinke commentedon Feb 1, 2015
submitter here: sure.
Is there a tracking issue for the npm build automation?
Daniel Rosenwasser (@DanielRosenwasser) I wondered about the purpose of that label: since it isn't self-descriptive, it has the feeling of an inside joke.
DanielRosenwasser commentedon Feb 2, 2015
Not currently, I'll set one up.
It's a Pokémon reference. The intro song starts off with the lyrics "I wanna be the very best". The tag is basically as if to say "this is a very hard task, you must be very determined to figure out a solution".