Skip to content

Commit 13a70ea

Browse files
committed
feat: Use Wally to install dependencies, instead of submodules
1 parent e3f7dee commit 13a70ea

File tree

7 files changed

+81
-37
lines changed

7 files changed

+81
-37
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
deps/
2+
13
.DS_Store
24

35
sourcemap.json

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

.justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ install-packages:
1111

1212
wally install
1313

14-
rojo sourcemap packages.project.json --output sourcemap.json
15-
wally-package-types --sourcemap sourcemap.json Packages/
16-
1714
mv Packages deps/
1815
mv temp/ packages/
16+
17+
rojo sourcemap default.project.json --output sourcemap.json
18+
wally-package-types --sourcemap sourcemap.json deps/

aftman.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ 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"
7+
wally-package-types = "johnnymorganz/wally-package-types@1.2.1"

default.project.json

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,44 +23,21 @@
2323
"RoactCompat": {
2424
"$path": "packages/roact-compat/default.project.json"
2525
},
26-
"scheduler": {
26+
"Scheduler": {
2727
"$path": "packages/scheduler/default.project.json"
2828
},
2929
"Shared": {
3030
"$path": "packages/shared/default.project.json"
3131
},
32-
"Boolean": {
33-
"$path": "vendor/luau-polyfill/packages/boolean/default.project.json"
34-
},
35-
"Collections": {
36-
"$path": "vendor/luau-polyfill/packages/collections/default.project.json"
37-
},
38-
"Console": {
39-
"$path": "vendor/luau-polyfill/packages/console/default.project.json"
40-
},
41-
"ES7Types": {
42-
"$path": "vendor/luau-polyfill/packages/es7-types/default.project.json"
43-
},
44-
"InstanceOf": {
45-
"$path": "vendor/luau-polyfill/packages/instance-of/default.project.json"
32+
33+
"_Index": {
34+
"$path": "deps/_Index"
4635
},
4736
"LuauPolyfill": {
48-
"$path": "vendor/luau-polyfill/packages/luau-polyfill/default.project.json"
49-
},
50-
"Math": {
51-
"$path": "vendor/luau-polyfill/packages/math/default.project.json"
52-
},
53-
"Number": {
54-
"$path": "vendor/luau-polyfill/packages/number/default.project.json"
55-
},
56-
"String": {
57-
"$path": "vendor/luau-polyfill/packages/string/default.project.json"
58-
},
59-
"Symbol": {
60-
"$path": "vendor/luau-polyfill/packages/symbol/default.project.json"
37+
"$path": "deps/LuauPolyfill.lua"
6138
},
62-
"Timers": {
63-
"$path": "vendor/luau-polyfill/packages/timers/default.project.json"
39+
"Promise": {
40+
"$path": "deps/Promise.lua"
6441
}
6542
}
6643
}

vendor/luau-polyfill

Lines changed: 0 additions & 1 deletion
This file was deleted.

wally.lock

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# This file is automatically @generated by Wally.
2+
# It is not intended for manual editing.
3+
registry = "test"
4+
5+
[[package]]
6+
name = "evaera/promise"
7+
version = "4.0.0"
8+
dependencies = []
9+
10+
[[package]]
11+
name = "jsdotlua/boolean"
12+
version = "1.2.3"
13+
dependencies = [["Number", "jsdotlua/number@1.2.3"]]
14+
15+
[[package]]
16+
name = "jsdotlua/collections"
17+
version = "1.2.3"
18+
dependencies = [["ES7Types", "jsdotlua/es7-types@1.2.3"], ["InstanceOf", "jsdotlua/instance-of@1.2.3"]]
19+
20+
[[package]]
21+
name = "jsdotlua/console"
22+
version = "1.2.3"
23+
dependencies = [["Collections", "jsdotlua/collections@1.2.3"]]
24+
25+
[[package]]
26+
name = "jsdotlua/es7-types"
27+
version = "1.2.3"
28+
dependencies = []
29+
30+
[[package]]
31+
name = "jsdotlua/instance-of"
32+
version = "1.2.3"
33+
dependencies = []
34+
35+
[[package]]
36+
name = "jsdotlua/luau-polyfill"
37+
version = "1.2.3"
38+
dependencies = [["Boolean", "jsdotlua/boolean@1.2.3"], ["Collections", "jsdotlua/collections@1.2.3"], ["Console", "jsdotlua/console@1.2.3"], ["ES7Types", "jsdotlua/es7-types@1.2.3"], ["InstanceOf", "jsdotlua/instance-of@1.2.3"], ["Math", "jsdotlua/math@1.2.3"], ["Number", "jsdotlua/number@1.2.3"], ["String", "jsdotlua/string@1.2.3"], ["Symbol", "jsdotlua/symbol@1.0.0"], ["Timers", "jsdotlua/timers@1.2.3"]]
39+
40+
[[package]]
41+
name = "jsdotlua/math"
42+
version = "1.2.3"
43+
dependencies = []
44+
45+
[[package]]
46+
name = "jsdotlua/no-op"
47+
version = "0.1.0"
48+
dependencies = [["LuauPolyfill", "jsdotlua/luau-polyfill@1.2.3"], ["Promise", "evaera/promise@4.0.0"]]
49+
50+
[[package]]
51+
name = "jsdotlua/number"
52+
version = "1.2.3"
53+
dependencies = []
54+
55+
[[package]]
56+
name = "jsdotlua/string"
57+
version = "1.2.3"
58+
dependencies = [["ES7Types", "jsdotlua/es7-types@1.2.3"], ["Number", "jsdotlua/number@1.2.3"]]
59+
60+
[[package]]
61+
name = "jsdotlua/symbol"
62+
version = "1.0.0"
63+
dependencies = []
64+
65+
[[package]]
66+
name = "jsdotlua/timers"
67+
version = "1.2.3"
68+
dependencies = [["Collections", "jsdotlua/collections@1.2.3"]]

0 commit comments

Comments
 (0)