Skip to content

Instantly share code, notes, and snippets.

@feamsr00
Created February 7, 2019 09:02
Show Gist options
  • Save feamsr00/628c92ce0d1bed7ef58cd2326554a06b to your computer and use it in GitHub Desktop.
Save feamsr00/628c92ce0d1bed7ef58cd2326554a06b to your computer and use it in GitHub Desktop.
Scoop app file for MS tsc.exe
{
"homepage": "https://www.nuget.org/packages/Microsoft.TypeScript.Compiler",
"license": "https://go.microsoft.com/fwlink/?LinkID=698879",
"version": "3.1.1",
"url": "https://api.nuget.org/v3-flatcontainer/microsoft.typescript.compiler/3.1.1/microsoft.typescript.compiler.3.1.1.nupkg",
"extract_dir": "tools",
"bin": "tsc.exe",
"checkver":
{
"url": "https://api.nuget.org/v3-flatcontainer/Microsoft.TypeScript.Compiler/index.json",
"jsonpath": "$.versions[-1:]"
},
"autoupdate":
{
"url": "https://api.nuget.org/v3-flatcontainer/microsoft.typescript.compiler/$version/microsoft.typescript.compiler.$version.nupkg"
},
"##": "Can't autohash 'cause ng makes this a 2 legged process...",
"##": "First you'd have to hit 1) then '$.catalogEntry' which is an",
"##": "upload generated url. Only *then* can you use $.packageHash on 2",
"##": "1)https://api.nuget.org/v3/registration3/microsoft.typescript.compiler/3.1.5.json",
"##": "2)https://api.nuget.org/v3/catalog0/data/2018.10.31.22.55.09/microsoft.typescript.compiler.3.1.5.json",
"hash":
{
"mode": "download"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment