Commit graph

61 commits

Author SHA1 Message Date
Kir_Antipov
67b5bcbf85 Made an alias for Partial<Record<K, V>> 2023-05-16 19:57:41 +03:00
Kir_Antipov
1967a52df9 Added a type that unwraps constructor parameters 2023-05-16 19:56:28 +03:00
Kir_Antipov
e473e4b641 Made a type to help me use generics as record keys 2023-05-16 19:54:56 +03:00
Kir_Antipov
2c2bcb4de7 Added a type that unwraps constructor return type 2023-05-16 19:53:51 +03:00
Kir_Antipov
f436b151aa Added a type that unwraps promises 2023-05-16 19:52:48 +03:00
Kir_Antipov
6e27f6c851 Made a type to indicate that await should be used 2023-05-16 19:51:43 +03:00
Kir_Antipov
09d0d25fdc Made a type that converts unions to intersections 2023-05-16 19:49:38 +03:00
Kir_Antipov
2ab31e0c32 Made a transpile-time version of typeof 2023-05-16 19:48:37 +03:00
Kir_Antipov
13a303ce8d Added logging module 2023-05-16 19:45:41 +03:00
Kir_Antipov
d60d8f63f3 LoggingStopwatch refactoring 2023-05-16 19:45:06 +03:00
Kir_Antipov
0cf4831003 Added diagnostics module 2023-05-16 19:43:36 +03:00
Kir_Antipov
d1b07fe763 Stopwatch refactoring 2023-05-16 19:42:49 +03:00
Kir_Antipov
a33f82afe1 Updated logger instantiation logic 2023-05-16 19:40:10 +03:00
Kir_Antipov
d043e7f23f Added a logger that writes logs to stdout 2023-05-16 19:38:46 +03:00
Kir_Antipov
19993c6f5b Added a logger that writes logs to the console 2023-05-16 19:37:21 +03:00
Kir_Antipov
65cb51a963 Implemented classic NullLogger 2023-05-16 19:35:58 +03:00
Kir_Antipov
9b882c411e Made helper methods to work with environment 2023-05-16 19:31:41 +03:00
Kir_Antipov
f1bd102e19 Added comparison module 2023-05-16 19:27:13 +03:00
Kir_Antipov
ef099bc69f Implemented default equality comparers for strings 2023-05-16 19:26:36 +03:00
Kir_Antipov
c6214a811a Made some helper methods to work with strings 2023-05-16 19:24:54 +03:00
Kir_Antipov
89d56de5e4 Implemented default comparers for strings 2023-05-16 19:22:08 +03:00
Kir_Antipov
d1b1ed9a16 Implemented comparers 2023-05-16 19:20:11 +03:00
Kir_Antipov
a537525099 Implemented equality comparers 2023-05-16 19:18:32 +03:00
Kir_Antipov
ce5227a2ce Added functions module 2023-05-16 19:05:13 +03:00
Kir_Antipov
7b75d612db Now it's possible to create middlewares 2023-05-16 19:04:41 +03:00
Kir_Antipov
63bbe0f72b Made interfaces for delegates
Because built-in `Function` is not flexible
2023-05-16 19:00:09 +03:00
Kir_Antipov
d263c15393 Added a possibility to make objects callable 2023-05-16 18:58:10 +03:00
Kir_Antipov
7882738bce Added java module 2023-05-16 18:54:51 +03:00
Kir_Antipov
34f7b1af54 Made a class that represents a Java version 2023-05-16 18:54:19 +03:00
Kir_Antipov
5d39b55de2 Changed mapEnumInput's signature 2022-11-25 14:30:52 +03:00
Cadiboo
81693dea8e
Exclude Javadoc jars from primary files by default (#18)
* Exclude javadoc jar in code

* Update README.md

Co-authored-by: Kir_Antipov <kp.antipov@gmail.com>
2022-08-21 15:05:25 +03:00
Kir_Antipov
f8343090b1 Refactoring 2022-07-05 20:44:29 +03:00
Kir_Antipov
d097cc8471 Made a logging version of Stopwatch 2022-07-05 17:47:28 +03:00
Kir_Antipov
2483a4d02b Implemented Stopwatch to simplify measurements 2022-07-05 17:44:29 +03:00
Kir_Antipov
b4d00806ed Made VersionType enum 2022-06-07 17:21:26 +03:00
Kir_Antipov
537780acea Default value should not be overridden 2022-06-07 17:21:06 +03:00
Kir_Antipov
0d76fa5eef Codestyle fix 2022-06-07 16:12:20 +03:00
Kir_Antipov
38cc76ee30 Added modrinth-unfeature-mode input
Closes #9
2022-06-07 16:08:55 +03:00
Kir_Antipov
1aaf662cc2 Refactored modrinth-utils 2022-06-07 16:02:13 +03:00
Kir_Antipov
36b3d69f46 Implemented mapEnumInput, so I can extract enums from options 2022-06-07 15:58:13 +03:00
Kir_Antipov
24a3f2d11e Implemented a simpler way to process input data 2022-06-06 18:09:45 +03:00
Kir_Antipov
dc82753d62 Made CurseForge error handling a little bit more verbose 2022-06-05 20:09:34 +03:00
Fx Morin
bf3f3c7c01
Modrinth Dependencies (#8)
* temp Modrinth Dependencies

* Fix final issues

* Got to love git sometimes

* Made test case for modrinth-utils

* That's why testing is important kids

* Included dependencies are still dependencies

* Naming

* Moved to Modrinth API v2

Co-authored-by: Kir_Antipov <kp.antipov@gmail.com>
2022-06-05 17:28:41 +03:00
Kir_Antipov
218cc98461 Not so quick quickfix of #6
Closes #6
2022-05-31 21:11:04 +03:00
Kir_Antipov
fbda2b1cfe Added the ability to retry publishing assets 2022-01-12 18:16:19 +03:00
Kir_Antipov
b98fa4496b [Fix] Sometimes Modrinth uses a wrong file as primary 2022-01-05 17:55:13 +03:00
Kir_Antipov
2194c72c22 Non-existing dependencies should cause a soft failure 2021-12-11 15:59:39 +03:00
Kir_Antipov
af38f88370 I hate the way GitHub Actions process inputs 2021-12-11 15:21:24 +03:00
Kir_Antipov
07fccebe08 Moved File to file.ts, made version-utils.ts 2021-12-06 16:07:13 +03:00
Kir_Antipov
90929a7f48 Made method that parses Minecraft version
...from version name
2021-12-06 15:52:15 +03:00