Upgrade to Node.js 20.
This commit is contained in:
12
README.md
12
README.md
@@ -4,17 +4,11 @@ Generate a distribution.json for Helios. Documentation on this format can be fou
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* Node.js 18
|
* Node.js 20
|
||||||
* Java 8+ (https://adoptopenjdk.net/)
|
* Java 8+ (https://adoptium.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.
|
* This is required to run the forge installer, process [XZ](https://tukaani.org/xz/format.html) files, and run bytecode analysis on mod files.
|
||||||
* Although 1.17 requires Java 16, the forge installer works with Java 8.
|
* Although 1.17 requires Java 16, the forge installer works with Java 8.
|
||||||
|
|
||||||
|
|
||||||
### Notes
|
|
||||||
|
|
||||||
* Nebula is not 100% complete. Unfinished items are listed on the [TODO list](https://github.com/dscalzi/Nebula/issues/2).
|
|
||||||
* Currently only supports creating Forge based servers. Vanilla support will be added when Helios v2 is complete.
|
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
1. Clone the repository
|
1. Clone the repository
|
||||||
@@ -23,7 +17,7 @@ Generate a distribution.json for Helios. Documentation on this format can be fou
|
|||||||
|
|
||||||
Example
|
Example
|
||||||
```properties
|
```properties
|
||||||
JAVA_EXECUTABLE=C:\Program Files\Eclipse Foundation\jdk-17.0.0.35-hotspot\bin\java.exe
|
JAVA_EXECUTABLE=C:\Program Files\Eclipse Adoptium\jdk-17.0.9.9-hotspot\bin\java.exe
|
||||||
ROOT=D:\TestRoot2
|
ROOT=D:\TestRoot2
|
||||||
BASE_URL=http://localhost:8080/
|
BASE_URL=http://localhost:8080/
|
||||||
HELIOS_DATA_FOLDER=C:\Users\user\AppData\Roaming\Helios Launcher
|
HELIOS_DATA_FOLDER=C:\Users\user\AppData\Roaming\Helios Launcher
|
||||||
|
|||||||
477
package-lock.json
generated
477
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
19
package.json
19
package.json
@@ -11,7 +11,7 @@
|
|||||||
"start": "npm run build && node dist/index.js",
|
"start": "npm run build && node dist/index.js",
|
||||||
"fs": "node dist/index.js",
|
"fs": "node dist/index.js",
|
||||||
"faststart": "node dist/index.js",
|
"faststart": "node dist/index.js",
|
||||||
"lint": "eslint . --ext .js,.ts"
|
"lint": "eslint ."
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -30,27 +30,28 @@
|
|||||||
"homepage": "https://github.com/dscalzi/Nebula#readme",
|
"homepage": "https://github.com/dscalzi/Nebula#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "^11.0.4",
|
"@types/fs-extra": "^11.0.4",
|
||||||
"@types/luxon": "^3.3.6",
|
"@types/luxon": "^3.4.2",
|
||||||
"@types/node": "^18.19.2",
|
"@types/node": "^20.11.19",
|
||||||
"@types/triple-beam": "^1.3.5",
|
"@types/triple-beam": "^1.3.5",
|
||||||
"@types/yargs": "^17.0.32",
|
"@types/yargs": "^17.0.32",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
||||||
"@typescript-eslint/parser": "^6.13.1",
|
"@typescript-eslint/parser": "^7.0.2",
|
||||||
"eslint": "^8.55.0",
|
"eslint": "^8.55.0",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"typescript": "^5.3.2"
|
"typescript": "^5.3.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dotenv": "^16.3.1",
|
"dotenv": "^16.4.5",
|
||||||
"fs-extra": "^11.2.0",
|
"fs-extra": "^11.2.0",
|
||||||
"got": "^13.0.0",
|
"got": "^14.2.0",
|
||||||
"helios-distribution-types": "^1.3.0",
|
"helios-distribution-types": "^1.3.0",
|
||||||
"luxon": "^3.4.4",
|
"luxon": "^3.4.4",
|
||||||
"minimatch": "^9.0.3",
|
"minimatch": "^9.0.3",
|
||||||
"node-stream-zip": "^1.15.0",
|
"node-stream-zip": "^1.15.0",
|
||||||
"toml": "^3.0.0",
|
"toml": "^3.0.0",
|
||||||
"triple-beam": "^1.4.1",
|
"triple-beam": "^1.4.1",
|
||||||
"ts-json-schema-generator": "^1.4.1",
|
"ts-json-schema-generator": "^1.5.0",
|
||||||
|
"typescript-eslint": "^7.0.2",
|
||||||
"winston": "^3.11.0",
|
"winston": "^3.11.0",
|
||||||
"yargs": "^17.7.2"
|
"yargs": "^17.7.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"module": "Node16",
|
"module": "Node16",
|
||||||
"lib": ["ES2022"],
|
"lib": ["ES2022", "DOM"],
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user