diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 512d819..83a0c05 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -40,7 +40,7 @@ }, // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "pip install mkdocs-material --break-system-packages && rokit install --no-trust-check && wally install", + "postCreateCommand": "pip install mkdocs-material --break-system-packages && rokit install --no-trust-check && wally install && rojo sourcemap develop.project.json --output sourcemap.json && wally-package-types --sourcemap sourcemap.json Packages/", // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. "remoteUser": "root" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b39caa..66f36e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,10 @@ jobs: uses: CompeyDev/setup-rokit@v0.1.2 - name: Setup Wally - run: wally install + run: | + wally install + rojo sourcemap develop.project.json --output sourcemap.json + wally-package-types --sourcemap sourcemap.json Packages/ - name: Build using Rojo run: | diff --git a/rokit.toml b/rokit.toml index bb87fd0..caac08a 100644 --- a/rokit.toml +++ b/rokit.toml @@ -3,3 +3,4 @@ rojo = "rojo-rbx/rojo@7.6.1" selene = "Kampfkarren/selene@0.29.0" stylua = "JohnnyMorganz/stylua@2.3.1" wally = "UpliftGames/wally@0.3.2" +wally-package-types = "JohnnyMorganz/wally-package-types@1.6.2" diff --git a/src/ContextAction.client.luau b/src/ContextAction.client.luau index 947ff24..4e4fb5b 100644 --- a/src/ContextAction.client.luau +++ b/src/ContextAction.client.luau @@ -1,5 +1,3 @@ ---!strict - local ContextActionService = game:GetService("ContextActionService") local BackpackScript = require(script.Parent) diff --git a/src/TopbarIcon.client.luau b/src/TopbarIcon.client.luau index 730112c..eaabe7b 100644 --- a/src/TopbarIcon.client.luau +++ b/src/TopbarIcon.client.luau @@ -1,5 +1,3 @@ ---!strict - local BackpackScript = require(script.Parent) local Icon = require(script.Parent.Parent.topbarplus) diff --git a/src/init.luau b/src/init.luau index 0b2a039..847925b 100644 --- a/src/init.luau +++ b/src/init.luau @@ -1,8 +1,6 @@ -- ROBLOX upstream https://github.com/MaximumADHD/Roblox-Client-Tracker/blob/829cb13cc98870ddbcf4ba6bd48b774a87ae549f/scripts/CoreScripts/Modules/BackpackScript.lua ---# selene: allow(deprecated) ---# selene: allow(shadowing) ---# selene: allow(unscoped_variables) ---# selene: allow(unused_variable) +--!nolint DeprecatedApi +--# selene: allow(deprecated, shadowing, unscoped_variables, unused_variable) -- Backpack Version 5.1 -- OnlyTwentyCharacters, SolarCrane