Crates.io | wally-package-types |
lib.rs | wally-package-types |
version | |
source | src |
created_at | 2022-07-03 12:41:16.513149 |
updated_at | 2025-01-11 16:55:35.331837 |
description | Tool to fix wally package thunks with Luau types |
homepage | |
repository | |
max_upload_size | |
id | 618323 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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/