@venizia/ignis-boot 0.0.3 → 0.0.4-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.
- package/README.md +2586 -37
- package/dist/cjs/boot.mixin.d.ts +9 -0
- package/dist/cjs/boot.mixin.d.ts.map +1 -1
- package/dist/esm/boot.mixin.d.ts +9 -0
- package/dist/esm/boot.mixin.d.ts.map +1 -1
- package/package.json +56 -35
package/dist/cjs/boot.mixin.d.ts
CHANGED
|
@@ -40,6 +40,15 @@ export declare const BootMixin: <T extends TMixinTarget<Container>>(baseClass: T
|
|
|
40
40
|
isOptional?: boolean;
|
|
41
41
|
}): T_1 | undefined;
|
|
42
42
|
};
|
|
43
|
+
gets: <T_1 extends unknown[]>(opts: {
|
|
44
|
+
bindings: { [K in keyof T_1]: {
|
|
45
|
+
key: string | symbol | {
|
|
46
|
+
namespace: string;
|
|
47
|
+
key: string;
|
|
48
|
+
};
|
|
49
|
+
isOptional?: boolean;
|
|
50
|
+
}; };
|
|
51
|
+
}) => { [K in keyof T_1]: T_1[K] | undefined; };
|
|
43
52
|
resolve: <T_1>(cls: import("@venizia/ignis-inversion").TClass<T_1>) => T_1;
|
|
44
53
|
instantiate: <T_1>(cls: import("@venizia/ignis-inversion").TClass<T_1>) => T_1;
|
|
45
54
|
findByTag: <T_1 = any>(opts: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boot.mixin.d.ts","sourceRoot":"","sources":["../../src/boot.mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,YAAY,EACZ,WAAW,EAGZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAiB,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAEpE,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,YAAY,CAAC,SAAS,CAAC,EAAE,WAAW,CAAC;kBAEhD,GAAG,EAAE;sBAaZ,YAAY,GAAG,SAAS;gBAE9B,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;0BAQyd,CAAC;;;;;;;0BAA6J,CAAC;;;;;;;
|
|
1
|
+
{"version":3,"file":"boot.mixin.d.ts","sourceRoot":"","sources":["../../src/boot.mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,YAAY,EACZ,WAAW,EAGZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAiB,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAEpE,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,YAAY,CAAC,SAAS,CAAC,EAAE,WAAW,CAAC;kBAEhD,GAAG,EAAE;sBAaZ,YAAY,GAAG,SAAS;gBAE9B,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;0BAQyd,CAAC;;;;;;;0BAA6J,CAAC;;;;;;;;;0BAAwR,CAAC;;;;;;;mBAA6O,CAAC;;;;;;;KAD9pC,CAAC"}
|
package/dist/esm/boot.mixin.d.ts
CHANGED
|
@@ -40,6 +40,15 @@ export declare const BootMixin: <T extends TMixinTarget<Container>>(baseClass: T
|
|
|
40
40
|
isOptional?: boolean;
|
|
41
41
|
}): T_1 | undefined;
|
|
42
42
|
};
|
|
43
|
+
gets: <T_1 extends unknown[]>(opts: {
|
|
44
|
+
bindings: { [K in keyof T_1]: {
|
|
45
|
+
key: string | symbol | {
|
|
46
|
+
namespace: string;
|
|
47
|
+
key: string;
|
|
48
|
+
};
|
|
49
|
+
isOptional?: boolean;
|
|
50
|
+
}; };
|
|
51
|
+
}) => { [K in keyof T_1]: T_1[K] | undefined; };
|
|
43
52
|
resolve: <T_1>(cls: import("@venizia/ignis-inversion").TClass<T_1>) => T_1;
|
|
44
53
|
instantiate: <T_1>(cls: import("@venizia/ignis-inversion").TClass<T_1>) => T_1;
|
|
45
54
|
findByTag: <T_1 = any>(opts: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boot.mixin.d.ts","sourceRoot":"","sources":["../../src/boot.mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,YAAY,EACZ,WAAW,EAGZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAiB,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAEpE,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,YAAY,CAAC,SAAS,CAAC,EAAE,WAAW,CAAC;kBAEhD,GAAG,EAAE;sBAaZ,YAAY,GAAG,SAAS;gBAE9B,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;0BAQyd,CAAC;;;;;;;0BAA6J,CAAC;;;;;;;
|
|
1
|
+
{"version":3,"file":"boot.mixin.d.ts","sourceRoot":"","sources":["../../src/boot.mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,YAAY,EACZ,WAAW,EAGZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAiB,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAEpE,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,YAAY,CAAC,SAAS,CAAC,EAAE,WAAW,CAAC;kBAEhD,GAAG,EAAE;sBAaZ,YAAY,GAAG,SAAS;gBAE9B,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;0BAQyd,CAAC;;;;;;;0BAA6J,CAAC;;;;;;;;;0BAAwR,CAAC;;;;;;;mBAA6O,CAAC;;;;;;;KAD9pC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,22 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venizia/ignis-boot",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.4-1",
|
|
4
|
+
"description": "Convention-based auto-discovery and bootstrapping system for TypeScript applications. Three-phase lifecycle (configure, discover, load) using glob-based file matching and Template Method pattern. Auto-registers controllers, services, repositories, and datasources into the IoC container by file naming conventions. Inspired by LoopBack 4 boot system. Extensible via custom booters for any artifact type.",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
6
|
+
"artifact-discovery",
|
|
7
|
+
"artifact-loading",
|
|
8
|
+
"auto-discovery",
|
|
9
|
+
"auto-loading",
|
|
7
10
|
"boot",
|
|
11
|
+
"booter",
|
|
8
12
|
"bootstrap",
|
|
9
13
|
"bootstrapper",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
14
|
+
"bootstrapping",
|
|
15
|
+
"bun",
|
|
16
|
+
"controller-loading",
|
|
12
17
|
"convention-based",
|
|
18
|
+
"convention-over-configuration",
|
|
13
19
|
"dependency-injection",
|
|
20
|
+
"design-patterns",
|
|
21
|
+
"di",
|
|
22
|
+
"extensible",
|
|
23
|
+
"file-discovery",
|
|
24
|
+
"glob",
|
|
25
|
+
"glob-pattern",
|
|
26
|
+
"ignis",
|
|
14
27
|
"ioc",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
28
|
+
"lifecycle",
|
|
29
|
+
"loopback",
|
|
30
|
+
"loopback4",
|
|
31
|
+
"modular",
|
|
17
32
|
"nodejs",
|
|
18
|
-
"
|
|
33
|
+
"plugin-system",
|
|
34
|
+
"repository-loading",
|
|
35
|
+
"service-discovery",
|
|
36
|
+
"template-method",
|
|
37
|
+
"three-phase",
|
|
38
|
+
"typescript",
|
|
39
|
+
"venizia"
|
|
19
40
|
],
|
|
41
|
+
"homepage": "https://venizia-ai.github.io/ignis",
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"url": "git+https://github.com/VENIZIA-AI/ignis.git",
|
|
45
|
+
"directory": "packages/boot"
|
|
46
|
+
},
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/VENIZIA-AI/ignis/issues"
|
|
49
|
+
},
|
|
50
|
+
"author": {
|
|
51
|
+
"name": "VENIZIA AI Developer",
|
|
52
|
+
"email": "developer@venizia.ai",
|
|
53
|
+
"url": "https://venizia.ai"
|
|
54
|
+
},
|
|
55
|
+
"license": "MIT",
|
|
56
|
+
"engines": {
|
|
57
|
+
"bun": ">=1.3"
|
|
58
|
+
},
|
|
20
59
|
"main": "./dist/cjs/index.js",
|
|
21
60
|
"module": "./dist/esm/index.js",
|
|
22
61
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -41,9 +80,7 @@
|
|
|
41
80
|
"publishConfig": {
|
|
42
81
|
"access": "public"
|
|
43
82
|
},
|
|
44
|
-
"
|
|
45
|
-
"bun": ">=1.3"
|
|
46
|
-
},
|
|
83
|
+
"sideEffects": false,
|
|
47
84
|
"scripts": {
|
|
48
85
|
"force-update": "sh ./scripts/force-update.sh",
|
|
49
86
|
"build": "sh ./scripts/build.sh",
|
|
@@ -60,36 +97,20 @@
|
|
|
60
97
|
"test": "NODE_ENV=test bun test --env-file=.env.test dist/cjs/__tests__/{**/**,**}/*.test.js",
|
|
61
98
|
"test:watch": "NODE_ENV=test bun test --watch --env-file=.env.test dist/cjs/__tests__/{**/**,**}/*.test.js"
|
|
62
99
|
},
|
|
63
|
-
"repository": {
|
|
64
|
-
"type": "git",
|
|
65
|
-
"url": "git+https://github.com/VENIZIA-AI/ignis.git",
|
|
66
|
-
"directory": "packages/boot"
|
|
67
|
-
},
|
|
68
|
-
"author": {
|
|
69
|
-
"name": "VENIZIA AI Developer",
|
|
70
|
-
"email": "developer@venizia.ai",
|
|
71
|
-
"url": "https://venizia.ai"
|
|
72
|
-
},
|
|
73
|
-
"bugs": {
|
|
74
|
-
"url": "https://github.com/VENIZIA-AI/ignis/issues"
|
|
75
|
-
},
|
|
76
|
-
"homepage": "https://venizia-ai.github.io/ignis",
|
|
77
|
-
"license": "MIT",
|
|
78
100
|
"dependencies": {
|
|
79
|
-
"@venizia/ignis-helpers": "^0.0.
|
|
101
|
+
"@venizia/ignis-helpers": "^0.0.6-10",
|
|
80
102
|
"@venizia/ignis-inversion": "^0.0.5",
|
|
81
|
-
"glob": "^13.0.
|
|
82
|
-
"lodash": "^4.17.
|
|
103
|
+
"glob": "^13.0.6",
|
|
104
|
+
"lodash": "^4.17.23",
|
|
83
105
|
"reflect-metadata": "^0.2.2"
|
|
84
106
|
},
|
|
85
107
|
"devDependencies": {
|
|
86
|
-
"@types/bun": "^1.3.
|
|
87
|
-
"@types/lodash": "^4.17.
|
|
108
|
+
"@types/bun": "^1.3.9",
|
|
109
|
+
"@types/lodash": "^4.17.23",
|
|
88
110
|
"@venizia/dev-configs": "^0.0.6",
|
|
89
|
-
"eslint": "^9.
|
|
90
|
-
"prettier": "^3.
|
|
111
|
+
"eslint": "^9.39.3",
|
|
112
|
+
"prettier": "^3.8.1",
|
|
91
113
|
"tsc-alias": "^1.8.16",
|
|
92
114
|
"typescript": "^5.9.3"
|
|
93
|
-
}
|
|
94
|
-
"sideEffects": false
|
|
115
|
+
}
|
|
95
116
|
}
|