Commit graph

36 commits

Author SHA1 Message Date
daimond113
dafb986a47
docs: include README & LICENSE in scripts packages 2024-12-08 16:05:52 +01:00
2c852e0466
chore(pkg): bump minimum pesde_version 2024-12-08 13:26:42 +00:00
b8687d7e78
chore(pkg): do not include .pesde in lib package 2024-12-08 12:53:25 +00:00
8ac67b89cf
chore(lune): only use process.exit on error to prevent lune panic 2024-12-08 12:33:31 +00:00
c94110ced9
chore(pkg): start versioning from v0.0.1 2024-12-08 12:27:18 +00:00
0dbdaa8235
chore(lune): install deps *after* generating all packages 2024-12-08 12:14:33 +00:00
9ecf980110
chore(lune): use uppercase for letter of tool choice in manifest desc 2024-12-08 12:02:45 +00:00
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
3c0d06c51a
style: apply stylua formatter 2024-12-08 11:39:17 +00:00
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
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
e203656294
chore(pkg): include additional metadata about scripts root dir 2024-12-04 11:58:52 +00:00
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
b7ccc05702
chore(lune): remove unneeded status from frktest reporter 2024-12-04 06:05:54 +00:00
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
9fc9e44522
chore(lune): fix typo in Watch channel implementation doc example 2024-12-04 05:30:44 +00:00
392a8f2c9a
chore(lune): add time consume per test statistic 2024-12-03 15:35:24 +00:00
add460c3cc
style: apply stylua formatter 2024-12-03 15:05:47 +00:00
c1a4bf5bd7
chore: update lockfile cache 2024-12-03 15:01:34 +00:00
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
5f068ba1b8
fix(rojo): pass directory to action from map 2024-12-03 10:50:07 +00:00
3a160c3e22
fix(rojo): move action map to top level and lazily evaluate 2024-12-03 10:22:48 +00:00
a6a52cac3b
chore(pkg): include MIT license and README in publish 2024-12-02 17:03:11 +00:00
51994dfd13
style: apply stylua formatter 2024-12-02 16:57:31 +00:00
e019e5a8ed
chore: include stylua config 2024-12-02 16:57:16 +00:00
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
6f4a186af4
chore(vscode): include lune require config snippet 2024-12-02 15:16:46 +00:00
258d1a99ff
chore: setup as pesde managed package 2024-12-02 15:16:22 +00:00
let
6082536350
fix: add missing paren (#2) 2024-11-14 07:47:12 +01:00
let
e68f5d0928
feat(sourcemap_generator): support init.lua files (#1) 2024-11-14 01:10:57 +01:00
daimond113
5e5b3efc78
fix(sourcemap_generator): support no default.project.json init.luau packages 2024-11-12 15:32:12 +01:00
daimond113
fb32d66cc6
fix: correct rojo sync config paths 2024-10-20 13:36:44 +02:00
daimond113
a737b56704
fix: sync config generator script corrupting cas data 2024-08-12 11:53:28 +02:00
daimond113
c6d9f2e6cf
fix: use new script format 2024-08-12 01:15:04 +02:00
daimond113
a0e6de8d6b
feat: add sourcemap_generator script 2024-08-11 17:43:54 +02:00
daimond113
861e7fec54
feat: 🎉 initial commit 2024-08-11 17:38:30 +02:00