@hkdigital/lib-core 0.4.6 → 0.4.7
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 +7 -1
- package/dist/logging/internal/adapters/pino.d.ts +2 -1
- package/package.json +30 -30
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ pnpm add -D --save-peer @hkdigital/lib-core
|
|
|
21
21
|
|
|
22
22
|
### Peer Dependencies
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
**For projects/applications**, install peer dependencies:
|
|
25
25
|
```bash
|
|
26
26
|
# Core framework and utilities
|
|
27
27
|
pnpm add @sveltejs/kit svelte svelte-preprocess runed valibot
|
|
@@ -36,6 +36,12 @@ pnpm add pino pino-pretty
|
|
|
36
36
|
pnpm add @eslint/js eslint-plugin-import
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
+
**For other libraries**, install as dev dependencies and declare as peer dependencies:
|
|
40
|
+
```bash
|
|
41
|
+
# Install as dev dependencies and peer dependencies
|
|
42
|
+
pnpm add -D --save-peer @sveltejs/kit svelte svelte-preprocess runed valibot @steeze-ui/heroicons pino pino-pretty @eslint/js eslint-plugin-import
|
|
43
|
+
```
|
|
44
|
+
|
|
39
45
|
### Design System & Configuration
|
|
40
46
|
|
|
41
47
|
This library includes a complete design system with Tailwind CSS integration. Basic setup requires:
|
|
@@ -8,7 +8,7 @@ export class PinoAdapter {
|
|
|
8
8
|
* @param {Object} [options] - Pino configuration options
|
|
9
9
|
*/
|
|
10
10
|
constructor(options?: any);
|
|
11
|
-
pino:
|
|
11
|
+
pino: pino.Logger<never, boolean>;
|
|
12
12
|
/**
|
|
13
13
|
* Handle log events from Logger
|
|
14
14
|
*
|
|
@@ -24,3 +24,4 @@ export class PinoAdapter {
|
|
|
24
24
|
child(context: any): PinoAdapter;
|
|
25
25
|
#private;
|
|
26
26
|
}
|
|
27
|
+
import pino from 'pino';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hkdigital/lib-core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "HKdigital",
|
|
6
6
|
"url": "https://hkdigital.nl"
|
|
@@ -84,46 +84,46 @@
|
|
|
84
84
|
"valibot": "^1.1.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@eslint/js": "^9.
|
|
88
|
-
"@playwright/test": "^1.
|
|
89
|
-
"@skeletonlabs/skeleton": "3.
|
|
90
|
-
"@skeletonlabs/skeleton-svelte": "1.
|
|
87
|
+
"@eslint/js": "^9.33.0",
|
|
88
|
+
"@playwright/test": "^1.54.2",
|
|
89
|
+
"@skeletonlabs/skeleton": "3.1.7",
|
|
90
|
+
"@skeletonlabs/skeleton-svelte": "1.3.1",
|
|
91
91
|
"@steeze-ui/heroicons": "^2.4.2",
|
|
92
|
-
"@sveltejs/adapter-auto": "^6.0
|
|
93
|
-
"@sveltejs/package": "^2.
|
|
94
|
-
"@sveltejs/vite-plugin-svelte": "^
|
|
92
|
+
"@sveltejs/adapter-auto": "^6.1.0",
|
|
93
|
+
"@sveltejs/package": "^2.4.1",
|
|
94
|
+
"@sveltejs/vite-plugin-svelte": "^6.1.1",
|
|
95
95
|
"@tailwindcss/typography": "^0.5.16",
|
|
96
|
-
"@testing-library/svelte": "^5.2.
|
|
96
|
+
"@testing-library/svelte": "^5.2.8",
|
|
97
97
|
"@testing-library/user-event": "^14.6.1",
|
|
98
98
|
"@types/eslint": "^9.6.1",
|
|
99
99
|
"@types/node": "^24.2.1",
|
|
100
100
|
"autoprefixer": "^10.4.21",
|
|
101
|
-
"eslint": "^9.
|
|
102
|
-
"eslint-config-prettier": "^10.1.
|
|
103
|
-
"eslint-plugin-import": "^2.
|
|
104
|
-
"eslint-plugin-svelte": "^3.
|
|
105
|
-
"fake-indexeddb": "^6.
|
|
106
|
-
"globals": "^16.
|
|
101
|
+
"eslint": "^9.33.0",
|
|
102
|
+
"eslint-config-prettier": "^10.1.8",
|
|
103
|
+
"eslint-plugin-import": "^2.32.0",
|
|
104
|
+
"eslint-plugin-svelte": "^3.11.0",
|
|
105
|
+
"fake-indexeddb": "^6.1.0",
|
|
106
|
+
"globals": "^16.3.0",
|
|
107
107
|
"jsdom": "^26.1.0",
|
|
108
|
-
"npm-check-updates": "^18.0.
|
|
108
|
+
"npm-check-updates": "^18.0.2",
|
|
109
109
|
"npm-run-all": "^4.1.5",
|
|
110
|
-
"pino": "^9.
|
|
111
|
-
"pino-pretty": "^13.
|
|
112
|
-
"postcss": "^8.5.
|
|
113
|
-
"postcss-mixins": "^
|
|
114
|
-
"prettier": "^3.
|
|
110
|
+
"pino": "^9.8.0",
|
|
111
|
+
"pino-pretty": "^13.1.1",
|
|
112
|
+
"postcss": "^8.5.6",
|
|
113
|
+
"postcss-mixins": "^12.1.2",
|
|
114
|
+
"prettier": "^3.6.2",
|
|
115
115
|
"prettier-plugin-svelte": "^3.4.0",
|
|
116
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
116
|
+
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
117
117
|
"publint": "^0.3.12",
|
|
118
|
-
"standardized-audio-context-mock": "^9.7.
|
|
119
|
-
"svelte": "^5.
|
|
120
|
-
"svelte-check": "^4.
|
|
118
|
+
"standardized-audio-context-mock": "^9.7.24",
|
|
119
|
+
"svelte": "^5.38.1",
|
|
120
|
+
"svelte-check": "^4.3.1",
|
|
121
121
|
"svelte-preprocess": "^6.0.3",
|
|
122
|
-
"tailwindcss": "^4.1.
|
|
123
|
-
"typescript": "^5.
|
|
124
|
-
"vite": "^
|
|
125
|
-
"vite-imagetools": "^
|
|
126
|
-
"vitest": "^3.2.
|
|
122
|
+
"tailwindcss": "^4.1.11",
|
|
123
|
+
"typescript": "^5.9.2",
|
|
124
|
+
"vite": "^7.1.2",
|
|
125
|
+
"vite-imagetools": "^8.0.0",
|
|
126
|
+
"vitest": "^3.2.4"
|
|
127
127
|
},
|
|
128
128
|
"dependencies": {
|
|
129
129
|
"@tailwindcss/postcss": "^4.1.11"
|