diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a314d57..4b357e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: - uses: CompeyDev/setup-rokit@v0.1.2 - name: Install dependencies - run: pesde install + run: wally install - name: Check code quality run: sh bin/check.sh diff --git a/.gitignore b/.gitignore index cb77d9b..89b59ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,7 @@ /.vscode /.pesde /build -/roblox_packages -/luau_packages -/lune_packages +/DevPackages /pkgs/**/wally.lock /sourcemap.json *.tsbuildinfo diff --git a/bin/check.sh b/bin/check.sh index 6da7706..8cf8dba 100644 --- a/bin/check.sh +++ b/bin/check.sh @@ -6,7 +6,7 @@ luau-lsp analyze \ --defs=bin/roblox.d.luau \ --flag:LuauFixIndexerSubtypingOrdering=true \ --sourcemap=sourcemap.json \ - --ignore="roblox_packages/**" \ + --ignore="**/_Index/**" \ pkgs tests selene pkgs tests diff --git a/default.project.json b/default.project.json index 576c28c..08fc194 100644 --- a/default.project.json +++ b/default.project.json @@ -5,7 +5,7 @@ "ReplicatedStorage": { "$className": "ReplicatedStorage", "Packages": { - "$path": "roblox_packages", + "$path": "DevPackages", "Charm": { "$path": "pkgs/charm" }, "CharmSync": { "$path": "pkgs/charm-sync" }, "ReactCharm": { "$path": "pkgs/react-charm" }, @@ -16,15 +16,15 @@ "$className": "ServerScriptService", "Tests": { "$path": "tests", - "Charm": { "$path": "pkgs/charm/__tests__" }, - "CharmSync": { "$path": "pkgs/charm-sync/__tests__" }, - "ReactCharm": { "$path": "pkgs/react-charm/__tests__" }, - "VideCharm": { "$path": "pkgs/vide-charm/__tests__" } + "Charm": { "$path": "pkgs/charm/tests" }, + "CharmSync": { "$path": "pkgs/charm-sync/tests" }, + "ReactCharm": { "$path": "pkgs/react-charm/tests" }, + "VideCharm": { "$path": "pkgs/vide-charm/tests" } }, "Benchmarks": { "$className": "Folder", - "Charm": { "$path": "pkgs/charm/__benchmarks__" }, - "CharmSync": { "$path": "pkgs/charm-sync/__benchmarks__" } + "Charm": { "$path": "pkgs/charm/benchmarks" }, + "CharmSync": { "$path": "pkgs/charm-sync/benchmarks" } } } } diff --git a/pesde.lock b/pesde.lock deleted file mode 100644 index e2444f3..0000000 --- a/pesde.lock +++ /dev/null @@ -1,320 +0,0 @@ -# This file is automatically @generated by pesde. -# It is not intended for manual editing. -format = 2 -name = "littensy/charm" -version = "0.1.0" -target = "roblox" - -[graph."0x5eal/unzip@0.1.3 luau".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/pesde-pkg/index" - -[graph."0x5eal/unzip@0.1.3 luau".pkg_ref.dependencies] -asciitable = [{ name = "kimpure/asciitable", version = "^0.2.1", index = "https://github.com/pesde-pkg/index" }, "dev"] -frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/pesde-pkg/index", target = "lune" }, "dev"] -luau-lsp = [{ name = "pesde/luau_lsp", version = "=1.39.2", index = "https://github.com/pesde-pkg/index", target = "lune" }, "dev"] -stylua = [{ name = "pesde/stylua", version = "=2.0.2", index = "https://github.com/pesde-pkg/index", target = "lune" }, "dev"] - -[graph."corecii/greentea@0.4.11 lune".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/daimond113/pesde-index" - -[graph."jiwonz/dirs@0.3.0 lune".dependencies] -greentea = ["corecii/greentea@0.4.11 lune", "standard"] -pathfs = ["jiwonz/pathfs@0.3.2 lune", "standard"] - -[graph."jiwonz/dirs@0.3.0 lune".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/pesde-pkg/index" - -[graph."jiwonz/dirs@0.3.0 lune".pkg_ref.dependencies] -greentea = [{ name = "corecii/greentea", version = "^0.4.10", index = "https://github.com/daimond113/pesde-index" }, "standard"] -luau_lsp = [{ name = "pesde/luau_lsp", version = "^1.38.1", index = "https://github.com/daimond113/pesde-index" }, "dev"] -pathfs = [{ name = "jiwonz/pathfs", version = "^0.3.0", index = "https://github.com/daimond113/pesde-index" }, "standard"] -selene = [{ name = "pesde/selene", version = "^0.28.0", index = "https://github.com/daimond113/pesde-index" }, "dev"] -stylua = [{ name = "pesde/stylua", version = "^2.0.2", index = "https://github.com/daimond113/pesde-index" }, "dev"] - -[graph."jiwonz/luau_disk@0.1.4 luau".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/pesde-pkg/index" - -[graph."jiwonz/luau_path@0.1.4 luau".dependencies] -luau_disk = ["jiwonz/luau_disk@0.1.4 luau", "standard"] - -[graph."jiwonz/luau_path@0.1.4 luau".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/daimond113/pesde-index" - -[graph."jiwonz/luau_path@0.1.4 luau".pkg_ref.dependencies] -luau_disk = [{ name = "jiwonz/luau_disk", version = "^0.1.4", index = "https://github.com/pesde-pkg/index" }, "standard"] - -[graph."jiwonz/pathfs@0.3.2 lune".dependencies] -greentea = ["corecii/greentea@0.4.11 lune", "standard"] -luau_path = ["jiwonz/luau_path@0.1.4 luau", "standard"] - -[graph."jiwonz/pathfs@0.3.2 lune".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/pesde-pkg/index" - -[graph."jiwonz/pathfs@0.3.2 lune".pkg_ref.dependencies] -frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/daimond113/pesde-index" }, "dev"] -greentea = [{ name = "corecii/greentea", version = "^0.4.11", index = "https://github.com/daimond113/pesde-index" }, "standard"] -luau_check = [{ name = "jiwonz/luau_check", version = "^0.3.8", index = "https://github.com/daimond113/pesde-index" }, "dev"] -luau_path = [{ name = "jiwonz/luau_path", version = "^0.1.1", index = "https://github.com/daimond113/pesde-index", target = "luau" }, "standard"] - -[graph."lukadev_0/option@1.2.0 lune".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/pesde-pkg/index" - -[graph."lukadev_0/result@1.2.0 lune".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/pesde-pkg/index" - -[graph."pesde/rojo@7.5.1 lune"] -direct = ["rojo", { name = "pesde/rojo", version = "^7.4.4", index = "default", target = "lune" }, "dev"] - -[graph."pesde/rojo@7.5.1 lune".dependencies] -core = ["pesde/toolchainlib@0.1.14 lune", "standard"] -option = ["lukadev_0/option@1.2.0 lune", "standard"] -result = ["lukadev_0/result@1.2.0 lune", "standard"] - -[graph."pesde/rojo@7.5.1 lune".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/pesde-pkg/index" - -[graph."pesde/rojo@7.5.1 lune".pkg_ref.dependencies] -core = [{ name = "pesde/toolchainlib", version = "^0.1.13", index = "https://github.com/pesde-pkg/index", target = "lune" }, "standard"] -option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/pesde-pkg/index" }, "standard"] -result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/pesde-pkg/index" }, "standard"] - -[graph."pesde/scripts_core@0.0.1 lune".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/pesde-pkg/index" - -[graph."pesde/scripts_core@0.0.1 lune".pkg_ref.dependencies] -frktest = [{ name = "itsfrank/frktest", version = "^0.0.2", index = "https://github.com/pesde-pkg/index" }, "dev"] -luau-lsp = [{ name = "pesde/luau_lsp", version = "^1.36.0", index = "https://github.com/pesde-pkg/index" }, "dev"] -pathfs = [{ name = "jiwonz/pathfs", version = "^0.1.0", index = "https://github.com/pesde-pkg/index" }, "dev"] -stylua = [{ name = "pesde/stylua", version = "^2.0.1", index = "https://github.com/pesde-pkg/index" }, "dev"] - -[graph."pesde/scripts_rojo@0.1.0 lune"] -direct = ["scripts", { name = "pesde/scripts_rojo", version = "^0.1.0", index = "default", target = "lune" }, "dev"] - -[graph."pesde/scripts_rojo@0.1.0 lune".dependencies] -core = ["pesde/scripts_core@0.0.1 lune", "standard"] -rojo = ["pesde/rojo@7.5.1 lune", "peer"] - -[graph."pesde/scripts_rojo@0.1.0 lune".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/pesde-pkg/index" - -[graph."pesde/scripts_rojo@0.1.0 lune".pkg_ref.dependencies] -core = [{ name = "pesde/scripts_core", version = "^0.0.1", index = "https://github.com/pesde-pkg/index", target = "lune" }, "standard"] -rojo = [{ name = "pesde/rojo", version = "^7.4.4", index = "https://github.com/pesde-pkg/index" }, "peer"] - -[graph."pesde/toolchainlib@0.1.14 lune".dependencies] -dirs = ["jiwonz/dirs@0.3.0 lune", "standard"] -option = ["lukadev_0/option@1.2.0 lune", "peer"] -pathfs = ["jiwonz/pathfs@0.3.2 lune", "standard"] -result = ["lukadev_0/result@1.2.0 lune", "peer"] -unzip = ["0x5eal/unzip@0.1.3 luau", "standard"] - -[graph."pesde/toolchainlib@0.1.14 lune".pkg_ref] -ref_ty = "pesde" -index_url = "https://github.com/pesde-pkg/index" - -[graph."pesde/toolchainlib@0.1.14 lune".pkg_ref.dependencies] -dirs = [{ name = "jiwonz/dirs", version = "^0.3.0", index = "https://github.com/pesde-pkg/index" }, "standard"] -option = [{ name = "lukadev_0/option", version = "^1.2.0", index = "https://github.com/pesde-pkg/index" }, "peer"] -pathfs = [{ name = "jiwonz/pathfs", version = "^0.3.0", index = "https://github.com/pesde-pkg/index" }, "standard"] -result = [{ name = "lukadev_0/result", version = "^1.2.0", index = "https://github.com/pesde-pkg/index" }, "peer"] -unzip = [{ name = "0x5eal/unzip", version = "^0.1.0", index = "https://github.com/pesde-pkg/index", target = "luau" }, "standard"] - -[graph."wally#centau/vide@0.3.1 roblox"] -direct = ["Vide", { wally = "wally#centau/vide", version = "^0.3.1", index = "default" }, "dev"] - -[graph."wally#centau/vide@0.3.1 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/boolean@1.2.7 roblox".dependencies] -number = ["wally#jsdotlua/number@1.2.7 roblox", "standard"] - -[graph."wally#jsdotlua/boolean@1.2.7 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/boolean@1.2.7 roblox".pkg_ref.dependencies] -number = [{ wally = "wally#jsdotlua/number", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] - -[graph."wally#jsdotlua/collections@1.2.7 roblox".dependencies] -es7-types = ["wally#jsdotlua/es7-types@1.2.7 roblox", "standard"] -instance-of = ["wally#jsdotlua/instance-of@1.2.7 roblox", "standard"] - -[graph."wally#jsdotlua/collections@1.2.7 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/collections@1.2.7 roblox".pkg_ref.dependencies] -es7-types = [{ wally = "wally#jsdotlua/es7-types", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -instance-of = [{ wally = "wally#jsdotlua/instance-of", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] - -[graph."wally#jsdotlua/console@1.2.7 roblox".dependencies] -collections = ["wally#jsdotlua/collections@1.2.7 roblox", "standard"] - -[graph."wally#jsdotlua/console@1.2.7 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/console@1.2.7 roblox".pkg_ref.dependencies] -collections = [{ wally = "wally#jsdotlua/collections", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] - -[graph."wally#jsdotlua/es7-types@1.2.7 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/instance-of@1.2.7 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/luau-polyfill@1.2.7 roblox".dependencies] -boolean = ["wally#jsdotlua/boolean@1.2.7 roblox", "standard"] -collections = ["wally#jsdotlua/collections@1.2.7 roblox", "standard"] -console = ["wally#jsdotlua/console@1.2.7 roblox", "standard"] -es7-types = ["wally#jsdotlua/es7-types@1.2.7 roblox", "standard"] -instance-of = ["wally#jsdotlua/instance-of@1.2.7 roblox", "standard"] -math = ["wally#jsdotlua/math@1.2.7 roblox", "standard"] -number = ["wally#jsdotlua/number@1.2.7 roblox", "standard"] -string = ["wally#jsdotlua/string@1.2.7 roblox", "standard"] -symbol-luau = ["wally#jsdotlua/symbol-luau@1.0.1 roblox", "standard"] -timers = ["wally#jsdotlua/timers@1.2.7 roblox", "standard"] - -[graph."wally#jsdotlua/luau-polyfill@1.2.7 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/luau-polyfill@1.2.7 roblox".pkg_ref.dependencies] -boolean = [{ wally = "wally#jsdotlua/boolean", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -collections = [{ wally = "wally#jsdotlua/collections", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -console = [{ wally = "wally#jsdotlua/console", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -es7-types = [{ wally = "wally#jsdotlua/es7-types", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -instance-of = [{ wally = "wally#jsdotlua/instance-of", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -math = [{ wally = "wally#jsdotlua/math", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -number = [{ wally = "wally#jsdotlua/number", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -string = [{ wally = "wally#jsdotlua/string", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -symbol-luau = [{ wally = "wally#jsdotlua/symbol-luau", version = ">=1.0.0, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -timers = [{ wally = "wally#jsdotlua/timers", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] - -[graph."wally#jsdotlua/math@1.2.7 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/number@1.2.7 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/promise@3.5.2 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/react@17.2.1 roblox"] -direct = ["React", { wally = "wally#jsdotlua/react", version = "^17.2.1", index = "default" }, "dev"] - -[graph."wally#jsdotlua/react@17.2.1 roblox".dependencies] -luau-polyfill = ["wally#jsdotlua/luau-polyfill@1.2.7 roblox", "standard"] -shared = ["wally#jsdotlua/shared@17.2.1 roblox", "standard"] - -[graph."wally#jsdotlua/react@17.2.1 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/react@17.2.1 roblox".pkg_ref.dependencies] -luau-polyfill = [{ wally = "wally#jsdotlua/luau-polyfill", version = ">=1.2.6, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -shared = [{ wally = "wally#jsdotlua/shared", version = ">=17.2.1, <18.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] - -[graph."wally#jsdotlua/react-reconciler@17.2.1 roblox".dependencies] -luau-polyfill = ["wally#jsdotlua/luau-polyfill@1.2.7 roblox", "standard"] -promise = ["wally#jsdotlua/promise@3.5.2 roblox", "standard"] -react = ["wally#jsdotlua/react@17.2.1 roblox", "standard"] -scheduler = ["wally#jsdotlua/scheduler@17.2.1 roblox", "standard"] -shared = ["wally#jsdotlua/shared@17.2.1 roblox", "standard"] - -[graph."wally#jsdotlua/react-reconciler@17.2.1 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/react-reconciler@17.2.1 roblox".pkg_ref.dependencies] -luau-polyfill = [{ wally = "wally#jsdotlua/luau-polyfill", version = ">=1.2.6, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -promise = [{ wally = "wally#jsdotlua/promise", version = ">=3.5.0, <4.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -react = [{ wally = "wally#jsdotlua/react", version = ">=17.2.1, <18.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -scheduler = [{ wally = "wally#jsdotlua/scheduler", version = ">=17.2.1, <18.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -shared = [{ wally = "wally#jsdotlua/shared", version = ">=17.2.1, <18.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] - -[graph."wally#jsdotlua/react-roblox@17.2.1 roblox"] -direct = ["ReactRoblox", { wally = "wally#jsdotlua/react-roblox", version = "^17.2.1", index = "default" }, "dev"] - -[graph."wally#jsdotlua/react-roblox@17.2.1 roblox".dependencies] -luau-polyfill = ["wally#jsdotlua/luau-polyfill@1.2.7 roblox", "standard"] -react = ["wally#jsdotlua/react@17.2.1 roblox", "standard"] -react-reconciler = ["wally#jsdotlua/react-reconciler@17.2.1 roblox", "standard"] -scheduler = ["wally#jsdotlua/scheduler@17.2.1 roblox", "standard"] -shared = ["wally#jsdotlua/shared@17.2.1 roblox", "standard"] - -[graph."wally#jsdotlua/react-roblox@17.2.1 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/react-roblox@17.2.1 roblox".pkg_ref.dependencies] -luau-polyfill = [{ wally = "wally#jsdotlua/luau-polyfill", version = ">=1.2.6, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -react = [{ wally = "wally#jsdotlua/react", version = ">=17.2.1, <18.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -react-reconciler = [{ wally = "wally#jsdotlua/react-reconciler", version = ">=17.2.1, <18.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -scheduler = [{ wally = "wally#jsdotlua/scheduler", version = ">=17.2.1, <18.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -shared = [{ wally = "wally#jsdotlua/shared", version = ">=17.2.1, <18.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] - -[graph."wally#jsdotlua/scheduler@17.2.1 roblox".dependencies] -luau-polyfill = ["wally#jsdotlua/luau-polyfill@1.2.7 roblox", "standard"] -shared = ["wally#jsdotlua/shared@17.2.1 roblox", "standard"] - -[graph."wally#jsdotlua/scheduler@17.2.1 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/scheduler@17.2.1 roblox".pkg_ref.dependencies] -luau-polyfill = [{ wally = "wally#jsdotlua/luau-polyfill", version = ">=1.2.6, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -shared = [{ wally = "wally#jsdotlua/shared", version = ">=17.2.1, <18.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] - -[graph."wally#jsdotlua/shared@17.2.1 roblox".dependencies] -luau-polyfill = ["wally#jsdotlua/luau-polyfill@1.2.7 roblox", "standard"] - -[graph."wally#jsdotlua/shared@17.2.1 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/shared@17.2.1 roblox".pkg_ref.dependencies] -luau-polyfill = [{ wally = "wally#jsdotlua/luau-polyfill", version = ">=1.2.6, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] - -[graph."wally#jsdotlua/string@1.2.7 roblox".dependencies] -es7-types = ["wally#jsdotlua/es7-types@1.2.7 roblox", "standard"] -number = ["wally#jsdotlua/number@1.2.7 roblox", "standard"] - -[graph."wally#jsdotlua/string@1.2.7 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/string@1.2.7 roblox".pkg_ref.dependencies] -es7-types = [{ wally = "wally#jsdotlua/es7-types", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] -number = [{ wally = "wally#jsdotlua/number", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] - -[graph."wally#jsdotlua/symbol-luau@1.0.1 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/timers@1.2.7 roblox".dependencies] -collections = ["wally#jsdotlua/collections@1.2.7 roblox", "standard"] - -[graph."wally#jsdotlua/timers@1.2.7 roblox".pkg_ref] -ref_ty = "wally" -index_url = "https://github.com/UpliftGames/wally-index" - -[graph."wally#jsdotlua/timers@1.2.7 roblox".pkg_ref.dependencies] -collections = [{ wally = "wally#jsdotlua/collections", version = ">=1.2.7, <2.0.0", index = "https://github.com/UpliftGames/wally-index" }, "standard"] diff --git a/pesde.toml b/pesde.toml deleted file mode 100644 index 8e9bcb2..0000000 --- a/pesde.toml +++ /dev/null @@ -1,23 +0,0 @@ -name = "littensy/charm" -version = "0.1.0" -license = "MIT" - -[target] -environment = "roblox" - -[indices] -default = "https://github.com/pesde-pkg/index" - -[wally_indices] -default = "https://github.com/UpliftGames/wally-index" - -[scripts] -roblox_sync_config_generator = ".pesde/scripts/roblox_sync_config_generator.luau" -sourcemap_generator = ".pesde/scripts/sourcemap_generator.luau" - -[dev_dependencies] -scripts = { name = "pesde/scripts_rojo", version = "^0.1.0", target = "lune" } -rojo = { name = "pesde/rojo", version = "^7.4.4", target = "lune" } -React = { wally = "jsdotlua/react", version = "^17.2.1" } -ReactRoblox = { wally = "jsdotlua/react-roblox", version = "^17.2.1" } -Vide = { wally = "centau/vide", version = "^0.3.1" } diff --git a/pkgs/charm-sync/__benchmarks__/patch.bench.luau b/pkgs/charm-sync/benchmarks/patch.bench.luau similarity index 100% rename from pkgs/charm-sync/__benchmarks__/patch.bench.luau rename to pkgs/charm-sync/benchmarks/patch.bench.luau diff --git a/pkgs/charm-sync/__tests__/client.spec.luau b/pkgs/charm-sync/tests/client.spec.luau similarity index 100% rename from pkgs/charm-sync/__tests__/client.spec.luau rename to pkgs/charm-sync/tests/client.spec.luau diff --git a/pkgs/charm-sync/__tests__/flatten.spec.luau b/pkgs/charm-sync/tests/flatten.spec.luau similarity index 100% rename from pkgs/charm-sync/__tests__/flatten.spec.luau rename to pkgs/charm-sync/tests/flatten.spec.luau diff --git a/pkgs/charm-sync/__tests__/patch.spec.luau b/pkgs/charm-sync/tests/patch.spec.luau similarity index 100% rename from pkgs/charm-sync/__tests__/patch.spec.luau rename to pkgs/charm-sync/tests/patch.spec.luau diff --git a/pkgs/charm-sync/__tests__/server.spec.luau b/pkgs/charm-sync/tests/server.spec.luau similarity index 100% rename from pkgs/charm-sync/__tests__/server.spec.luau rename to pkgs/charm-sync/tests/server.spec.luau diff --git a/pkgs/charm-sync/__tests__/spec.luau b/pkgs/charm-sync/tests/spec.luau similarity index 100% rename from pkgs/charm-sync/__tests__/spec.luau rename to pkgs/charm-sync/tests/spec.luau diff --git a/pkgs/charm-sync/__tests__/validate.spec.luau b/pkgs/charm-sync/tests/validate.spec.luau similarity index 100% rename from pkgs/charm-sync/__tests__/validate.spec.luau rename to pkgs/charm-sync/tests/validate.spec.luau diff --git a/pkgs/charm/__benchmarks__/effect.bench.luau b/pkgs/charm/benchmarks/effect.bench.luau similarity index 100% rename from pkgs/charm/__benchmarks__/effect.bench.luau rename to pkgs/charm/benchmarks/effect.bench.luau diff --git a/pkgs/charm/__benchmarks__/propagate.bench.luau b/pkgs/charm/benchmarks/propagate.bench.luau similarity index 100% rename from pkgs/charm/__benchmarks__/propagate.bench.luau rename to pkgs/charm/benchmarks/propagate.bench.luau diff --git a/pkgs/charm/__tests__/signals/computed.spec.luau b/pkgs/charm/tests/signals/computed.spec.luau similarity index 100% rename from pkgs/charm/__tests__/signals/computed.spec.luau rename to pkgs/charm/tests/signals/computed.spec.luau diff --git a/pkgs/charm/__tests__/signals/effect.spec.luau b/pkgs/charm/tests/signals/effect.spec.luau similarity index 100% rename from pkgs/charm/__tests__/signals/effect.spec.luau rename to pkgs/charm/tests/signals/effect.spec.luau diff --git a/pkgs/charm/__tests__/signals/effectScope.spec.luau b/pkgs/charm/tests/signals/effectScope.spec.luau similarity index 100% rename from pkgs/charm/__tests__/signals/effectScope.spec.luau rename to pkgs/charm/tests/signals/effectScope.spec.luau diff --git a/pkgs/charm/__tests__/signals/issue_48.spec.luau b/pkgs/charm/tests/signals/issue_48.spec.luau similarity index 100% rename from pkgs/charm/__tests__/signals/issue_48.spec.luau rename to pkgs/charm/tests/signals/issue_48.spec.luau diff --git a/pkgs/charm/__tests__/signals/spec.luau b/pkgs/charm/tests/signals/spec.luau similarity index 100% rename from pkgs/charm/__tests__/signals/spec.luau rename to pkgs/charm/tests/signals/spec.luau diff --git a/pkgs/charm/__tests__/signals/topology.spec.luau b/pkgs/charm/tests/signals/topology.spec.luau similarity index 100% rename from pkgs/charm/__tests__/signals/topology.spec.luau rename to pkgs/charm/tests/signals/topology.spec.luau diff --git a/pkgs/charm/__tests__/signals/untrack.spec.luau b/pkgs/charm/tests/signals/untrack.spec.luau similarity index 100% rename from pkgs/charm/__tests__/signals/untrack.spec.luau rename to pkgs/charm/tests/signals/untrack.spec.luau diff --git a/pkgs/charm/__tests__/spec.luau b/pkgs/charm/tests/spec.luau similarity index 100% rename from pkgs/charm/__tests__/spec.luau rename to pkgs/charm/tests/spec.luau diff --git a/pkgs/charm/__tests__/subscribe.spec.luau b/pkgs/charm/tests/subscribe.spec.luau similarity index 100% rename from pkgs/charm/__tests__/subscribe.spec.luau rename to pkgs/charm/tests/subscribe.spec.luau diff --git a/pkgs/react-charm/__tests__/helpers/renderHook.luau b/pkgs/react-charm/tests/helpers/renderHook.luau similarity index 100% rename from pkgs/react-charm/__tests__/helpers/renderHook.luau rename to pkgs/react-charm/tests/helpers/renderHook.luau diff --git a/pkgs/react-charm/__tests__/spec.luau b/pkgs/react-charm/tests/spec.luau similarity index 100% rename from pkgs/react-charm/__tests__/spec.luau rename to pkgs/react-charm/tests/spec.luau diff --git a/pkgs/react-charm/__tests__/useAtom.spec.luau b/pkgs/react-charm/tests/useAtom.spec.luau similarity index 100% rename from pkgs/react-charm/__tests__/useAtom.spec.luau rename to pkgs/react-charm/tests/useAtom.spec.luau diff --git a/pkgs/vide-charm/__tests__/spec.luau b/pkgs/vide-charm/tests/spec.luau similarity index 100% rename from pkgs/vide-charm/__tests__/spec.luau rename to pkgs/vide-charm/tests/spec.luau diff --git a/pkgs/vide-charm/__tests__/useAtom.spec.luau b/pkgs/vide-charm/tests/useAtom.spec.luau similarity index 100% rename from pkgs/vide-charm/__tests__/useAtom.spec.luau rename to pkgs/vide-charm/tests/useAtom.spec.luau diff --git a/rokit.toml b/rokit.toml index 4c21356..d7c0aef 100644 --- a/rokit.toml +++ b/rokit.toml @@ -9,5 +9,4 @@ rojo = "rojo-rbx/rojo@7.5.1" stylua = "johnnymorganz/stylua@2.1.0" selene = "Kampfkarren/selene@0.28.0" luau-lsp = "johnnymorganz/luau-lsp@1.44.1" -lute = "luau-lang/lute@0.1.0-nightly.20250503" -pesde = "daimond113/pesde@0.7.0-rc.2+registry.0.2.3-rc.1" +lute = "luau-lang/lute@0.1.0-nightly.20250506" diff --git a/tests/init.luau b/tests/init.luau index c9f0300..7682db0 100644 --- a/tests/init.luau +++ b/tests/init.luau @@ -8,7 +8,7 @@ if not table.isfrozen(_G) then end describe("charm", function() - require("@pkgs/charm/__tests__/spec") + require("@pkgs/charm/tests/spec") end) finish() diff --git a/wally.lock b/wally.lock new file mode 100644 index 0000000..f568be9 --- /dev/null +++ b/wally.lock @@ -0,0 +1,98 @@ +# This file is automatically @generated by Wally. +# It is not intended for manual editing. +registry = "test" + +[[package]] +name = "centau/vide" +version = "0.3.1" +dependencies = [] + +[[package]] +name = "jsdotlua/boolean" +version = "1.2.7" +dependencies = [["number", "jsdotlua/number@1.2.7"]] + +[[package]] +name = "jsdotlua/collections" +version = "1.2.7" +dependencies = [["es7-types", "jsdotlua/es7-types@1.2.7"], ["instance-of", "jsdotlua/instance-of@1.2.7"]] + +[[package]] +name = "jsdotlua/console" +version = "1.2.7" +dependencies = [["collections", "jsdotlua/collections@1.2.7"]] + +[[package]] +name = "jsdotlua/es7-types" +version = "1.2.7" +dependencies = [] + +[[package]] +name = "jsdotlua/instance-of" +version = "1.2.7" +dependencies = [] + +[[package]] +name = "jsdotlua/luau-polyfill" +version = "1.2.7" +dependencies = [["boolean", "jsdotlua/boolean@1.2.7"], ["collections", "jsdotlua/collections@1.2.7"], ["console", "jsdotlua/console@1.2.7"], ["es7-types", "jsdotlua/es7-types@1.2.7"], ["instance-of", "jsdotlua/instance-of@1.2.7"], ["math", "jsdotlua/math@1.2.7"], ["number", "jsdotlua/number@1.2.7"], ["string", "jsdotlua/string@1.2.7"], ["symbol-luau", "jsdotlua/symbol-luau@1.0.1"], ["timers", "jsdotlua/timers@1.2.7"]] + +[[package]] +name = "jsdotlua/math" +version = "1.2.7" +dependencies = [] + +[[package]] +name = "jsdotlua/number" +version = "1.2.7" +dependencies = [] + +[[package]] +name = "jsdotlua/promise" +version = "3.5.2" +dependencies = [] + +[[package]] +name = "jsdotlua/react" +version = "17.2.1" +dependencies = [["luau-polyfill", "jsdotlua/luau-polyfill@1.2.7"], ["shared", "jsdotlua/shared@17.2.1"]] + +[[package]] +name = "jsdotlua/react-reconciler" +version = "17.2.1" +dependencies = [["luau-polyfill", "jsdotlua/luau-polyfill@1.2.7"], ["promise", "jsdotlua/promise@3.5.2"], ["react", "jsdotlua/react@17.2.1"], ["scheduler", "jsdotlua/scheduler@17.2.1"], ["shared", "jsdotlua/shared@17.2.1"]] + +[[package]] +name = "jsdotlua/react-roblox" +version = "17.2.1" +dependencies = [["luau-polyfill", "jsdotlua/luau-polyfill@1.2.7"], ["react", "jsdotlua/react@17.2.1"], ["react-reconciler", "jsdotlua/react-reconciler@17.2.1"], ["scheduler", "jsdotlua/scheduler@17.2.1"], ["shared", "jsdotlua/shared@17.2.1"]] + +[[package]] +name = "jsdotlua/scheduler" +version = "17.2.1" +dependencies = [["luau-polyfill", "jsdotlua/luau-polyfill@1.2.7"], ["shared", "jsdotlua/shared@17.2.1"]] + +[[package]] +name = "jsdotlua/shared" +version = "17.2.1" +dependencies = [["luau-polyfill", "jsdotlua/luau-polyfill@1.2.7"]] + +[[package]] +name = "jsdotlua/string" +version = "1.2.7" +dependencies = [["es7-types", "jsdotlua/es7-types@1.2.7"], ["number", "jsdotlua/number@1.2.7"]] + +[[package]] +name = "jsdotlua/symbol-luau" +version = "1.0.1" +dependencies = [] + +[[package]] +name = "jsdotlua/timers" +version = "1.2.7" +dependencies = [["collections", "jsdotlua/collections@1.2.7"]] + +[[package]] +name = "richerd/charm" +version = "0.1.0" +dependencies = [["React", "jsdotlua/react@17.2.1"], ["ReactRoblox", "jsdotlua/react-roblox@17.2.1"], ["Vide", "centau/vide@0.3.1"]] diff --git a/wally.toml b/wally.toml new file mode 100644 index 0000000..2c4ec2b --- /dev/null +++ b/wally.toml @@ -0,0 +1,10 @@ +[package] +name = "richerd/charm" +version = "0.1.0" +registry = "https://github.com/UpliftGames/wally-index" +realm = "shared" + +[dev-dependencies] +React = "jsdotlua/react@17" +ReactRoblox = "jsdotlua/react-roblox@17" +Vide = "centau/vide@0.3"