@thi.ng/system 3.1.77 → 3.1.81
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/package.json +91 -91
- package/CHANGELOG.md +0 -79
package/package.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
2
|
+
"name": "@thi.ng/system",
|
|
3
|
+
"version": "3.1.81",
|
|
4
|
+
"description": "Minimal and explicit dependency-injection & lifecycle container for stateful app components",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "./index.js",
|
|
7
|
+
"typings": "./index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/thi-ng/umbrella.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://thi.ng/system",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "patreon",
|
|
21
|
+
"url": "https://patreon.com/thing_umbrella"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "liberapay",
|
|
25
|
+
"url": "https://liberapay.com/thi.ng"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
29
|
+
"contributors": [
|
|
30
|
+
"Kevin Nolan (https://github.com/allforabit)"
|
|
31
|
+
],
|
|
32
|
+
"license": "Apache-2.0",
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:esbuild && yarn build:decl",
|
|
35
|
+
"build:decl": "tsc --declaration --emitDeclarationOnly",
|
|
36
|
+
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
37
|
+
"clean": "bun ../../tools/src/clean-package.ts",
|
|
38
|
+
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
39
|
+
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
40
|
+
"pub": "npm publish --access public",
|
|
41
|
+
"test": "bun test",
|
|
42
|
+
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@thi.ng/api": "^8.12.6",
|
|
46
|
+
"@thi.ng/dgraph": "^2.1.182",
|
|
47
|
+
"@thi.ng/logger": "^3.2.5"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"esbuild": "^0.25.11",
|
|
51
|
+
"typedoc": "^0.28.14",
|
|
52
|
+
"typescript": "^5.9.3"
|
|
53
|
+
},
|
|
54
|
+
"keywords": [
|
|
55
|
+
"clojure",
|
|
56
|
+
"component",
|
|
57
|
+
"dag",
|
|
58
|
+
"datastructure",
|
|
59
|
+
"dependency",
|
|
60
|
+
"graph",
|
|
61
|
+
"ioc",
|
|
62
|
+
"lifecycle",
|
|
63
|
+
"sort",
|
|
64
|
+
"topology",
|
|
65
|
+
"typescript"
|
|
66
|
+
],
|
|
67
|
+
"publishConfig": {
|
|
68
|
+
"access": "public"
|
|
69
|
+
},
|
|
70
|
+
"engines": {
|
|
71
|
+
"node": ">=18"
|
|
72
|
+
},
|
|
73
|
+
"files": [
|
|
74
|
+
"./*.js",
|
|
75
|
+
"./*.d.ts"
|
|
76
|
+
],
|
|
77
|
+
"exports": {
|
|
78
|
+
".": {
|
|
79
|
+
"default": "./index.js"
|
|
80
|
+
},
|
|
81
|
+
"./api": {
|
|
82
|
+
"default": "./api.js"
|
|
83
|
+
},
|
|
84
|
+
"./system": {
|
|
85
|
+
"default": "./system.js"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"thi.ng": {
|
|
89
|
+
"year": 2020
|
|
90
|
+
},
|
|
91
|
+
"gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
|
|
92
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
- **Last updated**: 2025-09-01T16:38:35Z
|
|
4
|
-
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
|
-
|
|
6
|
-
All notable changes to this project will be documented in this file.
|
|
7
|
-
Only versions published since **2022-01-01** are listed here.
|
|
8
|
-
Please consult the Git history for older version information.
|
|
9
|
-
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
10
|
-
|
|
11
|
-
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
12
|
-
and/or version bumps of transitive dependencies.
|
|
13
|
-
|
|
14
|
-
### [3.1.47](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@3.1.47) (2025-02-21)
|
|
15
|
-
|
|
16
|
-
#### ♻️ Refactoring
|
|
17
|
-
|
|
18
|
-
- switch use of `Promise` to `MaybePromise` ([59b3ae1](https://github.com/thi-ng/umbrella/commit/59b3ae1))
|
|
19
|
-
- update `ILifeCycle` and `ComponentFactory` to not require async
|
|
20
|
-
- update tests
|
|
21
|
-
|
|
22
|
-
## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@3.1.0) (2024-03-09)
|
|
23
|
-
|
|
24
|
-
#### 🚀 Features
|
|
25
|
-
|
|
26
|
-
- add start/stop logging ([97af706](https://github.com/thi-ng/umbrella/commit/97af706))
|
|
27
|
-
|
|
28
|
-
### [3.0.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@3.0.3) (2024-02-16)
|
|
29
|
-
|
|
30
|
-
#### ♻️ Refactoring
|
|
31
|
-
|
|
32
|
-
- update LOGGER handling ([a11f2a8](https://github.com/thi-ng/umbrella/commit/a11f2a8))
|
|
33
|
-
|
|
34
|
-
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@3.0.0) (2024-02-01)
|
|
35
|
-
|
|
36
|
-
#### 🛑 Breaking changes
|
|
37
|
-
|
|
38
|
-
- Async component factories ([998409d](https://github.com/thi-ng/umbrella/commit/998409d))
|
|
39
|
-
- BREAKING CHANGE: Component factory functions are async now
|
|
40
|
-
- add async System.init()
|
|
41
|
-
- update System ctor
|
|
42
|
-
- add/update docs
|
|
43
|
-
- update tests
|
|
44
|
-
|
|
45
|
-
## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@2.3.0) (2024-01-31)
|
|
46
|
-
|
|
47
|
-
#### 🚀 Features
|
|
48
|
-
|
|
49
|
-
- update ILifecycle, add system arg ([89d341a](https://github.com/thi-ng/umbrella/commit/89d341a))
|
|
50
|
-
- add/update tests
|
|
51
|
-
|
|
52
|
-
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@2.2.0) (2024-01-30)
|
|
53
|
-
|
|
54
|
-
#### 🚀 Features
|
|
55
|
-
|
|
56
|
-
- update start/stop logic ([71f2dc5](https://github.com/thi-ng/umbrella/commit/71f2dc5))
|
|
57
|
-
- update System.start() to stop already started components if current
|
|
58
|
-
component startup failed
|
|
59
|
-
- update System.stop() to only return true if _all_ components did shutdown
|
|
60
|
-
- update docs
|
|
61
|
-
- add tests
|
|
62
|
-
|
|
63
|
-
### [2.1.80](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@2.1.80) (2023-11-09)
|
|
64
|
-
|
|
65
|
-
#### ♻️ Refactoring
|
|
66
|
-
|
|
67
|
-
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|
|
68
|
-
|
|
69
|
-
### [2.1.34](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@2.1.34) (2022-12-06)
|
|
70
|
-
|
|
71
|
-
#### ♻️ Refactoring
|
|
72
|
-
|
|
73
|
-
- extract SystemSpec interface ([7c12bd4](https://github.com/thi-ng/umbrella/commit/7c12bd4))
|
|
74
|
-
|
|
75
|
-
### [2.1.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@2.1.9) (2022-06-09)
|
|
76
|
-
|
|
77
|
-
#### ♻️ Refactoring
|
|
78
|
-
|
|
79
|
-
- various (minor) TS4.7 related updates/fixes ([9d9ecae](https://github.com/thi-ng/umbrella/commit/9d9ecae))
|