Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnnymorganz/wally-package-types
Re-export types in Wally package thunks
https://github.com/johnnymorganz/wally-package-types
Last synced: 15 days ago
JSON representation
Re-export types in Wally package thunks
- Host: GitHub
- URL: https://github.com/johnnymorganz/wally-package-types
- Owner: JohnnyMorganz
- License: mit
- Created: 2022-07-03T12:23:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-26T17:59:28.000Z (2 months ago)
- Last Synced: 2024-12-10T10:02:27.436Z (24 days ago)
- Language: Rust
- Homepage:
- Size: 62.5 KB
- Stars: 50
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Wally Package Types Fixer
A small tool which fixes the issue of [wally](https://github.com/UpliftGames/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
```sh
wally install
```Generate a sourcemap (Rojo 7.1.0+) using
```sh
rojo sourcemap default.project.json --output sourcemap.json
```then run
```sh
wally-package-types --sourcemap sourcemap.json Packages/
```