Commit Graph

19 Commits

Author SHA1 Message Date
jebibot
76ab09a010 feat: support Fabric (#66)
* Initial scaffolding for Fabric.

* refactor: extract common ModStructure

* feat: add FabricModStructure

* refactor: add name field to VersionRepoStructure

* feat: FabricResolver

* feat: support Fabric

* docs: update README

* Small changes.

* Add additional note.

* Upgrade helios-distribution-types.

---------

Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com>
2023-12-03 17:37:14 -05:00
Daniel Scalzi
1a537e33f4 Allow setting the server icon via servermeta.json.
Closes #39 #44
2023-08-13 19:59:50 -04:00
Daniel Scalzi
11f8a72e8a Update linter, dependencies. 2023-08-13 19:15:35 -04:00
GeekCornerGH
3ec535de53 feat: 1.20 support and allow versions without patch number 2023-06-25 00:09:01 -04:00
Daniel Scalzi
4fd0a76d77 Add support for Java options. (#59) 2023-03-19 22:33:49 -04:00
Daniel Scalzi
6b2d9edf26 Add command to generate server from CurseForge modpack. 2023-03-18 17:26:35 -04:00
Daniel Scalzi
b55b7af689 Convert project to ESM (#58)
* Convert to ESM, enforce file single naming convention.

* Update fs-extra esm usage.

* Fix minimatch import.

* fixes

* triple-beam issue is finally fixed.
2023-03-17 19:53:27 -04:00
Daniel Scalzi
f9041a6dfc Log which file caused zip analysis failure, upgrade claritas. 2023-02-04 18:03:30 -05:00
Daniel Scalzi
5111e29512 1.17+ Support / Java Settings by Instance (#50)
* Initial 1.17 configuration, dep upgrade.

* Enable 1.18 for initial tests.

* Add lowcodelanguage for 1.18 (#49)

* Set classpath flag for 1.17+ generated files. Enable 1.19 (not yet working).

* Support 1.19.

Co-authored-by: Matt Artist <me@mja00.dev>
2022-11-27 18:01:48 -05:00
Daniel Scalzi
2f143d74a7 Drop support for LiteLoader.
Liteloader is obsolete and abandoned. It is not worth the hassle of maintenance.
2022-02-04 19:17:17 -05:00
Daniel Scalzi
640f3f0507 Add security warning. 2021-12-10 16:11:39 -05:00
Daniel Scalzi
e97ac9bfad Upgrade to Node.js 16. 2021-10-31 02:38:16 -04:00
Daniel Scalzi
362bbc1d83 Ignore .gitkeep, remove deprecated url.resolve(), update dependencies (resolves #25). 2021-04-06 17:34:06 -04:00
Daniel Scalzi
3f90a22972 Add output caching for Forge 1.13+.
CHANGES
 - Forge installer is no longer stored to the work directory. It is now stored in a cache folder corresponding to the artifact version.
 - Installer output is now cached by default
 - Added options to generate distro.
   - --discardOutput Delete cached output after it is no longer required. May be useful if disk space is limited.
   - --invalidateCache Invalidate and delete existing caches as they are encountered. Requires fresh cache generation.
   - Both options are false by default.
 - To invalide a single version, manually delete the folder.
 - Old functionality is essentially g distro --discardOutput --invalidateCache.
2021-03-20 16:28:12 -04:00
Daniel Scalzi
2540ca383e Update deps, enforce return type. 2021-03-20 15:07:15 -04:00
Daniel Scalzi
9ead2ca219 Support Typescript 4.1, dependency upgrade. 2020-11-28 15:23:42 -05:00
Daniel Scalzi
42e47f4748 Add JSON schemas for DistroMeta and ServerMeta.
JSON schemas are used by editors to validate data and provide useful insights.
The JSON schemas will be generated by the init root command. They can also be generated
using the generate schemas command.

The JSON files will reference the schemas on the user's local disk rather than hosted versions.
This allows offline editing and ensures that the schema is exactly one-to-one with the local
version of Nebula.

Existing servers will have to manually add the schema property. To see how to do this, generate
a new server and copy the $\schema value.
The schema property will need to be added to any existing distrometa files. This is the same
format as the server meta, just replace ServerMeta with DistroMeta.

More information, including sample files with json schemas, is provided
on the README.
2020-09-13 01:06:50 -04:00
Daniel Scalzi
24b0923903 Add support for untracked files.
Untracked file glob patterns are stored in the servermeta.json. See the README for detailed information.
2020-09-12 22:46:50 -04:00
Daniel Scalzi
1a19df0e93 Move struct out of model folder. 2020-09-12 20:14:18 -04:00