-
-
Notifications
You must be signed in to change notification settings - Fork 95
Rewrite of MCLC #124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
PadowYT2
wants to merge
98
commits into
Pierce01:master
Choose a base branch
from
CreateLumina:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Rewrite of MCLC #124
Changes from 38 commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
7efae84
Testing conditions
PadowYT2 d2bc16f
Multiple initial changes
PadowYT2 998eab9
Add progress to testing
PadowYT2 db98c90
components -> src
PadowYT2 16aa00b
[AUTH] Rewrite request into axios
PadowYT2 1a66368
Finish rewriting request into axios
PadowYT2 f30266a
Remove the need for checksum package
PadowYT2 1fa2d38
Fully remove checksum
PadowYT2 d6652d3
Support ESM (WIP, need to convert into TS to support both)
PadowYT2 57237b0
Preparations for rewriting to TS
PadowYT2 4f6b2f0
[WIP] Recode into TS
PadowYT2 273c0d2
'config' is never reassigned
PadowYT2 57232bc
Fix logging
PadowYT2 c054a07
Fixed some things about the memory
PadowYT2 946e95d
Update handler.ts
PadowYT2 86d1775
Unbundle launch to install and start
PadowYT2 0db2b49
Fix having MC the MCLC prefix
PadowYT2 72458b9
Fix MC not properly downloading natives on Windows
PadowYT2 f8cff87
Bring back java check
PadowYT2 84f6cef
Uncomment this also
PadowYT2 70f518c
[WIP] Forge installer
PadowYT2 73f6e0b
[WIP] Forge instlaler
PadowYT2 d69c475
Remove forge mod loader
PadowYT2 c8bdb0e
Finish all mod loaders (except Neoforge)
PadowYT2 2cd8142
Some outside of code changes
PadowYT2 e501da1
Remove cheerio
PadowYT2 0831ef5
Remove Java check on installation
PadowYT2 65e52b2
Vanilla testing
PadowYT2 6dffaab
Whoops
PadowYT2 7d1ba38
Legacy and modern versions testing
PadowYT2 5bf5608
Change imports of config
PadowYT2 66b92ec
Remove tests from tsconfig
PadowYT2 27929b7
[WIP] Fix types (not working)
PadowYT2 2645cf5
Save for later to rework on
PadowYT2 ca0d10d
Finish the rewrite
PadowYT2 29e7976
Merge remote-tracking branch 'upstream/master'
PadowYT2 c30b022
v3.19.0
PadowYT2 ded6c3e
Formatting
PadowYT2 4561da6
Remove JSX from ESLint (accidentally added)
PadowYT2 08dd92b
Use .cjs instead of .js for ESLint
PadowYT2 aa39916
[WIP] Rework on the config system
PadowYT2 df8bb42
[WIP] Use vitest instead of Jest
PadowYT2 aaad53d
Clean build folder via an another way
PadowYT2 b03e729
PascalCase
PadowYT2 cb2d0d9
No usage of ! and use Infinity by default for maxSockets
PadowYT2 300d5c2
Remake the exporting of `offline`
PadowYT2 b0c3476
Use `${number}M/G` as a type for memory
PadowYT2 a57480c
Enforce OS type
PadowYT2 659f680
Remove user_properties
PadowYT2 c83c898
Unbundle types
PadowYT2 d5c44c4
Formatting
PadowYT2 f32590d
Usage of custom paths
PadowYT2 6abbb99
Formatting
PadowYT2 12ad5d7
Remove useless counter
PadowYT2 ffc0eff
Undo: Remove useless counter
PadowYT2 11e9f39
Use a class for the Counter
PadowYT2 bce319c
Remove the need to cache the version
PadowYT2 92a700e
[WIP] FileDownloader
PadowYT2 5686051
Fix retry and return a promise
PadowYT2 c879644
Move first forge library into a constant
PadowYT2 38b04bb
Fix importing the library
PadowYT2 72c4fa3
[WIP] Fix (sort of) the FileDownloader
PadowYT2 8c66591
Remove FileDownloader
PadowYT2 a177e14
Remake the custom paths
PadowYT2 76d8370
Use rimraf
PadowYT2 f4e21e8
Use prebuild instead of clean
PadowYT2 b645713
Refactor on README.md
PadowYT2 d4ded9c
Make use of classes again. Finish configuration
PadowYT2 0cd50ad
Adapt README to the latest commit
PadowYT2 56dfa20
[WIP] Create a workflow
PadowYT2 a77c7a1
Formatting
PadowYT2 d26fcbe
Bump workflow's NodeJS version to v18
PadowYT2 3f56679
Bump NodeJS from v16 to v18
PadowYT2 5f78c09
Move workflow runner into the repository's folder
PadowYT2 3b10c39
Fix workflows
PadowYT2 852e6c6
Update tests.yml
PadowYT2 28abaf4
Fully fix workflows (looks cluttered, need help)
PadowYT2 1a8c3a0
Setup Java
PadowYT2 3a2017b
Testing
PadowYT2 bb0e72d
Fix workflows for the last time
PadowYT2 04a024c
Add workflow badge to README
PadowYT2 b62558d
Rewrite handler to a class (+fixing config)
PadowYT2 e184a90
Testing
PadowYT2 73d39e9
Update tests.yml
PadowYT2 8d46b98
More testing
PadowYT2 a17fb2c
Launch MC manually
PadowYT2 1e7d6ca
-Dfml.earlyprogresswindow=false
PadowYT2 204bd71
Testing -Dorg.lwjgl.glfw.libname=glfw_wayland
PadowYT2 d20479b
Finish with workflows
PadowYT2 7086871
Remove unused imports
PadowYT2 2125f3e
Proper LICENSE update
PadowYT2 652392b
Remove deleted file from .eslintignore
PadowYT2 5257928
Remove browser env in ESLint config
PadowYT2 80e9e4c
Comment in .gitignore
PadowYT2 80242d2
Remove JSX from Prettier config
PadowYT2 7ecba63
Remove unused type and add default for maxSockets
PadowYT2 3b330b1
Array<string> -> string[]
PadowYT2 9afafe0
forgot about this 1
PadowYT2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| jest.config.ts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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, | ||
PadowYT2 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| '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' }], | ||
| }, | ||
| }; | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| .github/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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"] | ||
| } |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.