diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..9c22f03 --- /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 default.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..29198ab --- /dev/null +++ b/.github/workflows/wallypesde.yml @@ -0,0 +1,53 @@ +name: publish to wally and pesde + +on: + release: + types: [published] + +permissions: + contents: write + +env: + GH_TOKEN: ${{ github.token }} + +jobs: + wally: + 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: login + run: wally login --token "${{ secrets.WALLY_TOKEN }}" + + - name: publish + run: wally publish + + pesde: + 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 + + - 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..da4860c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,10 @@ docs/.vitepress/dist docs/.vitepress/cache docs/node_modules docs/package-lock.json + +luau_packages/ +lune_packages/ +.pesde/ + +wally.lock +pesde.lock \ No newline at end of file diff --git a/pesde.toml b/pesde.toml new file mode 100644 index 0000000..96b9d04 --- /dev/null +++ b/pesde.toml @@ -0,0 +1,23 @@ +name = "centau/vide" +version = "0.4.0" +description = "A reactive Luau library for creating UI." +authors = ["centau"] +repository = "https://github.com/centau/vide" +license = "MIT" +includes = ["src/*", "README.md", "pesde.toml"] + +[target] +environment = "roblox" +build_files = ["src"] +lib = "src/init.luau" + +[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" diff --git a/wally.toml b/wally.toml index 4896b08..2b44317 100644 --- a/wally.toml +++ b/wally.toml @@ -2,7 +2,7 @@ name = "centau/vide" description = "A reactive Luau library for creating UI. " license = "MIT" -version = "0.3.1" +version = "0.4.0" registry = "https://github.com/UpliftGames/wally-index" realm = "shared" include = ["default.project.json", "LICENSE", "src"]