Chore: Update several Develeoper Dependencies (#7590)

## Summary

Hopefully this will stabilize the precommit and prepush behavior for
developers using Windows and speed up the runtime of a few scripts for
everyone else.

Includes fixes for unused refs that were caught by the updated vue-tsc.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7590-Chore-Update-several-Develeoper-Dependencies-2cc6d73d365081fdb27cd00e53b169d5)
by [Unito](https://www.unito.io)
This commit is contained in:
Alexander Brown
2025-12-17 15:24:07 -08:00
committed by GitHub
parent ed04215d40
commit db929220af
11 changed files with 774 additions and 1087 deletions

1
.npmrc
View File

@@ -1,2 +1,3 @@
ignore-workspace-root-check=true ignore-workspace-root-check=true
catalog-mode=prefer catalog-mode=prefer
public-hoist-pattern[]=@parcel/watcher

1813
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -34,7 +34,7 @@ catalog:
'@trivago/prettier-plugin-sort-imports': ^5.2.0 '@trivago/prettier-plugin-sort-imports': ^5.2.0
'@types/fs-extra': ^11.0.4 '@types/fs-extra': ^11.0.4
'@types/jsdom': ^21.1.7 '@types/jsdom': ^21.1.7
'@types/node': ^20.19.0 '@types/node': ^24.1.0
'@types/semver': ^7.7.0 '@types/semver': ^7.7.0
'@types/three': ^0.169.0 '@types/three': ^0.169.0
'@vitejs/plugin-vue': ^6.0.0 '@vitejs/plugin-vue': ^6.0.0
@@ -61,16 +61,16 @@ catalog:
firebase: ^11.6.0 firebase: ^11.6.0
globals: ^15.9.0 globals: ^15.9.0
happy-dom: ^15.11.0 happy-dom: ^15.11.0
husky: ^9.0.11 husky: ^9.1.7
jiti: 2.4.2 jiti: 2.6.1
jsdom: ^26.1.0 jsdom: ^26.1.0
knip: ^5.62.0 knip: ^5.75.1
lint-staged: ^15.5.2 lint-staged: ^16.2.7
markdown-table: ^3.0.4 markdown-table: ^3.0.4
mixpanel-browser: ^2.71.0 mixpanel-browser: ^2.71.0
nx: 22.2.6 nx: 22.2.6
oxlint: ^1.32.0 oxlint: ^1.33.0
oxlint-tsgolint: ^0.8.4 oxlint-tsgolint: ^0.9.1
picocolors: ^1.1.1 picocolors: ^1.1.1
pinia: ^2.1.7 pinia: ^2.1.7
postcss-html: ^1.8.0 postcss-html: ^1.8.0
@@ -92,7 +92,7 @@ catalog:
unplugin-icons: ^0.22.0 unplugin-icons: ^0.22.0
unplugin-typegpu: 0.8.0 unplugin-typegpu: 0.8.0
unplugin-vue-components: ^0.28.0 unplugin-vue-components: ^0.28.0
vite: ^7.0.0 vite: ^7.3.0
vite-plugin-dts: ^4.5.4 vite-plugin-dts: ^4.5.4
vite-plugin-html: ^3.2.2 vite-plugin-html: ^3.2.2
vite-plugin-vue-devtools: ^8.0.0 vite-plugin-vue-devtools: ^8.0.0

View File

@@ -12,7 +12,6 @@
/> />
<img <img
v-if="cachedSrc" v-if="cachedSrc"
ref="imageRef"
:src="cachedSrc" :src="cachedSrc"
:alt="alt" :alt="alt"
draggable="false" draggable="false"
@@ -61,7 +60,6 @@ const {
}>() }>()
const containerRef = ref<HTMLElement | null>(null) const containerRef = ref<HTMLElement | null>(null)
const imageRef = ref<HTMLImageElement | null>(null)
const isIntersecting = ref(false) const isIntersecting = ref(false)
const isImageLoaded = ref(false) const isImageLoaded = ref(false)
const hasError = ref(false) const hasError = ref(false)

View File

@@ -48,7 +48,6 @@
class="zoomInputContainer flex items-center gap-1 rounded bg-input-surface p-2" class="zoomInputContainer flex items-center gap-1 rounded bg-input-surface p-2"
> >
<InputNumber <InputNumber
ref="zoomInput"
:default-value="canvasStore.appScalePercentage" :default-value="canvasStore.appScalePercentage"
:min="1" :min="1"
:max="1000" :max="1000"
@@ -130,7 +129,6 @@ const zoomOutCommandText = computed(() =>
const zoomToFitCommandText = computed(() => const zoomToFitCommandText = computed(() =>
formatKeySequence(commandStore.getCommand('Comfy.Canvas.FitView')) formatKeySequence(commandStore.getCommand('Comfy.Canvas.FitView'))
) )
const zoomInput = ref<InstanceType<typeof InputNumber> | null>(null)
const zoomInputContainer = ref<HTMLDivElement | null>(null) const zoomInputContainer = ref<HTMLDivElement | null>(null)
watch( watch(

View File

@@ -9,7 +9,6 @@
> >
<Load3DScene <Load3DScene
v-if="node" v-if="node"
ref="load3DSceneRef"
:initialize-load3d="initializeLoad3d" :initialize-load3d="initializeLoad3d"
:cleanup="cleanup" :cleanup="cleanup"
:loading="loading" :loading="loading"
@@ -100,8 +99,6 @@ if (isComponentWidget(props.widget)) {
}) })
} }
const load3DSceneRef = ref<InstanceType<typeof Load3DScene> | null>(null)
const { const {
// configs // configs
sceneConfig, sceneConfig,

View File

@@ -14,11 +14,7 @@
@dragleave.stop="handleDragLeave" @dragleave.stop="handleDragLeave"
@drop.prevent.stop="handleDrop" @drop.prevent.stop="handleDrop"
> >
<LoadingOverlay <LoadingOverlay :loading="loading" :loading-message="loadingMessage" />
ref="loadingOverlayRef"
:loading="loading"
:loading-message="loadingMessage"
/>
<div <div
v-if="!isPreview && isDragging" v-if="!isPreview && isDragging"
class="pointer-events-none absolute inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm" class="pointer-events-none absolute inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm"
@@ -48,7 +44,6 @@ const props = defineProps<{
}>() }>()
const container = ref<HTMLElement | null>(null) const container = ref<HTMLElement | null>(null)
const loadingOverlayRef = ref<InstanceType<typeof LoadingOverlay> | null>(null)
const { isDragging, dragMessage, handleDragOver, handleDragLeave, handleDrop } = const { isDragging, dragMessage, handleDragOver, handleDragLeave, handleDrop } =
useLoad3dDrag({ useLoad3dDrag({

View File

@@ -6,7 +6,7 @@
@mouseenter="viewer.handleMouseEnter" @mouseenter="viewer.handleMouseEnter"
@mouseleave="viewer.handleMouseLeave" @mouseleave="viewer.handleMouseLeave"
> >
<div ref="mainContentRef" class="relative flex-1"> <div class="relative flex-1">
<div <div
ref="containerRef" ref="containerRef"
class="absolute h-full w-full" class="absolute h-full w-full"
@@ -105,7 +105,6 @@ const props = defineProps<{
const viewerContentRef = ref<HTMLDivElement>() const viewerContentRef = ref<HTMLDivElement>()
const containerRef = ref<HTMLDivElement>() const containerRef = ref<HTMLDivElement>()
const mainContentRef = ref<HTMLDivElement>()
const maximized = ref(false) const maximized = ref(false)
const mutationObserver = ref<MutationObserver | null>(null) const mutationObserver = ref<MutationObserver | null>(null)

View File

@@ -1,6 +1,5 @@
<template> <template>
<div <div
ref="menuButtonRef"
v-tooltip="{ v-tooltip="{
value: t('sideToolbar.labels.menu'), value: t('sideToolbar.labels.menu'),
showDelay: 300, showDelay: 300,
@@ -137,7 +136,6 @@ const settingStore = useSettingStore()
const menuRef = ref< const menuRef = ref<
({ dirty: boolean } & TieredMenuMethods & TieredMenuState) | null ({ dirty: boolean } & TieredMenuMethods & TieredMenuState) | null
>(null) >(null)
const menuButtonRef = ref<HTMLElement | null>(null)
const nodes2Enabled = computed({ const nodes2Enabled = computed({
get: () => settingStore.get('Comfy.VueNodes.Enabled') ?? false, get: () => settingStore.get('Comfy.VueNodes.Enabled') ?? false,

View File

@@ -11,7 +11,6 @@
}" }"
> >
<div <div
ref="contentMeasureRef"
:class=" :class="
isOverflowing isOverflowing
? 'side-tool-bar-container overflow-y-auto' ? 'side-tool-bar-container overflow-y-auto'
@@ -80,7 +79,6 @@ const userStore = useUserStore()
const commandStore = useCommandStore() const commandStore = useCommandStore()
const canvasStore = useCanvasStore() const canvasStore = useCanvasStore()
const sideToolbarRef = ref<HTMLElement>() const sideToolbarRef = ref<HTMLElement>()
const contentMeasureRef = ref<HTMLElement>()
const topToolbarRef = ref<HTMLElement>() const topToolbarRef = ref<HTMLElement>()
const bottomToolbarRef = ref<HTMLElement>() const bottomToolbarRef = ref<HTMLElement>()

View File

@@ -16,7 +16,6 @@
/> />
<div <div
ref="containerRef"
class="litegraph-minimap relative border border-interface-stroke bg-comfy-menu-bg shadow-interface" class="litegraph-minimap relative border border-interface-stroke bg-comfy-menu-bg shadow-interface"
:style="containerStyles" :style="containerStyles"
> >
@@ -51,12 +50,7 @@
}" }"
/> />
<canvas <canvas :width="width" :height="height" class="minimap-canvas" />
ref="canvasRef"
:width="width"
:height="height"
class="minimap-canvas"
/>
<div class="minimap-viewport" :style="viewportStyles" /> <div class="minimap-viewport" :style="viewportStyles" />
@@ -89,8 +83,6 @@ const minimapRef = ref<HTMLDivElement>()
const { const {
initialized, initialized,
visible, visible,
containerRef,
canvasRef,
containerStyles, containerStyles,
viewportStyles, viewportStyles,
width, width,