@meltstudio/config-loader 1.0.4 → 2.0.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/README.md +330 -175
- package/dist/index.d.ts +135 -84
- package/dist/index.js +605 -283
- package/package.json +39 -28
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meltstudio/config-loader",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Melt Studio's tool for loading configurations into a Node.js application.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"repository": "https://github.com/MeltStudio/config-loader",
|
|
8
8
|
"author": "MeltStudio <dev@meltstudio.co>",
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=20"
|
|
12
|
+
},
|
|
10
13
|
"keywords": [
|
|
11
14
|
"configuration",
|
|
12
15
|
"config",
|
|
@@ -21,46 +24,54 @@
|
|
|
21
24
|
],
|
|
22
25
|
"scripts": {
|
|
23
26
|
"build": "rimraf ./dist && tsup src/index.ts --dts --config tsconfig.build.json",
|
|
24
|
-
"lint": "eslint --
|
|
27
|
+
"lint": "eslint --max-warnings=0 --fix .",
|
|
25
28
|
"type-check": "tsc --noEmit",
|
|
26
29
|
"test": "jest --verbose",
|
|
30
|
+
"replace-tspaths": "./scripts/replace-tspaths/index.mjs",
|
|
27
31
|
"example:run": "ts-node -r tsconfig-paths/register ./example/index.ts",
|
|
28
|
-
"prepare": "husky
|
|
29
|
-
"docs:
|
|
30
|
-
"docs:
|
|
31
|
-
"docs:
|
|
32
|
+
"prepare": "husky",
|
|
33
|
+
"docs:build": "docusaurus build",
|
|
34
|
+
"docs:serve": "docusaurus serve",
|
|
35
|
+
"docs:start": "docusaurus start"
|
|
32
36
|
},
|
|
33
37
|
"dependencies": {
|
|
34
|
-
"
|
|
35
|
-
"commander": "^8.3.0",
|
|
38
|
+
"commander": "^14.0.0",
|
|
36
39
|
"js-yaml": "^4.1.0",
|
|
40
|
+
"js-yaml-source-map": "^0.2.2",
|
|
37
41
|
"tslib": "^2.3.0"
|
|
38
42
|
},
|
|
39
43
|
"devDependencies": {
|
|
40
|
-
"@
|
|
44
|
+
"@docusaurus/core": "^3.7.0",
|
|
45
|
+
"@docusaurus/preset-classic": "^3.7.0",
|
|
46
|
+
"@eslint/js": "^10.0.0",
|
|
47
|
+
"@mdx-js/react": "^3.0.0",
|
|
41
48
|
"@meltstudio/tsconfig": "^2.0.1",
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"eslint
|
|
50
|
-
"eslint-
|
|
51
|
-
"eslint-plugin-
|
|
52
|
-
"eslint-plugin-
|
|
53
|
-
"eslint-plugin-
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"jest": "^29.5.0",
|
|
49
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
50
|
+
"@semantic-release/git": "^10.0.1",
|
|
51
|
+
"@semantic-release/github": "^12.0.6",
|
|
52
|
+
"@semantic-release/npm": "^13",
|
|
53
|
+
"@types/jest": "^30.0.0",
|
|
54
|
+
"@types/js-yaml": "^4.0.5",
|
|
55
|
+
"@types/node": "^22.0.0",
|
|
56
|
+
"eslint": "^10.0.0",
|
|
57
|
+
"eslint-config-prettier": "^10.0.0",
|
|
58
|
+
"eslint-plugin-jest": "^29.0.0",
|
|
59
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
60
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
61
|
+
"husky": "^9.0.0",
|
|
62
|
+
"jest": "^30.0.0",
|
|
57
63
|
"jest-html-reporters": "^3.1.4",
|
|
58
|
-
"lint-staged": "^
|
|
59
|
-
"prettier": "^
|
|
64
|
+
"lint-staged": "^16.0.0",
|
|
65
|
+
"prettier": "^3.0.0",
|
|
66
|
+
"react": "^19.0.0",
|
|
67
|
+
"react-dom": "^19.0.0",
|
|
68
|
+
"rimraf": "^6.1.3",
|
|
69
|
+
"semantic-release": "^25",
|
|
60
70
|
"ts-jest": "^29.1.0",
|
|
61
71
|
"ts-node": "^10.9.1",
|
|
62
72
|
"tsconfig-paths": "^4.2.0",
|
|
63
|
-
"tsup": "^
|
|
64
|
-
"typescript": "^5.0.4"
|
|
73
|
+
"tsup": "^8.0.0",
|
|
74
|
+
"typescript": "^5.0.4",
|
|
75
|
+
"typescript-eslint": "^8.24.0"
|
|
65
76
|
}
|
|
66
77
|
}
|