Make sure this builds
This commit is contained in:
parent
5e42a918ff
commit
a78ab8e1b2
10 changed files with 157 additions and 16 deletions
|
|
@ -27,8 +27,11 @@ const viteWispServer = (): Plugin => {
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
vite: {
|
vite: {
|
||||||
plugins: [
|
plugins: [
|
||||||
|
//@ts-ignore
|
||||||
tailwindcss(),
|
tailwindcss(),
|
||||||
|
//@ts-ignore
|
||||||
viteWispServer(),
|
viteWispServer(),
|
||||||
|
//@ts-ignore
|
||||||
viteStaticCopy({
|
viteStaticCopy({
|
||||||
targets: [
|
targets: [
|
||||||
{ src: `${uvPath}/**/*`.replace(/\\/g, "/"), dest: "vu", overwrite: false },
|
{ src: `${uvPath}/**/*`.replace(/\\/g, "/"), dest: "vu", overwrite: false },
|
||||||
|
|
|
||||||
42
biome.jsonc
Normal file
42
biome.jsonc
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
||||||
|
"vcs": {
|
||||||
|
"enabled": false,
|
||||||
|
"clientKind": "git",
|
||||||
|
"useIgnoreFile": false
|
||||||
|
},
|
||||||
|
"files": {
|
||||||
|
"ignore": ["**/dist/**", ".github/**"],
|
||||||
|
"include": ["**/**", "server/**"]
|
||||||
|
},
|
||||||
|
"formatter": {
|
||||||
|
"enabled": true,
|
||||||
|
"indentStyle": "space",
|
||||||
|
"indendWidth": 4,
|
||||||
|
"lineWidth": 100,
|
||||||
|
"ignore": ["pnpm-lock.yaml", "package.json"]
|
||||||
|
},
|
||||||
|
"organizeImports": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"linter": {
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
"javascript": {
|
||||||
|
"formatter": {
|
||||||
|
"trailingCommas": "none"
|
||||||
|
"quoteStyle": "double",
|
||||||
|
"semicolons": "always"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"json": {
|
||||||
|
"parser": {
|
||||||
|
"allowComments": true,
|
||||||
|
"allowTrailingCommas": true
|
||||||
|
},
|
||||||
|
"formatter": {
|
||||||
|
"indentSyle": "space",
|
||||||
|
"trailingCommas": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -29,6 +29,7 @@
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"onlyBuiltDependencies": [
|
"onlyBuiltDependencies": [
|
||||||
|
"@biomejs/biome",
|
||||||
"bufferutil",
|
"bufferutil",
|
||||||
"esbuild",
|
"esbuild",
|
||||||
"sharp",
|
"sharp",
|
||||||
|
|
@ -36,6 +37,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@biomejs/biome": "1.9.4",
|
||||||
"@iconify-json/lucide": "^1.2.30",
|
"@iconify-json/lucide": "^1.2.30",
|
||||||
"@iconify-json/material-symbols": "^1.2.17",
|
"@iconify-json/material-symbols": "^1.2.17",
|
||||||
"@mercuryworkshop/bare-mux": "^2.1.7",
|
"@mercuryworkshop/bare-mux": "^2.1.7",
|
||||||
|
|
|
||||||
91
pnpm-lock.yaml
generated
91
pnpm-lock.yaml
generated
|
|
@ -45,6 +45,9 @@ importers:
|
||||||
specifier: ^1.1.7
|
specifier: ^1.1.7
|
||||||
version: 1.1.7
|
version: 1.1.7
|
||||||
devDependencies:
|
devDependencies:
|
||||||
|
'@biomejs/biome':
|
||||||
|
specifier: 1.9.4
|
||||||
|
version: 1.9.4
|
||||||
'@iconify-json/lucide':
|
'@iconify-json/lucide':
|
||||||
specifier: ^1.2.30
|
specifier: ^1.2.30
|
||||||
version: 1.2.30
|
version: 1.2.30
|
||||||
|
|
@ -147,6 +150,59 @@ packages:
|
||||||
resolution: {integrity: sha512-emqcG3vHrpxUKTrxcblR36dcrcoRDvKmnL/dCL6ZsHaShW80qxCAcNhzQZrpeM765VzEos+xOi4s+r4IXzTwdQ==}
|
resolution: {integrity: sha512-emqcG3vHrpxUKTrxcblR36dcrcoRDvKmnL/dCL6ZsHaShW80qxCAcNhzQZrpeM765VzEos+xOi4s+r4IXzTwdQ==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
|
|
||||||
|
'@biomejs/biome@1.9.4':
|
||||||
|
resolution: {integrity: sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==}
|
||||||
|
engines: {node: '>=14.21.3'}
|
||||||
|
hasBin: true
|
||||||
|
|
||||||
|
'@biomejs/cli-darwin-arm64@1.9.4':
|
||||||
|
resolution: {integrity: sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==}
|
||||||
|
engines: {node: '>=14.21.3'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [darwin]
|
||||||
|
|
||||||
|
'@biomejs/cli-darwin-x64@1.9.4':
|
||||||
|
resolution: {integrity: sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==}
|
||||||
|
engines: {node: '>=14.21.3'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [darwin]
|
||||||
|
|
||||||
|
'@biomejs/cli-linux-arm64-musl@1.9.4':
|
||||||
|
resolution: {integrity: sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==}
|
||||||
|
engines: {node: '>=14.21.3'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@biomejs/cli-linux-arm64@1.9.4':
|
||||||
|
resolution: {integrity: sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==}
|
||||||
|
engines: {node: '>=14.21.3'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@biomejs/cli-linux-x64-musl@1.9.4':
|
||||||
|
resolution: {integrity: sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==}
|
||||||
|
engines: {node: '>=14.21.3'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@biomejs/cli-linux-x64@1.9.4':
|
||||||
|
resolution: {integrity: sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==}
|
||||||
|
engines: {node: '>=14.21.3'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@biomejs/cli-win32-arm64@1.9.4':
|
||||||
|
resolution: {integrity: sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==}
|
||||||
|
engines: {node: '>=14.21.3'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [win32]
|
||||||
|
|
||||||
|
'@biomejs/cli-win32-x64@1.9.4':
|
||||||
|
resolution: {integrity: sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==}
|
||||||
|
engines: {node: '>=14.21.3'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [win32]
|
||||||
|
|
||||||
'@capsizecss/unpack@2.4.0':
|
'@capsizecss/unpack@2.4.0':
|
||||||
resolution: {integrity: sha512-GrSU71meACqcmIUxPYOJvGKF0yryjN/L1aCuE9DViCTJI7bfkjgYDPD1zbNDcINJwSSP6UaBZY9GAbYDO7re0Q==}
|
resolution: {integrity: sha512-GrSU71meACqcmIUxPYOJvGKF0yryjN/L1aCuE9DViCTJI7bfkjgYDPD1zbNDcINJwSSP6UaBZY9GAbYDO7re0Q==}
|
||||||
|
|
||||||
|
|
@ -3111,6 +3167,41 @@ snapshots:
|
||||||
'@babel/helper-string-parser': 7.25.9
|
'@babel/helper-string-parser': 7.25.9
|
||||||
'@babel/helper-validator-identifier': 7.25.9
|
'@babel/helper-validator-identifier': 7.25.9
|
||||||
|
|
||||||
|
'@biomejs/biome@1.9.4':
|
||||||
|
optionalDependencies:
|
||||||
|
'@biomejs/cli-darwin-arm64': 1.9.4
|
||||||
|
'@biomejs/cli-darwin-x64': 1.9.4
|
||||||
|
'@biomejs/cli-linux-arm64': 1.9.4
|
||||||
|
'@biomejs/cli-linux-arm64-musl': 1.9.4
|
||||||
|
'@biomejs/cli-linux-x64': 1.9.4
|
||||||
|
'@biomejs/cli-linux-x64-musl': 1.9.4
|
||||||
|
'@biomejs/cli-win32-arm64': 1.9.4
|
||||||
|
'@biomejs/cli-win32-x64': 1.9.4
|
||||||
|
|
||||||
|
'@biomejs/cli-darwin-arm64@1.9.4':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@biomejs/cli-darwin-x64@1.9.4':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@biomejs/cli-linux-arm64-musl@1.9.4':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@biomejs/cli-linux-arm64@1.9.4':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@biomejs/cli-linux-x64-musl@1.9.4':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@biomejs/cli-linux-x64@1.9.4':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@biomejs/cli-win32-arm64@1.9.4':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@biomejs/cli-win32-x64@1.9.4':
|
||||||
|
optional: true
|
||||||
|
|
||||||
'@capsizecss/unpack@2.4.0':
|
'@capsizecss/unpack@2.4.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
blob-to-buffer: 1.2.9
|
blob-to-buffer: 1.2.9
|
||||||
|
|
|
||||||
|
|
@ -49,9 +49,11 @@ const path = Astro.url.pathname;
|
||||||
<a href="/" class=`flex flex-row gap-2 items-center rounded-lg h-10 w-full whitespace-nowrap px-4 py-2 font-medium text-sm ${path === '/' ? 'bg-(--secondary)': 'bg-(--background)'} transition-all duration-200 hover:bg-(--secondary) hover:scale-105 focus:ring-(--ring) focus:ring-2`>
|
<a href="/" class=`flex flex-row gap-2 items-center rounded-lg h-10 w-full whitespace-nowrap px-4 py-2 font-medium text-sm ${path === '/' ? 'bg-(--secondary)': 'bg-(--background)'} transition-all duration-200 hover:bg-(--secondary) hover:scale-105 focus:ring-(--ring) focus:ring-2`>
|
||||||
<Icon name="lucide:house" class="text-lg w-6 h-6" /> Home
|
<Icon name="lucide:house" class="text-lg w-6 h-6" /> Home
|
||||||
</a>
|
</a>
|
||||||
|
{/** This needs to be added later
|
||||||
<a href="/games" class=`flex flex-row gap-2 items-center rounded-lg h-10 w-full whitespace-nowrap px-4 py-2 font-medium text-sm ${path.includes('/games') ? 'bg-(--secondary)': 'bg-(--background)'} transition-all duration-200 hover:bg-(--secondary) hover:scale-105 focus:ring-(--ring) focus:ring-2`>
|
<a href="/games" class=`flex flex-row gap-2 items-center rounded-lg h-10 w-full whitespace-nowrap px-4 py-2 font-medium text-sm ${path.includes('/games') ? 'bg-(--secondary)': 'bg-(--background)'} transition-all duration-200 hover:bg-(--secondary) hover:scale-105 focus:ring-(--ring) focus:ring-2`>
|
||||||
<Icon name="lucide:gamepad" class="text-lg w-6 h-6" /> Games
|
<Icon name="lucide:gamepad" class="text-lg w-6 h-6" /> Games
|
||||||
</a>
|
</a>
|
||||||
|
*/}
|
||||||
<a href="/apps" class=`flex flex-row gap-2 items-center rounded-lg h-10 w-full whitespace-nowrap px-4 py-2 font-medium text-sm ${path.includes('/apps') ? 'bg-(--secondary)': 'bg-(--background)'} transition-all duration-200 hover:bg-(--secondary) hover:scale-105 focus:ring-(--ring) focus:ring-2`>
|
<a href="/apps" class=`flex flex-row gap-2 items-center rounded-lg h-10 w-full whitespace-nowrap px-4 py-2 font-medium text-sm ${path.includes('/apps') ? 'bg-(--secondary)': 'bg-(--background)'} transition-all duration-200 hover:bg-(--secondary) hover:scale-105 focus:ring-(--ring) focus:ring-2`>
|
||||||
<Icon name="lucide:layout-grid" class="text-lg w-6 h-6" /> Apps
|
<Icon name="lucide:layout-grid" class="text-lg w-6 h-6" /> Apps
|
||||||
</a>
|
</a>
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
const init = async () => {
|
const init = async () => {
|
||||||
settings.searchEngine();
|
settings.searchEngine();
|
||||||
|
settings.proxy();
|
||||||
await sw.wispServer();
|
await sw.wispServer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ const { active, title } = Astro.props;
|
||||||
<Layout>
|
<Layout>
|
||||||
<div class="h-full w-full flex font-inter">
|
<div class="h-full w-full flex font-inter">
|
||||||
<div class="w-1/4 bg-(--background) flex mt-14">
|
<div class="w-1/4 bg-(--background) flex mt-14">
|
||||||
<SettingsNav active={active} />
|
<SettingsNav active={active} title={title} />
|
||||||
</div>
|
</div>
|
||||||
<div class="h-full mt-14 flex-grow px-12 py-8 flex flex-col">
|
<div class="h-full mt-14 flex-grow px-12 py-8 flex flex-col">
|
||||||
<h1 class="text-4xl font-semibold"> {title} </h1>
|
<h1 class="text-4xl font-semibold"> {title} </h1>
|
||||||
|
|
|
||||||
|
|
@ -7,32 +7,32 @@ import SettingsLayout from "@layouts/SettingsLayout.astro";
|
||||||
<p> Thanks to all the wonderful people who have contributed! </p>
|
<p> Thanks to all the wonderful people who have contributed! </p>
|
||||||
<ul class="list-disc pl-5 mt-2 font-bold">
|
<ul class="list-disc pl-5 mt-2 font-bold">
|
||||||
<li>
|
<li>
|
||||||
<a class="underline hover:text-(--accent) transition-colors duration-300" href="https://github.com/hyperficial" target="_blank" ref="noopener noreferrer">
|
<a class="underline hover:text-(--accent) transition-colors duration-300" href="https://github.com/hyperficial" target="_blank" rel="noopener noreferrer">
|
||||||
Owski
|
Owski
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/proudparrot2" target="_blank" ref="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
<a href="https://github.com/proudparrot2" target="_blank" rel="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||||
ProudParrot
|
ProudParrot
|
||||||
<a>
|
<a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a class="underline hover:text-(--accent) transition-colors duration-300" href="https://github.com/motortruck1221" target="_blank" ref="noopener noreferrer">
|
<a class="underline hover:text-(--accent) transition-colors duration-300" href="https://github.com/motortruck1221" target="_blank" rel="noopener noreferrer">
|
||||||
MotorTruck1221
|
MotorTruck1221
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://mercurywork.shop" target="_blank" ref="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
<a href="https://mercurywork.shop" target="_blank" rel="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||||
The wonderful people over at MercuryWorkshop
|
The wonderful people over at MercuryWorkshop
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/titaniumnetwork-dev" target="_blank" ref="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
<a href="https://github.com/titaniumnetwork-dev" target="_blank" rel="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||||
Everyone over at TitaniumNetwork
|
Everyone over at TitaniumNetwork
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/RadiusProxy/Radius/graphs/contributors" target="_blank" ref="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
<a href="https://github.com/RadiusProxy/Radius/graphs/contributors" target="_blank" rel="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||||
And Everyone else who has contributed!
|
And Everyone else who has contributed!
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -42,22 +42,22 @@ import SettingsLayout from "@layouts/SettingsLayout.astro";
|
||||||
<p class="mt-2"> Projects that we use: </p>
|
<p class="mt-2"> Projects that we use: </p>
|
||||||
<ul class="list-disc pl-5 mt-2 font-bold">
|
<ul class="list-disc pl-5 mt-2 font-bold">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/titaniumnetwork-dev/ultraviolet" target="_blank" ref="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
<a href="https://github.com/titaniumnetwork-dev/ultraviolet" target="_blank" rel="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||||
Ultraviolet
|
Ultraviolet
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/mercuryworkshop/scramjet" target="_blank" ref="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
<a href="https://github.com/mercuryworkshop/scramjet" target="_blank" rel="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||||
Scramjet
|
Scramjet
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/ading2210/libcurl.js" target="_blank" ref="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
<a href="https://github.com/ading2210/libcurl.js" target="_blank" rel="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||||
Libcurl.js
|
Libcurl.js
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/mercuryworkshop/epoxy-tls" target="_blank" ref="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
<a href="https://github.com/mercuryworkshop/epoxy-tls" target="_blank" rel="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||||
Epoxy TLS
|
Epoxy TLS
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import SettingsLayout from "@layouts/SettingsLayout.astro";
|
||||||
<li> TikTok: @radiusproxy </li>
|
<li> TikTok: @radiusproxy </li>
|
||||||
<li> YouTube: @RadiusProxy </li>
|
<li> YouTube: @RadiusProxy </li>
|
||||||
<li> Discord:
|
<li> Discord:
|
||||||
<a href="https://discord.gg/cCfytCX6Sv" target="_blank" ref="noopener noreferrer" class="underline hover:text-(--accent) duration-300 transition-colors">
|
<a href="https://discord.gg/cCfytCX6Sv" target="_blank" rel="noopener noreferrer" class="underline hover:text-(--accent) duration-300 transition-colors">
|
||||||
Join Now!
|
Join Now!
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,8 @@ class Settings {
|
||||||
: document.documentElement.className = theme || this.#storageManager.getVal('theme');
|
: document.documentElement.className = theme || this.#storageManager.getVal('theme');
|
||||||
}
|
}
|
||||||
|
|
||||||
proxy(prox: 'uv' | 'sj') {
|
proxy(prox?: 'uv' | 'sj') {
|
||||||
this.#storageManager.setVal('proxy', prox);
|
this.#storageManager.setVal('proxy', prox || 'uv');
|
||||||
}
|
}
|
||||||
|
|
||||||
searchEngine(engine?: string) {
|
searchEngine(engine?: string) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue