Skip to content

Commit 8699ffc

Browse files
chore: exclude auto imports (#777)
1 parent 420e7a9 commit 8699ffc

File tree

4 files changed

+86
-79
lines changed

4 files changed

+86
-79
lines changed

.vscode/settings.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,12 @@
6565
"italic": false
6666
}
6767
],
68-
"typescript.tsdk": "node_modules/typescript/lib"
68+
"typescript.tsdk": "node_modules/typescript/lib",
69+
"typescript.preferences.autoImportSpecifierExcludeRegexes": [
70+
"^@radix-ui/.*$",
71+
"^next/router$",
72+
"^next/dist.*$",
73+
"^next/font.*$",
74+
"^@phosphor-icons/react/dist/.*$"
75+
]
6976
}

apps/web/src/app/[orgShortcode]/convo/_components/convo-list-item.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import { Checkbox } from '@/src/components/shadcn-ui/checkbox';
1818
import { AvatarPlus } from '@/src/components/avatar-plus';
1919
import { usePathname, useRouter } from 'next/navigation';
2020
import { useIsMobile } from '@/src/hooks/use-is-mobile';
21-
import { Trash } from '@phosphor-icons/react/dist/ssr';
2221
import { useTimeAgo } from '@/src/hooks/use-time-ago';
2322
import { type TypeId } from '@u22n/utils/typeid';
23+
import { Trash } from '@phosphor-icons/react';
2424
import { convoListSelecting } from '../atoms';
2525
import { platform } from '@/src/lib/trpc';
2626
import { memo, useMemo } from 'react';
@@ -174,7 +174,7 @@ export const ConvoItem = memo(function ConvoItem({
174174
<div className="flex flex-row items-start justify-start gap-1 text-left text-sm">
175175
<span className="ph-no-capture line-clamp-2 overflow-clip break-words">
176176
<span className="font-semibold">
177-
{authorAvatarData?.name.trim() + ': ' ?? ''}
177+
{authorAvatarData?.name.trim() ?? ' ' + ': '}
178178
</span>
179179
{convo.entries[0]?.bodyPlainText.trim() ?? ''}
180180
</span>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@
7777
"prettier-plugin-tailwindcss": "^0.6.6",
7878
"tsx": "^4.18.0",
7979
"turbo": "^1.13.4",
80-
"typescript": "5.5.4"
80+
"typescript": "5.6.2"
8181
},
8282
"lint-staged": {
8383
"*": "prettier --write --ignore-unknown"
8484
},
85-
"packageManager": "pnpm@9.5.0"
85+
"packageManager": "pnpm@9.10.0"
8686
}

0 commit comments

Comments
 (0)