wally-package-types

Crates.iowally-package-types
lib.rswally-package-types
version1.4.0
sourcesrc
created_at2022-07-03 12:41:16.513149
updated_at2024-10-26 18:00:09.083438
descriptionTool to fix wally package thunks with Luau types
homepage
repository
max_upload_size
id618323
size39,841
(JohnnyMorganz)

documentation

README

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/
Commit count: 0

cargo fmt