@clipboard-health/config
Advanced tools
Comparing version 0.8.0 to 0.8.1
{ | ||
"name": "@clipboard-health/config", | ||
"description": "Type-safe static configuration management: a pure function to resolve, validate against a Zod schema, and freeze configuration values.", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"bugs": "https://github.com/ClipboardHealth/core-utils/issues", | ||
"dependencies": { | ||
"@clipboard-health/util-ts": "2.12.0", | ||
"@clipboard-health/util-ts": "2.12.1", | ||
"decamelize": "5.0.1", | ||
@@ -16,3 +17,7 @@ "dotenv": "16.4.5", | ||
}, | ||
"keywords": [], | ||
"keywords": [ | ||
"config", | ||
"typescript", | ||
"zod" | ||
], | ||
"license": "MIT", | ||
@@ -23,2 +28,7 @@ "main": "./src/index.js", | ||
}, | ||
"repository": { | ||
"directory": "packages/config", | ||
"type": "git", | ||
"url": "git+https://github.com/ClipboardHealth/core-utils.git" | ||
}, | ||
"scripts": { | ||
@@ -25,0 +35,0 @@ "embed": "embedme README.md" |
@@ -22,3 +22,3 @@ import { type z } from "zod"; | ||
}; | ||
type ConfigValueForType<T, EnvironmentT extends readonly string[]> = T extends unknown[] ? ConfigValue<T, EnvironmentT> : T extends Date ? ConfigValue<Date, EnvironmentT> : T extends bigint ? ConfigValue<bigint, EnvironmentT> : T extends z.EnumValues ? ConfigValue<T, EnvironmentT> : T extends Record<string, unknown> ? ConfigValueMap<T, EnvironmentT> : ConfigValue<T, EnvironmentT>; | ||
export type ConfigValueForType<T, EnvironmentT extends readonly string[]> = T extends unknown[] ? ConfigValue<T, EnvironmentT> : T extends Date ? ConfigValue<Date, EnvironmentT> : T extends bigint ? ConfigValue<bigint, EnvironmentT> : T extends z.EnumValues ? ConfigValue<T, EnvironmentT> : T extends Record<string, unknown> ? ConfigValueMap<T, EnvironmentT> : ConfigValue<T, EnvironmentT>; | ||
/** | ||
@@ -45,2 +45,1 @@ * Parameters for creating a configuration instance. | ||
} | ||
export {}; |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
19689
1
339
+ Added@clipboard-health/util-ts@2.12.1(transitive)
- Removed@clipboard-health/util-ts@2.12.0(transitive)