@meltstudio/config-loader 1.1.0 → 2.0.1

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.
Files changed (4) hide show
  1. package/README.md +306 -169
  2. package/dist/index.d.ts +138 -68
  3. package/dist/index.js +570 -259
  4. package/package.json +39 -28
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@meltstudio/config-loader",
3
- "version": "1.1.0",
3
+ "version": "2.0.1",
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 --ext .ts --max-warnings=0 --fix .",
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 install",
29
- "docs:install": "python -m venv ./mkdocs-py-env && ./mkdocs-py-env/Scripts/pip install -r ./mkdocs-requirements.txt",
30
- "docs:build": "./mkdocs-py-env/Scripts/mkdocs build",
31
- "docs:serve": "./mkdocs-py-env/Scripts/mkdocs serve"
32
+ "prepare": "husky",
33
+ "docs:build": "docusaurus build",
34
+ "docs:serve": "docusaurus serve",
35
+ "docs:start": "docusaurus start"
32
36
  },
33
37
  "dependencies": {
34
- "@types/js-yaml": "^4.0.5",
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
- "@meltstudio/eslint-config": "^1.1.0",
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
- "@types/jest": "^27.5.0",
43
- "@types/node": "17.0.31",
44
- "@typescript-eslint/eslint-plugin": "^5.59.6",
45
- "@typescript-eslint/parser": "^5.59.6",
46
- "eslint": "^8.40.0",
47
- "eslint-config-airbnb-base": "^15.0.0",
48
- "eslint-config-airbnb-typescript": "^17.0.0",
49
- "eslint-config-prettier": "^8.8.0",
50
- "eslint-import-resolver-typescript": "^3.5.5",
51
- "eslint-plugin-import": "^2.27.5",
52
- "eslint-plugin-jest": "^27.2.1",
53
- "eslint-plugin-prettier": "^4.2.1",
54
- "eslint-plugin-simple-import-sort": "^10.0.0",
55
- "husky": "^8.0.3",
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": "^13.2.2",
59
- "prettier": "^2.8.8",
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": "^6.7.0",
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
  }