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
This commit is contained in:
Alexander Brown
2025-08-25 12:03:01 -07:00
committed by GitHub
parent f79a5dc6a8
commit 73f7e1108a
3 changed files with 8 additions and 3 deletions

6
.gitattributes vendored
View File

@@ -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

View File

@@ -13,7 +13,7 @@
<script setup lang="ts">
import InputText from 'primevue/inputtext'
import { computed, defineModel } from 'vue'
import { computed } from 'vue'
const { placeHolder, hasBorder = false } = defineProps<{
placeHolder?: string

View File

@@ -136,7 +136,8 @@ export default defineConfig({
],
dirs: ['src/components', 'src/layout', 'src/views'],
deep: true,
extensions: ['vue']
extensions: ['vue'],
directoryAsNamespace: true
})
],