Skip to content

Commit

Permalink
fix(core-shared-env): Clean up the package.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
sullivanpj committed Aug 23, 2023
1 parent 9e071d3 commit 6556e9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 1 addition & 5 deletions libs/core/typescript/shared/env/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"name": "@open-system/core-shared-env",
"version": "0.0.1",
"type": "commonjs",
"dependencies": {
"inversify": "^6.0.1"
}
"version": "0.0.1"
}
5 changes: 5 additions & 0 deletions libs/core/typescript/shared/env/src/create-env-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ const defaultOptions: BaseOptions = {
env: process.env
};

/**
* Creates an environment manager that can be used to access environment variables.
* @param options The options to use when accessing the environment variables.
* @returns The environment variable manager.
*/
export const createEnvManager = <
T = Record<string, string | boolean | number | undefined>
>(
Expand Down

0 comments on commit 6556e9b

Please sign in to comment.