Commit Graph

115 Commits

Author SHA1 Message Date
Daniel Scalzi
6b2d9edf26 Add command to generate server from CurseForge modpack. 2023-03-18 17:26:35 -04:00
Daniel Scalzi
71c2e9baa0 Fix git casing, esm bug. 2023-03-18 16:56:10 -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
82967469e9 Node 18. 2023-02-12 19:11:46 -05:00
Daniel Scalzi
f9041a6dfc Log which file caused zip analysis failure, upgrade claritas. 2023-02-04 18:03:30 -05:00
Daniel Scalzi
530d47539b Fail with a more useful error message if the forge installer was not run correctly. 2023-01-16 21:46:09 -05:00
Daniel Scalzi
4aeb570541 Dependency upgrade. 2023-01-15 11:25:21 -05:00
Daniel Scalzi
50fc6a97a4 Fix version comparison logic. 2023-01-03 19:46:31 -05:00
Daniel Scalzi
41a4e7fdcb Dependency upgrade. 2022-12-26 15:13:36 -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
ad6db8c3d3 Dependency upgrade. 2022-07-29 11:56:45 -04:00
Daniel Scalzi
8c224e3e39 Dependency upgrade. 2022-04-03 16:02:49 -04:00
Daniel Scalzi
77a118125b Update dependencies. 2022-03-25 15:15:22 -04:00
Daniel Scalzi
c044535091 Dependency upgrade. 2022-02-11 16:20:17 -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
f70c7b6802 Update Claritas - Do not fail when mod's entrypoint is in the default package.
Resolves https://github.com/dscalzi/Nebula/issues/41
2022-01-23 13:54:34 -05:00
Daniel Scalzi
7f71b97526 Lift security warning for 1.7-1.11 as per Forge guidance. 2022-01-21 17:02:45 -05:00
Daniel Scalzi
2e977e1e2d Add fs alias for faststart, dependency upgrade. 2022-01-21 16:00:43 -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
b0f0f02cf9 Update Java executable example in README due to AdoptOpenJDK name change. 2021-10-13 13:42:23 -04:00
Daniel Scalzi
5b0b9fb4fe Fix claritas failure with module-info.
Resolves https://github.com/dscalzi/Nebula/issues/35
2021-09-30 12:07:36 -04:00
Daniel Scalzi
62695ce996 Full upgrade. 2021-09-28 21:34:04 -04:00
Daniel Scalzi
f612e0e89f Fix upgrade bug. 2021-09-28 21:28:19 -04:00
Daniel Scalzi
3656bf52e4 Dependency upgrade. 2021-09-28 21:26:54 -04:00
Daniel Scalzi
aeda32cf02 Update claritas. 2021-09-28 21:22:04 -04:00
Daniel Scalzi
57c376e78c Add note about Java 16. 2021-06-30 20:15:21 -04:00
dependabot[bot]
c873d63a54 Bump color-string from 1.5.4 to 1.5.5 (#31)
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/compare/1.5.4...1.5.5)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-24 18:23:48 -04:00
Daniel Scalzi
70bc6b8d5e Upgrade dependencies and java libs. 2021-06-24 18:21:02 -04:00
Daniel Scalzi
b1196dbb3e Dependency upgrade. 2021-06-11 22:47:44 -04:00
Daniel Scalzi
bc3367af28 Dep upgrade. 2021-04-27 20:05:40 -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
07ea0e8b98 Update dependencies. 2021-03-07 10:51:51 -05:00
Daniel Scalzi
5c9e44db91 Alias to run the project without building. Dependency upgrade. 2021-02-19 17:41:36 -05:00
Daniel Scalzi
9ead2ca219 Support Typescript 4.1, dependency upgrade. 2020-11-28 15:23:42 -05:00
Daniel Scalzi
0d46a529fc Node 14, dependency upgrade.
Node 14 is now LTS, so we'll use that.
2020-11-01 17:22:53 -05:00
Daniel Scalzi
28cb5a3d52 Dependency upgrade, replace moment with luxon. 2020-10-14 23:21:20 -04:00
Daniel Scalzi
b6cb191aca Update Claritas, dependencies. 2020-10-01 21:30:39 -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
Daniel Scalzi
cd7b4d8abc Tweak logging levels. 2020-09-07 17:08:37 -04:00
Daniel Scalzi
7c099f749d Claritas now reports MOD, CORE_MOD, TWEAKER, or UNKNOWN for ForgeMods 1.12-. 2020-09-05 18:52:44 -04:00
Daniel Scalzi
59d3744f56 Sort forgemods by file name to control load order. 2020-09-05 00:01:36 -04:00
Daniel Scalzi
d2e317b4df Replace axios with got, check for empty version in forgemod meta. 2020-09-04 23:29:36 -04:00
Daniel Scalzi
f287388931 Pass arguments to Claritas via an argFile to bypass cli length limits. (#16) 2020-08-02 16:01:04 -04:00
Daniel Scalzi
0e83a071d7 Update claritas integration to support large result sets.
The output is now pulled from a json file.
2020-07-18 00:41:46 -04:00
Daniel Scalzi
0ac31e5eb7 Move claritas invocation to separate function, clean versions in Claritas. 2020-07-16 20:26:22 -04:00