Commit graph

8 commits

Author SHA1 Message Date
9a3f3717de
feat(lib): address type related FIXMEs 2024-12-14 06:18:40 +00:00
ead60c003e
refactor(lib): use extension pattern for result<->option
Formerly, we used metatables to get custom `Option` and `Result` objects
which were difficult to type properly, leading to a lot of `unknown` and
`any` casts.

This refactor fixes it by making extensions opt-in, where we import the
extension methods separately from the original implementations, thereby
allowing us to not have to typecast things everywhere.
2024-12-13 14:33:05 +00:00
cf3bac5d41 revert: Expand-Archive cmdlet displaying prog
Reverts 694430b768.
2024-11-25 12:04:22 +00:00
5ff9e8b7c5 fix(lib): Expand-Archive cmdlet displaying prog 2024-11-25 11:55:47 +00:00
ca881272be fix(lib): forward pwsh stdout on windows debug 2024-11-25 11:45:07 +00:00
3a65776a3c fix(lib): decompression on windows
* Decompression on windows failed since the `Start-Process` cmdlet exited
  immediately after spawning the process. Fixed by including the `-Wait`
  argument.
* We were using `unzip` on all platforms, and it does not exist on
  Windows. Instead, now we use the `Expand-Archive` cmdlet for
  decompression on windows.
2024-11-25 11:24:18 +00:00
b6f75cbda9 fix(lib): binary descriptor fallback not matching
* Fixes a bug which caused binary parsing fallbacks to not work as
  expected, due to a field unexpectedly being `None`.
* Fixed lint error to do with warn being potentially none by defining
  our own warn function instead. Also updated fallback binary parsing
  fallback warn message to be clearer.
* Fixed decompression error for non-supported artifacts by only
  decompressing those we support.
2024-11-25 08:10:05 +00:00
94706f8a9d refactor: restructure repo
* Restructures monorepo packages
* Updated pesde manifests with scope and other metadata
* Consolidated all interactive install logic into __call metamethod for
  one liner bin re-exports
* Renamed binlib->toolchainlib
* Introduced first real world package - stylua (!!)
2024-11-23 14:35:23 +00:00
Renamed from core/src/compression.luau (Browse further)