Compare commits

...

3 commits

4 changed files with 1762 additions and 1765 deletions

View file

@ -13,12 +13,12 @@
}, },
"karax": { "karax": {
"version": "1.3.3", "version": "1.3.3",
"vcsRevision": "b125b6f23e56e9d88068758aa56635a721782009", "vcsRevision": "d3febfc15daa4771e9e53d5ba8a87531dd259ed0",
"url": "https://github.com/daylinmorgan/karax", "url": "https://github.com/daylinmorgan/karax",
"downloadMethod": "git", "downloadMethod": "git",
"dependencies": [], "dependencies": [],
"checksums": { "checksums": {
"sha1": "4c2cd8c8c6642919a81be12d7535323e7073f47e" "sha1": "8abc752c46a5e8a5086ad9fc548d28a3065579dd"
} }
} }
}, },

View file

@ -11,16 +11,16 @@
"author": "Daylin Morgan", "author": "Daylin Morgan",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@catppuccin/palette": "^1.2.0", "@catppuccin/palette": "^1.7.1",
"@iconify-json/mdi": "^1.1.68", "@iconify-json/mdi": "^1.2.1",
"@iconify-json/simple-icons": "^1.1.113", "@iconify-json/simple-icons": "^1.2.11",
"@types/promise-fs": "^2.1.5", "@types/promise-fs": "^2.1.5",
"@unocss/cli": "^0.62.2", "@unocss/cli": "^0.64.1",
"@unocss/preset-icons": "^0.62.2", "@unocss/preset-icons": "^0.64.1",
"@unocss/reset": "^0.62.2", "@unocss/reset": "^0.64.1",
"concurrently": "^8.2.2", "concurrently": "^9.1.0",
"esbuild": "^0.23.1", "esbuild": "^0.24.0",
"http-server": "^14.1.1", "http-server": "^14.1.1",
"unocss": "^0.62.2" "unocss": "^0.64.1"
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -7,7 +7,7 @@ import packages, utils
export tables export tables
type type
Context* = object Context* = ref object
nimpkgs*: NimPkgs nimpkgs*: NimPkgs
loaded*: bool loaded*: bool
@ -18,7 +18,7 @@ let nimpkgsUrl =
else: "https://raw.githubusercontent.com/nimpkgs/nimpkgs/main/nimpkgs.json" else: "https://raw.githubusercontent.com/nimpkgs/nimpkgs/main/nimpkgs.json"
proc fetchPackages*(ctx: var Context){.async.} = proc fetchPackages*(ctx: Context){.async.} =
await fetch(nimpkgsUrl.jss) await fetch(nimpkgsUrl.jss)
.then((r: Response) => r.text()) .then((r: Response) => r.text())
.then(proc(txt: kstring) = .then(proc(txt: kstring) =