mirror of
https://github.com/pesde-pkg/tooling.git
synced 2025-04-04 10:50:57 +01:00
feat(lib): remove reliance on semver parsing
Previously, we assumed that the tools followed semver, and hence parsed their versions for comparison. Some tools may not follow semver, and we should not impose such a requirement as a toolchain management library. Therefore, we now only check if the requested version string matches an asset version tag. In order to ensure backwards compatibility, we strip the leading `v` from the version if present.
This commit is contained in:
parent
b726f8eb51
commit
80882fc173
11 changed files with 9 additions and 564 deletions
|
@ -2,32 +2,6 @@ name = "pesde/argon"
|
|||
version = "2.0.21"
|
||||
target = "lune"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".dependencies]
|
||||
"lukadev_0/option" = ["1.2.0 luau", "option"]
|
||||
"lukadev_0/result" = ["1.2.0 luau", "result"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "0x5eal/semver"
|
||||
version = "0.1.1"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.dependencies]
|
||||
frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/daimond113/pesde-index", target = "lune" }, "dev"]
|
||||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."jiwonz/dirs"."0.1.2 lune"]
|
||||
resolved_ty = "standard"
|
||||
|
||||
|
@ -86,23 +60,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/option"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 lune"]
|
||||
direct = ["result", { name = "lukadev_0/result", version = "^1.2.0" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -121,23 +78,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/result"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune"]
|
||||
direct = ["core", { workspace = "pesde/toolchainlib", version = "^" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -147,7 +87,6 @@ environment = "lune"
|
|||
lib = "src/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".dependencies]
|
||||
"0x5eal/semver" = ["0.1.1 luau", "semver"]
|
||||
"jiwonz/dirs" = ["0.1.2 lune", "dirs"]
|
||||
"jiwonz/pathfs" = ["0.1.0 lune", "pathfs"]
|
||||
"lukadev_0/option" = ["1.2.0 lune", "option"]
|
||||
|
@ -162,7 +101,6 @@ dirs = [{ name = "jiwonz/dirs", version = "^0.1.1", index = "https://github.com/
|
|||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
pathfs = [{ name = "jiwonz/pathfs", version = "^0.1.0", index = "https://github.com/daimond113/pesde-index" }, "standard"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
semver = [{ name = "0x5eal/semver", version = "^0.1.1", index = "https://github.com/daimond113/pesde-index", target = "luau" }, "peer"]
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".pkg_ref.target]
|
||||
environment = "lune"
|
||||
|
|
|
@ -2,32 +2,6 @@ name = "pesde/blink"
|
|||
version = "0.15.0-rc.1"
|
||||
target = "lune"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".dependencies]
|
||||
"lukadev_0/option" = ["1.2.0 luau", "option"]
|
||||
"lukadev_0/result" = ["1.2.0 luau", "result"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "0x5eal/semver"
|
||||
version = "0.1.1"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.dependencies]
|
||||
frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/daimond113/pesde-index", target = "lune" }, "dev"]
|
||||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."jiwonz/dirs"."0.1.2 lune"]
|
||||
resolved_ty = "standard"
|
||||
|
||||
|
@ -86,23 +60,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/option"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 lune"]
|
||||
direct = ["result", { name = "lukadev_0/result", version = "^1.2.0" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -121,23 +78,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/result"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune"]
|
||||
direct = ["core", { workspace = "pesde/toolchainlib", version = "^" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -147,7 +87,6 @@ environment = "lune"
|
|||
lib = "src/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".dependencies]
|
||||
"0x5eal/semver" = ["0.1.1 luau", "semver"]
|
||||
"jiwonz/dirs" = ["0.1.2 lune", "dirs"]
|
||||
"jiwonz/pathfs" = ["0.1.0 lune", "pathfs"]
|
||||
"lukadev_0/option" = ["1.2.0 lune", "option"]
|
||||
|
@ -162,7 +101,6 @@ dirs = [{ name = "jiwonz/dirs", version = "^0.1.1", index = "https://github.com/
|
|||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
pathfs = [{ name = "jiwonz/pathfs", version = "^0.1.0", index = "https://github.com/daimond113/pesde-index" }, "standard"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
semver = [{ name = "0x5eal/semver", version = "^0.1.1", index = "https://github.com/daimond113/pesde-index", target = "luau" }, "peer"]
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".pkg_ref.target]
|
||||
environment = "lune"
|
||||
|
|
|
@ -2,32 +2,6 @@ name = "pesde/darklua"
|
|||
version = "0.14.1"
|
||||
target = "lune"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".dependencies]
|
||||
"lukadev_0/option" = ["1.2.0 luau", "option"]
|
||||
"lukadev_0/result" = ["1.2.0 luau", "result"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "0x5eal/semver"
|
||||
version = "0.1.1"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.dependencies]
|
||||
frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/daimond113/pesde-index", target = "lune" }, "dev"]
|
||||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."jiwonz/dirs"."0.1.2 lune"]
|
||||
resolved_ty = "standard"
|
||||
|
||||
|
@ -86,23 +60,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/option"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 lune"]
|
||||
direct = ["result", { name = "lukadev_0/result", version = "^1.2.0" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -121,23 +78,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/result"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune"]
|
||||
direct = ["core", { workspace = "pesde/toolchainlib", version = "^" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -147,7 +87,6 @@ environment = "lune"
|
|||
lib = "src/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".dependencies]
|
||||
"0x5eal/semver" = ["0.1.1 luau", "semver"]
|
||||
"jiwonz/dirs" = ["0.1.2 lune", "dirs"]
|
||||
"jiwonz/pathfs" = ["0.1.0 lune", "pathfs"]
|
||||
"lukadev_0/option" = ["1.2.0 lune", "option"]
|
||||
|
@ -162,7 +101,6 @@ dirs = [{ name = "jiwonz/dirs", version = "^0.1.1", index = "https://github.com/
|
|||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
pathfs = [{ name = "jiwonz/pathfs", version = "^0.1.0", index = "https://github.com/daimond113/pesde-index" }, "standard"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
semver = [{ name = "0x5eal/semver", version = "^0.1.1", index = "https://github.com/daimond113/pesde-index", target = "luau" }, "peer"]
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".pkg_ref.target]
|
||||
environment = "lune"
|
||||
|
|
|
@ -2,32 +2,6 @@ name = "pesde/luau_lsp"
|
|||
version = "1.36.0"
|
||||
target = "lune"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".dependencies]
|
||||
"lukadev_0/option" = ["1.2.0 luau", "option"]
|
||||
"lukadev_0/result" = ["1.2.0 luau", "result"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "0x5eal/semver"
|
||||
version = "0.1.1"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.dependencies]
|
||||
frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/daimond113/pesde-index", target = "lune" }, "dev"]
|
||||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."jiwonz/dirs"."0.1.2 lune"]
|
||||
resolved_ty = "standard"
|
||||
|
||||
|
@ -86,23 +60,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/option"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 lune"]
|
||||
direct = ["result", { name = "lukadev_0/result", version = "^1.2.0" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -121,23 +78,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/result"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune"]
|
||||
direct = ["core", { workspace = "pesde/toolchainlib", version = "^" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -147,7 +87,6 @@ environment = "lune"
|
|||
lib = "src/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".dependencies]
|
||||
"0x5eal/semver" = ["0.1.1 luau", "semver"]
|
||||
"jiwonz/dirs" = ["0.1.2 lune", "dirs"]
|
||||
"jiwonz/pathfs" = ["0.1.0 lune", "pathfs"]
|
||||
"lukadev_0/option" = ["1.2.0 lune", "option"]
|
||||
|
@ -162,7 +101,6 @@ dirs = [{ name = "jiwonz/dirs", version = "^0.1.1", index = "https://github.com/
|
|||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
pathfs = [{ name = "jiwonz/pathfs", version = "^0.1.0", index = "https://github.com/daimond113/pesde-index" }, "standard"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
semver = [{ name = "0x5eal/semver", version = "^0.1.1", index = "https://github.com/daimond113/pesde-index", target = "luau" }, "peer"]
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".pkg_ref.target]
|
||||
environment = "lune"
|
||||
|
|
|
@ -2,32 +2,6 @@ name = "pesde/rojo"
|
|||
version = "7.4.4"
|
||||
target = "lune"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".dependencies]
|
||||
"lukadev_0/option" = ["1.2.0 luau", "option"]
|
||||
"lukadev_0/result" = ["1.2.0 luau", "result"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "0x5eal/semver"
|
||||
version = "0.1.1"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.dependencies]
|
||||
frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/daimond113/pesde-index", target = "lune" }, "dev"]
|
||||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."jiwonz/dirs"."0.1.2 lune"]
|
||||
resolved_ty = "standard"
|
||||
|
||||
|
@ -86,23 +60,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/option"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 lune"]
|
||||
direct = ["result", { name = "lukadev_0/result", version = "^1.2.0" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -121,23 +78,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/result"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune"]
|
||||
direct = ["core", { workspace = "pesde/toolchainlib", version = "^" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -147,7 +87,6 @@ environment = "lune"
|
|||
lib = "src/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".dependencies]
|
||||
"0x5eal/semver" = ["0.1.1 luau", "semver"]
|
||||
"jiwonz/dirs" = ["0.1.2 lune", "dirs"]
|
||||
"jiwonz/pathfs" = ["0.1.0 lune", "pathfs"]
|
||||
"lukadev_0/option" = ["1.2.0 lune", "option"]
|
||||
|
@ -162,7 +101,6 @@ dirs = [{ name = "jiwonz/dirs", version = "^0.1.1", index = "https://github.com/
|
|||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
pathfs = [{ name = "jiwonz/pathfs", version = "^0.1.0", index = "https://github.com/daimond113/pesde-index" }, "standard"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
semver = [{ name = "0x5eal/semver", version = "^0.1.1", index = "https://github.com/daimond113/pesde-index", target = "luau" }, "peer"]
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".pkg_ref.target]
|
||||
environment = "lune"
|
||||
|
|
|
@ -2,32 +2,6 @@ name = "pesde/selene"
|
|||
version = "0.27.1"
|
||||
target = "lune"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".dependencies]
|
||||
"lukadev_0/option" = ["1.2.0 luau", "option"]
|
||||
"lukadev_0/result" = ["1.2.0 luau", "result"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "0x5eal/semver"
|
||||
version = "0.1.1"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.dependencies]
|
||||
frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/daimond113/pesde-index", target = "lune" }, "dev"]
|
||||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."jiwonz/dirs"."0.1.2 lune"]
|
||||
resolved_ty = "standard"
|
||||
|
||||
|
@ -86,23 +60,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/option"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 lune"]
|
||||
direct = ["result", { name = "lukadev_0/result", version = "^1.2.0" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -121,23 +78,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/result"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune"]
|
||||
direct = ["core", { workspace = "pesde/toolchainlib", version = "^" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -147,7 +87,6 @@ environment = "lune"
|
|||
lib = "src/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".dependencies]
|
||||
"0x5eal/semver" = ["0.1.1 luau", "semver"]
|
||||
"jiwonz/dirs" = ["0.1.2 lune", "dirs"]
|
||||
"jiwonz/pathfs" = ["0.1.0 lune", "pathfs"]
|
||||
"lukadev_0/option" = ["1.2.0 lune", "option"]
|
||||
|
@ -162,7 +101,6 @@ dirs = [{ name = "jiwonz/dirs", version = "^0.1.1", index = "https://github.com/
|
|||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
pathfs = [{ name = "jiwonz/pathfs", version = "^0.1.0", index = "https://github.com/daimond113/pesde-index" }, "standard"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
semver = [{ name = "0x5eal/semver", version = "^0.1.1", index = "https://github.com/daimond113/pesde-index", target = "luau" }, "peer"]
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".pkg_ref.target]
|
||||
environment = "lune"
|
||||
|
|
|
@ -2,32 +2,6 @@ name = "pesde/stylua"
|
|||
version = "2.0.1"
|
||||
target = "lune"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".dependencies]
|
||||
"lukadev_0/option" = ["1.2.0 luau", "option"]
|
||||
"lukadev_0/result" = ["1.2.0 luau", "result"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "0x5eal/semver"
|
||||
version = "0.1.1"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.dependencies]
|
||||
frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/daimond113/pesde-index", target = "lune" }, "dev"]
|
||||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."jiwonz/dirs"."0.1.2 lune"]
|
||||
resolved_ty = "standard"
|
||||
|
||||
|
@ -86,23 +60,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/option"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 lune"]
|
||||
direct = ["result", { name = "lukadev_0/result", version = "^1.2.0" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -121,23 +78,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/result"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune"]
|
||||
direct = ["core", { workspace = "pesde/toolchainlib", version = "^" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -147,7 +87,6 @@ environment = "lune"
|
|||
lib = "src/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".dependencies]
|
||||
"0x5eal/semver" = ["0.1.1 luau", "semver"]
|
||||
"jiwonz/dirs" = ["0.1.2 lune", "dirs"]
|
||||
"jiwonz/pathfs" = ["0.1.0 lune", "pathfs"]
|
||||
"lukadev_0/option" = ["1.2.0 lune", "option"]
|
||||
|
@ -162,7 +101,6 @@ dirs = [{ name = "jiwonz/dirs", version = "^0.1.1", index = "https://github.com/
|
|||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
pathfs = [{ name = "jiwonz/pathfs", version = "^0.1.0", index = "https://github.com/daimond113/pesde-index" }, "standard"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
semver = [{ name = "0x5eal/semver", version = "^0.1.1", index = "https://github.com/daimond113/pesde-index", target = "luau" }, "peer"]
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".pkg_ref.target]
|
||||
environment = "lune"
|
||||
|
|
|
@ -2,32 +2,6 @@ name = "pesde/zap"
|
|||
version = "0.6.15"
|
||||
target = "lune"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".dependencies]
|
||||
"lukadev_0/option" = ["1.2.0 luau", "option"]
|
||||
"lukadev_0/result" = ["1.2.0 luau", "result"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "0x5eal/semver"
|
||||
version = "0.1.1"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.dependencies]
|
||||
frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/daimond113/pesde-index", target = "lune" }, "dev"]
|
||||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."jiwonz/dirs"."0.1.2 lune"]
|
||||
resolved_ty = "standard"
|
||||
|
||||
|
@ -86,23 +60,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/option"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 lune"]
|
||||
direct = ["result", { name = "lukadev_0/result", version = "^1.2.0" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -121,23 +78,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/result"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune"]
|
||||
direct = ["core", { workspace = "pesde/toolchainlib", version = "^" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -147,7 +87,6 @@ environment = "lune"
|
|||
lib = "src/init.luau"
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".dependencies]
|
||||
"0x5eal/semver" = ["0.1.1 luau", "semver"]
|
||||
"jiwonz/dirs" = ["0.1.2 lune", "dirs"]
|
||||
"jiwonz/pathfs" = ["0.1.0 lune", "pathfs"]
|
||||
"lukadev_0/option" = ["1.2.0 lune", "option"]
|
||||
|
@ -162,7 +101,6 @@ dirs = [{ name = "jiwonz/dirs", version = "^0.1.1", index = "https://github.com/
|
|||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
pathfs = [{ name = "jiwonz/pathfs", version = "^0.1.0", index = "https://github.com/daimond113/pesde-index" }, "standard"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
semver = [{ name = "0x5eal/semver", version = "^0.1.1", index = "https://github.com/daimond113/pesde-index", target = "luau" }, "peer"]
|
||||
|
||||
[graph."pesde/toolchainlib"."0.1.2 lune".pkg_ref.target]
|
||||
environment = "lune"
|
||||
|
|
|
@ -2,33 +2,6 @@ name = "pesde/toolchainlib"
|
|||
version = "0.1.2"
|
||||
target = "lune"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau"]
|
||||
direct = ["semver", { name = "0x5eal/semver", version = "^0.1.1", target = "luau" }, "peer"]
|
||||
resolved_ty = "standard"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".dependencies]
|
||||
"lukadev_0/option" = ["1.2.0 luau", "option"]
|
||||
"lukadev_0/result" = ["1.2.0 luau", "result"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "0x5eal/semver"
|
||||
version = "0.1.1"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.dependencies]
|
||||
frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/daimond113/pesde-index", target = "lune" }, "dev"]
|
||||
option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/daimond113/pesde-index" }, "peer"]
|
||||
|
||||
[graph."0x5eal/semver"."0.1.1 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."jiwonz/dirs"."0.1.2 lune"]
|
||||
direct = ["dirs", { name = "jiwonz/dirs", version = "^0.1.1" }, "standard"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -89,23 +62,6 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/option"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/option"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 lune"]
|
||||
direct = ["result", { name = "lukadev_0/result", version = "^1.2.0" }, "peer"]
|
||||
resolved_ty = "standard"
|
||||
|
@ -123,20 +79,3 @@ index_url = "https://github.com/daimond113/pesde-index"
|
|||
[graph."lukadev_0/result"."1.2.0 lune".pkg_ref.target]
|
||||
environment = "lune"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau"]
|
||||
resolved_ty = "peer"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref]
|
||||
ref_ty = "pesde"
|
||||
name = "lukadev_0/result"
|
||||
version = "1.2.0"
|
||||
index_url = "https://github.com/daimond113/pesde-index"
|
||||
|
||||
[graph."lukadev_0/result"."1.2.0 luau".pkg_ref.target]
|
||||
environment = "luau"
|
||||
lib = "lib/init.luau"
|
||||
|
|
|
@ -16,7 +16,6 @@ dirs = { name = "jiwonz/dirs", version = "^0.1.1" }
|
|||
[peer_dependencies]
|
||||
result = { name = "lukadev_0/result", version = "^1.2.0" }
|
||||
option = { name = "lukadev_0/option", version = "^1.2.0" }
|
||||
semver = { name = "0x5eal/semver", version = "^0.1.1", target = "luau" }
|
||||
|
||||
[indices]
|
||||
default = "https://github.com/daimond113/pesde-index"
|
||||
|
|
|
@ -12,7 +12,6 @@ local process = require("@lune/process")
|
|||
local stdio = require("@lune/stdio")
|
||||
local serde = require("@lune/serde")
|
||||
|
||||
local Semver = require("../luau_packages/semver")
|
||||
local pathfs = require("../lune_packages/pathfs")
|
||||
local dirs = require("../lune_packages/dirs")
|
||||
|
||||
|
@ -29,7 +28,7 @@ local manifest = require("./manifest")
|
|||
export type ToolId = {
|
||||
alias: Option<string>,
|
||||
repo: string,
|
||||
version: Option<Semver.SemverImpl>,
|
||||
version: Option<string>,
|
||||
}
|
||||
|
||||
-- TODO: Remove this in a breaking change
|
||||
|
@ -80,6 +79,11 @@ local function toolAliasOrDefault(tool: ToolId): string
|
|||
return tool.alias:unwrapOr(string.split((tool :: ToolId).repo, "/")[2])
|
||||
end
|
||||
|
||||
local function stripLeadingVersion(version: string): string
|
||||
local stripped = string.gsub(version, "^v", "")
|
||||
return stripped
|
||||
end
|
||||
|
||||
local LINK_INSTALL_DIR = (dirs.homeDir() or error("Couldn't get home dir :(")):join(".pesde"):join("bin")
|
||||
local TOOL_STORAGE_DIR = LINK_INSTALL_DIR:join("tool_storage")
|
||||
|
||||
|
@ -109,9 +113,9 @@ function installTool(tool: ToolId, installPath: pathfs.Path)
|
|||
|
||||
local releases = client:queueTransactions({ "FetchReleases" })[1]:unwrap() :: GithubReleases
|
||||
local assets = tool.version:match({
|
||||
Some = function(version: Semver.SemverImpl)
|
||||
Some = function(version: string)
|
||||
for _, release in releases do
|
||||
if Semver.parse(release.tag_name):unwrap() :: Semver.SemverImpl == version then
|
||||
if stripLeadingVersion(release.tag_name) == stripLeadingVersion(version) then
|
||||
return release.assets
|
||||
end
|
||||
end
|
||||
|
@ -279,8 +283,7 @@ return setmetatable(
|
|||
{
|
||||
alias = Option.None,
|
||||
repo = repo,
|
||||
-- FIXME: Not all tools may necessarily follow semver, might this in the future
|
||||
version = Option.Some(Semver.parse(versionOrDefault):unwrap()) :: Option<Semver.SemverImpl>,
|
||||
version = Option.Some(versionOrDefault),
|
||||
} :: ToolId,
|
||||
toolInstallPath
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue