From 73f7e1108a7fe2996e48598c7b7cbf9387dd47e5 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Mon, 25 Aug 2025 12:03:01 -0700 Subject: [PATCH] Cleanup: Potpourri PR of small changes that reduce the warning noise (#5128) * fix: [@vue/compiler-sfc] defineModel is a compiler macro and no longer needs to be imported. * fix: Duplicate name conflict/warning from unplugin-vue-components * fix: enforce correct line endings for the commonjs and esm variants via git --- .gitattributes | 6 +++++- src/components/input/SearchBox.vue | 2 +- vite.config.mts | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index af4b6adbc..749554ee1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,9 +2,13 @@ * text=auto # Force TS to LF to make the unixy scripts not break on Windows +*.cjs text eol=lf +*.js text eol=lf +*.json text eol=lf +*.mjs text eol=lf +*.mts text eol=lf *.ts text eol=lf *.vue text eol=lf -*.js text eol=lf # Generated files src/types/comfyRegistryTypes.ts linguist-generated=true diff --git a/src/components/input/SearchBox.vue b/src/components/input/SearchBox.vue index 462668a12..0e60be550 100644 --- a/src/components/input/SearchBox.vue +++ b/src/components/input/SearchBox.vue @@ -13,7 +13,7 @@