@teqfw/di 2.0.0 → 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 +13 -0
- package/jsconfig.json +13 -0
- package/package.json +8 -8
- package/types.d.ts +19 -54
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
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
|
+
|
|
10
|
+
## 2.0.1 - 2026-03-04
|
|
11
|
+
|
|
12
|
+
- Regenerated `types.d.ts` according to updated type-map conventions.
|
|
13
|
+
- Unified package type aliases under a deterministic global declaration registry.
|
|
14
|
+
- Updated package version metadata to `2.0.1`.
|
|
15
|
+
|
|
3
16
|
## 2.0.0 - 2026-02-27
|
|
4
17
|
|
|
5
18
|
- Started a new changelog lineage for generation 2 of `@teqfw/di`.
|
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.
|
|
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,15 +52,15 @@
|
|
|
52
52
|
"scripts": {
|
|
53
53
|
"rollup": "rollup -c",
|
|
54
54
|
"eslint": "npx eslint './src/**/*.mjs'",
|
|
55
|
-
"test:unit": "node --test
|
|
56
|
-
"test:integration": "node --test
|
|
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
|
-
"@eslint/js": "^
|
|
60
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
59
|
+
"@eslint/js": "^10.0.1",
|
|
60
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
61
61
|
"@rollup/plugin-terser": "^0.4.4",
|
|
62
|
-
"eslint": "^
|
|
63
|
-
"rollup": "^4.
|
|
62
|
+
"eslint": "^10.0.2",
|
|
63
|
+
"rollup": "^4.59.0"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=20"
|
package/types.d.ts
CHANGED
|
@@ -1,61 +1,26 @@
|
|
|
1
|
-
type TeqFw_Di_Def_Parser = InstanceType<typeof import("./src/Def/Parser.mjs").default>;
|
|
2
|
-
type TeqFw_Di_Config_NamespaceRegistry = InstanceType<typeof import("./src/Config/NamespaceRegistry.mjs").default>;
|
|
3
|
-
export type TeqFw_Di_Container = InstanceType<typeof import("./src/Container.mjs").default>;
|
|
4
|
-
export type TeqFw_Di_Container_Instantiate_ExportSelector = InstanceType<
|
|
5
|
-
typeof import("./src/Container/Instantiate/ExportSelector.mjs").default
|
|
6
|
-
>;
|
|
7
|
-
export type TeqFw_Di_Container_Instantiate_Instantiator = InstanceType<
|
|
8
|
-
typeof import("./src/Container/Instantiate/Instantiator.mjs").default
|
|
9
|
-
>;
|
|
10
|
-
export type TeqFw_Di_Container_Lifecycle_Registry = InstanceType<
|
|
11
|
-
typeof import("./src/Container/Lifecycle/Registry.mjs").default
|
|
12
|
-
>;
|
|
13
|
-
export type TeqFw_Di_Container_Resolve_GraphResolver = InstanceType<
|
|
14
|
-
typeof import("./src/Container/Resolve/GraphResolver.mjs").default
|
|
15
|
-
>;
|
|
16
|
-
export type TeqFw_Di_Container_Wrapper_Executor = InstanceType<
|
|
17
|
-
typeof import("./src/Container/Wrapper/Executor.mjs").default
|
|
18
|
-
>;
|
|
19
|
-
type TeqFw_Di_DepId = InstanceType<typeof import("./src/Dto/DepId.mjs").default>;
|
|
20
|
-
type TeqFw_Di_Dto_Resolver_Config = InstanceType<typeof import("./src/Dto/Resolver/Config.mjs").default>;
|
|
21
|
-
type TeqFw_Di_Dto_Resolver_Config_Namespace = InstanceType<
|
|
22
|
-
typeof import("./src/Dto/Resolver/Config/Namespace.mjs").default
|
|
23
|
-
>;
|
|
24
|
-
type TeqFw_Di_Resolver = InstanceType<typeof import("./src/Container/Resolver.mjs").default>;
|
|
25
|
-
|
|
26
|
-
export type TeqFw_Di_DepId$DTO = typeof import("./src/Dto/DepId.mjs").DTO;
|
|
27
|
-
export type TeqFw_Di_DepId$DTO$ = InstanceType<TeqFw_Di_DepId$DTO>;
|
|
28
|
-
export type TeqFw_Di_Dto_Resolver_Config$DTO = typeof import("./src/Dto/Resolver/Config.mjs").DTO;
|
|
29
|
-
export type TeqFw_Di_Dto_Resolver_Config$DTO$ = InstanceType<TeqFw_Di_Dto_Resolver_Config$DTO>;
|
|
30
|
-
export type TeqFw_Di_Dto_Resolver_Config_Namespace$DTO = typeof import("./src/Dto/Resolver/Config/Namespace.mjs").DTO;
|
|
31
|
-
export type TeqFw_Di_Dto_Resolver_Config_Namespace$DTO$ = InstanceType<TeqFw_Di_Dto_Resolver_Config_Namespace$DTO>;
|
|
32
|
-
|
|
33
|
-
export {};
|
|
34
|
-
|
|
35
1
|
declare global {
|
|
36
|
-
type
|
|
37
|
-
type
|
|
38
|
-
type
|
|
39
|
-
type
|
|
2
|
+
type TeqFw_Di_Config_NamespaceRegistry = import("./src/Config/NamespaceRegistry.mjs").default;
|
|
3
|
+
type TeqFw_Di_Container = import("./src/Container.mjs").default;
|
|
4
|
+
type TeqFw_Di_Container_Instantiate_ExportSelector = import("./src/Container/Instantiate/ExportSelector.mjs").default;
|
|
5
|
+
type TeqFw_Di_Container_Instantiate_Instantiator = import("./src/Container/Instantiate/Instantiator.mjs").default;
|
|
6
|
+
type TeqFw_Di_Container_Lifecycle_Registry = import("./src/Container/Lifecycle/Registry.mjs").default;
|
|
7
|
+
type TeqFw_Di_Container_Resolve_GraphResolver = import("./src/Container/Resolve/GraphResolver.mjs").default;
|
|
8
|
+
type TeqFw_Di_Container_Wrapper_Executor = import("./src/Container/Wrapper/Executor.mjs").default;
|
|
9
|
+
type TeqFw_Di_Def_Parser = import("./src/Def/Parser.mjs").default;
|
|
10
|
+
type TeqFw_Di_DepId = import("./src/Dto/DepId.mjs").default;
|
|
40
11
|
type TeqFw_Di_DepId$DTO = import("./src/Dto/DepId.mjs").DTO;
|
|
41
|
-
type
|
|
12
|
+
type TeqFw_Di_Dto_DepId = import("./src/Dto/DepId.mjs").default;
|
|
13
|
+
type TeqFw_Di_Dto_DepId$DTO = import("./src/Dto/DepId.mjs").DTO;
|
|
14
|
+
type TeqFw_Di_Dto_Resolver_Config = import("./src/Dto/Resolver/Config.mjs").default;
|
|
42
15
|
type TeqFw_Di_Dto_Resolver_Config$DTO = import("./src/Dto/Resolver/Config.mjs").DTO;
|
|
43
|
-
type TeqFw_Di_Dto_Resolver_Config_Namespace =
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
type TeqFw_Di_Dto_Resolver_Config_Namespace$DTO = typeof import("./src/Dto/Resolver/Config/Namespace.mjs").DTO;
|
|
47
|
-
type TeqFw_Di_Dto_Resolver_Config_Namespace$DTO$ = InstanceType<TeqFw_Di_Dto_Resolver_Config_Namespace$DTO>;
|
|
16
|
+
type TeqFw_Di_Dto_Resolver_Config_Namespace = import("./src/Dto/Resolver/Config/Namespace.mjs").default;
|
|
17
|
+
type TeqFw_Di_Dto_Resolver_Config_Namespace$DTO = import("./src/Dto/Resolver/Config/Namespace.mjs").DTO;
|
|
18
|
+
type TeqFw_Di_Dto_Resolver_Config_Namespace$DTO$ = import("./src/Dto/Resolver/Config/Namespace.mjs").DTO;
|
|
48
19
|
type TeqFw_Di_Enum_Composition = typeof import("./src/Enum/Composition.mjs").default;
|
|
49
20
|
type TeqFw_Di_Enum_Life = typeof import("./src/Enum/Life.mjs").default;
|
|
50
21
|
type TeqFw_Di_Enum_Platform = typeof import("./src/Enum/Platform.mjs").default;
|
|
51
|
-
type
|
|
52
|
-
|
|
53
|
-
>;
|
|
54
|
-
type TeqFw_Di_Container_Lifecycle_Registry = InstanceType<
|
|
55
|
-
typeof import("./src/Container/Lifecycle/Registry.mjs").default
|
|
56
|
-
>;
|
|
57
|
-
type TeqFw_Di_Container_Wrapper_Executor = InstanceType<
|
|
58
|
-
typeof import("./src/Container/Wrapper/Executor.mjs").default
|
|
59
|
-
>;
|
|
60
|
-
type TeqFw_Di_Resolver = InstanceType<typeof import("./src/Container/Resolver.mjs").default>;
|
|
22
|
+
type TeqFw_Di_Internal_Logger = import("./src/Internal/Logger.mjs").default;
|
|
23
|
+
type TeqFw_Di_Resolver = import("./src/Container/Resolver.mjs").default;
|
|
61
24
|
}
|
|
25
|
+
|
|
26
|
+
export {};
|