Commit graph

56 commits

Author SHA1 Message Date
8a89d50590 chore(README): treat imported semver as class 2024-11-22 05:34:36 +00:00
30c104d844 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
957e63cca9 chore: remove info comment in rokit.toml 2024-11-21 19:18:43 +00:00
0cb3c79df4 chore(actions): fix test job using wrong script 2024-11-21 19:09:38 +00:00
c5893956d8 chore(actions): setup lune typdefs for typecheck 2024-11-21 19:09:38 +00:00
bb973da60a
chore(setup-pesde): provide token argument as literal 2024-11-22 00:36:42 +05:30
4f7a4fb9ed 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
166077d080 chore(actions): include pesde install step in fmt 2024-11-21 18:58:50 +00:00
5cdb3d9c49 chore(lune): fix incorrect glob pattern in ignore 2024-11-21 18:57:30 +00:00
47fbaecfd1 chore(actions): use local pesde action and deps 2024-11-21 18:56:13 +00:00
0127e68e96 chore(actions): run typechecks first, then tests 2024-11-21 18:55:13 +00:00
e4eb01664f 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
14bc7cea42 chore(tests): apply formatting 2024-11-21 18:40:10 +00:00
812a024689 chore(tests): multichar prerelease ordinal case 2024-11-21 18:23:27 +00:00
fe321dda7b 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
ab6e993879 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
0d5629f3a6
chore(actions): implement pesde publish action 2024-11-13 11:28:55 +05:30
316c665622
chore(README): use raw url for lune badge for maximum compatibility 2024-11-12 21:48:30 +05:30
51dcd0e594
chore(pkg): remove .git suffix in index urls 2024-11-12 21:47:12 +05:30
58b1ecae3c
chore(actions): use pesde auth login command instead of manually editing config 2024-11-12 21:20:03 +05:30
6627b2895a
chore(actions): actually do the publish command 2024-11-12 21:19:04 +05:30
487e3557c4
chore(actions): use the builtin pesde command 2024-11-12 21:16:22 +05:30
d9a7033d08
chore(actions): use cat heredoc for auth config instead 2024-11-12 21:14:46 +05:30
afe13e8819
chore(actions): actually redirect the default_index output lol 2024-11-12 21:10:10 +05:30
bbbce960b0
chore(actions): set mandatory default registry for publishing 2024-11-12 21:08:14 +05:30
63215da70b
chore(actions): avoid bumping in CI 2024-11-12 21:02:59 +05:30
8537131cd0
chore(actions): include pesde package publishing action 2024-11-12 20:49:55 +05:30
9aa63354b8
chore(vscode): remove trailing comma in JSON config 2024-11-12 20:25:33 +05:30
b3db2f858c
chore(tests): migrate parse_invalid to use official frktest package 2024-11-12 20:24:52 +05:30
6e18053e5a
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
7f30ca3df6
chore(tests): migrate cmp test to use official frktest package 2024-11-12 20:22:17 +05:30
6365b4121e
chore(lune): migrate tests runner to use official frktest package 2024-11-12 20:20:55 +05:30
429bd82bbb
refactor: include missed space before function decl 2024-11-11 17:14:30 +05:30
3481217e40
feat: freeze lex order constant table 2024-11-11 17:09:37 +05:30
f94ba14bd6
chore(pkg): use "0x5eal" as scope for package 2024-11-11 16:29:06 +05:30
b31e6ee68f
chore(pkg): explicitly specify frktest as a lune dep 2024-11-11 16:28:24 +05:30
2f2b086a57
chore(pkg): move deps to peer and use published frktest 2024-11-11 16:24:56 +05:30
2b19f0c104
chore(README): include pesde package badge 2024-11-11 16:09:36 +05:30
4ca2e2f483
docs: fix SemverResult generic type missing an equals 2024-11-11 16:09:12 +05:30
8ad5760d8d
chore(LICENSE): replace copyright holder 2024-11-11 11:52:05 +05:30
a76f47e155
docs: include moonwave comments for library 2024-11-11 11:46:46 +05:30
a6b8e5df19
chore(README): remove todo comment and close img tags 2024-11-11 11:45:15 +05:30
4c2d25485d
feat: trim leading v in versions 2024-11-10 20:46:01 +05:30
fa8452ecd9
chore: include README 2024-11-10 20:44:18 +05:30
9fc45cb75c
chore: include lune logo asset 2024-11-10 20:43:05 +05:30
e429cb6f9b
refactor: add leading | to error type union 2024-11-10 20:37:57 +05:30
eaa744bb3c
chore: remove pesde lockfile 2024-11-10 20:07:26 +05:30
beb8ee4247
chore(pkg): fix bad includes field 2024-11-04 17:23:27 +05:30
ead3b47562
chore: include .gitignore 2024-11-04 12:19:26 +05:30
147a5dbd2a
chore: include test suites for library 2024-11-04 12:18:52 +05:30