Commit graph

86 commits

Author SHA1 Message Date
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
347040cd63 Build 2022-05-31 21:18:28 +03:00
Kir_Antipov
502079d537 Bump version 2022-05-31 21:18:03 +03:00
Kir_Antipov
0974005f32 Bump deps 2022-05-31 21:17:20 +03:00
Kir_Antipov
218cc98461 Not so quick quickfix of #6
Closes #6
2022-05-31 21:11:04 +03:00
Kir_Antipov
7518e3b7f8 README update 2022-01-12 19:13:42 +03:00
Kir_Antipov
714640b5e5 Fixed tests 2022-01-12 18:57:24 +03:00
Kir_Antipov
1daa7e09c2 Build 2022-01-12 18:27:38 +03:00
Kir_Antipov
de2572ad95 Bump version 2022-01-12 18:24:55 +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
6b37db6f29 Build 2021-12-11 16:00:14 +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
8c7eeb8fd9 Replaced deprecated Buffer constructor with Buffer.from 2021-12-11 14:41:30 +03:00
Kir_Antipov
bbe6c59888 Bump version 2021-12-11 04:10:14 +03:00
Kir_Antipov
9fe56c6406 INPUT_CHANGELOG_FILE exists for some weird reason 2021-12-11 03:18:04 +03:00
Kir_Antipov
7a8b3f6b81 Made aliases for special case dependencies like fabric 2021-12-11 00:12:31 +03:00
Kir_Antipov
7e5abb93bd Special case dependencies are ignored by default
(minecraft, java, fabricloader, forge, etc)
2021-12-10 17:46:10 +03:00
Kir_Antipov
ba6a460468 Fixed CI 2021-12-10 17:08:12 +03:00
Kir_Antipov
0eea0ed873 The action won't try to publish assets if no token was specified
Fixes #2
2021-12-10 17:00:43 +03:00
Kir_Antipov
eee3b8d067 README update 2021-12-10 16:46:09 +03:00
Kir_Antipov
6e417e8ee2 CurseForgePublisher makes use of relations now
I hope so...
2021-12-08 16:44:57 +03:00
Kir_Antipov
5e7fd885b0 ModPublisher can use mod metadata now 2021-12-08 16:42:53 +03:00
Kir_Antipov
7cc4b5d26f Covered ModMetadataReader with tests 2021-12-07 22:00:58 +03:00
Kir_Antipov
ac79549091 Excluded *.json and *.toml from ESLint 2021-12-07 21:58:45 +03:00
Kir_Antipov
9effd57e82 Covered ModMetadataReaderFactory with tests 2021-12-07 21:58:09 +03:00
Kir_Antipov
81b2d3df85 Covered DependencyKind with tests 2021-12-07 21:57:46 +03:00
Kir_Antipov
cb76b6f43f Implemented ModMetadataReader for Forge mods 2021-12-07 21:57:22 +03:00
Kir_Antipov
ddc460484e Implemented ModMetadata for Forge 2021-12-07 21:53:53 +03:00
Kir_Antipov
05a29057ca Implemented ModMetadataReader for Fabric mods 2021-12-07 21:53:08 +03:00
Kir_Antipov
a63e0b697d Made ModMetadata implementation for Fabric 2021-12-07 21:52:26 +03:00
Kir_Antipov
0530a4b597 Made base class for dependencies described in configs 2021-12-07 21:50:15 +03:00
Kir_Antipov
8937a5c943 Made base class for config-based metadata 2021-12-07 21:49:28 +03:00
Kir_Antipov
ef28fbd8f5 Made base class for metadata readers that deal with zip 2021-12-07 21:48:52 +03:00
Kir_Antipov
4151c36500 Chained all known ModMetadataReaders 2021-12-07 21:42:49 +03:00
Kir_Antipov
0844ce3a92 Implemented factory for ModMetadataReaders 2021-12-07 21:40:57 +03:00
Kir_Antipov
98e5542fe5 Made interface for metadata readers 2021-12-07 21:37:21 +03:00
Kir_Antipov
bd5a30326c Made interface that describes mod metadata 2021-12-07 21:35:41 +03:00
Kir_Antipov
428bc335e9 Made Dependency interface 2021-12-07 21:35:03 +03:00
Kir_Antipov
f6c5dfd62b Added enum that describes dependency kinds 2021-12-07 21:34:24 +03:00
Kir_Antipov
59f286e65e Made enum that describes different mod loaders 2021-12-07 21:32:27 +03:00
Kir_Antipov
184c337d90 Enabled importing .json files 2021-12-07 21:16:10 +03:00
Kir_Antipov
07fccebe08 Moved File to file.ts, made version-utils.ts 2021-12-06 16:07:13 +03:00
Kir_Antipov
ffa0520996 Moved publishers to corresponding subfolders 2021-12-06 16:02:50 +03:00
Kir_Antipov
90929a7f48 Made method that parses Minecraft version
...from version name
2021-12-06 15:52:15 +03:00
Kir_Antipov
dc7721454f Build 2021-10-01 16:38:36 +03:00
Kir_Antipov
9d1349e44e Updated dependencies 2021-10-01 16:38:16 +03:00
Kir_Antipov
03f14a9350 Bump version 2021-10-01 16:36:32 +03:00
Kir_Antipov
28b0fcda55 name can be omitted with an empty string 2021-10-01 16:35:51 +03:00