Add initial minecraft-java-manager scaffold

Initial project scaffold for minecraft-java-manager. Adds package.json and package-lock.json, README update, index.js entrypoint and test.js. Introduces src modules: checker (detects Java version), installer (downloads JRE components with redirects, SHA1 validation, progress/events and concurrency), web (fetches launcher/runtime manifests and component data), systeminfo (platform key and install path resolution) and config (endpoints). Declares dependencies adm-zip and node-downloader-helper.
This commit is contained in:
2026-09-06 03:58:25 +02:00
parent 8750661f49
commit e9bc3807ae
10 changed files with 516 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"name": "minecraft-java-manager",
"version": "0.0.1",
"description": "Node module to check if java is installed and install it",
"repository": {
"type": "git",
"url": "https://gitea.azures.fr/azures04/minecraft-java-manager"
},
"license": "MIT",
"author": {
"name": "azures04",
"url": "https://gitea.azures.fr",
"email": "azures04@azures.fr"
},
"type": "commonjs",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"adm-zip": "^0.6.0",
"node-downloader-helper": "^2.1.11"
}
}