@vixt/core 0.0.4 → 0.0.5
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/index.d.mts +0 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.mjs +4 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,6 @@ import { PluginOption, UserConfig, TransformResult, ProxyOptions } from 'vite';
|
|
|
3
3
|
import * as c12 from 'c12';
|
|
4
4
|
import { ConfigLayer, LoadConfigOptions } from 'c12';
|
|
5
5
|
import { TSConfig } from 'pkg-types';
|
|
6
|
-
import Checker from 'vite-plugin-checker';
|
|
7
6
|
|
|
8
7
|
declare const alias: VixtModule<ModuleOptions>;
|
|
9
8
|
|
|
@@ -123,8 +122,6 @@ interface TypescriptOptions {
|
|
|
123
122
|
content?: string;
|
|
124
123
|
})[];
|
|
125
124
|
tsConfig?: TSConfig;
|
|
126
|
-
/** https://github.com/fi3ework/vite-plugin-checker */
|
|
127
|
-
typeCheck?: Parameters<typeof Checker>[0] | false;
|
|
128
125
|
}
|
|
129
126
|
declare const typescript: VixtModule<TypescriptOptions>;
|
|
130
127
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { PluginOption, UserConfig, TransformResult, ProxyOptions } from 'vite';
|
|
|
3
3
|
import * as c12 from 'c12';
|
|
4
4
|
import { ConfigLayer, LoadConfigOptions } from 'c12';
|
|
5
5
|
import { TSConfig } from 'pkg-types';
|
|
6
|
-
import Checker from 'vite-plugin-checker';
|
|
7
6
|
|
|
8
7
|
declare const alias: VixtModule<ModuleOptions>;
|
|
9
8
|
|
|
@@ -123,8 +122,6 @@ interface TypescriptOptions {
|
|
|
123
122
|
content?: string;
|
|
124
123
|
})[];
|
|
125
124
|
tsConfig?: TSConfig;
|
|
126
|
-
/** https://github.com/fi3ework/vite-plugin-checker */
|
|
127
|
-
typeCheck?: Parameters<typeof Checker>[0] | false;
|
|
128
125
|
}
|
|
129
126
|
declare const typescript: VixtModule<TypescriptOptions>;
|
|
130
127
|
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,6 @@ import fs from 'fs-extra';
|
|
|
4
4
|
import 'tsx/esm';
|
|
5
5
|
import { pathToFileURL } from 'mlly';
|
|
6
6
|
import defu from 'defu';
|
|
7
|
-
import Checker from 'vite-plugin-checker';
|
|
8
7
|
import { loadConfig } from 'c12';
|
|
9
8
|
|
|
10
9
|
const name$5 = "vixt:alias";
|
|
@@ -302,8 +301,8 @@ const defaults$1 = {
|
|
|
302
301
|
include: [
|
|
303
302
|
"./**/*"
|
|
304
303
|
]
|
|
305
|
-
}
|
|
306
|
-
typeCheck: { vueTsc: true, enableBuild: false, overlay: { initialIsOpen: false } }
|
|
304
|
+
}
|
|
305
|
+
// typeCheck: { vueTsc: true, enableBuild: false, overlay: { initialIsOpen: false } },
|
|
307
306
|
};
|
|
308
307
|
const typescript = defineVixtModule({
|
|
309
308
|
meta: { name: name$1, configKey: "typescript" },
|
|
@@ -318,8 +317,8 @@ const typescript = defineVixtModule({
|
|
|
318
317
|
generateEnvDts(options, vixt, config);
|
|
319
318
|
genarateShims(options, vixt, config);
|
|
320
319
|
}
|
|
321
|
-
}
|
|
322
|
-
options.typeCheck && Checker(options.typeCheck)
|
|
320
|
+
}
|
|
321
|
+
// options.typeCheck && Checker(options.typeCheck),
|
|
323
322
|
];
|
|
324
323
|
}
|
|
325
324
|
});
|