#package #luau #source-map #wally #checking #type #thunks

bin+lib wally-package-types

Tool to fix wally package thunks with Luau types

8 stable releases

new 1.4.0 Oct 26, 2024
1.3.2 Jul 14, 2024
1.3.1 Jan 20, 2024
1.3.0 Dec 25, 2023
1.0.0 Jul 3, 2022

#201 in Games

Download history 85/week @ 2024-07-08 37/week @ 2024-07-15 31/week @ 2024-07-29 12/week @ 2024-09-16 17/week @ 2024-09-23 15/week @ 2024-09-30 100/week @ 2024-10-21

117 downloads per month

MIT license

23KB
513 lines

Wally Package Types Fixer

A small tool which fixes the issue of wally thunks not including exported types, necessary for proper Luau type checking support.

The tool takes in a path to a Packages folder, as well as a path to a generated sourcemap, and attempts to retrieve the relevant types and append them to the top of the package thunk

Install your wally packages

wally install

Generate a sourcemap (Rojo 7.1.0+) using

rojo sourcemap default.project.json --output sourcemap.json

then run

wally-package-types --sourcemap sourcemap.json Packages/

Dependencies

~5–13MB
~156K SLoC