@outfitter/config 0.3.2 → 0.3.3

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@outfitter/config",
3
3
  "description": "XDG-compliant config loading with schema validation for Outfitter",
4
- "version": "0.3.2",
4
+ "version": "0.3.3",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -36,11 +36,14 @@
36
36
  "lint:fix": "biome lint --write ./src",
37
37
  "test": "bun test",
38
38
  "typecheck": "tsc --noEmit",
39
- "clean": "rm -rf dist"
39
+ "clean": "rm -rf dist",
40
+ "prepublishOnly": "bun ../../scripts/check-publish-manifest.ts"
40
41
  },
41
42
  "dependencies": {
42
- "@outfitter/contracts": "0.4.0",
43
- "@outfitter/types": "0.2.2",
43
+ "@outfitter/contracts": "0.4.1",
44
+ "@outfitter/types": "0.2.3",
45
+ "smol-toml": "^1.6.0",
46
+ "yaml": "^2.8.2",
44
47
  "zod": "^4.3.5"
45
48
  },
46
49
  "devDependencies": {
@@ -1,5 +0,0 @@
1
- // @bun
2
- var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
3
- var __require = import.meta.require;
4
-
5
- export { __commonJS, __require };
@@ -35,12 +35,12 @@ type OutfitterEnv = "development" | "production" | "test";
35
35
  * packages can override or extend.
36
36
  */
37
37
  interface EnvironmentDefaults {
38
+ /** How much error detail to include in output. */
39
+ errorDetail: "full" | "message";
38
40
  /** Default log level. `null` means logging is disabled by default. */
39
41
  logLevel: "debug" | "info" | "warn" | "error" | null;
40
42
  /** Whether verbose output is enabled by default. */
41
43
  verbose: boolean;
42
- /** How much error detail to include in output. */
43
- errorDetail: "full" | "message";
44
44
  }
45
45
  /**
46
46
  * Determine the current Outfitter environment.