Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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