Skip to content

Commit e3f7dee

Browse files
committed
chore: Update Wally version
1 parent 5b0f770 commit e3f7dee

File tree

4 files changed

+32
-2
lines changed

4 files changed

+32
-2
lines changed

.justfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
analyze: install-packages
2+
rojo sourcemap default.project.json --output sourcemap.json
3+
curl -O https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/main/scripts/globalTypes.d.lua
4+
luau-lsp analyze --definitions=globalTypes.d.lua --base-luaurc=.luaurc --sourcemap=sourcemap.json packages/
5+
6+
# Installs packages and proxies their type information with `wally-package-types` tool
7+
# In addition, the packages/ directory is temporarily renamed so that it isn't removed by Wally
8+
install-packages:
9+
rm -rf deps/
10+
mv packages/ temp/
11+
12+
wally install
13+
14+
rojo sourcemap packages.project.json --output sourcemap.json
15+
wally-package-types --sourcemap sourcemap.json Packages/
16+
17+
mv Packages deps/
18+
mv temp/ packages/

aftman.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tools]
22
rojo = "rojo-rbx/rojo@7.2.1"
3-
wally = "grilme99/wally@0.4.0"
3+
wally = "UpliftGames/wally@0.3.2"
44
stylua = "johnnymorganz/stylua@0.17.1"
55
selene = "Kampfkarren/selene@0.25.0"
66
luau-lsp = "johnnymorganz/luau-lsp@1.18.1"

vendor/luau-polyfill

wally.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This config exists so we can import the dependencies of all packages for analysis and release.
2+
# THIS PACKAGE IS NOT DIRECTLY PUBLISHED!
3+
4+
[package]
5+
name = "jsdotlua/no-op"
6+
version = "0.1.0"
7+
registry = "https://github.com/UpliftGames/wally-index"
8+
realm = "shared"
9+
10+
[dependencies]
11+
LuauPolyfill = "jsdotlua/luau-polyfill@1.2.3"
12+
Promise = "evaera/promise@4.0.0"

0 commit comments

Comments
 (0)