Kir_Antipov
72881dcc5a
Added tests for mojang-api-client
2024-01-12 17:48:58 +03:00
Kir_Antipov
b77098a9f6
Added tests for minecraft
2024-01-12 17:48:12 +03:00
Kir_Antipov
ccbac7ff3c
Added tests for minecraft-version
2024-01-12 17:47:52 +03:00
Kir_Antipov
fc398cef0e
Added tests for minecraft-version-type
2024-01-12 17:47:28 +03:00
Kir_Antipov
0c87367ef8
Added tests for minecraft-version-provider
2024-01-12 17:47:02 +03:00
Kir_Antipov
49cec93c3c
Added tests for minecraft-version-lookup
2024-01-12 17:46:40 +03:00
Kir_Antipov
0c53565546
Tested getOwnEntries
against arrays
2024-01-12 17:45:45 +03:00
Kir_Antipov
5c75c036c0
Added a test-stub for the typescript
module
2024-01-12 17:44:35 +03:00
Kir_Antipov
7fec30e288
Made fetch
-related utils for testing purposes
2024-01-12 17:40:26 +03:00
Kir_Antipov
750c0028b0
Added Modrinth test data
2024-01-12 17:38:14 +03:00
Kir_Antipov
d76b17e309
Added Mojang test data
2024-01-12 17:37:45 +03:00
Kir_Antipov
a863aff69c
Added GitHub test data
2024-01-12 17:37:26 +03:00
Kir_Antipov
8a8aba5ca4
Updated CurseForge test data
2024-01-12 17:36:58 +03:00
Kir_Antipov
6e1bcb10b6
Fixed wildcard range parsing
...
Fixes #91
2024-01-03 22:00:13 +03:00
Kir_Antipov
0a3874adee
Better NeoForge support
...
Closes #85
2024-01-03 21:30:24 +03:00
Kir_Antipov
98e9aced20
Removed unnecessary async
2023-05-20 15:10:21 +03:00
Kir_Antipov
963eeb46a6
Fixed jest
throwing segfault
2023-05-19 22:46:04 +03:00
Kir_Antipov
dba28c84f8
ESLint update
2023-05-19 20:24:56 +03:00
Kir_Antipov
650ca179f4
Enhanced conversion logic
2023-05-19 16:49:51 +03:00
Kir_Antipov
149430bbe9
Implemented getSafe
method
2023-05-19 16:48:48 +03:00
Kir_Antipov
de17c8b440
Added JSON-serialization logic to FileInfo
2023-05-19 16:47:30 +03:00
Kir_Antipov
1d8d9fdb7c
Implemented ErrorBuilder
class
2023-05-18 00:15:36 +03:00
Kir_Antipov
20e88826d4
Moved FailMode
to errors
2023-05-18 00:14:39 +03:00
Kir_Antipov
9c557f8121
Added examples of CF Upload API responses
2023-05-17 19:59:22 +03:00
Kir_Antipov
6572ff5026
Made custom tsconfig for tests
2023-05-17 19:58:36 +03:00
Kir_Antipov
90564b0aa2
Refactored PublisherTarget
(-> PlatformType
)
2023-05-17 19:12:44 +03:00
Kir_Antipov
40ffa003d6
Deprecated GameVersionResolver
...
It was replaced with `GameVersionFilter`
2023-05-17 18:51:06 +03:00
Kir_Antipov
d50f67b65c
Made an interface that represents a game version provider
2023-05-17 18:25:09 +03:00
Kir_Antipov
86dafdd03f
Added a few utility methods to work with zip
...
(In test environment)
2023-05-17 18:14:47 +03:00
Kir_Antipov
5a20150e0a
Implemented generic metadata reader logic
2023-05-17 18:13:25 +03:00
Kir_Antipov
ad769f1e9c
Made a reader for Quilt metadata
2023-05-17 18:11:22 +03:00
Kir_Antipov
547d8d486e
Implemented class that represents Quilt metadata
2023-05-17 18:10:27 +03:00
Kir_Antipov
0fec2613dd
Implemented logic to work with Quilt dependencies
2023-05-17 18:09:43 +03:00
Kir_Antipov
45b72c7493
Added example of quilt.mod.json
2023-05-17 18:08:11 +03:00
Kir_Antipov
71525b9c9f
Added enum for Quilt environment types
2023-05-17 18:05:30 +03:00
Kir_Antipov
0da00d434a
Made a reader for Forge metadata
2023-05-17 18:03:09 +03:00
Kir_Antipov
0696b03d05
Implemented class that represents Forge metadata
2023-05-17 18:02:33 +03:00
Kir_Antipov
f7ac857955
Added example of mods.toml
2023-05-17 18:02:05 +03:00
Kir_Antipov
941d8a6ec8
Implemented logic to work with Forge dependencies
2023-05-17 18:00:57 +03:00
Kir_Antipov
56083ad40b
Added enum for Forge environment types
2023-05-17 17:57:32 +03:00
Kir_Antipov
a8cce57c4b
Made base classes for zip-based metadata readers
2023-05-17 17:56:59 +03:00
Kir_Antipov
917a5130f1
Made enum for every known loader
2023-05-17 17:55:45 +03:00
Kir_Antipov
ba8817193b
Made a reader for Fabric metadata
2023-05-17 17:53:14 +03:00
Kir_Antipov
8987e70c81
Implemented class that represents Fabric metadata
2023-05-17 17:52:07 +03:00
Kir_Antipov
34b30a92d7
Added example of fabric.mod.json
2023-05-17 17:51:21 +03:00
Kir_Antipov
26ea239670
Implemented logic to work with Fabric dependencies
2023-05-17 17:49:10 +03:00
Kir_Antipov
e6ec53ad5a
Added enum for Fabric environment types
2023-05-17 17:46:04 +03:00
Kir_Antipov
fbb153c879
Added enum for Fabric dependency types
2023-05-17 17:43:18 +03:00
Kir_Antipov
002d721497
Implemented logic to work with dependencies
2023-05-17 17:41:24 +03:00
Kir_Antipov
989ccf0c87
Made DependencyType
enum
2023-05-17 17:39:10 +03:00
Kir_Antipov
08e57faf6c
Made utility methods to work with HTTP methods
2023-05-17 16:16:11 +03:00
Kir_Antipov
c8e9e38b03
Made utility methods to work with Blob
2023-05-17 16:14:49 +03:00
Kir_Antipov
5e957f45ba
Presented ability to parse and use version ranges
2023-05-17 15:47:39 +03:00
Kir_Antipov
4bbd4cc2d9
Version
refactoring
2023-05-17 15:46:26 +03:00
Kir_Antipov
17bc59ff61
VersionType
refactoring
2023-05-17 15:45:22 +03:00
Kir_Antipov
b9dc319a1e
File
(-> FileInfo
) refactoring
2023-05-17 15:41:18 +03:00
Kir_Antipov
49ccf5b5a2
Made a few FilePath
-like utility types
2023-05-17 15:38:21 +03:00
Kir_Antipov
3367d6a02d
This *generates* warnings for auto-*generated* content
...
*Did you get it?*
2023-05-17 15:35:47 +03:00
Kir_Antipov
cc3f33cdb2
Made a module focused on conversion
2023-05-17 15:33:21 +03:00
Kir_Antipov
9d7bf0f627
Moved sleep
and retry
to async-utils
...
Also, made a few more helper methods
2023-05-17 15:31:47 +03:00
Kir_Antipov
9ca1e9f0d9
Moved FailMode
to its own file
2023-05-17 15:29:47 +03:00
Kir_Antipov
64f717d127
Implemented Object
-like Enum
interface
2023-05-17 15:24:43 +03:00
Kir_Antipov
5fe6c0ba36
Implemented DynamicEnum
2023-05-17 15:23:26 +03:00
Kir_Antipov
a2288eeefa
Made a function to retrieve enum entries
2023-05-17 15:19:44 +03:00
Kir_Antipov
003f5fbab4
Made a function to retrieve enum values
2023-05-17 15:19:17 +03:00
Kir_Antipov
1d0d5c6cff
Made a function to retrieve enum keys
2023-05-17 15:12:25 +03:00
Kir_Antipov
1afbf2483e
Implemented enum descriptor instantiation logic
2023-05-17 15:09:26 +03:00
Kir_Antipov
41d4de590e
Implemented enum descriptor for string enums
2023-05-17 15:04:39 +03:00
Kir_Antipov
e16de98226
Implemented enum descriptor for boolean enums
2023-05-17 14:56:15 +03:00
Kir_Antipov
874b950fdf
Implemented enum descriptor for bigint enums
2023-05-17 14:55:42 +03:00
Kir_Antipov
6256d33db6
Implemented enum descriptor for number enums
2023-05-17 14:55:09 +03:00
Kir_Antipov
ccd4319b20
Made ImportDirective
for dynamic import purposes
2023-05-16 20:39:20 +03:00
Kir_Antipov
491aa11ac5
Made ModuleLoader
interface
...
And added 2 default implementations:
- `NODE_MODULE_LOADER` - uses `import` under the hood
- `DYNAMIC_MODULE_LOADER` - will be able to load modules needed in other parts of this project. Currently it's just a stub
2023-05-16 20:37:39 +03:00
Kir_Antipov
fd2975b30b
Implemented more reflection-specific helpers
2023-05-16 20:34:43 +03:00
Kir_Antipov
983cbac1f2
Typo: errors.ts
-> errors
2023-05-16 20:29:32 +03:00
Kir_Antipov
c566a4cfec
Implemented HttpError
2023-05-16 20:28:31 +03:00
Kir_Antipov
3f8d7d2115
Made SoftError
for recoverable errors
2023-05-16 20:26:09 +03:00
Kir_Antipov
3fe2a3fdc9
Made a helper method to check if an object is an error
2023-05-16 20:25:04 +03:00
Kir_Antipov
5892ef60d8
Implemented FileNotFoundError
2023-05-16 20:23:02 +03:00
Kir_Antipov
8f97d4aee6
Implemented ArgumentNullError
2023-05-16 20:21:45 +03:00
Kir_Antipov
ab8f3468ca
Implemented ArgumentError
2023-05-16 20:20:55 +03:00
Kir_Antipov
2243945d3a
Made a class that protects a string from being exposed
2023-05-16 20:17:23 +03:00
Kir_Antipov
fc0a818902
Made ArrayMap
and MultiMap
...
`ArrayMap` is a map implementation which can use custom equality comparers
`MultiMap` is mostly an alias for `Map<K, V[]>`, but with some extra methods
2023-05-16 20:09:20 +03:00
Kir_Antipov
bddf78c669
Made ArraySet
...
A set implementation which can use custom equality comparers
2023-05-16 20:07:37 +03:00
Kir_Antipov
97a17208b2
Implemented array-like methods for iterables
2023-05-16 20:06:09 +03:00
Kir_Antipov
af85b577f1
Made an interface for all key-value iterables out there
2023-05-16 20:02:22 +03:00
Kir_Antipov
d60d8f63f3
LoggingStopwatch
refactoring
2023-05-16 19:45:06 +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
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
7b75d612db
Now it's possible to create middlewares
2023-05-16 19:04:41 +03:00
Kir_Antipov
d263c15393
Added a possibility to make objects callable
2023-05-16 18:58:10 +03:00