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

bin+lib wally-package-types

Tool to fix wally package thunks with Luau types

10 stable releases

new 1.4.2 Jan 11, 2025
1.4.1 Dec 28, 2024
1.4.0 Oct 26, 2024
1.3.2 Jul 14, 2024
1.0.0 Jul 3, 2022

#175 in Games

Download history 17/week @ 2024-09-23 15/week @ 2024-09-30 100/week @ 2024-10-21 27/week @ 2024-10-28 6/week @ 2024-11-18 12/week @ 2024-12-09 116/week @ 2024-12-23 9/week @ 2024-12-30 112/week @ 2025-01-06

237 downloads per month

MIT license

25KB
580 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–12MB
~139K SLoC