@nano-lib/util 1.1.8 → 1.1.10

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.
@@ -24,6 +24,21 @@ export type Without<T, U> = {
24
24
  export type Exclusive<T, U> = (Without<T, U> & U) | (Without<U, T> & T);
25
25
  export type TimeoutHandle = ReturnType<typeof setTimeout>;
26
26
  export type IntervalHandle = ReturnType<typeof setInterval>;
27
+ export type EnvConfigType = {
28
+ MODE: string;
29
+ DEV: boolean;
30
+ PRO: boolean;
31
+ VITE_APP_ENV: 'development' | 'production' | 'staging';
32
+ VITE_APP_TITLE: string;
33
+ VITE_APP_PORT: number;
34
+ VITE_APP_HOST: string;
35
+ VITE_APP_OUT_DIR: string;
36
+ VITE_APP_PUBLIC_PATH: string;
37
+ VITE_APP_DROP_CONSOLE: boolean;
38
+ VITE_APP_BUILD_COMPRESS: 'gzip' | 'brotli' | 'gzip,brotli' | 'none';
39
+ VITE_APP_OPEN_BROWSER: boolean;
40
+ [key: string]: string | number | boolean;
41
+ };
27
42
  export type OptionType = {
28
43
  value: string | number;
29
44
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nano-lib/util",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "description": "Custom utility functions for the nano library",
5
5
  "author": "xylo",
6
6
  "license": "MIT",