injectus 0.1.1-alpha.0
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/LICENSE +15 -0
- package/README.md +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +64 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Hossam Hamdy
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
15
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
package/README.md
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "injectus",
|
|
3
|
+
"version": "0.1.1-alpha.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "High-performant, decorator-free IoC container for Node.js — sync inject(), explicit lifetimes, TC39-native disposal.",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"LICENSE",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=22.6.0"
|
|
22
|
+
},
|
|
23
|
+
"license": "ISC",
|
|
24
|
+
"author": "Hossam Hamdy <hossamhamdy117@gmail.com> (https://github.com/hossam7amdy)",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/hossam7amdy/injectus.git"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://github.com/hossam7amdy/injectus#readme",
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/hossam7amdy/injectus/issues"
|
|
32
|
+
},
|
|
33
|
+
"prettier": {
|
|
34
|
+
"printWidth": 80,
|
|
35
|
+
"tabWidth": 2,
|
|
36
|
+
"useTabs": false,
|
|
37
|
+
"proseWrap": "preserve"
|
|
38
|
+
},
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@biomejs/biome": "^2.4.16",
|
|
44
|
+
"@types/node": "^25.9.1",
|
|
45
|
+
"prettier": "^3.8.3",
|
|
46
|
+
"typescript": "^6.0.3"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"clean": "rm -rf dist",
|
|
50
|
+
"build": "tsc -p tsconfig.build.json",
|
|
51
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
52
|
+
"test": "node --import=tsx --test src/__tests__/*.test.ts",
|
|
53
|
+
"test:watch": "node --import=tsx --test --watch src/__tests__/*.test.ts",
|
|
54
|
+
"test:cov": "node --import=tsx --test --experimental-test-coverage --test-coverage-exclude='src/__tests__/*' --test-coverage-lines=100 --test-coverage-functions=100 --test-coverage-branches=100 src/__tests__/*.test.ts",
|
|
55
|
+
"preversion": "pnpm clean && pnpm build && pnpm check && pnpm typecheck && pnpm test:cov",
|
|
56
|
+
"check": "biome check . && prettier --check \"**/*.{md,yaml}\"",
|
|
57
|
+
"check:fix": "biome check . --write && prettier --write \"**/*.{md,yaml}\"",
|
|
58
|
+
"release:dry": "pnpm publish --dry-run",
|
|
59
|
+
"release:alpha": "pnpm version prerelease --preid alpha -m \"chore(release): v%s\" && pnpm publish --tag alpha",
|
|
60
|
+
"release:patch": "pnpm version patch -m \"chore(release): v%s\" && pnpm publish",
|
|
61
|
+
"release:minor": "pnpm version minor -m \"chore(release): v%s\" && pnpm publish",
|
|
62
|
+
"release:major": "pnpm version major -m \"chore(release): v%s\" && pnpm publish"
|
|
63
|
+
}
|
|
64
|
+
}
|