@stryke/env 0.7.0 → 0.8.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/load-env.d.ts +3 -3
- package/package.json +2 -2
package/dist/load-env.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export declare function loadEnvFile(envFile: string, envDir?: string | string[])
|
|
|
17
17
|
* - `.env.production`
|
|
18
18
|
* - `.env.production.local`
|
|
19
19
|
*
|
|
20
|
-
* @param mode - The mode to load the environment variables for.
|
|
21
20
|
* @param envDir - The directory/directories to load the environment variables from.
|
|
21
|
+
* @param mode - The mode to load the environment variables for.
|
|
22
22
|
* @param prefix - The prefix or prefixes to use for the environment variables.
|
|
23
23
|
* @returns The environment variables.
|
|
24
24
|
*/
|
|
@@ -33,8 +33,8 @@ export declare function loadEnv(envDir: string | string[], mode?: string, prefix
|
|
|
33
33
|
* - `.env.production`
|
|
34
34
|
* - `.env.production.local`
|
|
35
35
|
*
|
|
36
|
-
* @param mode - The mode to load the environment variables for.
|
|
37
36
|
* @param envDir - The directory/directories to load the environment variables from.
|
|
37
|
+
* @param mode - The mode to load the environment variables for.
|
|
38
38
|
* @param prefix - The prefix or prefixes to use for the environment variables.
|
|
39
39
|
* @returns The environment variables.
|
|
40
40
|
*/
|
|
@@ -49,8 +49,8 @@ export declare function loadClientEnv(envDir: string | string[], mode?: string,
|
|
|
49
49
|
* - `.env.production`
|
|
50
50
|
* - `.env.production.local`
|
|
51
51
|
*
|
|
52
|
-
* @param mode - The mode to load the environment variables for.
|
|
53
52
|
* @param envDir - The directory/directories to load the environment variables from.
|
|
53
|
+
* @param mode - The mode to load the environment variables for.
|
|
54
54
|
* @returns The environment variables.
|
|
55
55
|
*/
|
|
56
56
|
export declare function loadServerEnv(envDir: string | string[], mode: string): Promise<DotenvParseOutput>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stryke/env",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing utility functions to handle environment specific processes",
|
|
6
6
|
"repository": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@dotenvx/dotenvx": "1.35.0",
|
|
14
14
|
"defu": "^6.1.4",
|
|
15
|
-
"@stryke/fs": "^0.13.
|
|
15
|
+
"@stryke/fs": "^0.13.1",
|
|
16
16
|
"@stryke/json": "^0.8.2",
|
|
17
17
|
"@stryke/path": "^0.4.14",
|
|
18
18
|
"@stryke/string-format": "^0.4.9",
|