knip 6.25.0 → 6.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ConfigurationChief.d.ts +102 -0
- package/dist/compilers/index.d.ts +170 -0
- package/dist/constants.js +13 -0
- package/dist/graph/build.js +8 -3
- package/dist/plugins/_vue/auto-import.d.ts +12 -0
- package/dist/plugins/_vue/auto-import.js +272 -0
- package/dist/plugins/_vue/types.d.ts +38 -0
- package/dist/plugins/_vue/types.js +1 -0
- package/dist/plugins/astro/index.js +2 -37
- package/dist/plugins/astro/resolveFromAST.d.ts +4 -4
- package/dist/plugins/astro/resolveFromAST.js +34 -7
- package/dist/plugins/electron-vite/index.d.ts +3 -0
- package/dist/plugins/electron-vite/index.js +51 -0
- package/dist/plugins/electron-vite/types.d.ts +23 -0
- package/dist/plugins/electron-vite/types.js +1 -0
- package/dist/plugins/esbuild/index.d.ts +3 -0
- package/dist/plugins/esbuild/index.js +17 -0
- package/dist/plugins/eslint/resolveFromAST.js +18 -21
- package/dist/plugins/index.d.ts +17 -0
- package/dist/plugins/index.js +34 -0
- package/dist/plugins/laravel-vite-plugin/index.d.ts +3 -0
- package/dist/plugins/laravel-vite-plugin/index.js +14 -0
- package/dist/plugins/laravel-vite-plugin/resolveFromAST.d.ts +2 -0
- package/dist/plugins/laravel-vite-plugin/resolveFromAST.js +27 -0
- package/dist/plugins/next/index.js +2 -2
- package/dist/plugins/next-mdx/index.js +2 -8
- package/dist/plugins/next-mdx/resolveFromAST.d.ts +3 -2
- package/dist/plugins/next-mdx/resolveFromAST.js +17 -21
- package/dist/plugins/nuxt/index.js +5 -68
- package/dist/plugins/nuxt/types.d.ts +0 -34
- package/dist/plugins/nuxtjs-i18n/index.d.ts +3 -0
- package/dist/plugins/nuxtjs-i18n/index.js +12 -0
- package/dist/plugins/oclif/index.js +10 -5
- package/dist/plugins/orval/index.js +1 -3
- package/dist/plugins/orval/resolveFromAST.d.ts +2 -2
- package/dist/plugins/orval/resolveFromAST.js +4 -7
- package/dist/plugins/oxlint/index.js +23 -2
- package/dist/plugins/pnpm/index.js +2 -1
- package/dist/plugins/pnpm/types.d.ts +2 -4
- package/dist/plugins/quasar/index.d.ts +3 -0
- package/dist/plugins/quasar/index.js +15 -0
- package/dist/plugins/quasar/resolveFromAST.d.ts +3 -0
- package/dist/plugins/quasar/resolveFromAST.js +63 -0
- package/dist/plugins/qwik/index.js +1 -25
- package/dist/plugins/qwik/resolveFromAST.d.ts +5 -3
- package/dist/plugins/qwik/resolveFromAST.js +28 -9
- package/dist/plugins/rolldown/index.js +2 -5
- package/dist/plugins/rollup/index.js +2 -5
- package/dist/plugins/rslib/index.js +2 -5
- package/dist/plugins/sst/index.js +1 -5
- package/dist/plugins/sst/resolveFromAST.d.ts +1 -1
- package/dist/plugins/sst/resolveFromAST.js +1 -1
- package/dist/plugins/starlight/index.js +1 -19
- package/dist/plugins/starlight/resolveFromAST.d.ts +2 -2
- package/dist/plugins/starlight/resolveFromAST.js +12 -8
- package/dist/plugins/stencil/index.js +2 -37
- package/dist/plugins/stencil/resolveFromAST.d.ts +3 -0
- package/dist/plugins/stencil/resolveFromAST.js +36 -0
- package/dist/plugins/storybook/index.js +3 -0
- package/dist/plugins/sveltekit/index.js +1 -48
- package/dist/plugins/sveltekit/resolveFromAST.d.ts +2 -0
- package/dist/plugins/sveltekit/resolveFromAST.js +45 -0
- package/dist/plugins/tauri/index.d.ts +3 -0
- package/dist/plugins/tauri/index.js +42 -0
- package/dist/plugins/tauri/types.d.ts +16 -0
- package/dist/plugins/tauri/types.js +1 -0
- package/dist/plugins/tsdown/index.js +2 -5
- package/dist/plugins/tsup/index.js +2 -5
- package/dist/plugins/unplugin-auto-import/index.d.ts +3 -0
- package/dist/plugins/unplugin-auto-import/index.js +18 -0
- package/dist/plugins/unplugin-icons/index.d.ts +3 -0
- package/dist/plugins/unplugin-icons/index.js +17 -0
- package/dist/plugins/unplugin-vue-components/index.d.ts +3 -0
- package/dist/plugins/unplugin-vue-components/index.js +16 -0
- package/dist/plugins/unplugin-vue-i18n/index.d.ts +3 -0
- package/dist/plugins/unplugin-vue-i18n/index.js +10 -0
- package/dist/plugins/unplugin-vue-markdown/index.d.ts +3 -0
- package/dist/plugins/unplugin-vue-markdown/index.js +16 -0
- package/dist/plugins/unplugin-vue-router/index.d.ts +3 -0
- package/dist/plugins/unplugin-vue-router/index.js +14 -0
- package/dist/plugins/vite/helpers.d.ts +2 -0
- package/dist/plugins/vite/helpers.js +46 -31
- package/dist/plugins/vite/index.js +1 -1
- package/dist/plugins/vite-plugin-pages/index.d.ts +3 -0
- package/dist/plugins/vite-plugin-pages/index.js +26 -0
- package/dist/plugins/vite-plugin-pwa/index.d.ts +3 -0
- package/dist/plugins/vite-plugin-pwa/index.js +17 -0
- package/dist/plugins/vite-plugin-pwa/resolveFromAST.d.ts +4 -0
- package/dist/plugins/vite-plugin-pwa/resolveFromAST.js +37 -0
- package/dist/plugins/vite-plugin-vue-layouts-next/index.d.ts +3 -0
- package/dist/plugins/vite-plugin-vue-layouts-next/index.js +23 -0
- package/dist/plugins/vite-plus/index.d.ts +3 -0
- package/dist/plugins/vite-plus/index.js +14 -0
- package/dist/plugins/vite-plus/resolveFromAST.d.ts +2 -0
- package/dist/plugins/vite-plus/resolveFromAST.js +37 -0
- package/dist/plugins/vite-pwa-assets-generator/index.d.ts +3 -0
- package/dist/plugins/vite-pwa-assets-generator/index.js +12 -0
- package/dist/plugins/vitepress/index.js +5 -1
- package/dist/plugins/vitest/index.js +4 -0
- package/dist/plugins/vitest/types.d.ts +3 -0
- package/dist/plugins/vue/index.js +5 -3
- package/dist/plugins/yarn/index.js +2 -1
- package/dist/plugins/yarn/types.d.ts +2 -4
- package/dist/schema/configuration.d.ts +255 -0
- package/dist/schema/plugins.d.ts +85 -0
- package/dist/schema/plugins.js +17 -0
- package/dist/types/PluginNames.d.ts +2 -2
- package/dist/types/PluginNames.js +17 -0
- package/dist/types/package-json.d.ts +8 -4
- package/dist/typescript/ast-helpers.d.ts +7 -2
- package/dist/typescript/ast-helpers.js +36 -8
- package/dist/typescript/ast-nodes.d.ts +1 -0
- package/dist/typescript/ast-nodes.js +8 -0
- package/dist/util/cli-arguments.d.ts +1 -1
- package/dist/util/cli-arguments.js +1 -1
- package/dist/util/create-options.d.ts +170 -0
- package/dist/util/resolve.js +4 -1
- package/dist/util/to-source-path.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/schema.json +68 -0
- package/dist/plugins/next/resolveFromAST.d.ts +0 -2
- package/dist/plugins/next/resolveFromAST.js +0 -2
- package/dist/plugins/nuxt/helpers.d.ts +0 -15
- package/dist/plugins/nuxt/helpers.js +0 -133
- package/dist/plugins/rolldown/resolveFromAST.d.ts +0 -2
- package/dist/plugins/rolldown/resolveFromAST.js +0 -4
- package/dist/plugins/rollup/resolveFromAST.d.ts +0 -2
- package/dist/plugins/rollup/resolveFromAST.js +0 -4
- package/dist/plugins/rslib/resolveFromAST.d.ts +0 -2
- package/dist/plugins/rslib/resolveFromAST.js +0 -4
- package/dist/plugins/tsdown/resolveFromAST.d.ts +0 -2
- package/dist/plugins/tsdown/resolveFromAST.js +0 -4
- package/dist/plugins/tsup/resolveFromAST.d.ts +0 -2
- package/dist/plugins/tsup/resolveFromAST.js +0 -4
- package/dist/plugins/vue/compiler.d.ts +0 -3
- package/dist/plugins/vue/compiler.js +0 -10
|
@@ -197,11 +197,21 @@ export declare class ConfigurationChief {
|
|
|
197
197
|
entry?: string | string[] | undefined;
|
|
198
198
|
project?: string | string[] | undefined;
|
|
199
199
|
} | undefined;
|
|
200
|
+
'electron-vite'?: string | boolean | string[] | {
|
|
201
|
+
config?: string | string[] | undefined;
|
|
202
|
+
entry?: string | string[] | undefined;
|
|
203
|
+
project?: string | string[] | undefined;
|
|
204
|
+
} | undefined;
|
|
200
205
|
eleventy?: string | boolean | string[] | {
|
|
201
206
|
config?: string | string[] | undefined;
|
|
202
207
|
entry?: string | string[] | undefined;
|
|
203
208
|
project?: string | string[] | undefined;
|
|
204
209
|
} | undefined;
|
|
210
|
+
esbuild?: string | boolean | string[] | {
|
|
211
|
+
config?: string | string[] | undefined;
|
|
212
|
+
entry?: string | string[] | undefined;
|
|
213
|
+
project?: string | string[] | undefined;
|
|
214
|
+
} | undefined;
|
|
205
215
|
eslint?: string | boolean | string[] | {
|
|
206
216
|
config?: string | string[] | undefined;
|
|
207
217
|
entry?: string | string[] | undefined;
|
|
@@ -297,6 +307,11 @@ export declare class ConfigurationChief {
|
|
|
297
307
|
entry?: string | string[] | undefined;
|
|
298
308
|
project?: string | string[] | undefined;
|
|
299
309
|
} | undefined;
|
|
310
|
+
'laravel-vite-plugin'?: string | boolean | string[] | {
|
|
311
|
+
config?: string | string[] | undefined;
|
|
312
|
+
entry?: string | string[] | undefined;
|
|
313
|
+
project?: string | string[] | undefined;
|
|
314
|
+
} | undefined;
|
|
300
315
|
lefthook?: string | boolean | string[] | {
|
|
301
316
|
config?: string | string[] | undefined;
|
|
302
317
|
entry?: string | string[] | undefined;
|
|
@@ -432,6 +447,11 @@ export declare class ConfigurationChief {
|
|
|
432
447
|
entry?: string | string[] | undefined;
|
|
433
448
|
project?: string | string[] | undefined;
|
|
434
449
|
} | undefined;
|
|
450
|
+
'nuxtjs-i18n'?: string | boolean | string[] | {
|
|
451
|
+
config?: string | string[] | undefined;
|
|
452
|
+
entry?: string | string[] | undefined;
|
|
453
|
+
project?: string | string[] | undefined;
|
|
454
|
+
} | undefined;
|
|
435
455
|
nx?: string | boolean | string[] | {
|
|
436
456
|
config?: string | string[] | undefined;
|
|
437
457
|
entry?: string | string[] | undefined;
|
|
@@ -537,6 +557,11 @@ export declare class ConfigurationChief {
|
|
|
537
557
|
entry?: string | string[] | undefined;
|
|
538
558
|
project?: string | string[] | undefined;
|
|
539
559
|
} | undefined;
|
|
560
|
+
quasar?: string | boolean | string[] | {
|
|
561
|
+
config?: string | string[] | undefined;
|
|
562
|
+
entry?: string | string[] | undefined;
|
|
563
|
+
project?: string | string[] | undefined;
|
|
564
|
+
} | undefined;
|
|
540
565
|
qwik?: string | boolean | string[] | {
|
|
541
566
|
config?: string | string[] | undefined;
|
|
542
567
|
entry?: string | string[] | undefined;
|
|
@@ -727,6 +752,11 @@ export declare class ConfigurationChief {
|
|
|
727
752
|
entry?: string | string[] | undefined;
|
|
728
753
|
project?: string | string[] | undefined;
|
|
729
754
|
} | undefined;
|
|
755
|
+
tauri?: string | boolean | string[] | {
|
|
756
|
+
config?: string | string[] | undefined;
|
|
757
|
+
entry?: string | string[] | undefined;
|
|
758
|
+
project?: string | string[] | undefined;
|
|
759
|
+
} | undefined;
|
|
730
760
|
travis?: string | boolean | string[] | {
|
|
731
761
|
config?: string | string[] | undefined;
|
|
732
762
|
entry?: string | string[] | undefined;
|
|
@@ -772,6 +802,36 @@ export declare class ConfigurationChief {
|
|
|
772
802
|
entry?: string | string[] | undefined;
|
|
773
803
|
project?: string | string[] | undefined;
|
|
774
804
|
} | undefined;
|
|
805
|
+
'unplugin-auto-import'?: string | boolean | string[] | {
|
|
806
|
+
config?: string | string[] | undefined;
|
|
807
|
+
entry?: string | string[] | undefined;
|
|
808
|
+
project?: string | string[] | undefined;
|
|
809
|
+
} | undefined;
|
|
810
|
+
'unplugin-icons'?: string | boolean | string[] | {
|
|
811
|
+
config?: string | string[] | undefined;
|
|
812
|
+
entry?: string | string[] | undefined;
|
|
813
|
+
project?: string | string[] | undefined;
|
|
814
|
+
} | undefined;
|
|
815
|
+
'unplugin-vue-components'?: string | boolean | string[] | {
|
|
816
|
+
config?: string | string[] | undefined;
|
|
817
|
+
entry?: string | string[] | undefined;
|
|
818
|
+
project?: string | string[] | undefined;
|
|
819
|
+
} | undefined;
|
|
820
|
+
'unplugin-vue-i18n'?: string | boolean | string[] | {
|
|
821
|
+
config?: string | string[] | undefined;
|
|
822
|
+
entry?: string | string[] | undefined;
|
|
823
|
+
project?: string | string[] | undefined;
|
|
824
|
+
} | undefined;
|
|
825
|
+
'unplugin-vue-markdown'?: string | boolean | string[] | {
|
|
826
|
+
config?: string | string[] | undefined;
|
|
827
|
+
entry?: string | string[] | undefined;
|
|
828
|
+
project?: string | string[] | undefined;
|
|
829
|
+
} | undefined;
|
|
830
|
+
'unplugin-vue-router'?: string | boolean | string[] | {
|
|
831
|
+
config?: string | string[] | undefined;
|
|
832
|
+
entry?: string | string[] | undefined;
|
|
833
|
+
project?: string | string[] | undefined;
|
|
834
|
+
} | undefined;
|
|
775
835
|
vercel?: string | boolean | string[] | {
|
|
776
836
|
config?: string | string[] | undefined;
|
|
777
837
|
entry?: string | string[] | undefined;
|
|
@@ -792,6 +852,31 @@ export declare class ConfigurationChief {
|
|
|
792
852
|
entry?: string | string[] | undefined;
|
|
793
853
|
project?: string | string[] | undefined;
|
|
794
854
|
} | undefined;
|
|
855
|
+
'vite-plugin-pages'?: string | boolean | string[] | {
|
|
856
|
+
config?: string | string[] | undefined;
|
|
857
|
+
entry?: string | string[] | undefined;
|
|
858
|
+
project?: string | string[] | undefined;
|
|
859
|
+
} | undefined;
|
|
860
|
+
'vite-plugin-pwa'?: string | boolean | string[] | {
|
|
861
|
+
config?: string | string[] | undefined;
|
|
862
|
+
entry?: string | string[] | undefined;
|
|
863
|
+
project?: string | string[] | undefined;
|
|
864
|
+
} | undefined;
|
|
865
|
+
'vite-plugin-vue-layouts-next'?: string | boolean | string[] | {
|
|
866
|
+
config?: string | string[] | undefined;
|
|
867
|
+
entry?: string | string[] | undefined;
|
|
868
|
+
project?: string | string[] | undefined;
|
|
869
|
+
} | undefined;
|
|
870
|
+
'vite-plus'?: string | boolean | string[] | {
|
|
871
|
+
config?: string | string[] | undefined;
|
|
872
|
+
entry?: string | string[] | undefined;
|
|
873
|
+
project?: string | string[] | undefined;
|
|
874
|
+
} | undefined;
|
|
875
|
+
'vite-pwa-assets-generator'?: string | boolean | string[] | {
|
|
876
|
+
config?: string | string[] | undefined;
|
|
877
|
+
entry?: string | string[] | undefined;
|
|
878
|
+
project?: string | string[] | undefined;
|
|
879
|
+
} | undefined;
|
|
795
880
|
vitepress?: string | boolean | string[] | {
|
|
796
881
|
config?: string | string[] | undefined;
|
|
797
882
|
entry?: string | string[] | undefined;
|
|
@@ -907,7 +992,9 @@ export declare class ConfigurationChief {
|
|
|
907
992
|
docusaurus?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
908
993
|
dotenv?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
909
994
|
drizzle?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
995
|
+
"electron-vite"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
910
996
|
eleventy?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
997
|
+
esbuild?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
911
998
|
eslint?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
912
999
|
eve?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
913
1000
|
execa?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
@@ -927,6 +1014,7 @@ export declare class ConfigurationChief {
|
|
|
927
1014
|
karma?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
928
1015
|
knex?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
929
1016
|
ladle?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1017
|
+
"laravel-vite-plugin"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
930
1018
|
lefthook?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
931
1019
|
"lint-staged"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
932
1020
|
linthtml?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
@@ -954,6 +1042,7 @@ export declare class ConfigurationChief {
|
|
|
954
1042
|
nodemon?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
955
1043
|
"npm-package-json-lint"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
956
1044
|
nuxt?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1045
|
+
"nuxtjs-i18n"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
957
1046
|
nx?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
958
1047
|
nyc?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
959
1048
|
oclif?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
@@ -975,6 +1064,7 @@ export declare class ConfigurationChief {
|
|
|
975
1064
|
preconstruct?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
976
1065
|
prettier?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
977
1066
|
prisma?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1067
|
+
quasar?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
978
1068
|
qwik?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
979
1069
|
raycast?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
980
1070
|
"react-cosmos"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
@@ -1013,6 +1103,7 @@ export declare class ConfigurationChief {
|
|
|
1013
1103
|
tailwind?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1014
1104
|
"tanstack-router"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1015
1105
|
taskfile?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1106
|
+
tauri?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1016
1107
|
travis?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1017
1108
|
"ts-node"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1018
1109
|
tsdown?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
@@ -1022,10 +1113,21 @@ export declare class ConfigurationChief {
|
|
|
1022
1113
|
typescript?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1023
1114
|
unbuild?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1024
1115
|
unocss?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1116
|
+
"unplugin-auto-import"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1117
|
+
"unplugin-icons"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1118
|
+
"unplugin-vue-components"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1119
|
+
"unplugin-vue-i18n"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1120
|
+
"unplugin-vue-markdown"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1121
|
+
"unplugin-vue-router"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1025
1122
|
vercel?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1026
1123
|
"vercel-og"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1027
1124
|
vike?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1028
1125
|
vite?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1126
|
+
"vite-plugin-pages"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1127
|
+
"vite-plugin-pwa"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1128
|
+
"vite-plugin-vue-layouts-next"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1129
|
+
"vite-plus"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1130
|
+
"vite-pwa-assets-generator"?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1029
1131
|
vitepress?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1030
1132
|
vitest?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
1031
1133
|
vue?: (boolean | import("./types/config.ts").EnsuredPluginConfiguration) | undefined;
|
|
@@ -143,11 +143,21 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
143
143
|
entry?: string | string[] | undefined;
|
|
144
144
|
project?: string | string[] | undefined;
|
|
145
145
|
} | undefined;
|
|
146
|
+
'electron-vite'?: string | boolean | string[] | {
|
|
147
|
+
config?: string | string[] | undefined;
|
|
148
|
+
entry?: string | string[] | undefined;
|
|
149
|
+
project?: string | string[] | undefined;
|
|
150
|
+
} | undefined;
|
|
146
151
|
eleventy?: string | boolean | string[] | {
|
|
147
152
|
config?: string | string[] | undefined;
|
|
148
153
|
entry?: string | string[] | undefined;
|
|
149
154
|
project?: string | string[] | undefined;
|
|
150
155
|
} | undefined;
|
|
156
|
+
esbuild?: string | boolean | string[] | {
|
|
157
|
+
config?: string | string[] | undefined;
|
|
158
|
+
entry?: string | string[] | undefined;
|
|
159
|
+
project?: string | string[] | undefined;
|
|
160
|
+
} | undefined;
|
|
151
161
|
eslint?: string | boolean | string[] | {
|
|
152
162
|
config?: string | string[] | undefined;
|
|
153
163
|
entry?: string | string[] | undefined;
|
|
@@ -243,6 +253,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
243
253
|
entry?: string | string[] | undefined;
|
|
244
254
|
project?: string | string[] | undefined;
|
|
245
255
|
} | undefined;
|
|
256
|
+
'laravel-vite-plugin'?: string | boolean | string[] | {
|
|
257
|
+
config?: string | string[] | undefined;
|
|
258
|
+
entry?: string | string[] | undefined;
|
|
259
|
+
project?: string | string[] | undefined;
|
|
260
|
+
} | undefined;
|
|
246
261
|
lefthook?: string | boolean | string[] | {
|
|
247
262
|
config?: string | string[] | undefined;
|
|
248
263
|
entry?: string | string[] | undefined;
|
|
@@ -378,6 +393,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
378
393
|
entry?: string | string[] | undefined;
|
|
379
394
|
project?: string | string[] | undefined;
|
|
380
395
|
} | undefined;
|
|
396
|
+
'nuxtjs-i18n'?: string | boolean | string[] | {
|
|
397
|
+
config?: string | string[] | undefined;
|
|
398
|
+
entry?: string | string[] | undefined;
|
|
399
|
+
project?: string | string[] | undefined;
|
|
400
|
+
} | undefined;
|
|
381
401
|
nx?: string | boolean | string[] | {
|
|
382
402
|
config?: string | string[] | undefined;
|
|
383
403
|
entry?: string | string[] | undefined;
|
|
@@ -483,6 +503,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
483
503
|
entry?: string | string[] | undefined;
|
|
484
504
|
project?: string | string[] | undefined;
|
|
485
505
|
} | undefined;
|
|
506
|
+
quasar?: string | boolean | string[] | {
|
|
507
|
+
config?: string | string[] | undefined;
|
|
508
|
+
entry?: string | string[] | undefined;
|
|
509
|
+
project?: string | string[] | undefined;
|
|
510
|
+
} | undefined;
|
|
486
511
|
qwik?: string | boolean | string[] | {
|
|
487
512
|
config?: string | string[] | undefined;
|
|
488
513
|
entry?: string | string[] | undefined;
|
|
@@ -673,6 +698,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
673
698
|
entry?: string | string[] | undefined;
|
|
674
699
|
project?: string | string[] | undefined;
|
|
675
700
|
} | undefined;
|
|
701
|
+
tauri?: string | boolean | string[] | {
|
|
702
|
+
config?: string | string[] | undefined;
|
|
703
|
+
entry?: string | string[] | undefined;
|
|
704
|
+
project?: string | string[] | undefined;
|
|
705
|
+
} | undefined;
|
|
676
706
|
travis?: string | boolean | string[] | {
|
|
677
707
|
config?: string | string[] | undefined;
|
|
678
708
|
entry?: string | string[] | undefined;
|
|
@@ -718,6 +748,36 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
718
748
|
entry?: string | string[] | undefined;
|
|
719
749
|
project?: string | string[] | undefined;
|
|
720
750
|
} | undefined;
|
|
751
|
+
'unplugin-auto-import'?: string | boolean | string[] | {
|
|
752
|
+
config?: string | string[] | undefined;
|
|
753
|
+
entry?: string | string[] | undefined;
|
|
754
|
+
project?: string | string[] | undefined;
|
|
755
|
+
} | undefined;
|
|
756
|
+
'unplugin-icons'?: string | boolean | string[] | {
|
|
757
|
+
config?: string | string[] | undefined;
|
|
758
|
+
entry?: string | string[] | undefined;
|
|
759
|
+
project?: string | string[] | undefined;
|
|
760
|
+
} | undefined;
|
|
761
|
+
'unplugin-vue-components'?: string | boolean | string[] | {
|
|
762
|
+
config?: string | string[] | undefined;
|
|
763
|
+
entry?: string | string[] | undefined;
|
|
764
|
+
project?: string | string[] | undefined;
|
|
765
|
+
} | undefined;
|
|
766
|
+
'unplugin-vue-i18n'?: string | boolean | string[] | {
|
|
767
|
+
config?: string | string[] | undefined;
|
|
768
|
+
entry?: string | string[] | undefined;
|
|
769
|
+
project?: string | string[] | undefined;
|
|
770
|
+
} | undefined;
|
|
771
|
+
'unplugin-vue-markdown'?: string | boolean | string[] | {
|
|
772
|
+
config?: string | string[] | undefined;
|
|
773
|
+
entry?: string | string[] | undefined;
|
|
774
|
+
project?: string | string[] | undefined;
|
|
775
|
+
} | undefined;
|
|
776
|
+
'unplugin-vue-router'?: string | boolean | string[] | {
|
|
777
|
+
config?: string | string[] | undefined;
|
|
778
|
+
entry?: string | string[] | undefined;
|
|
779
|
+
project?: string | string[] | undefined;
|
|
780
|
+
} | undefined;
|
|
721
781
|
vercel?: string | boolean | string[] | {
|
|
722
782
|
config?: string | string[] | undefined;
|
|
723
783
|
entry?: string | string[] | undefined;
|
|
@@ -738,6 +798,31 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
738
798
|
entry?: string | string[] | undefined;
|
|
739
799
|
project?: string | string[] | undefined;
|
|
740
800
|
} | undefined;
|
|
801
|
+
'vite-plugin-pages'?: string | boolean | string[] | {
|
|
802
|
+
config?: string | string[] | undefined;
|
|
803
|
+
entry?: string | string[] | undefined;
|
|
804
|
+
project?: string | string[] | undefined;
|
|
805
|
+
} | undefined;
|
|
806
|
+
'vite-plugin-pwa'?: string | boolean | string[] | {
|
|
807
|
+
config?: string | string[] | undefined;
|
|
808
|
+
entry?: string | string[] | undefined;
|
|
809
|
+
project?: string | string[] | undefined;
|
|
810
|
+
} | undefined;
|
|
811
|
+
'vite-plugin-vue-layouts-next'?: string | boolean | string[] | {
|
|
812
|
+
config?: string | string[] | undefined;
|
|
813
|
+
entry?: string | string[] | undefined;
|
|
814
|
+
project?: string | string[] | undefined;
|
|
815
|
+
} | undefined;
|
|
816
|
+
'vite-plus'?: string | boolean | string[] | {
|
|
817
|
+
config?: string | string[] | undefined;
|
|
818
|
+
entry?: string | string[] | undefined;
|
|
819
|
+
project?: string | string[] | undefined;
|
|
820
|
+
} | undefined;
|
|
821
|
+
'vite-pwa-assets-generator'?: string | boolean | string[] | {
|
|
822
|
+
config?: string | string[] | undefined;
|
|
823
|
+
entry?: string | string[] | undefined;
|
|
824
|
+
project?: string | string[] | undefined;
|
|
825
|
+
} | undefined;
|
|
741
826
|
vitepress?: string | boolean | string[] | {
|
|
742
827
|
config?: string | string[] | undefined;
|
|
743
828
|
entry?: string | string[] | undefined;
|
|
@@ -964,11 +1049,21 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
964
1049
|
entry?: string | string[] | undefined;
|
|
965
1050
|
project?: string | string[] | undefined;
|
|
966
1051
|
} | undefined;
|
|
1052
|
+
'electron-vite'?: string | boolean | string[] | {
|
|
1053
|
+
config?: string | string[] | undefined;
|
|
1054
|
+
entry?: string | string[] | undefined;
|
|
1055
|
+
project?: string | string[] | undefined;
|
|
1056
|
+
} | undefined;
|
|
967
1057
|
eleventy?: string | boolean | string[] | {
|
|
968
1058
|
config?: string | string[] | undefined;
|
|
969
1059
|
entry?: string | string[] | undefined;
|
|
970
1060
|
project?: string | string[] | undefined;
|
|
971
1061
|
} | undefined;
|
|
1062
|
+
esbuild?: string | boolean | string[] | {
|
|
1063
|
+
config?: string | string[] | undefined;
|
|
1064
|
+
entry?: string | string[] | undefined;
|
|
1065
|
+
project?: string | string[] | undefined;
|
|
1066
|
+
} | undefined;
|
|
972
1067
|
eslint?: string | boolean | string[] | {
|
|
973
1068
|
config?: string | string[] | undefined;
|
|
974
1069
|
entry?: string | string[] | undefined;
|
|
@@ -1064,6 +1159,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
1064
1159
|
entry?: string | string[] | undefined;
|
|
1065
1160
|
project?: string | string[] | undefined;
|
|
1066
1161
|
} | undefined;
|
|
1162
|
+
'laravel-vite-plugin'?: string | boolean | string[] | {
|
|
1163
|
+
config?: string | string[] | undefined;
|
|
1164
|
+
entry?: string | string[] | undefined;
|
|
1165
|
+
project?: string | string[] | undefined;
|
|
1166
|
+
} | undefined;
|
|
1067
1167
|
lefthook?: string | boolean | string[] | {
|
|
1068
1168
|
config?: string | string[] | undefined;
|
|
1069
1169
|
entry?: string | string[] | undefined;
|
|
@@ -1199,6 +1299,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
1199
1299
|
entry?: string | string[] | undefined;
|
|
1200
1300
|
project?: string | string[] | undefined;
|
|
1201
1301
|
} | undefined;
|
|
1302
|
+
'nuxtjs-i18n'?: string | boolean | string[] | {
|
|
1303
|
+
config?: string | string[] | undefined;
|
|
1304
|
+
entry?: string | string[] | undefined;
|
|
1305
|
+
project?: string | string[] | undefined;
|
|
1306
|
+
} | undefined;
|
|
1202
1307
|
nx?: string | boolean | string[] | {
|
|
1203
1308
|
config?: string | string[] | undefined;
|
|
1204
1309
|
entry?: string | string[] | undefined;
|
|
@@ -1304,6 +1409,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
1304
1409
|
entry?: string | string[] | undefined;
|
|
1305
1410
|
project?: string | string[] | undefined;
|
|
1306
1411
|
} | undefined;
|
|
1412
|
+
quasar?: string | boolean | string[] | {
|
|
1413
|
+
config?: string | string[] | undefined;
|
|
1414
|
+
entry?: string | string[] | undefined;
|
|
1415
|
+
project?: string | string[] | undefined;
|
|
1416
|
+
} | undefined;
|
|
1307
1417
|
qwik?: string | boolean | string[] | {
|
|
1308
1418
|
config?: string | string[] | undefined;
|
|
1309
1419
|
entry?: string | string[] | undefined;
|
|
@@ -1494,6 +1604,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
1494
1604
|
entry?: string | string[] | undefined;
|
|
1495
1605
|
project?: string | string[] | undefined;
|
|
1496
1606
|
} | undefined;
|
|
1607
|
+
tauri?: string | boolean | string[] | {
|
|
1608
|
+
config?: string | string[] | undefined;
|
|
1609
|
+
entry?: string | string[] | undefined;
|
|
1610
|
+
project?: string | string[] | undefined;
|
|
1611
|
+
} | undefined;
|
|
1497
1612
|
travis?: string | boolean | string[] | {
|
|
1498
1613
|
config?: string | string[] | undefined;
|
|
1499
1614
|
entry?: string | string[] | undefined;
|
|
@@ -1539,6 +1654,36 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
1539
1654
|
entry?: string | string[] | undefined;
|
|
1540
1655
|
project?: string | string[] | undefined;
|
|
1541
1656
|
} | undefined;
|
|
1657
|
+
'unplugin-auto-import'?: string | boolean | string[] | {
|
|
1658
|
+
config?: string | string[] | undefined;
|
|
1659
|
+
entry?: string | string[] | undefined;
|
|
1660
|
+
project?: string | string[] | undefined;
|
|
1661
|
+
} | undefined;
|
|
1662
|
+
'unplugin-icons'?: string | boolean | string[] | {
|
|
1663
|
+
config?: string | string[] | undefined;
|
|
1664
|
+
entry?: string | string[] | undefined;
|
|
1665
|
+
project?: string | string[] | undefined;
|
|
1666
|
+
} | undefined;
|
|
1667
|
+
'unplugin-vue-components'?: string | boolean | string[] | {
|
|
1668
|
+
config?: string | string[] | undefined;
|
|
1669
|
+
entry?: string | string[] | undefined;
|
|
1670
|
+
project?: string | string[] | undefined;
|
|
1671
|
+
} | undefined;
|
|
1672
|
+
'unplugin-vue-i18n'?: string | boolean | string[] | {
|
|
1673
|
+
config?: string | string[] | undefined;
|
|
1674
|
+
entry?: string | string[] | undefined;
|
|
1675
|
+
project?: string | string[] | undefined;
|
|
1676
|
+
} | undefined;
|
|
1677
|
+
'unplugin-vue-markdown'?: string | boolean | string[] | {
|
|
1678
|
+
config?: string | string[] | undefined;
|
|
1679
|
+
entry?: string | string[] | undefined;
|
|
1680
|
+
project?: string | string[] | undefined;
|
|
1681
|
+
} | undefined;
|
|
1682
|
+
'unplugin-vue-router'?: string | boolean | string[] | {
|
|
1683
|
+
config?: string | string[] | undefined;
|
|
1684
|
+
entry?: string | string[] | undefined;
|
|
1685
|
+
project?: string | string[] | undefined;
|
|
1686
|
+
} | undefined;
|
|
1542
1687
|
vercel?: string | boolean | string[] | {
|
|
1543
1688
|
config?: string | string[] | undefined;
|
|
1544
1689
|
entry?: string | string[] | undefined;
|
|
@@ -1559,6 +1704,31 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
1559
1704
|
entry?: string | string[] | undefined;
|
|
1560
1705
|
project?: string | string[] | undefined;
|
|
1561
1706
|
} | undefined;
|
|
1707
|
+
'vite-plugin-pages'?: string | boolean | string[] | {
|
|
1708
|
+
config?: string | string[] | undefined;
|
|
1709
|
+
entry?: string | string[] | undefined;
|
|
1710
|
+
project?: string | string[] | undefined;
|
|
1711
|
+
} | undefined;
|
|
1712
|
+
'vite-plugin-pwa'?: string | boolean | string[] | {
|
|
1713
|
+
config?: string | string[] | undefined;
|
|
1714
|
+
entry?: string | string[] | undefined;
|
|
1715
|
+
project?: string | string[] | undefined;
|
|
1716
|
+
} | undefined;
|
|
1717
|
+
'vite-plugin-vue-layouts-next'?: string | boolean | string[] | {
|
|
1718
|
+
config?: string | string[] | undefined;
|
|
1719
|
+
entry?: string | string[] | undefined;
|
|
1720
|
+
project?: string | string[] | undefined;
|
|
1721
|
+
} | undefined;
|
|
1722
|
+
'vite-plus'?: string | boolean | string[] | {
|
|
1723
|
+
config?: string | string[] | undefined;
|
|
1724
|
+
entry?: string | string[] | undefined;
|
|
1725
|
+
project?: string | string[] | undefined;
|
|
1726
|
+
} | undefined;
|
|
1727
|
+
'vite-pwa-assets-generator'?: string | boolean | string[] | {
|
|
1728
|
+
config?: string | string[] | undefined;
|
|
1729
|
+
entry?: string | string[] | undefined;
|
|
1730
|
+
project?: string | string[] | undefined;
|
|
1731
|
+
} | undefined;
|
|
1562
1732
|
vitepress?: string | boolean | string[] | {
|
|
1563
1733
|
config?: string | string[] | undefined;
|
|
1564
1734
|
entry?: string | string[] | undefined;
|
package/dist/constants.js
CHANGED
|
@@ -23,6 +23,7 @@ export const PROTOCOL_VIRTUAL = 'virtual:';
|
|
|
23
23
|
export const IGNORED_GLOBAL_BINARIES = new Set([
|
|
24
24
|
'amplify',
|
|
25
25
|
'aws',
|
|
26
|
+
'az',
|
|
26
27
|
'base64',
|
|
27
28
|
'basename',
|
|
28
29
|
'bash',
|
|
@@ -37,6 +38,10 @@ export const IGNORED_GLOBAL_BINARIES = new Set([
|
|
|
37
38
|
'cksum',
|
|
38
39
|
'clear',
|
|
39
40
|
'cmd',
|
|
41
|
+
'cmd.exe',
|
|
42
|
+
'code',
|
|
43
|
+
'code-insiders',
|
|
44
|
+
'codesign',
|
|
40
45
|
'comm',
|
|
41
46
|
'command',
|
|
42
47
|
'corepack',
|
|
@@ -45,10 +50,12 @@ export const IGNORED_GLOBAL_BINARIES = new Set([
|
|
|
45
50
|
'cut',
|
|
46
51
|
'date',
|
|
47
52
|
'deno',
|
|
53
|
+
'devtunnel',
|
|
48
54
|
'df',
|
|
49
55
|
'dir',
|
|
50
56
|
'dirname',
|
|
51
57
|
'docker',
|
|
58
|
+
'dotnet',
|
|
52
59
|
'echo',
|
|
53
60
|
'env',
|
|
54
61
|
'exec',
|
|
@@ -60,6 +67,7 @@ export const IGNORED_GLOBAL_BINARIES = new Set([
|
|
|
60
67
|
'false',
|
|
61
68
|
'find',
|
|
62
69
|
'gem',
|
|
70
|
+
'gh',
|
|
63
71
|
'git',
|
|
64
72
|
'grep',
|
|
65
73
|
'groups',
|
|
@@ -86,12 +94,17 @@ export const IGNORED_GLOBAL_BINARIES = new Set([
|
|
|
86
94
|
'npx',
|
|
87
95
|
'nub',
|
|
88
96
|
'nubx',
|
|
97
|
+
'open',
|
|
89
98
|
'paste',
|
|
90
99
|
'pnpm',
|
|
91
100
|
'pnpx',
|
|
101
|
+
'powershell',
|
|
102
|
+
'powershell.exe',
|
|
92
103
|
'pr',
|
|
93
104
|
'printenv',
|
|
94
105
|
'pwd',
|
|
106
|
+
'python',
|
|
107
|
+
'python3',
|
|
95
108
|
'rm',
|
|
96
109
|
'rmdir',
|
|
97
110
|
'rsync',
|
package/dist/graph/build.js
CHANGED
|
@@ -10,6 +10,7 @@ import { tryRealpath } from '../util/fs.js';
|
|
|
10
10
|
import { createManifest } from '../util/package-json.js';
|
|
11
11
|
import { _glob, _syncGlob, negate, prependDirToPattern as prependDir } from '../util/glob.js';
|
|
12
12
|
import { isAlias, isConfig, isDeferResolveEntry, isDeferResolveProductionEntry, isEntry, isIgnore, isProductionEntry, isProject, toProductionEntry, } from '../util/input.js';
|
|
13
|
+
import { isAmbientDeclarationFile } from '../typescript/ast-nodes.js';
|
|
13
14
|
import { resolveImportGlobs } from '../typescript/glob-imports.js';
|
|
14
15
|
import { loadTSConfig } from '../util/load-tsconfig.js';
|
|
15
16
|
import { createFileNode, updateImportMap } from '../util/module-graph.js';
|
|
@@ -91,7 +92,7 @@ export async function build({ chief, collector, counselor, deputy, principal, is
|
|
|
91
92
|
options,
|
|
92
93
|
});
|
|
93
94
|
await worker.init();
|
|
94
|
-
const compilers = getIncludedCompilers(chief.config.syncCompilers, chief.config.asyncCompilers, dependencies, dep => deputy.addReferencedDependency(name, dep));
|
|
95
|
+
const compilers = getIncludedCompilers(new Map(chief.config.syncCompilers), new Map(chief.config.asyncCompilers), dependencies, dep => deputy.addReferencedDependency(name, dep));
|
|
95
96
|
const registerCompiler = async ({ extension, compiler }) => {
|
|
96
97
|
const ext = normalizeCompilerExtension(extension);
|
|
97
98
|
if (compilers[0].has(ext))
|
|
@@ -119,7 +120,8 @@ export async function build({ chief, collector, counselor, deputy, principal, is
|
|
|
119
120
|
const entrySpecifiersFromManifest = getEntrySpecifiersFromManifest(manifest);
|
|
120
121
|
const label = 'entry paths from package.json';
|
|
121
122
|
for (const filePath of await toSourceFilePaths(entrySpecifiersFromManifest, dir, extensionGlobStr, label)) {
|
|
122
|
-
|
|
123
|
+
if (!isGitIgnored(filePath))
|
|
124
|
+
inputs.add(toProductionEntry(filePath));
|
|
123
125
|
}
|
|
124
126
|
for (const identifier of entrySpecifiersFromManifest) {
|
|
125
127
|
if (identifier.startsWith('!') || isGitIgnored(join(dir, identifier)))
|
|
@@ -430,8 +432,11 @@ export async function build({ chief, collector, counselor, deputy, principal, is
|
|
|
430
432
|
}
|
|
431
433
|
return paths;
|
|
432
434
|
});
|
|
433
|
-
for (const filePath of principal.getUnreferencedFiles())
|
|
435
|
+
for (const filePath of principal.getUnreferencedFiles()) {
|
|
436
|
+
if (IS_DTS.test(filePath) && isAmbientDeclarationFile(filePath, principal.readFile(filePath)))
|
|
437
|
+
continue;
|
|
434
438
|
unreferencedFiles.add(filePath);
|
|
439
|
+
}
|
|
435
440
|
for (const filePath of principal.entryPaths)
|
|
436
441
|
entryPaths.add(filePath);
|
|
437
442
|
principal.reconcileCache(graph);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ParseResult } from 'oxc-parser';
|
|
2
|
+
import type { AutoImportMaps } from './types.ts';
|
|
3
|
+
export declare const readAndParseFile: (filePath: string) => ParseResult;
|
|
4
|
+
export declare const collectLocalImportPaths: (filePath: string, result: ParseResult) => Set<string>;
|
|
5
|
+
export declare function buildAutoImportMap(filePath: string, result: ParseResult, maps: AutoImportMaps, isComponents: boolean): void;
|
|
6
|
+
export declare const createAutoImportMaps: () => AutoImportMaps;
|
|
7
|
+
export declare const findGeneratedDts: (cwd: string, signature: string) => string[];
|
|
8
|
+
export declare const createVueCompiler: (maps: AutoImportMaps, cwd: string) => (source: string, path: string) => string;
|
|
9
|
+
export declare const createTsCompiler: (maps: AutoImportMaps) => (source: string, path: string) => string;
|
|
10
|
+
export declare const vueAutoImportCompiler: (source: string, path: string) => string;
|
|
11
|
+
export declare const tsAutoImportCompiler: (source: string, path: string) => string;
|
|
12
|
+
export declare const markdownAutoImportCompiler: (source: string, path: string) => string;
|