Skip to content
Open
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
7efae84
Testing conditions
PadowYT2 Feb 27, 2024
d2bc16f
Multiple initial changes
PadowYT2 Feb 27, 2024
998eab9
Add progress to testing
PadowYT2 Feb 27, 2024
db98c90
components -> src
PadowYT2 Feb 27, 2024
16aa00b
[AUTH] Rewrite request into axios
PadowYT2 Feb 27, 2024
1a66368
Finish rewriting request into axios
PadowYT2 Feb 27, 2024
f30266a
Remove the need for checksum package
PadowYT2 Feb 28, 2024
1fa2d38
Fully remove checksum
PadowYT2 Feb 28, 2024
d6652d3
Support ESM (WIP, need to convert into TS to support both)
PadowYT2 Feb 28, 2024
57237b0
Preparations for rewriting to TS
PadowYT2 Feb 28, 2024
4f6b2f0
[WIP] Recode into TS
PadowYT2 Feb 29, 2024
273c0d2
'config' is never reassigned
PadowYT2 Feb 29, 2024
57232bc
Fix logging
PadowYT2 Feb 29, 2024
c054a07
Fixed some things about the memory
PadowYT2 Feb 29, 2024
946e95d
Update handler.ts
PadowYT2 Feb 29, 2024
86d1775
Unbundle launch to install and start
PadowYT2 Feb 29, 2024
0db2b49
Fix having MC the MCLC prefix
PadowYT2 Feb 29, 2024
72458b9
Fix MC not properly downloading natives on Windows
PadowYT2 Mar 1, 2024
f8cff87
Bring back java check
PadowYT2 Mar 1, 2024
84f6cef
Uncomment this also
PadowYT2 Mar 1, 2024
70f518c
[WIP] Forge installer
PadowYT2 Mar 1, 2024
73f6e0b
[WIP] Forge instlaler
PadowYT2 Mar 4, 2024
d69c475
Remove forge mod loader
PadowYT2 Mar 5, 2024
c8bdb0e
Finish all mod loaders (except Neoforge)
PadowYT2 Mar 6, 2024
2cd8142
Some outside of code changes
PadowYT2 Mar 8, 2024
e501da1
Remove cheerio
PadowYT2 Mar 8, 2024
0831ef5
Remove Java check on installation
PadowYT2 Mar 8, 2024
65e52b2
Vanilla testing
PadowYT2 Mar 8, 2024
6dffaab
Whoops
PadowYT2 Mar 8, 2024
7d1ba38
Legacy and modern versions testing
PadowYT2 Mar 9, 2024
5bf5608
Change imports of config
PadowYT2 Mar 9, 2024
66b92ec
Remove tests from tsconfig
PadowYT2 Mar 9, 2024
27929b7
[WIP] Fix types (not working)
PadowYT2 Mar 9, 2024
2645cf5
Save for later to rework on
PadowYT2 Mar 11, 2024
ca0d10d
Finish the rewrite
PadowYT2 Mar 11, 2024
29e7976
Merge remote-tracking branch 'upstream/master'
PadowYT2 Mar 11, 2024
c30b022
v3.19.0
PadowYT2 Mar 11, 2024
ded6c3e
Formatting
PadowYT2 Mar 11, 2024
4561da6
Remove JSX from ESLint (accidentally added)
PadowYT2 Mar 12, 2024
08dd92b
Use .cjs instead of .js for ESLint
PadowYT2 Mar 12, 2024
aa39916
[WIP] Rework on the config system
PadowYT2 Mar 12, 2024
df8bb42
[WIP] Use vitest instead of Jest
PadowYT2 Mar 12, 2024
aaad53d
Clean build folder via an another way
PadowYT2 Mar 12, 2024
b03e729
PascalCase
PadowYT2 Mar 12, 2024
cb2d0d9
No usage of ! and use Infinity by default for maxSockets
PadowYT2 Mar 12, 2024
300d5c2
Remake the exporting of `offline`
PadowYT2 Mar 12, 2024
b0c3476
Use `${number}M/G` as a type for memory
PadowYT2 Mar 12, 2024
a57480c
Enforce OS type
PadowYT2 Mar 12, 2024
659f680
Remove user_properties
PadowYT2 Mar 12, 2024
c83c898
Unbundle types
PadowYT2 Mar 12, 2024
d5c44c4
Formatting
PadowYT2 Mar 12, 2024
f32590d
Usage of custom paths
PadowYT2 Mar 12, 2024
6abbb99
Formatting
PadowYT2 Mar 12, 2024
12ad5d7
Remove useless counter
PadowYT2 Mar 12, 2024
ffc0eff
Undo: Remove useless counter
PadowYT2 Mar 12, 2024
11e9f39
Use a class for the Counter
PadowYT2 Mar 12, 2024
bce319c
Remove the need to cache the version
PadowYT2 Mar 12, 2024
92a700e
[WIP] FileDownloader
PadowYT2 Mar 12, 2024
5686051
Fix retry and return a promise
PadowYT2 Mar 12, 2024
c879644
Move first forge library into a constant
PadowYT2 Mar 12, 2024
38b04bb
Fix importing the library
PadowYT2 Mar 16, 2024
72c4fa3
[WIP] Fix (sort of) the FileDownloader
PadowYT2 Mar 21, 2024
8c66591
Remove FileDownloader
PadowYT2 Apr 6, 2024
a177e14
Remake the custom paths
PadowYT2 Apr 6, 2024
76d8370
Use rimraf
PadowYT2 Apr 6, 2024
f4e21e8
Use prebuild instead of clean
PadowYT2 Apr 6, 2024
b645713
Refactor on README.md
PadowYT2 Apr 6, 2024
d4ded9c
Make use of classes again. Finish configuration
PadowYT2 Apr 22, 2024
0cd50ad
Adapt README to the latest commit
PadowYT2 Apr 22, 2024
56dfa20
[WIP] Create a workflow
PadowYT2 Apr 22, 2024
a77c7a1
Formatting
PadowYT2 Apr 22, 2024
d26fcbe
Bump workflow's NodeJS version to v18
PadowYT2 Apr 22, 2024
3f56679
Bump NodeJS from v16 to v18
PadowYT2 Apr 22, 2024
5f78c09
Move workflow runner into the repository's folder
PadowYT2 Apr 22, 2024
3b10c39
Fix workflows
PadowYT2 Apr 22, 2024
852e6c6
Update tests.yml
PadowYT2 Apr 22, 2024
28abaf4
Fully fix workflows (looks cluttered, need help)
PadowYT2 Apr 22, 2024
1a8c3a0
Setup Java
PadowYT2 Apr 22, 2024
3a2017b
Testing
PadowYT2 Apr 22, 2024
bb0e72d
Fix workflows for the last time
PadowYT2 Apr 22, 2024
04a024c
Add workflow badge to README
PadowYT2 Apr 22, 2024
b62558d
Rewrite handler to a class (+fixing config)
PadowYT2 May 7, 2024
e184a90
Testing
PadowYT2 May 7, 2024
73d39e9
Update tests.yml
PadowYT2 May 7, 2024
8d46b98
More testing
PadowYT2 May 7, 2024
a17fb2c
Launch MC manually
PadowYT2 May 7, 2024
1e7d6ca
-Dfml.earlyprogresswindow=false
PadowYT2 May 7, 2024
204bd71
Testing -Dorg.lwjgl.glfw.libname=glfw_wayland
PadowYT2 May 7, 2024
d20479b
Finish with workflows
PadowYT2 May 7, 2024
7086871
Remove unused imports
PadowYT2 May 7, 2024
2125f3e
Proper LICENSE update
PadowYT2 Jun 11, 2024
652392b
Remove deleted file from .eslintignore
PadowYT2 Jun 11, 2024
5257928
Remove browser env in ESLint config
PadowYT2 Jun 12, 2024
80e9e4c
Comment in .gitignore
PadowYT2 Jun 12, 2024
80242d2
Remove JSX from Prettier config
PadowYT2 Jun 12, 2024
7ecba63
Remove unused type and add default for maxSockets
PadowYT2 Jun 12, 2024
3b330b1
Array<string> -> string[]
PadowYT2 Jun 12, 2024
9afafe0
forgot about this 1
PadowYT2 Aug 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jest.config.ts
27 changes: 27 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: {
jsx: true,
},
project: './tsconfig.json',
tsconfigRootDir: './',
},
env: {
browser: true,
es6: true,
},
plugins: ['prettier', '@typescript-eslint'],
extends: ['plugin:prettier/recommended', 'eslint:recommended', 'plugin:@typescript-eslint/recommended'],
rules: {
eqeqeq: 'error',
'prettier/prettier': ['error', {}, { usePrettierrc: true }],
'@typescript-eslint/no-explicit-any': 0,
'no-use-before-define': 0,
'@typescript-eslint/no-use-before-define': 'warn',
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/ban-ts-comment': ['error', { 'ts-expect-error': 'allow-with-description' }],
},
};
21 changes: 0 additions & 21 deletions .eslintrc.json

This file was deleted.

12 changes: 0 additions & 12 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
# These are supported funding model platforms

github: Pierce01
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ bower_components
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
build/

# Dependency directories
node_modules/
Expand Down Expand Up @@ -64,4 +64,6 @@ typings/
.vscode/

# IntelliJ Files
.idea/
.idea/

minecraft/
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.github/
10 changes: 10 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"printWidth": 120,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": true,
"endOfLine": "lf",
"plugins": ["@ianvs/prettier-plugin-sort-imports"]
}
2 changes: 0 additions & 2 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Pierce Harriz
Copyright (c) 2024 Pierce Harriz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
298 changes: 125 additions & 173 deletions README.md

Large diffs are not rendered by default.

168 changes: 0 additions & 168 deletions components/authenticator.js

This file was deleted.

Loading