@djodjonx/wiredi 0.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.
Files changed (37) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +516 -0
  3. package/dist/index.cjs +931 -0
  4. package/dist/index.cjs.map +1 -0
  5. package/dist/index.d.cts +1139 -0
  6. package/dist/index.d.cts.map +1 -0
  7. package/dist/index.d.mts +1139 -0
  8. package/dist/index.d.mts.map +1 -0
  9. package/dist/index.mjs +915 -0
  10. package/dist/index.mjs.map +1 -0
  11. package/dist/plugin/ConfigurationAnalyzer.d.ts +59 -0
  12. package/dist/plugin/ConfigurationAnalyzer.d.ts.map +1 -0
  13. package/dist/plugin/ConfigurationAnalyzer.js +321 -0
  14. package/dist/plugin/ConfigurationAnalyzer.js.map +1 -0
  15. package/dist/plugin/DependencyAnalyzer.d.ts +54 -0
  16. package/dist/plugin/DependencyAnalyzer.d.ts.map +1 -0
  17. package/dist/plugin/DependencyAnalyzer.js +208 -0
  18. package/dist/plugin/DependencyAnalyzer.js.map +1 -0
  19. package/dist/plugin/TokenNormalizer.d.ts +51 -0
  20. package/dist/plugin/TokenNormalizer.d.ts.map +1 -0
  21. package/dist/plugin/TokenNormalizer.js +208 -0
  22. package/dist/plugin/TokenNormalizer.js.map +1 -0
  23. package/dist/plugin/ValidationEngine.d.ts +53 -0
  24. package/dist/plugin/ValidationEngine.d.ts.map +1 -0
  25. package/dist/plugin/ValidationEngine.js +250 -0
  26. package/dist/plugin/ValidationEngine.js.map +1 -0
  27. package/dist/plugin/index.d.ts +2 -0
  28. package/dist/plugin/index.d.ts.map +1 -0
  29. package/dist/plugin/index.js +144 -0
  30. package/dist/plugin/index.js.map +1 -0
  31. package/dist/plugin/package.json +6 -0
  32. package/dist/plugin/types.d.ts +152 -0
  33. package/dist/plugin/types.d.ts.map +1 -0
  34. package/dist/plugin/types.js +3 -0
  35. package/dist/plugin/types.js.map +1 -0
  36. package/package.json +95 -0
  37. package/plugin.js +1 -0
package/package.json ADDED
@@ -0,0 +1,95 @@
1
+ {
2
+ "name": "@djodjonx/wiredi",
3
+ "version": "0.0.2",
4
+ "description": "WireDI - Wire your dependency injection with type safety and compile-time validation",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.mjs",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js",
13
+ "types": "./dist/index.d.ts"
14
+ },
15
+ "./plugin": {
16
+ "require": "./dist/plugin/index.js",
17
+ "types": "./dist/plugin/index.d.ts"
18
+ }
19
+ },
20
+ "files": [
21
+ "dist",
22
+ "plugin.js",
23
+ "README.md"
24
+ ],
25
+ "scripts": {
26
+ "build": "pnpm build:lib && pnpm build:plugin",
27
+ "build:lib": "tsdown",
28
+ "build:plugin": "node scripts/build-plugin.mjs",
29
+ "docs": "typedoc",
30
+ "docs:watch": "typedoc --watch",
31
+ "docs:json": "typedoc --json docs/api/documentation.json",
32
+ "validate:di": "tsx src/LanguageServer/cli.ts",
33
+ "validate:di:watch": "tsx src/LanguageServer/watch.ts",
34
+ "dev": "tsdown --watch",
35
+ "lint": "oxlint src",
36
+ "release": "standard-version",
37
+ "type-check": "tsc --noEmit",
38
+ "prepare": "husky"
39
+ },
40
+ "keywords": [
41
+ "wiredi",
42
+ "wire",
43
+ "dependency-injection",
44
+ "di",
45
+ "ioc",
46
+ "container",
47
+ "typescript",
48
+ "type-safe",
49
+ "validation",
50
+ "compile-time",
51
+ "tsyringe",
52
+ "awilix",
53
+ "inversify",
54
+ "type-checking"
55
+ ],
56
+ "author": "",
57
+ "license": "MIT",
58
+ "publishConfig": {
59
+ "access": "public"
60
+ },
61
+ "packageManager": "pnpm@10.19.0",
62
+ "peerDependencies": {
63
+ "awilix": "^10.0.0 || ^11.0.0 || ^12.0.0",
64
+ "inversify": "^6.0.0 || ^7.0.0",
65
+ "reflect-metadata": "^0.1.0 || ^0.2.0",
66
+ "tsyringe": "^4.0.0"
67
+ },
68
+ "peerDependenciesMeta": {
69
+ "tsyringe": {
70
+ "optional": true
71
+ },
72
+ "awilix": {
73
+ "optional": true
74
+ },
75
+ "inversify": {
76
+ "optional": true
77
+ }
78
+ },
79
+ "devDependencies": {
80
+ "@commitlint/cli": "^20.3.1",
81
+ "@commitlint/config-conventional": "^20.3.1",
82
+ "@types/node": "^25.0.8",
83
+ "awilix": "^12.0.5",
84
+ "husky": "^9.1.7",
85
+ "inversify": "^7.11.0",
86
+ "oxlint": "^1.39.0",
87
+ "reflect-metadata": "^0.2.2",
88
+ "standard-version": "^9.5.0",
89
+ "tsdown": "0.20.0-beta.3",
90
+ "tsx": "^4.19.0",
91
+ "tsyringe": "^4.10.0",
92
+ "typedoc": "^0.28.16",
93
+ "typescript": "^5.9.3"
94
+ }
95
+ }
package/plugin.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("./dist/plugin/index.js")