From e882ab119aa578a430899e9637a9d9ee73abe45b Mon Sep 17 00:00:00 2001 From: Alice <166900055+alicesaidhi@users.noreply.github.com> Date: Sun, 23 Feb 2025 12:02:20 +0100 Subject: [PATCH] setup workflow --- .github/workflows/build.yml | 33 +++++++ .github/workflows/wallypesde.yml | 51 ++++++++++ .gitignore | 4 + pesde.lock | 160 +++++++++++++++++++++++++++++++ pesde.toml | 20 ++++ rokit.toml | 9 ++ 6 files changed, 277 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/wallypesde.yml create mode 100644 pesde.lock create mode 100644 pesde.toml create mode 100644 rokit.toml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8be3887 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: release + +on: + release: + types: [published] + +permissions: + contents: write + +env: + GH_TOKEN: ${{ github.token }} + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - name: checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: setup rokit + uses: CompeyDev/setup-rokit@v0.1.2 + + - name: build + run: rojo build build.project.json -o build.rbxm + + - name: release + run: gh release upload ${{github.event.release.tag_name}} build.rbxm + + + \ No newline at end of file diff --git a/.github/workflows/wallypesde.yml b/.github/workflows/wallypesde.yml new file mode 100644 index 0000000..57c36c6 --- /dev/null +++ b/.github/workflows/wallypesde.yml @@ -0,0 +1,51 @@ +name: publish to wally and pesde + +on: + release: + types: [published] + +permissions: + contents: write + +env: + GH_TOKEN: ${{ github.token }} + +jobs: + setup: + runs-on: ubuntu-latest + steps: + + - name: checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: setup rokit + uses: CompeyDev/setup-rokit@v0.1.2 + + - name: setup pesde + run: pesde install + + wally: + runs-on: ubuntu-latest + needs: setup + steps: + + - name: login + run: wally login --token ${{ secrets.WALLY_TOKEN }} + + - name: publish + run: wally publish + + pesde: + runs-on: ubuntu-latest + needs: setup + steps: + + - name: login + run: pesde auth login --token ${{ secrets.PESDE_TOKEN }} + + - name: publish + run: pesde publish --yes + + \ No newline at end of file diff --git a/.gitignore b/.gitignore index bd0480d..374f77a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,7 @@ docs/.vitepress/dist docs/.vitepress/cache docs/node_modules docs/package-lock.json + +luau_packages/ +lune_packages/ +.pesde/ \ No newline at end of file diff --git a/pesde.lock b/pesde.lock new file mode 100644 index 0000000..288ea77 --- /dev/null +++ b/pesde.lock @@ -0,0 +1,160 @@ +name = "centau/vide" +version = "0.1.0" +target = "roblox" + +[graph."0x5eal/unzip@0.1.1 luau"] +resolved_ty = "standard" + +[graph."0x5eal/unzip@0.1.1 luau".pkg_ref] +ref_ty = "pesde" +index_url = "https://github.com/pesde-pkg/index" + +[graph."0x5eal/unzip@0.1.1 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"] +resolved_ty = "standard" + +[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"] +resolved_ty = "standard" + +[graph."jiwonz/dirs@0.3.0 lune".dependencies] +"corecii/greentea@0.4.11 lune" = "greentea" +"jiwonz/pathfs@0.3.2 lune" = "pathfs" + +[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"] +resolved_ty = "standard" + +[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.1 luau"] +resolved_ty = "standard" + +[graph."jiwonz/luau_path@0.1.1 luau".dependencies] +"jiwonz/luau_disk@0.1.4 luau" = "luau_disk" + +[graph."jiwonz/luau_path@0.1.1 luau".pkg_ref] +ref_ty = "pesde" +index_url = "https://github.com/daimond113/pesde-index" + +[graph."jiwonz/luau_path@0.1.1 luau".pkg_ref.dependencies] +luau_disk = [{ name = "jiwonz/luau_disk", version = "^0.1.2", index = "https://github.com/pesde-pkg/index" }, "standard"] + +[graph."jiwonz/pathfs@0.3.2 lune"] +resolved_ty = "standard" + +[graph."jiwonz/pathfs@0.3.2 lune".dependencies] +"corecii/greentea@0.4.11 lune" = "greentea" +"jiwonz/luau_path@0.1.1 luau" = "luau_path" + +[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"] +resolved_ty = "standard" + +[graph."lukadev_0/option@1.2.0 lune".pkg_ref] +ref_ty = "pesde" +index_url = "https://github.com/daimond113/pesde-index" + +[graph."lukadev_0/result@1.2.0 lune"] +resolved_ty = "standard" + +[graph."lukadev_0/result@1.2.0 lune".pkg_ref] +ref_ty = "pesde" +index_url = "https://github.com/daimond113/pesde-index" + +[graph."pesde/rojo@7.4.4 lune"] +direct = ["rojo", { name = "pesde/rojo", version = "^7.4.4", index = "default", target = "lune" }, "dev"] +resolved_ty = "dev" + +[graph."pesde/rojo@7.4.4 lune".dependencies] +"lukadev_0/option@1.2.0 lune" = "option" +"lukadev_0/result@1.2.0 lune" = "result" +"pesde/toolchainlib@0.1.12 lune" = "core" + +[graph."pesde/rojo@7.4.4 lune".pkg_ref] +ref_ty = "pesde" +index_url = "https://github.com/pesde-pkg/index" + +[graph."pesde/rojo@7.4.4 lune".pkg_ref.dependencies] +core = [{ name = "pesde/toolchainlib", version = "^0.1.1", index = "https://github.com/daimond113/pesde-index", target = "lune" }, "standard"] +option = [{ name = "lukadev_0/option", version = "^1.2.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" }, "standard"] + +[graph."pesde/scripts_core@0.0.1 lune"] +resolved_ty = "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"] +resolved_ty = "dev" + +[graph."pesde/scripts_rojo@0.1.0 lune".dependencies] +"pesde/rojo@7.4.4 lune" = "rojo" +"pesde/scripts_core@0.0.1 lune" = "core" + +[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.12 lune"] +resolved_ty = "standard" + +[graph."pesde/toolchainlib@0.1.12 lune".dependencies] +"0x5eal/unzip@0.1.1 luau" = "unzip" +"jiwonz/dirs@0.3.0 lune" = "dirs" +"jiwonz/pathfs@0.3.2 lune" = "pathfs" +"lukadev_0/option@1.2.0 lune" = "option" +"lukadev_0/result@1.2.0 lune" = "result" + +[graph."pesde/toolchainlib@0.1.12 lune".pkg_ref] +ref_ty = "pesde" +index_url = "https://github.com/daimond113/pesde-index" + +[graph."pesde/toolchainlib@0.1.12 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"] diff --git a/pesde.toml b/pesde.toml new file mode 100644 index 0000000..f8662f3 --- /dev/null +++ b/pesde.toml @@ -0,0 +1,20 @@ +name = "centau/vide" +version = "0.1.0" +description = "A reactive Luau library for creating UI." +authors = ["centau"] +repository = "https://github.com/centau/vide" +license = "MIT" + +[target] +environment = "roblox" + +[indices] +default = "https://github.com/pesde-pkg/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" } diff --git a/rokit.toml b/rokit.toml new file mode 100644 index 0000000..9f51fc4 --- /dev/null +++ b/rokit.toml @@ -0,0 +1,9 @@ +# This file lists tools managed by Rokit, a toolchain manager for Roblox projects. +# For more information, see https://github.com/rojo-rbx/rokit + +# New tools can be added by running `rokit add ` in a terminal. + +[tools] +pesde = "daimond113/pesde@0.6.0+registry.0.2.0" +wally = "upliftgames/wally@0.3.2" +rojo = "rojo-rbx/rojo@7.4.4"