@meltstudio/config-loader 3.7.1 → 4.0.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,12 +1,26 @@
1
1
  {
2
2
  "name": "@meltstudio/config-loader",
3
- "version": "3.7.1",
3
+ "version": "4.0.3",
4
4
  "description": "Type-safe configuration loader with full TypeScript inference. Load from YAML, JSON, TOML, .env, environment variables, and CLI args.",
5
5
  "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
6
7
  "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": {
11
+ "types": "./dist/index.d.mts",
12
+ "default": "./dist/index.mjs"
13
+ },
14
+ "require": {
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
17
+ }
18
+ }
19
+ },
7
20
  "repository": "https://github.com/MeltStudio/config-loader",
8
21
  "author": "MeltStudio <dev@meltstudio.co>",
9
22
  "license": "MIT",
23
+ "packageManager": "pnpm@10.30.2",
10
24
  "engines": {
11
25
  "node": ">=20"
12
26
  },
@@ -34,7 +48,7 @@
34
48
  "README.md"
35
49
  ],
36
50
  "scripts": {
37
- "build": "rimraf ./dist && tsup src/index.ts --dts --config tsconfig.build.json",
51
+ "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --config tsconfig.build.json",
38
52
  "lint": "eslint --max-warnings=0 --fix .",
39
53
  "type-check": "tsc --noEmit",
40
54
  "test": "jest --verbose",