@nemigo/configs 2.3.1 → 2.3.2
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/.eslint.ignore +2 -1
- package/dist/vite/index.d.ts +6 -5
- package/dist/vite/proxy.d.ts +2 -2
- package/package.json +2 -2
package/.eslint.ignore
CHANGED
package/dist/vite/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { BuildOptions, PluginOption, ServerOptions
|
|
2
|
-
import type {
|
|
3
|
-
|
|
1
|
+
import type { BuildOptions, PluginOption, ServerOptions } from "vite";
|
|
2
|
+
import type { Plugin, TestUserConfig } from "vitest/config";
|
|
3
|
+
import { defineConfig } from "vitest/config";
|
|
4
|
+
export type VitestConfig = ReturnType<typeof defineConfig>;
|
|
4
5
|
/**
|
|
5
6
|
* Опции создания конфигурации для {@link defineViteConfig}
|
|
6
7
|
*/
|
|
@@ -50,7 +51,7 @@ export interface ViteConfigOptions {
|
|
|
50
51
|
*
|
|
51
52
|
* @see https://vite.dev/config/shared-options.html#plugins
|
|
52
53
|
*/
|
|
53
|
-
plugins?: PluginOption[];
|
|
54
|
+
plugins?: (Plugin | PluginOption)[];
|
|
54
55
|
}
|
|
55
56
|
/**
|
|
56
57
|
* ## Реструктурированная конфигурация для {@link https://vite.dev Vite} через {@link defineConfig} от {@link https://vitest.dev Vitest}
|
|
@@ -61,4 +62,4 @@ export interface ViteConfigOptions {
|
|
|
61
62
|
* - По умолчанию строгая конфигурация порта сервера
|
|
62
63
|
* - По умолчанию путь к тестам `"./{src,tests}/**\/*.{test,spec}.{ts,js}"`
|
|
63
64
|
*/
|
|
64
|
-
export declare const defineViteConfig: (options: ViteConfigOptions, test?:
|
|
65
|
+
export declare const defineViteConfig: (options: ViteConfigOptions, test?: TestUserConfig) => VitestConfig;
|
package/dist/vite/proxy.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProxyOptions } from "vite";
|
|
2
2
|
/**
|
|
3
3
|
* Опции создания конфигурации для {@link defineViteProxyConfig}
|
|
4
4
|
*/
|
|
@@ -45,4 +45,4 @@ export interface ViteProxyConfigOptions {
|
|
|
45
45
|
*
|
|
46
46
|
* @see https://vite.dev/config/server-options.html#server-proxy
|
|
47
47
|
*/
|
|
48
|
-
export declare const defineViteProxyConfig: (options: ViteProxyConfigOptions) =>
|
|
48
|
+
export declare const defineViteProxyConfig: (options: ViteProxyConfigOptions) => ProxyOptions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nemigo/configs",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": {
|
|
@@ -94,6 +94,6 @@
|
|
|
94
94
|
"prettier-plugin-multiline-arrays": "4.0.5",
|
|
95
95
|
"prettier-plugin-svelte": "3.4.0",
|
|
96
96
|
"prettier-plugin-tailwindcss": "0.7.2",
|
|
97
|
-
"typescript-eslint": "8.
|
|
97
|
+
"typescript-eslint": "8.49.0"
|
|
98
98
|
}
|
|
99
99
|
}
|