Skip to content

Commit 9a6a770

Browse files
committed
fix(nuxt,schema): ignore .d.vue.ts declarations
1 parent 41012a9 commit 9a6a770

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/nuxt/src/components/module.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export default defineNuxtModule<ComponentsOptions>({
115115
ignore: [
116116
'**/*{M,.m,-m}ixin.{js,ts,jsx,tsx}', // ignore mixins
117117
'**/*.d.{cts,mts,ts}', // .d.ts files
118+
'**/*.d.vue.{cts,mts,ts}', // .d.vue.ts files
118119
...(dirOptions.ignore || []),
119120
],
120121
transpile,

packages/schema/src/config/common.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ export default defineResolvers({
555555
'**/*.stories.{js,cts,mts,ts,jsx,tsx}', // ignore storybook files
556556
'**/*.{spec,test}.{js,cts,mts,ts,jsx,tsx}', // ignore tests
557557
'**/*.d.{cts,mts,ts}', // ignore type declarations
558+
'**/*.d.vue.{cts,mts,ts}',
558559
'**/.{pnpm-store,vercel,netlify,output,git,cache,data}',
559560
'**/*.sock',
560561
relative(rootDir, analyzeDir),

0 commit comments

Comments
 (0)