chore: cleanup packages (#1198)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Updated configuration versions and connection status settings for
improved consistency.
- Restructured build and tooling processes with refined script
organization, including new commands for type checking and cleanup.
- Updated dependency management to support enhanced styling and state
management.
- Removed legacy scripts related to environment handling and CSS
utilities.

- **Refactor**
- Streamlined module imports to align with an updated theme management
structure.

- **Bug Fixes**
- Enhanced error handling in various components to provide more
informative error messages during operations.
	- Improved error reporting in the update cancellation process.
	- Improved error reporting in date difference calculations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Eli Bosley
2025-02-25 13:09:02 -05:00
committed by GitHub
parent 90e4913ef7
commit d59ca415af
22 changed files with 412 additions and 298 deletions

View File

@@ -19,6 +19,7 @@ const origins = computed<string[]>(() => {
try {
const newUrl = new URL(origin.trim());
newOrigins.push(newUrl.toString());
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (e) {
errors.value.push(`Invalid origin: ${origin}`);
}

View File

@@ -79,7 +79,11 @@ const checkButton = computed((): BrandButtonProps => {
return {
variant: 'outline',
click: () => {
props.showExternalDowngrade ? accountStore.downgradeOs() : accountStore.updateOs();
if (props.showExternalDowngrade) {
accountStore.downgradeOs();
} else {
accountStore.updateOs();
}
},
icon: ArrowTopRightOnSquareIcon,
text: props.t('More options'),