@teqfw/di 2.0.1 → 2.0.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.2 - 2026-03-05
4
+
5
+ - Replaced `tsconfig.json` with `jsconfig.json` for JavaScript type-checking configuration.
6
+ - Updated package publish list to include `jsconfig.json` and exclude legacy `teqfw.json`.
7
+ - Fixed `test:unit` and `test:integration` scripts to run all `*.test.mjs` files in nested directories.
8
+ - Updated package version metadata to `2.0.2`.
9
+
3
10
  ## 2.0.1 - 2026-03-04
4
11
 
5
12
  - Regenerated `types.d.ts` according to updated type-map conventions.
package/jsconfig.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "compilerOptions": {
3
+ "baseUrl": ".",
4
+ "checkJs": true,
5
+ "forceConsistentCasingInFileNames": true,
6
+ "module": "ESNext",
7
+ "moduleResolution": "node",
8
+ "noEmit": true,
9
+ "skipLibCheck": true,
10
+ "target": "ES2022"
11
+ },
12
+ "include": ["src", "types.d.ts"]
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teqfw/di",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Dependency Injection container for ES6 modules that works in both browser and Node.js apps.",
5
5
  "keywords": [
6
6
  "dependency injection",
@@ -24,9 +24,9 @@
24
24
  "dist/",
25
25
  "src/",
26
26
  "CHANGELOG.md",
27
+ "jsconfig.json",
27
28
  "LICENSE",
28
29
  "README.md",
29
- "teqfw.json",
30
30
  "types.d.ts"
31
31
  ],
32
32
  "main": "dist/umd.js",
@@ -52,8 +52,8 @@
52
52
  "scripts": {
53
53
  "rollup": "rollup -c",
54
54
  "eslint": "npx eslint './src/**/*.mjs'",
55
- "test:unit": "node --test test/unit",
56
- "test:integration": "node --test test/integration"
55
+ "test:unit": "find test/unit -name '*.test.mjs' -print0 | xargs -0 node --test",
56
+ "test:integration": "find test/integration -name '*.test.mjs' -print0 | xargs -0 node --test"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@eslint/js": "^10.0.1",