🔨 chore(deps): bump dependencies

This commit is contained in:
Pauline 2024-06-04 02:20:18 +02:00
parent 963762669c
commit e32d2e817a
No known key found for this signature in database
GPG key ID: 722BB181973296AE
17 changed files with 941 additions and 1336 deletions

View file

@ -93,5 +93,5 @@
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, pnpm-workspace.yaml, .pnp.cjs, .pnp.loader.mjs",
"tsconfig.json": "tsconfig.*.json",
"flake.nix": "shell.nix, flake.lock, Cargo.nix"
}
}
}

View file

@ -37,7 +37,7 @@ specta = { version = "=2.0.0-rc.12", features = [
"serde",
"serde_json"
] }
tauri-specta = { version = "=2.0.0-rc.10", features = [
tauri-specta = { version = "=2.0.0-rc.11", features = [
"javascript",
"typescript"
] }
@ -57,7 +57,7 @@ prisma-client-rust-cli = { git = "https://github.com/brendonovich/prisma-client-
], default-features = false }
prisma-client-rust-sdk = { git = "https://github.com/brendonovich/prisma-client-rust", rev = "4f9ef9d38ca732162accff72b2eb684d2f120bab", features = [ "sqlite" ], default-features = false }
interpulse = { git = "https://github.com/pulseflow/workers", rev = "909a08897a5dc6f9e13729c3e6c622f045496801", features = [ "specta" ] }
interpulse = { git = "https://github.com/pulseflow/workers", rev = "d946e86da93e110468c9e436dccc84139f353496", features = [ "specta" ] }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = [
@ -66,7 +66,7 @@ tracing-subscriber = { version = "0.3", features = [
] }
tracing-error = { version = "0.2" }
tracing-appender = { version = "0.2" }
sentry = { version = "0.32", default-features = false, features = [
sentry = { version = "0.33", default-features = false, features = [
"rustls",
"reqwest",
"backtrace",
@ -83,7 +83,7 @@ uuid = { version = "1.8", features = [
"v4"
] }
tokio = { version = "1.38", features = [ "full" ] }
async-tungstenite = { version = "0.25", features = [
async-tungstenite = { version = "0.26", features = [
"tokio-runtime",
"tokio-rustls-native-certs"
] }
@ -104,10 +104,10 @@ reqwest = { version = "0.12", default-features = false, features = [
"gzip",
"brotli"
] }
iota_stronghold = { version = "2" }
iota_stronghold = { version = "2.1" }
iota-crypto = { version = "0.23" }
hex = { version = "0.4" }
zeroize = { version = "1", features = [ "zeroize_derive" ] }
hex = { version = "0.4.3" }
zeroize = { version = "1.8", features = [ "zeroize_derive" ] }
quote = { version = "1.0" }
syn = { version = "2.0", features = [ "full" ] }
tempfile = { version = "3.10" }
@ -125,7 +125,7 @@ open = { version = "5.1" }
discord-rich-presence = { version = "0.2" }
winreg = { version = "0.52" }
paste = { version = "1.0" }
sha1_smol = { version = "1.0", features = [ "std" ] }
sha1_smol = { version = "1.0.0", features = [ "std" ] }
sha2 = { version = "0.10" }
bytes = { version = "1.6" }
lazy_static = { version = "1.4" }
@ -142,7 +142,7 @@ cocoa = { version = "0.25" }
objc = { version = "0.2" }
[patch.crates-io]
specta = { git = "https://github.com/oscartbeaumont/specta", rev = "f3bc75ec6120ea0fc6cd8e2e2e3aebef049e93cb" }
specta = { git = "https://github.com/oscartbeaumont/specta", rev = "fadef54000e131008ff6e9dd7efe2ba36479c077" }
rspc = { git = "https://github.com/oscartbeaumont/rspc", rev = "f250409db9e21a67ae252c963d605f863f73d5f0" }
[profile.dev]

View file

@ -18,9 +18,9 @@
"@rspc/solid": "^0.2.0",
"@rspc/tauri": "^0.2.0",
"@solid-primitives/deep": "^0.2.8",
"@tanstack/solid-query": "^5.36.0",
"@tanstack/solid-query": "^5.40.0",
"fast-equals": "^5.0.1",
"plausible-tracker": "^0.3.8",
"plausible-tracker": "^0.3.9",
"solid-js": "^1.8.17",
"zod": "^3.23.8"
}

View file

@ -23,27 +23,27 @@
"@rspc/solid": "^0.2.0",
"@rspc/tauri": "^0.2.0",
"@solid-primitives/refs": "^1.0.8",
"@solidjs/router": "^0.13.3",
"@tanstack/solid-query": "^5.36.0",
"@solidjs/router": "^0.13.5",
"@tanstack/solid-query": "^5.40.0",
"@tauri-apps/api": "^2.0.0-beta",
"@tauri-apps/plugin-shell": "github:tauri-apps/tauri-plugin-shell#v2",
"@thisbeyond/solid-dnd": "^0.7.5",
"@unocss/reset": "^0.60.2",
"@untitled-theme/icons-solid": "^0.8.0",
"overlayscrollbars": "^2.8.0",
"@unocss/reset": "^0.60.4",
"@untitled-theme/icons-solid": "^0.10.0",
"overlayscrollbars": "^2.8.3",
"overlayscrollbars-solid": "^0.5.5",
"solid-js": "^1.8.17",
"solid-transition-group": "^0.2.3",
"uuid": "^9.0.1"
},
"devDependencies": {
"@solidjs/testing-library": "^0.8.7",
"@solidjs/testing-library": "^0.8.8",
"@tauri-apps/cli": "2.0.0-beta.10",
"@testing-library/jest-dom": "^6.4.5",
"@types/uuid": "^9.0.8",
"jsdom": "^24.0.0",
"sass": "^1.77.1",
"unocss": "^0.60.2",
"jsdom": "^24.1.0",
"sass": "^1.77.4",
"unocss": "^0.60.4",
"vite-plugin-solid": "^2.10.2",
"vite-tsconfig-paths": "^4.3.2"
}

View file

@ -65,10 +65,3 @@ default = [ "custom-protocol" ]
devtools = [ "tauri/devtools" ]
# This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!!
custom-protocol = [ "tauri/custom-protocol" ]
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
opt-level = "s"
strip = true

View file

@ -11,18 +11,18 @@ import UpdatesPage from './ui/pages/Updates';
import ClusterRoot from '~ui/pages/cluster/ClusterRoot';
import SettingsRoot from '~ui/pages/settings/SettingsRoot';
export * as bridge from "./bindings";
export * as bridge from './bindings';
render(() => (
<Router root={App}>
<Route path="/" component={HomePage} />
<Route path="/browser" component={BrowserPage} />
<Route path="/updates" component={UpdatesPage} />
<Route path="/clusters" component={ClusterRoot}>
<ClusterRoot.Routes />
</Route>
<Route path="/settings" component={SettingsRoot}>
<SettingsRoot.Routes />
</Route>
</Router>
<Router root={App}>
<Route path="/" component={HomePage} />
<Route path="/browser" component={BrowserPage} />
<Route path="/updates" component={UpdatesPage} />
<Route path="/clusters" component={ClusterRoot}>
<ClusterRoot.Routes />
</Route>
<Route path="/settings" component={SettingsRoot}>
<SettingsRoot.Routes />
</Route>
</Router>
), document.getElementById('root') as HTMLElement);

View file

@ -8,11 +8,10 @@ import NotificationOverlay from './components/overlay/notifications/Notification
import { bridge } from '~index';
function App(props: ParentProps) {
if (!bridge.commands.isDev()) {
if (!bridge.commands.isDev())
document.addEventListener('contextmenu', (event) => {
event.preventDefault();
});
}
return (
<main class="flex flex-col bg-primary w-full min-h-screen overflow-hidden h-screen max-h-screen text-fg-primary">

View file

@ -22,10 +22,9 @@ function TimeAgo(props: TimeAgoProps) {
const getRelativeTime = (timestamp: number): string => {
const elapsed = timestamp - Date.now();
for (const [unit, ms] of Object.entries(units)) {
for (const [unit, ms] of Object.entries(units))
if (Math.abs(elapsed) > ms || unit === 'second')
return formatter.format(Math.round(elapsed / ms), unit as Intl.RelativeTimeFormatUnit);
}
return 'now';
};

View file

@ -1,5 +1,5 @@
import { type JSX, Match, Show, Switch, createEffect, createSignal } from 'solid-js';
import { AlertTriangleIcon, CheckCircleIcon, FolderCheckIcon, FolderDownloadIcon, FolderXIcon, InfoCircleIcon, RefreshCcw02Icon } from '@untitled-theme/icons-solid';
import { InfoCircleIcon } from '@untitled-theme/icons-solid';
import TimeAgo from '../../TimeAgo';
import { PausableTimer } from '~utils/PausableTimer';

View file

@ -1,4 +1,4 @@
import { For, Match, Switch, onMount } from 'solid-js';
import { For, Match, Switch } from 'solid-js';
import { Settings01Icon, Trash01Icon } from '@untitled-theme/icons-solid';
import { OverlayScrollbarsComponent } from 'overlayscrollbars-solid';
import Popup from '../Popup';

View file

@ -15,7 +15,6 @@ import Button from '../components/base/Button';
import Tag from '../components/base/Tag';
import TextField from '../components/base/TextField';
import ClusterCover from '~ui/components/game/ClusterCover';
import { bridge } from '~index';
// TODO: Replace this into it's own component
// possibly with the core ui lirbary with autogenerated and optimized svgs pls

View file

@ -1,5 +1,5 @@
import { useSearchParams } from '@solidjs/router';
import { For, Show, createEffect, createResource, createSignal } from 'solid-js';
import { For, Show, createResource, createSignal } from 'solid-js';
import { OverlayScrollbarsComponent } from 'overlayscrollbars-solid';
function ClusterLogs() {

View file

@ -29,6 +29,8 @@ export default petal({
'petal/consistent-list-newline': 'off',
'no-console': 'off',
'new-cap': 'off',
// temporarily off
'unused-imports/no-unused-vars': 'off',
},
},
]);

View file

@ -2,7 +2,7 @@
"name": "@onelauncher/root",
"type": "module",
"version": "1.0.0",
"packageManager": "pnpm@9.1.1",
"packageManager": "pnpm@9.1.4",
"description": "Next-generation open source Minecraft launcher and tools for interacting with Polyfrost",
"license": "GPL-3.0-only",
"repository": {
@ -18,20 +18,20 @@
"dev": "pnpm gui tauri dev",
"build": "pnpm gui tauri build",
"lint": "eslint . --cache",
"format": "pnpm lint --fix && cargo fmt",
"format": "pnpm lint --fix",
"release:node": "bumpp -r"
},
"devDependencies": {
"@flowr/eslint-config": "^3.2.1",
"@types/node": "^20.12.11",
"@flowr/eslint-config": "^3.5.2",
"@types/node": "^20.14.1",
"@vitest/ui": "^1.6.0",
"bumpp": "^9.4.1",
"eslint": "^8.56.0",
"eslint-plugin-solid": "^0.14.0",
"ts-node": "^10.9.2",
"tsx": "^4.10.2",
"tsx": "^4.11.2",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite": "^5.2.12",
"vitest": "^1.6.0"
},
"pnpm": {

2170
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -17,11 +17,11 @@
"tauri": "tsx tauri.ts"
},
"dependencies": {
"@flowr/utils": "^3.2.1",
"@flowr/utils": "^3.5.2",
"@iarna/toml": "^2.2.5",
"execa": "^9.1.0",
"semver": "^7.6.2",
"undici": "^6.16.1"
"undici": "^6.18.2"
},
"devDependencies": {
"@types/iarna__toml": "^2.0.5",

View file

@ -7,7 +7,7 @@ const state: { __debug: boolean; libc: 'musl' | 'glibc' } = {
libc: 'glibc',
};
if (os.type() === 'Linux') {
if (os.type() === 'Linux')
try {
const lldResult = await execaCommand('ldd /bin/ls');
if (lldResult.stdout.includes('msl'))
@ -19,7 +19,6 @@ if (os.type() === 'Linux') {
console.error(error);
}
}
}
const OS_TYPE: Record<string, string> = {
darwin: 'Darwin',