Commit graph

19 commits

Author SHA1 Message Date
Erica Marigold
d515a89d01
chore(lune): address requested review changes
Co-authored-by: Luka <47296785+lukadev-0@users.noreply.github.com>
2024-12-08 18:24:55 +00:00
Erica Marigold
02c835f80f
chore(lune): fix manifest PackageTarget type
Co-authored-by: Luka <47296785+lukadev-0@users.noreply.github.com>
2024-12-08 23:51:56 +05:30
Erica Marigold
80df6f053d
chore(lune): override alias and use proper luau-lsp bin name 2024-12-08 17:52:46 +00:00
Erica Marigold
57f7719b81
chore(lune): use pesde-managed luau-lsp install 2024-12-08 17:49:21 +00:00
Erica Marigold
0045c01c72
style: apply stylua formatter 2024-12-08 17:42:05 +00:00
daimond113
dafb986a47
docs: include README & LICENSE in scripts packages 2024-12-08 16:05:52 +01:00
Erica Marigold
8ac67b89cf
chore(lune): only use process.exit on error to prevent lune panic 2024-12-08 12:33:31 +00:00
Erica Marigold
0dbdaa8235
chore(lune): install deps *after* generating all packages 2024-12-08 12:14:33 +00:00
Erica Marigold
9ecf980110
chore(lune): use uppercase for letter of tool choice in manifest desc 2024-12-08 12:02:45 +00:00
Erica Marigold
dcfc331c3c
chore(lune): build script fixes and improvements
* Always display scopes, even for top level as `main`.
* Fix prefix scope being incorrectly displayed, and make both `pesde`
  and `main` scopes aligned.
* Name prefix constants correctly.
* Use proper author name for @daimond113 in generated manifests.
* Display time elapsed in ms instead of secs.
2024-12-08 11:52:32 +00:00
Erica Marigold
e3889bffb1
chore(lune): set repo for generated manifest correctly
Also applies the stylua formatter to the file.
2024-12-08 11:38:22 +00:00
Erica Marigold
22552c0f80
refactor: restructure to use script package system
General restructuring
=====================
* Restructures to workspace with script packages for each tool choice.
* Include build script to generate package for every supported tool
  choice in library into the `.pesde/` directory.
* Remove testing .lune scripts for Rojo.

Manifest changes
================
* Exclude `.spec.luau` test files for library package.
* Include .pesde directory for library package.
* Add pathfs dev-dependency.
* Include metadata for build script package codegen.
* Use new git URL for index repo.
* Setup workspace including top level itself & tool choice script packages.

These changes require an unstable version of pesde: 2b2d280fe0.
2024-12-08 11:09:53 +00:00
Erica Marigold
54a3f6869b
chore(lune): fix test skipping
* Previously, skipping tests using arguments of selective files
  to include did not work correctly due to our directory structure.
  This has been fixed.
* On test skip, the reporter would tyr to get the style for the report
  with no timestamp argument, causing a string formatting with nil
  error. For skips, we force the timestamp to be zero now.
2024-12-04 06:27:20 +00:00
Erica Marigold
b7ccc05702
chore(lune): remove unneeded status from frktest reporter 2024-12-04 06:05:54 +00:00
Erica Marigold
ca5f2d53c8
chore(lune): restructure util libraries and include dev scripts
* Moved all util libs like `channel` into a `lib/` directory within
  `.lune`. Also includes a builder-pattern exec lib.
* Added dev scripts for fmt (stylua) and typecheck (luau-lsp).
2024-12-04 05:49:01 +00:00
Erica Marigold
9fc9e44522
chore(lune): fix typo in Watch channel implementation doc example 2024-12-04 05:30:44 +00:00
Erica Marigold
392a8f2c9a
chore(lune): add time consume per test statistic 2024-12-03 15:35:24 +00:00
Erica Marigold
83ab6bf97f
feat: test setup using frktest & more
* Sets up a test runner system and includes unit tests for existing
  generators using Rojo's test files.
* Configure Luau analysis and disables unnecessary lints.
* Make sync config generator accept a third options argument with a
  `force` option to generate configs even when there is a
  `default.project.json` present in the `projectDir`.
2024-12-03 14:58:15 +00:00
Erica Marigold
84720a2885
refactor: restructure repo and setup as library
Restructures the project to be a library with generator exports, and
includes lune scripts as examples on how to use exported generators by
the library.

Also specifies `includes` and pins a pesde version in the package
manifest.
2024-12-02 16:54:17 +00:00