Commit graph

70 commits

Author SHA1 Message Date
3f181c19bd
chore(tests): remove attempting to show cursor in ANSI
Some checks failed
CI / fmt (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / test (push) Has been cancelled
2024-12-02 11:42:13 +00:00
80d44923fa
revert: go back to rokit as a toolchain manager 2024-12-02 11:38:20 +00:00
2dfdb7177c
chore(actions): remove old tooling setup steps 2024-12-02 11:28:00 +00:00
b4f50c2fb6
stylua: apply stylua formatter 2024-12-02 11:26:26 +00:00
71d9868a9a
chore(actions): add -- before arguments to pesde tools 2024-12-02 11:25:13 +00:00
18fd2411bb
chore(actions): remove usage of custom setup-pesde in CI workflow 2024-12-02 11:23:05 +00:00
408b4b0591
chore(actions): remove custom action and use 2jammers/setup-pesde 2024-12-02 11:20:49 +00:00
8bf19e8882
chore(actions): remove rokit installation step 2024-12-02 11:17:21 +00:00
7686f5130b
chore(pkg): move all tooling management to pesde 2024-12-02 11:16:42 +00:00
ece3c51493
chore(setup-pesde): use new pesde repo url 2024-12-02 11:13:30 +00:00
56b38d04e0
chore(tests): improve test runner system
* Implements an extension to frktest's `lune_console_reporter` for
  displaying status of individual running test cases and suites -- with
  colors :O!
* Include mechanism for running select tests using the test runner
  script.
2024-12-02 11:07:59 +00:00
943136bb28
fix(tests): TypeError in basic stringify tests 2024-11-22 05:57:30 +00:00
12cad2ff0b
chore(tests): include basic stringification tests 2024-11-22 05:51:30 +00:00
4a47130b79
chore(pkg): bump version 2024-11-22 05:35:00 +00:00
6cd043c8ec
chore(README): treat imported semver as class 2024-11-22 05:34:36 +00:00
63858958c8
feat: Semver.new for construction
Includes a `Semver.new` method, which constructs a `SemverImpl` from a
`Version`, by setting its metatable.
2024-11-22 05:30:16 +00:00
2f0fa8e5c4
chore: remove info comment in rokit.toml 2024-11-21 19:18:43 +00:00
8f83140224
chore(actions): fix test job using wrong script 2024-11-21 19:09:38 +00:00
66ef2ea137
chore(actions): setup lune typdefs for typecheck 2024-11-21 19:09:38 +00:00
6f846acd90 chore(setup-pesde): provide token argument as literal 2024-11-22 00:36:42 +05:30
0023e10209
chore(actions): move setup-pesde action into dir
* Properly treat setup-pesde as an individual action instead of a
  workflow. This includes moving it into .github/actions/setup-pesde.
* Update workflow usage of setup-pesde accordingly.
2024-11-21 19:02:30 +00:00
a3bcdf6e44
chore(actions): include pesde install step in fmt 2024-11-21 18:58:50 +00:00
7e204024e0
chore(lune): fix incorrect glob pattern in ignore 2024-11-21 18:57:30 +00:00
c845d3670a
chore(actions): use local pesde action and deps 2024-11-21 18:56:13 +00:00
c5347e41c0
chore(actions): run typechecks first, then tests 2024-11-21 18:55:13 +00:00
f620acee55
chore: include dev utility scripts and ci workflow
* Includes dev utility scripts for fmt and typecheck.
* Includes a CI workflow which checks formatting, runs tests, and does
  typechecking.
2024-11-21 18:52:57 +00:00
9bde66aed4
chore(tests): apply formatting 2024-11-21 18:40:10 +00:00
79a4205f4d
chore(tests): multichar prerelease ordinal case 2024-11-21 18:23:27 +00:00
f6220d6295
fix: return error on invalid ordinal with points
Previously, if the ordinal contained dots (like 1.2.3-beta.3.4.5),
although it was invalid, an error would not be returned, which was
problematic. This has now been fixed.

Test cases are also included to prevent future regressions.
2024-11-21 18:21:19 +00:00
61f80fbf83
feat: implement tostring for SemverImpl
* `SemverImpl:__tostring` - Allows for stringifying a parsed semver instance
* Add TODO comment for future erroring for bad ordinal format
2024-11-21 17:20:48 +00:00
5543343612 chore(actions): implement pesde publish action 2024-11-13 11:28:55 +05:30
25aca4a119 chore(README): use raw url for lune badge for maximum compatibility 2024-11-12 21:48:30 +05:30
69fe1cfa98 chore(pkg): remove .git suffix in index urls 2024-11-12 21:47:12 +05:30
2afc770e78 chore(actions): use pesde auth login command instead of manually editing config 2024-11-12 21:20:03 +05:30
7ac16bf063 chore(actions): actually do the publish command 2024-11-12 21:19:04 +05:30
8868317aa6 chore(actions): use the builtin pesde command 2024-11-12 21:16:22 +05:30
0fa95337a2 chore(actions): use cat heredoc for auth config instead 2024-11-12 21:14:46 +05:30
c9f8ed8867 chore(actions): actually redirect the default_index output lol 2024-11-12 21:10:10 +05:30
34e2187508 chore(actions): set mandatory default registry for publishing 2024-11-12 21:08:14 +05:30
7537aabfbd chore(actions): avoid bumping in CI 2024-11-12 21:02:59 +05:30
4035aae384 chore(actions): include pesde package publishing action 2024-11-12 20:49:55 +05:30
b535ab52ee chore(vscode): remove trailing comma in JSON config 2024-11-12 20:25:33 +05:30
727692b31e chore(tests): migrate parse_invalid to use official frktest package 2024-11-12 20:24:52 +05:30
fc9a8701f6 chore(tests): migrate parse_valid to use official frktest package
Also removes `any` casts since https://github.com/itsfrank/frktest/issues/2 was resolved.
2024-11-12 20:23:51 +05:30
7311c439e3 chore(tests): migrate cmp test to use official frktest package 2024-11-12 20:22:17 +05:30
c6e1776c87 chore(lune): migrate tests runner to use official frktest package 2024-11-12 20:20:55 +05:30
ef2cf642d6 refactor: include missed space before function decl 2024-11-11 17:14:30 +05:30
622a990cf8 feat: freeze lex order constant table 2024-11-11 17:09:37 +05:30
d2a5b28b78 chore(pkg): use "0x5eal" as scope for package 2024-11-11 16:29:06 +05:30
cb1e7d34d6 chore(pkg): explicitly specify frktest as a lune dep 2024-11-11 16:28:24 +05:30