@digital-alchemy/core 25.8.2-beta.4 → 25.8.21
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 +21 -20
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
[](https://github.com/Digital-Alchemy-TS/core)
|
|
2
|
-

|
|
3
1
|
[](https://codecov.io/github/Digital-Alchemy-TS/core)
|
|
4
2
|
[](https://www.npmjs.com/package/@digital-alchemy/core)
|
|
3
|
+
[](https://github.com/Digital-Alchemy-TS/core)
|
|
5
4
|
|
|
6
5
|
---
|
|
6
|
+
<div align="center">
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
The `core` library provides the basic utilities for building modules, as well as a suite of testing utilities.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
> 📚 [Extended docs](https://docs.digital-alchemy.app/docs/core/)
|
|
14
|
-
|
|
15
|
-
## 🌐 Tools Overview
|
|
8
|
+

|
|
16
9
|
|
|
17
|
-
|
|
10
|
+
</div>
|
|
18
11
|
|
|
19
|
-
|
|
12
|
+
## Install
|
|
20
13
|
|
|
21
|
-
|
|
14
|
+
```bash
|
|
15
|
+
yarn add @digital-alchemy/core
|
|
16
|
+
```
|
|
22
17
|
|
|
23
|
-
|
|
18
|
+
## Introduction
|
|
24
19
|
|
|
25
|
-
|
|
20
|
+
The Digital Alchemy core utilities are a set of dependency-light tools for building backend applications with **TypeScript**. It targets the latest **ESModule** syntax and language standards, and it's compatible with Bun, Deno, and modern versions of NodeJS.
|
|
26
21
|
|
|
27
|
-
|
|
22
|
+
Modules leverage advanced TypeScript features to easily combine services and configurations into type-safe applications. This makes it friendly to a variety of use cases, from complex functional programming logic to usage as a smaller utility in an existing codebase.
|
|
28
23
|
|
|
29
|
-
|
|
24
|
+
The framework adds minimal overhead to boot times, making it well-suited for a wide range of applications, such as web servers, serverless functions, automation tools, and long-running background scripts.
|
|
25
|
+
## What it does
|
|
30
26
|
|
|
31
|
-
|
|
27
|
+
- **Service wiring** - Automatic dependency injection with full type safety
|
|
28
|
+
- **Configuration** - Load config from files, environment variables, CLI args
|
|
29
|
+
- **Logging** - Structured logging with customizable outputs
|
|
30
|
+
- **Lifecycle hooks** - Run code during app startup/shutdown
|
|
31
|
+
- **Task scheduling** - Cron jobs and timers
|
|
32
|
+
- **Testing utilities** - Mock and test your services easily
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
## Questions / Issues?
|
|
34
35
|
|
|
35
|
-
|
|
36
|
+
[](https://discord.gg/JkZ35Gv97Y)
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "git+https://github.com/Digital-Alchemy-TS/core"
|
|
7
7
|
},
|
|
8
|
-
"version": "25.8.
|
|
8
|
+
"version": "25.8.21",
|
|
9
9
|
"author": {
|
|
10
10
|
"url": "https://github.com/zoe-codez",
|
|
11
11
|
"name": "Zoe Codez"
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"node": ">=20"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@dotenvx/dotenvx": "^1.
|
|
52
|
-
"chalk": "^5.
|
|
51
|
+
"@dotenvx/dotenvx": "^1.49.0",
|
|
52
|
+
"chalk": "^5.6.0",
|
|
53
53
|
"dayjs": "^1.11.13",
|
|
54
54
|
"ini": "^5.0.0",
|
|
55
55
|
"js-yaml": "^4.1.0",
|
|
@@ -59,27 +59,27 @@
|
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@cspell/eslint-plugin": "^9.2.0",
|
|
62
|
-
"@eslint/compat": "^1.3.
|
|
62
|
+
"@eslint/compat": "^1.3.2",
|
|
63
63
|
"@eslint/eslintrc": "^3.3.1",
|
|
64
|
-
"@eslint/js": "^9.
|
|
64
|
+
"@eslint/js": "^9.33.0",
|
|
65
65
|
"@faker-js/faker": "^9.9.0",
|
|
66
66
|
"@types/ini": "^4.1.1",
|
|
67
67
|
"@types/js-yaml": "^4.0.9",
|
|
68
68
|
"@types/minimist": "^1.2.5",
|
|
69
|
-
"@types/node": "^24.
|
|
69
|
+
"@types/node": "^24.3.0",
|
|
70
70
|
"@types/node-cron": "^3.0.11",
|
|
71
71
|
"@types/sinonjs__fake-timers": "^8.1.5",
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
73
|
-
"@typescript-eslint/parser": "8.
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "8.40.0",
|
|
73
|
+
"@typescript-eslint/parser": "8.40.0",
|
|
74
74
|
"@vitest/coverage-v8": "^3.2.4",
|
|
75
|
-
"chalk": "^5.
|
|
75
|
+
"chalk": "^5.6.0",
|
|
76
76
|
"dayjs": "^1.11.13",
|
|
77
|
-
"eslint": "9.
|
|
77
|
+
"eslint": "9.33.0",
|
|
78
78
|
"eslint-config-prettier": "10.1.8",
|
|
79
79
|
"eslint-plugin-import": "^2.32.0",
|
|
80
80
|
"eslint-plugin-jsonc": "^2.20.1",
|
|
81
81
|
"eslint-plugin-no-unsanitized": "^4.1.2",
|
|
82
|
-
"eslint-plugin-prettier": "^5.5.
|
|
82
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
83
83
|
"eslint-plugin-security": "^3.0.1",
|
|
84
84
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
85
85
|
"eslint-plugin-sonarjs": "^3.0.4",
|
|
@@ -89,15 +89,15 @@
|
|
|
89
89
|
"js-yaml": "^4.1.0",
|
|
90
90
|
"minimist": "^1.2.8",
|
|
91
91
|
"node-cron": "^4.2.1",
|
|
92
|
-
"pino": "^9.
|
|
92
|
+
"pino": "^9.9.0",
|
|
93
93
|
"pino-pretty": "^13.1.1",
|
|
94
94
|
"prettier": "^3.6.2",
|
|
95
95
|
"tslib": "^2.8.1",
|
|
96
|
-
"tsx": "^4.20.
|
|
96
|
+
"tsx": "^4.20.4",
|
|
97
97
|
"type-fest": "^4.41.0",
|
|
98
98
|
"typescript": "^5.9.2",
|
|
99
99
|
"uuid": "^11.1.0",
|
|
100
100
|
"vitest": "^3.2.4"
|
|
101
101
|
},
|
|
102
|
-
"packageManager": "yarn@4.9.
|
|
102
|
+
"packageManager": "yarn@4.9.3"
|
|
103
103
|
}
|