Upgrade to Node.js 16.
This commit is contained in:
@@ -4,10 +4,10 @@ Generate a distribution.json for Helios. Documentation on this format can be fou
|
||||
|
||||
## Requirements
|
||||
|
||||
* Node.js 14
|
||||
* Java 16+ (https://adoptopenjdk.net/)
|
||||
* Node.js 16
|
||||
* Java 8+ (https://adoptopenjdk.net/)
|
||||
* This is required to run the forge installer, process [XZ](https://tukaani.org/xz/format.html) files, and run bytecode analysis on mod files.
|
||||
* Java 8 may not work for Forge 1.17+. Older versions do work with Java 16 (for nebula's purposes). This will be updated when Forge 1.17 is released.
|
||||
* Although 1.17 requires Java 16, the forge installer works with Java 8.
|
||||
|
||||
|
||||
### Notes
|
||||
@@ -29,9 +29,6 @@ BASE_URL=http://localhost:8080/
|
||||
HELIOS_DATA_FOLDER=C:\Users\user\AppData\Roaming\Helios Launcher
|
||||
```
|
||||
|
||||
It's recommended to use Java 16 as the executable. Minecraft 1.17 requires Java 16+, so the assumption is that the Forge installer for 1.17 will require Java 16.
|
||||
Java 8 may not work for 1.17+. This will be updated when we know definitively.
|
||||
|
||||
## Usage
|
||||
|
||||
Nebula is still being developed. Usage may change, but it has remained stable for some time now.
|
||||
|
||||
2960
package-lock.json
generated
2960
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
@@ -28,16 +28,16 @@
|
||||
"homepage": "https://github.com/dscalzi/Nebula#readme",
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"@types/luxon": "^2.0.4",
|
||||
"@types/luxon": "^2.0.5",
|
||||
"@types/minimatch": "^3.0.5",
|
||||
"@types/node": "^14.17.20",
|
||||
"@types/node": "^16.11.6",
|
||||
"@types/triple-beam": "^1.3.2",
|
||||
"@types/yargs": "^17.0.3",
|
||||
"@typescript-eslint/eslint-plugin": "^4.32.0",
|
||||
"@typescript-eslint/parser": "^4.32.0",
|
||||
"eslint": "^7.32.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.2.0",
|
||||
"@typescript-eslint/parser": "^5.2.0",
|
||||
"eslint": "^8.1.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"typescript": "^4.4.3"
|
||||
"typescript": "^4.4.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"dotenv": "^10.0.0",
|
||||
@@ -49,7 +49,7 @@
|
||||
"node-stream-zip": "^1.15.0",
|
||||
"toml": "^3.0.0",
|
||||
"triple-beam": "^1.3.0",
|
||||
"ts-json-schema-generator": "^0.95.0",
|
||||
"ts-json-schema-generator": "^0.96.0",
|
||||
"winston": "^3.3.3",
|
||||
"yargs": "^17.2.1"
|
||||
}
|
||||
|
||||
@@ -152,7 +152,7 @@ export class ForgeModStructure113 extends BaseForgeModStructure {
|
||||
try {
|
||||
const manifest = zip.entryDataSync('META-INF/MANIFEST.MF')
|
||||
const keys = manifest.toString().split('\n')
|
||||
this.logger.debug(keys)
|
||||
// this.logger.debug(keys)
|
||||
for (const key of keys) {
|
||||
const match = ForgeModStructure113.IMPLEMENTATION_VERSION_REGEX.exec(key)
|
||||
if (match != null) {
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
"compilerOptions": {
|
||||
/* Basic Options */
|
||||
// "incremental": true, /* Enable incremental compilation */
|
||||
"target": "ES2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
|
||||
"target": "ES2021", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
|
||||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
||||
"lib": ["ES2019"], /* Specify library files to be included in the compilation. */
|
||||
"lib": ["ES2021"], /* Specify library files to be included in the compilation. */
|
||||
// "allowJs": true, /* Allow javascript files to be compiled. */
|
||||
// "checkJs": true, /* Report errors in .js files. */
|
||||
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
||||
|
||||
Reference in New Issue
Block a user