Skip to content

Commit adb3959

Browse files
chore: remove auto-imported imports (#2061)
1 parent 44ad364 commit adb3959

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+5
-231
lines changed

app/components/BuildEnvironment.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script setup lang="ts">
2-
import type { BuildInfo } from '#shared/types'
3-
42
const { footer = false, buildInfo: buildInfoProp } = defineProps<{
53
footer?: boolean
64
buildInfo?: BuildInfo

app/components/Code/DirectoryListing.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script setup lang="ts">
2-
import type { PackageFileTree } from '#shared/types'
32
import type { RouteLocationRaw } from 'vue-router'
43
import type { RouteNamedMap } from 'vue-router/auto-routes'
54
import { ADDITIONAL_ICONS, getFileIcon } from '~/utils/file-icons'

app/components/Code/FileTree.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script setup lang="ts">
2-
import type { PackageFileTree } from '#shared/types'
32
import type { RouteLocationRaw } from 'vue-router'
43
import type { RouteNamedMap } from 'vue-router/auto-routes'
54
import { ADDITIONAL_ICONS, getFileIcon } from '~/utils/file-icons'

app/components/Code/MobileTreeDrawer.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script setup lang="ts">
2-
import type { PackageFileTree } from '#shared/types'
32
import type { RouteNamedMap } from 'vue-router/auto-routes'
43
54
defineProps<{

app/components/Compare/FacetCard.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script setup lang="ts">
2-
import type { FacetValue } from '#shared/types'
3-
42
const props = defineProps<{
53
/** Facet label */
64
label: string

app/components/Compare/FacetRow.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script setup lang="ts">
2-
import type { FacetValue } from '#shared/types'
3-
42
const props = defineProps<{
53
/** Facet label */
64
label: string

app/components/Package/DeprecatedTree.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script setup lang="ts">
2-
import type { DependencyDepth } from '#shared/types'
3-
42
const props = defineProps<{
53
packageName: string
64
version: string

app/components/Package/Header.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script setup lang="ts">
2-
import type { PackumentVersion, ProvenanceDetails, SlimVersion, SlimPackument } from '#shared/types'
32
import type { RouteLocationRaw } from 'vue-router'
43
import { SCROLL_TO_TOP_THRESHOLD } from '~/composables/useScrollToTop'
54
import { useModal } from '~/composables/useModal'

app/components/Package/List.vue

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
<script setup lang="ts">
2-
import type { NpmSearchResult } from '#shared/types'
3-
import type { WindowVirtualizerHandle } from '~/composables/useVirtualInfiniteScroll'
4-
import type {
5-
ColumnConfig,
6-
PageSize,
7-
PaginationMode,
8-
SortOption,
9-
ViewMode,
10-
} from '#shared/types/preferences'
11-
import { DEFAULT_COLUMNS } from '#shared/types/preferences'
122
import { WindowVirtualizer } from 'virtua/vue'
133
144
/** Number of items to render statically during SSR */

app/components/Package/Playgrounds.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script setup lang="ts">
2-
import type { PlaygroundLink } from '#shared/types'
3-
42
const props = defineProps<{
53
links: PlaygroundLink[]
64
}>()

0 commit comments

Comments
 (0)