@@ -152,13 +152,14 @@ export default defineConfig((ctx) => {
152152 vueShim : true ,
153153 extendTsConfig ( ts ) {
154154 // 1) Narrow Quasar's very broad include so vue-tsc doesn't crawl packages/**
155- // ts.include = [
156- // './**/*.d.ts',
157- // '../src',
158- // '../src/**/*.vue',
159- // '../env.d.ts',
160- // '../.quasar/**/*.d.ts',
161- // ]
155+ ts . include ?. push (
156+ './../packages/taskyon/src/**/*' ,
157+ //'./**/*.d.ts',
158+ //'../src',
159+ //'../src/**/*.vue',
160+ //'../env.d.ts',
161+ //'../.quasar/**/*.d.ts',
162+ )
162163
163164 // for some reason, adding references here doesn't work very well...
164165 //ts.files = []
@@ -183,8 +184,15 @@ export default defineConfig((ctx) => {
183184 // ts.compilerOptions.paths['app/*'] = ['../src/*']
184185 // }
185186 // // (optional) you can also remove it completely:
187+ delete ts . compilerOptions ?. paths [ 'app' ]
186188 delete ts . compilerOptions ?. paths [ 'app/*' ]
187189
190+ // we can't do this, because we want everything to be under
191+ // @ŧaskyon/taskyon package :)
192+ /*if (ts.compilerOptions?.paths) {
193+ ts.compilerOptions.paths.taskyon = ['./../packages/taskyon/src']
194+ ts.compilerOptions.paths['taskyon/*'] = ['./../packages/taskyon/src/*']
195+ }*/
188196 return ts
189197 } ,
190198 } ,
@@ -354,7 +362,12 @@ export default defineConfig((ctx) => {
354362 {
355363 vueTsc : true ,
356364 eslint : {
357- lintCommand : 'eslint -c ./eslint.config.js "./src*/**/*.{ts,js,mjs,cjs,vue}"' ,
365+ lintCommand : [
366+ 'eslint' ,
367+ '-c ./eslint.config.js' ,
368+ '"./src/**/*.{ts,js,mjs,cjs,vue}"' ,
369+ '"./packages/*/src/**/*.{ts,js,mjs,cjs,vue}"' ,
370+ ] . join ( ' ' ) ,
358371 useFlatConfig : true ,
359372 } ,
360373 } ,
0 commit comments