@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.
Files changed (2) hide show
  1. package/README.md +21 -20
  2. package/package.json +14 -14
package/README.md CHANGED
@@ -1,35 +1,36 @@
1
- [![stars](https://img.shields.io/github/stars/Digital-Alchemy-TS/core)](https://github.com/Digital-Alchemy-TS/core)
2
- ![discord](https://img.shields.io/discord/1219758743848489147?label=Discord&logo=discord)
3
1
  [![codecov](https://codecov.io/github/Digital-Alchemy-TS/core/graph/badge.svg?token=IBGLY3RY68)](https://codecov.io/github/Digital-Alchemy-TS/core)
4
2
  [![version](https://img.shields.io/github/package-json/version/Digital-Alchemy-TS/core)](https://www.npmjs.com/package/@digital-alchemy/core)
3
+ [![stars](https://img.shields.io/github/stars/Digital-Alchemy-TS/core)](https://github.com/Digital-Alchemy-TS/core)
5
4
 
6
5
  ---
6
+ <div align="center">
7
7
 
8
- # 🧩 Welcome to `@digital-alchemy/core`
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
+ ![Digital Alchemy](https://raw.githubusercontent.com/Digital-Alchemy-TS/.github/main/profile/github-logo.png)
16
9
 
17
- ### ⚙️ [Configuration](https://docs.digital-alchemy.app/docs/core/configuration)
10
+ </div>
18
11
 
19
- Define and load structured configuration data from files, merge data from environment variables, and more.
12
+ ## Install
20
13
 
21
- ### 📝 [Logger](https://docs.digital-alchemy.app/docs/core/logger/api)
14
+ ```bash
15
+ yarn add @digital-alchemy/core
16
+ ```
22
17
 
23
- Advanced logging interface for detailed and customizable output, compatible with external libraries for specialized logging needs.
18
+ ## Introduction
24
19
 
25
- ### ⏲️ [Scheduler](https://docs.digital-alchemy.app/docs/core/scheduler)
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
- Lifecycle-aware task scheduling, featuring flexible timing functions and robust error handling.
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
- ### 🔄 [Lifecycle Hooks](https://docs.digital-alchemy.app/docs/core/lifecycle)
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
- Run commands at a variety of predetermined times during your application's boot or shutdown sequence.
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
- ### ⁉️ [Testing Utilities](https://docs.digital-alchemy.app/docs/testing/)
34
+ ## Questions / Issues?
34
35
 
35
- Convert your application into a testing module - append extra libraries and reconfigure modules to get the coverage you're looking for.
36
+ [![discord](https://img.shields.io/discord/1219758743848489147?label=Discord&logo=discord)](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.2-beta.4",
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.48.4",
52
- "chalk": "^5.4.1",
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.1",
62
+ "@eslint/compat": "^1.3.2",
63
63
  "@eslint/eslintrc": "^3.3.1",
64
- "@eslint/js": "^9.32.0",
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.1.0",
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.38.0",
73
- "@typescript-eslint/parser": "8.38.0",
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.4.1",
75
+ "chalk": "^5.6.0",
76
76
  "dayjs": "^1.11.13",
77
- "eslint": "9.32.0",
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.3",
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.7.0",
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.3",
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.2"
102
+ "packageManager": "yarn@4.9.3"
103
103
  }