Skip to content
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

Feature: Package API #75

Merged
merged 67 commits into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
c7de9db
feat: Start work on package api
LynithDev Aug 4, 2024
3be3cdc
feat: Browser Context Controller
LynithDev Aug 4, 2024
622f17a
chore: Merge main branch
LynithDev Aug 17, 2024
060b393
feat: Add packages to cluster metadata
LynithDev Aug 18, 2024
951930d
chore: Merge main branch
LynithDev Aug 18, 2024
d221341
🐛 fix: format
LynithDev Aug 18, 2024
628e4ed
🔨 feat: Add more functions wrapping around Modrinth
LynithDev Aug 18, 2024
2eb846d
🔨 feat: Start working on browser frontend
LynithDev Aug 18, 2024
63d9915
Merge remote-tracking branch 'origin/main' into feat/package_api
LynithDev Aug 19, 2024
d8812f6
🔨 chore: Merge main
LynithDev Aug 19, 2024
750aa66
feat: BrowserPackage work + markdown support
LynithDev Aug 19, 2024
0d3139e
🐛 fix: merge
pauliesnug Aug 20, 2024
a92d3bf
🐛 fix: fmt
pauliesnug Aug 20, 2024
eea6307
🚧 wip: h
pauliesnug Aug 20, 2024
8415108
feat: Download button for packages for suitable clusters + tweaks
LynithDev Aug 20, 2024
bc9d3df
🚧 wip: markdown and stuff
pauliesnug Aug 20, 2024
fbefeb8
Merge branch 'feat/package_api' of github.com:Polyfrost/OneLauncher i…
pauliesnug Aug 20, 2024
3c8e2f8
🐛 fix: some patches
pauliesnug Aug 20, 2024
25b3df6
🐛 fix: remove react bloat
pauliesnug Aug 21, 2024
88d183c
🔨 chore(pkg/infer): try to reduce reused code
pauliesnug Aug 21, 2024
e7b12eb
🔨 chore: bump deps
pauliesnug Aug 21, 2024
03a5a51
🐛 fix: markdown innerhtml
pauliesnug Aug 21, 2024
a58e87e
🐛 fix: h
pauliesnug Aug 21, 2024
9cb8fb0
🐛 fix: tweak
pauliesnug Aug 21, 2024
1fee201
🚧 wip: idk
pauliesnug Aug 22, 2024
284d2fc
fix: Gamemode compile error
LynithDev Aug 22, 2024
ec52fc0
feat: Add reload clusters button on home page
LynithDev Aug 22, 2024
c1ff8b3
feat: More information provided to BrowserPackage
LynithDev Aug 22, 2024
43661fd
fix: Minor fixes (Navbar isActive, Markdown click prevention, Markdow…
LynithDev Aug 22, 2024
2876496
🐛 fix: h
pauliesnug Aug 22, 2024
4dd9c3e
🐛 fix: highlighting
pauliesnug Aug 23, 2024
0fed2de
🐛 fix: forge modern
pauliesnug Aug 23, 2024
25ff1df
🔨 chore: bump deps
pauliesnug Aug 24, 2024
2a699e3
fix: Markdown-it issue + Added promptOpener hook for Markdown links
LynithDev Aug 24, 2024
e13254a
feat: Made BrowserPackage sidebar sticky
LynithDev Aug 24, 2024
ff824b3
refactor: Package system (not yet in a working state)
LynithDev Aug 24, 2024
57469c4
🚧 wip: bump deps temp
pauliesnug Aug 25, 2024
3371068
feat: Added a package manager
LynithDev Aug 25, 2024
ad60c86
✨ feature: start prisma work, but it doesnt break anything so we can …
pauliesnug Aug 25, 2024
018181c
Merge branch 'feat/package_api' of github.com:Polyfrost/OneLauncher i…
pauliesnug Aug 25, 2024
51b21d4
🐛 fix: pushing
pauliesnug Aug 26, 2024
dcec180
🐛 fix: linting
pauliesnug Aug 26, 2024
c0be4f9
✨ feature: start ingress integration
pauliesnug Aug 26, 2024
baa2e87
feat: Package Manager should work now 👍
LynithDev Aug 26, 2024
43eaea1
fix: Package manager tracing spam
LynithDev Aug 26, 2024
e5ce7e8
feat: Added tauri commands for cluster packages
LynithDev Aug 26, 2024
2cb1e61
🐛 fix: tmp
pauliesnug Aug 26, 2024
e3389fe
🔨 chore: merge
pauliesnug Aug 26, 2024
c696ba8
🔨 chore: format
pauliesnug Aug 26, 2024
fa5fc25
🐛 fix: specta extension
pauliesnug Aug 26, 2024
202c9f0
🐛 fix: github actions
pauliesnug Aug 26, 2024
a5c7697
🐛 fix: alias
pauliesnug Aug 26, 2024
9a9f8dd
chore: Some tweaks and fixes
LynithDev Aug 26, 2024
3553933
chore: Rebase + gitignore bindings.ts
LynithDev Aug 26, 2024
d89d7f0
chore: Remove bindings.ts
LynithDev Aug 26, 2024
dc26a5e
🐛 fix: migrate
pauliesnug Aug 26, 2024
b935d45
🚧 wip: not sure
pauliesnug Aug 26, 2024
03ff9b4
🐛 fix: finalize prisma init schema
pauliesnug Aug 27, 2024
aef5bf9
🔨 chore: format
pauliesnug Aug 27, 2024
4a5e1a0
🐛 fix: bump deps
pauliesnug Aug 28, 2024
20a1738
🐛 fix: system deps
pauliesnug Aug 29, 2024
374af46
fix: solid-router navigation issue
LynithDev Aug 29, 2024
2c4d26d
feat: Added new BrowserMain page
LynithDev Aug 29, 2024
4892b02
feat: Tweaks + new package list view
LynithDev Aug 30, 2024
9c5ed36
🐛 fix: bump + format (todo: tauri2, etc)
pauliesnug Aug 30, 2024
55ff599
🐛 fix: devx (fixes #126)
pauliesnug Aug 31, 2024
7098b72
🔨 chore: migrate to consola
pauliesnug Aug 31, 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
7 changes: 3 additions & 4 deletions .cargo/config.toml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ rustflags = ["-C", "link-args=-fuse-ld={{{linker}}}"]
[target.aarch64-unknown-linux-gnu]
{{#hasLLD}}
linker = "clang"
rustflags = ["-C", "link-args=-fus-ld={{{linker}}}"]
rustflags = ["-C", "link-args=-fuse-ld={{{linker}}}"]
{{/hasLLD}}
{{/isLinux}}

{{#hasAlias}}
prisma = "run -p prisma-cli --bin prisma --"
{{/hasAlias}}
[alias]
prisma = "run -p onelauncher_prisma_cli --bin prisma --"
223 changes: 223 additions & 0 deletions .github/actions/clippy/dist/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
@actions/core
MIT
The MIT License (MIT)

Copyright 2019 GitHub

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

@actions/exec
MIT
The MIT License (MIT)

Copyright 2019 GitHub

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

@actions/http-client
MIT
Actions Http Client for Node.js

Copyright (c) GitHub, Inc.

All rights reserved.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


@actions/io
MIT
The MIT License (MIT)

Copyright 2019 GitHub

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

@actions/tool-cache
MIT
The MIT License (MIT)

Copyright 2019 GitHub

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

@fastify/busboy
MIT
Copyright Brian White. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.

pathe
MIT
MIT License

Copyright (c) Pooya Parsa <pooya@pi0.io> - Daniel Roe <daniel@roe.dev>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

--------------------------------------------------------------------------------

Copyright Joyent, Inc. and other Node contributors.

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.


semver
ISC
The ISC License

Copyright (c) Isaac Z. Schlueter and Contributors

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.


tunnel
MIT
The MIT License (MIT)

Copyright (c) 2012 Koichi Kobayashi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


undici
MIT
MIT License

Copyright (c) Matteo Collina and Undici contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


uuid
MIT
The MIT License (MIT)

Copyright (c) 2010-2020 Robert Kieffer and other contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4 changes: 2 additions & 2 deletions .github/actions/clippy/dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/actions/clippy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"bugs": "https://github.com/polyfrost/onelauncher/issues",
"sideEffects": false,
"scripts": {
"build": "ncc build src/index.ts --minify"
"build": "rimraf dist && ncc build src/index.ts -m -q --license ../../LICENSE"
},
"dependencies": {
"@actions/artifact": "^2.1.9",
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/glob": "^0.5.0",
"@actions/http-client": "^2.2.2",
"@actions/http-client": "^2.2.3",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1",
"pathe": "^1.1.2"
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/clippy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ import { exec } from '@actions/exec';
import { getInput as getCoreInput, group } from '@actions/core';
import { installReviewdog } from './installer';

const getInput = <T = string>(name: string): T => getCoreInput(name) as T;

async function run(): Promise<void> {
const runnerTmpdir = env.RUNNER_TEMP || getTmpdir();
const tmpdir = await fs.mkdtemp(join(runnerTmpdir, 'reviewdog-'));
const getInput = <T = string>(name: string): T => getCoreInput(name) as T;

const reviewdogVersion = getInput('reviewdog_version') || 'latest';
const toolName = getInput('tool_name') || 'clippy';
Expand Down
Loading
Loading