Skip to content

Commit b648c5d

Browse files
committed
fix(ci): remove --frozen-lockfile from dependency installation
1 parent 7ba5c52 commit b648c5d

File tree

26 files changed

+968
-1456
lines changed

26 files changed

+968
-1456
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# This workflow runs code quality checks on all pull requests to ensure
44
# consistent code style and catch potential issues before they're merged.
5-
# It uses Biome (via ultracite) for linting and TypeScript for type checking.
5+
# It uses Biome for linting with the configuration from biome.jsonc.
66
#
77
name: Lint
88

@@ -40,10 +40,7 @@ jobs:
4040
${{ runner.os }}-bun-
4141
4242
- name: Install dependencies
43-
run: bun install --frozen-lockfile
43+
run: bun install
4444

4545
- name: Run lint check
46-
run: bun run lint
47-
48-
- name: Run type check
49-
run: bun run check-types
46+
run: bun run lint

apps/dashboard/app/(auth)/login/page.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
'use client';
22

33
import { signIn } from '@databuddy/auth/client';
4-
import { EyeIcon, EyeSlashIcon, GithubLogoIcon, SpinnerIcon, SparkleIcon, GoogleLogoIcon } from '@phosphor-icons/react';
4+
import {
5+
EyeIcon,
6+
EyeSlashIcon,
7+
GithubLogoIcon,
8+
SpinnerIcon,
9+
SparkleIcon,
10+
GoogleLogoIcon,
11+
} from '@phosphor-icons/react';
512
import Link from 'next/link';
613
import { useRouter } from 'next/navigation';
714
import { Suspense, useEffect, useState } from 'react';
@@ -122,7 +129,7 @@ function LoginPage() {
122129
<GithubLogoIcon className="mr-2 h-5 w-5" />
123130
<span>Sign in with GitHub</span>
124131
{lastUsed === 'github' && (
125-
<span className="absolute -top-4 -right-0.5 inline-flex items-center rounded-full border border-primary/20 bg-primary/10 px-1.5 py-0.5 font-medium text-primary text-xs">
132+
<span className="absolute -top-4 -right-0.5 inline-flex items-center rounded-full border border-primary/20 bg-primary/10 px-1.5 py-0.5 font-medium text-primary text-xs">
126133
Last used
127134
</span>
128135
)}
@@ -207,7 +214,9 @@ function LoginPage() {
207214
value={password}
208215
/>
209216
<Button
210-
aria-label={showPassword ? 'Hide password' : 'Show password'}
217+
aria-label={
218+
showPassword ? 'Hide password' : 'Show password'
219+
}
211220
className="absolute top-0 right-0 h-full px-3 text-muted-foreground hover:text-foreground"
212221
onClick={() => setShowPassword(!showPassword)}
213222
size="sm"

apps/dashboard/app/(main)/observability/layout.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ export default function ObservabilityLayout({
44
children: React.ReactNode;
55
}) {
66
return (
7-
<div className="mx-auto max-w-[1600px] space-y-6 p-4 sm:p-6 lg:p-8">{children}</div>
7+
<div className="mx-auto max-w-[1600px] space-y-6 p-4 sm:p-6 lg:p-8">
8+
{children}
9+
</div>
810
);
9-
}
11+
}

apps/dashboard/app/(main)/revenue/_components/onboarding/steps/overview-step.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ export function OverviewStep({ onNext }: OverviewStepProps) {
1111
return (
1212
<div className="space-y-4">
1313
<div className="rounded-lg border border-blue-200 bg-blue-50 p-4 dark:border-blue-800 dark:bg-blue-950/20">
14-
<h3 className="mb-2 font-medium text-foreground">
15-
What you'll get:
16-
</h3>
14+
<h3 className="mb-2 font-medium text-foreground">What you'll get:</h3>
1715
<ul className="space-y-2 text-muted-foreground text-sm">
1816
<li className="flex items-center gap-2">
1917
<CheckCircleIcon

apps/dashboard/app/(main)/websites/[id]/assistant/components/model-selector.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ import { MODEL_CONFIGS } from '../types/model';
2020

2121
const modelIcons: Record<string, React.ReactNode> = {
2222
chat: <StarIcon className="h-4 w-4 text-yellow-400" weight="duotone" />, // Use Star for default
23-
agent: <FlaskIcon className="h-4 w-4 text-muted-foreground" weight="duotone" />, // Flask for experimental/agent
23+
agent: (
24+
<FlaskIcon className="h-4 w-4 text-muted-foreground" weight="duotone" />
25+
), // Flask for experimental/agent
2426
'agent-max': (
2527
<FlaskIcon className="h-4 w-4 text-purple-400" weight="duotone" />
2628
), // Flask for max

apps/dashboard/app/(main)/websites/[id]/errors/_components/error-icons.tsx

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,47 @@ export const getErrorTypeIcon = (type: string) => {
2121
return <CodeIcon className="h-3.5 w-3.5 text-primary" weight="duotone" />;
2222
}
2323
if (lowerType.includes('network')) {
24-
return <NetworkIcon className="h-3.5 w-3.5 text-primary" weight="duotone" />;
24+
return (
25+
<NetworkIcon className="h-3.5 w-3.5 text-primary" weight="duotone" />
26+
);
2527
}
2628
if (lowerType.includes('script')) {
27-
return <FileCodeIcon className="h-3.5 w-3.5 text-primary" weight="duotone" />;
29+
return (
30+
<FileCodeIcon className="h-3.5 w-3.5 text-primary" weight="duotone" />
31+
);
2832
}
2933
if (lowerType.includes('syntax')) {
30-
return <TerminalIcon className="h-3.5 w-3.5 text-primary" weight="duotone" />;
34+
return (
35+
<TerminalIcon className="h-3.5 w-3.5 text-primary" weight="duotone" />
36+
);
3137
}
3238
return <BugIcon className="h-3.5 w-3.5 text-primary" weight="duotone" />;
3339
};
3440

3541
// Get device icon
3642
export const getDeviceIcon = (deviceType: string) => {
3743
if (!deviceType) {
38-
return <MonitorIcon className="h-3.5 w-3.5 text-chart-2" weight="duotone" />;
44+
return (
45+
<MonitorIcon className="h-3.5 w-3.5 text-chart-2" weight="duotone" />
46+
);
3947
}
4048

4149
switch (deviceType.toLowerCase()) {
4250
case 'mobile':
43-
return <PhoneIcon className="h-3.5 w-3.5 text-chart-2" weight="duotone" />;
51+
return (
52+
<PhoneIcon className="h-3.5 w-3.5 text-chart-2" weight="duotone" />
53+
);
4454
case 'tablet':
45-
return <TableIcon className="h-3.5 w-3.5 text-chart-2" weight="duotone" />;
55+
return (
56+
<TableIcon className="h-3.5 w-3.5 text-chart-2" weight="duotone" />
57+
);
4658
case 'desktop':
47-
return <LaptopIcon className="h-3.5 w-3.5 text-chart-2" weight="duotone" />;
59+
return (
60+
<LaptopIcon className="h-3.5 w-3.5 text-chart-2" weight="duotone" />
61+
);
4862
default:
49-
return <MonitorIcon className="h-3.5 w-3.5 text-chart-2" weight="duotone" />;
63+
return (
64+
<MonitorIcon className="h-3.5 w-3.5 text-chart-2" weight="duotone" />
65+
);
5066
}
5167
};

apps/dashboard/app/(main)/websites/[id]/errors/_components/error-table-columns.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,11 @@ export const createDeviceColumn = () =>
203203

204204
const device = name.toLowerCase();
205205
return device.includes('mobile') || device.includes('phone') ? (
206-
<PhoneIcon className="h-4 w-4 text-foreground" size={16} weight="duotone" />
206+
<PhoneIcon
207+
className="h-4 w-4 text-foreground"
208+
size={16}
209+
weight="duotone"
210+
/>
207211
) : device.includes('tablet') ? (
208212
<TableIcon
209213
className="h-4 w-4 text-purple-500"

apps/dashboard/app/(main)/websites/[id]/errors/_components/recent-errors-table.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ export const RecentErrorsTable = ({ recentErrors, isLoading }: Props) => {
4343
</div>
4444
<Badge className={getSeverityColor(severity)}>{type}</Badge>
4545
{row.stack && (
46-
<Badge className="text-xs border-sidebar-border bg-sidebar/20" variant="outline">
46+
<Badge
47+
className="text-xs border-sidebar-border bg-sidebar/20"
48+
variant="outline"
49+
>
4750
Stack Available
4851
</Badge>
4952
)}

apps/dashboard/app/(main)/websites/[id]/errors/_components/top-error-card.tsx

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ export const TopErrorCard = ({ topError }: TopErrorCardProps) => {
1919
<CardHeader className="pb-3">
2020
<CardTitle className="flex items-center gap-3 text-base">
2121
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-primary/10">
22-
<BugIcon
23-
className="h-4 w-4 text-primary"
24-
weight="duotone"
25-
/>
22+
<BugIcon className="h-4 w-4 text-primary" weight="duotone" />
2623
</div>
2724
<div className="flex flex-col gap-0.5">
2825
<span className="font-semibold text-sm">Most Frequent Error</span>
@@ -33,12 +30,18 @@ export const TopErrorCard = ({ topError }: TopErrorCardProps) => {
3330
</CardTitle>
3431
</CardHeader>
3532
<CardContent className="pt-0">
36-
<p className="line-clamp-2 font-medium text-sm mb-4 leading-relaxed" title={topError.name}>
33+
<p
34+
className="line-clamp-2 font-medium text-sm mb-4 leading-relaxed"
35+
title={topError.name}
36+
>
3737
{topError.name}
3838
</p>
3939
<div className="grid grid-cols-2 gap-3">
4040
<div className="flex items-center gap-2 rounded-md bg-primary/5 border border-primary/10 p-2">
41-
<WarningCircleIcon className="h-3.5 w-3.5 text-primary flex-shrink-0" weight="duotone" />
41+
<WarningCircleIcon
42+
className="h-3.5 w-3.5 text-primary flex-shrink-0"
43+
weight="duotone"
44+
/>
4245
<div className="min-w-0">
4346
<div className="font-semibold text-xs text-primary">
4447
{(topError.count || 0).toLocaleString()}
@@ -47,12 +50,17 @@ export const TopErrorCard = ({ topError }: TopErrorCardProps) => {
4750
</div>
4851
</div>
4952
<div className="flex items-center gap-2 rounded-md bg-chart-2/5 border border-chart-2/10 p-2">
50-
<UsersIcon className="h-3.5 w-3.5 text-chart-2 flex-shrink-0" weight="duotone" />
53+
<UsersIcon
54+
className="h-3.5 w-3.5 text-chart-2 flex-shrink-0"
55+
weight="duotone"
56+
/>
5157
<div className="min-w-0">
5258
<div className="font-semibold text-xs text-chart-2">
5359
{(topError.users || 0).toLocaleString()}
5460
</div>
55-
<div className="text-muted-foreground text-xs">users affected</div>
61+
<div className="text-muted-foreground text-xs">
62+
users affected
63+
</div>
5664
</div>
5765
</div>
5866
</div>

apps/dashboard/app/(main)/websites/[id]/errors/_components/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@ export const getSeverityColor = (
4343
medium: 'bg-chart-2/10 text-chart-2 border-chart-2/20',
4444
low: 'bg-chart-3/10 text-chart-3 border-chart-3/20',
4545
};
46-
return colors[severity] || 'bg-muted/10 text-muted-foreground border-muted/20';
46+
return (
47+
colors[severity] || 'bg-muted/10 text-muted-foreground border-muted/20'
48+
);
4749
};

0 commit comments

Comments
 (0)