@bsb/observable-winston 9.1.1 → 9.1.3

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.
@@ -64,7 +64,6 @@ export const WinstonConfigSchema = av.object({
64
64
  export const Config = createConfigSchema({
65
65
  name: 'observable-winston',
66
66
  description: 'Winston observable plugin with console, file, and rotation transports',
67
- version: '9.0.0',
68
67
  image: './observable-winston.png',
69
68
  tags: ['winston', 'logging', 'observability', 'transports'],
70
69
  documentation: ['./docs/plugin.md'],
@@ -1,7 +1,194 @@
1
1
  {
2
2
  "pluginName": "observable-winston",
3
- "version": "9.0.0",
4
3
  "events": {},
4
+ "version": "9.1.3",
5
+ "configSchema": {
6
+ "anyvaliVersion": "1.0",
7
+ "schemaVersion": "1",
8
+ "root": {
9
+ "kind": "object",
10
+ "properties": {
11
+ "level": {
12
+ "kind": "optional",
13
+ "inner": {
14
+ "kind": "enum",
15
+ "values": [
16
+ "error",
17
+ "warn",
18
+ "info",
19
+ "debug"
20
+ ]
21
+ },
22
+ "default": "info"
23
+ },
24
+ "transports": {
25
+ "kind": "object",
26
+ "properties": {
27
+ "console": {
28
+ "kind": "object",
29
+ "properties": {
30
+ "enabled": {
31
+ "kind": "optional",
32
+ "inner": {
33
+ "kind": "bool"
34
+ },
35
+ "default": true
36
+ },
37
+ "colorize": {
38
+ "kind": "optional",
39
+ "inner": {
40
+ "kind": "bool"
41
+ },
42
+ "default": true
43
+ }
44
+ },
45
+ "required": [],
46
+ "unknownKeys": "strip"
47
+ },
48
+ "file": {
49
+ "kind": "object",
50
+ "properties": {
51
+ "enabled": {
52
+ "kind": "optional",
53
+ "inner": {
54
+ "kind": "bool"
55
+ },
56
+ "default": false
57
+ },
58
+ "filename": {
59
+ "kind": "optional",
60
+ "inner": {
61
+ "kind": "string"
62
+ },
63
+ "default": "./logs/application.log"
64
+ },
65
+ "maxsize": {
66
+ "kind": "optional",
67
+ "inner": {
68
+ "kind": "int32"
69
+ },
70
+ "default": 10485760
71
+ },
72
+ "maxFiles": {
73
+ "kind": "optional",
74
+ "inner": {
75
+ "kind": "int32"
76
+ },
77
+ "default": 5
78
+ },
79
+ "tailable": {
80
+ "kind": "optional",
81
+ "inner": {
82
+ "kind": "bool"
83
+ },
84
+ "default": true
85
+ }
86
+ },
87
+ "required": [],
88
+ "unknownKeys": "strip"
89
+ },
90
+ "dailyRotate": {
91
+ "kind": "object",
92
+ "properties": {
93
+ "enabled": {
94
+ "kind": "optional",
95
+ "inner": {
96
+ "kind": "bool"
97
+ },
98
+ "default": false
99
+ },
100
+ "dirname": {
101
+ "kind": "optional",
102
+ "inner": {
103
+ "kind": "string"
104
+ },
105
+ "default": "./logs"
106
+ },
107
+ "filename": {
108
+ "kind": "optional",
109
+ "inner": {
110
+ "kind": "string"
111
+ },
112
+ "default": "application-%DATE%.log"
113
+ },
114
+ "datePattern": {
115
+ "kind": "optional",
116
+ "inner": {
117
+ "kind": "string"
118
+ },
119
+ "default": "YYYY-MM-DD"
120
+ },
121
+ "maxSize": {
122
+ "kind": "optional",
123
+ "inner": {
124
+ "kind": "string"
125
+ },
126
+ "default": "20m"
127
+ },
128
+ "maxFiles": {
129
+ "kind": "optional",
130
+ "inner": {
131
+ "kind": "string"
132
+ },
133
+ "default": "14d"
134
+ },
135
+ "zippedArchive": {
136
+ "kind": "optional",
137
+ "inner": {
138
+ "kind": "bool"
139
+ },
140
+ "default": true
141
+ }
142
+ },
143
+ "required": [],
144
+ "unknownKeys": "strip"
145
+ }
146
+ },
147
+ "required": [
148
+ "console",
149
+ "file",
150
+ "dailyRotate"
151
+ ],
152
+ "unknownKeys": "strip"
153
+ },
154
+ "format": {
155
+ "kind": "object",
156
+ "properties": {
157
+ "timestamp": {
158
+ "kind": "optional",
159
+ "inner": {
160
+ "kind": "bool"
161
+ },
162
+ "default": true
163
+ },
164
+ "json": {
165
+ "kind": "optional",
166
+ "inner": {
167
+ "kind": "bool"
168
+ },
169
+ "default": true
170
+ },
171
+ "prettyPrint": {
172
+ "kind": "optional",
173
+ "inner": {
174
+ "kind": "bool"
175
+ },
176
+ "default": false
177
+ }
178
+ },
179
+ "required": [],
180
+ "unknownKeys": "strip"
181
+ }
182
+ },
183
+ "required": [
184
+ "transports",
185
+ "format"
186
+ ],
187
+ "unknownKeys": "strip"
188
+ },
189
+ "definitions": {},
190
+ "extensions": {}
191
+ },
5
192
  "pluginType": "observable",
6
193
  "capabilities": {
7
194
  "logging": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "observable-winston",
3
3
  "name": "observable-winston",
4
- "version": "9.0.0",
4
+ "version": "9.1.3",
5
5
  "description": "Winston observable plugin with console, file, and rotation transports",
6
6
  "category": "observable",
7
7
  "tags": [
@@ -14,5 +14,198 @@
14
14
  "./docs/plugin.md"
15
15
  ],
16
16
  "dependencies": [],
17
- "image": "./observable-winston.png"
17
+ "author": {
18
+ "name": "BetterCorp (PTY) Ltd",
19
+ "email": "ninja@bettercorp.dev",
20
+ "url": "https://bettercorp.dev/"
21
+ },
22
+ "license": "(AGPL-3.0-only OR Commercial)",
23
+ "image": "./observable-winston.png",
24
+ "configSchema": {
25
+ "anyvaliVersion": "1.0",
26
+ "schemaVersion": "1",
27
+ "root": {
28
+ "kind": "object",
29
+ "properties": {
30
+ "level": {
31
+ "kind": "optional",
32
+ "inner": {
33
+ "kind": "enum",
34
+ "values": [
35
+ "error",
36
+ "warn",
37
+ "info",
38
+ "debug"
39
+ ]
40
+ },
41
+ "default": "info"
42
+ },
43
+ "transports": {
44
+ "kind": "object",
45
+ "properties": {
46
+ "console": {
47
+ "kind": "object",
48
+ "properties": {
49
+ "enabled": {
50
+ "kind": "optional",
51
+ "inner": {
52
+ "kind": "bool"
53
+ },
54
+ "default": true
55
+ },
56
+ "colorize": {
57
+ "kind": "optional",
58
+ "inner": {
59
+ "kind": "bool"
60
+ },
61
+ "default": true
62
+ }
63
+ },
64
+ "required": [],
65
+ "unknownKeys": "strip"
66
+ },
67
+ "file": {
68
+ "kind": "object",
69
+ "properties": {
70
+ "enabled": {
71
+ "kind": "optional",
72
+ "inner": {
73
+ "kind": "bool"
74
+ },
75
+ "default": false
76
+ },
77
+ "filename": {
78
+ "kind": "optional",
79
+ "inner": {
80
+ "kind": "string"
81
+ },
82
+ "default": "./logs/application.log"
83
+ },
84
+ "maxsize": {
85
+ "kind": "optional",
86
+ "inner": {
87
+ "kind": "int32"
88
+ },
89
+ "default": 10485760
90
+ },
91
+ "maxFiles": {
92
+ "kind": "optional",
93
+ "inner": {
94
+ "kind": "int32"
95
+ },
96
+ "default": 5
97
+ },
98
+ "tailable": {
99
+ "kind": "optional",
100
+ "inner": {
101
+ "kind": "bool"
102
+ },
103
+ "default": true
104
+ }
105
+ },
106
+ "required": [],
107
+ "unknownKeys": "strip"
108
+ },
109
+ "dailyRotate": {
110
+ "kind": "object",
111
+ "properties": {
112
+ "enabled": {
113
+ "kind": "optional",
114
+ "inner": {
115
+ "kind": "bool"
116
+ },
117
+ "default": false
118
+ },
119
+ "dirname": {
120
+ "kind": "optional",
121
+ "inner": {
122
+ "kind": "string"
123
+ },
124
+ "default": "./logs"
125
+ },
126
+ "filename": {
127
+ "kind": "optional",
128
+ "inner": {
129
+ "kind": "string"
130
+ },
131
+ "default": "application-%DATE%.log"
132
+ },
133
+ "datePattern": {
134
+ "kind": "optional",
135
+ "inner": {
136
+ "kind": "string"
137
+ },
138
+ "default": "YYYY-MM-DD"
139
+ },
140
+ "maxSize": {
141
+ "kind": "optional",
142
+ "inner": {
143
+ "kind": "string"
144
+ },
145
+ "default": "20m"
146
+ },
147
+ "maxFiles": {
148
+ "kind": "optional",
149
+ "inner": {
150
+ "kind": "string"
151
+ },
152
+ "default": "14d"
153
+ },
154
+ "zippedArchive": {
155
+ "kind": "optional",
156
+ "inner": {
157
+ "kind": "bool"
158
+ },
159
+ "default": true
160
+ }
161
+ },
162
+ "required": [],
163
+ "unknownKeys": "strip"
164
+ }
165
+ },
166
+ "required": [
167
+ "console",
168
+ "file",
169
+ "dailyRotate"
170
+ ],
171
+ "unknownKeys": "strip"
172
+ },
173
+ "format": {
174
+ "kind": "object",
175
+ "properties": {
176
+ "timestamp": {
177
+ "kind": "optional",
178
+ "inner": {
179
+ "kind": "bool"
180
+ },
181
+ "default": true
182
+ },
183
+ "json": {
184
+ "kind": "optional",
185
+ "inner": {
186
+ "kind": "bool"
187
+ },
188
+ "default": true
189
+ },
190
+ "prettyPrint": {
191
+ "kind": "optional",
192
+ "inner": {
193
+ "kind": "bool"
194
+ },
195
+ "default": false
196
+ }
197
+ },
198
+ "required": [],
199
+ "unknownKeys": "strip"
200
+ }
201
+ },
202
+ "required": [
203
+ "transports",
204
+ "format"
205
+ ],
206
+ "unknownKeys": "strip"
207
+ },
208
+ "definitions": {},
209
+ "extensions": {}
210
+ }
18
211
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsb/observable-winston",
3
- "version": "9.1.1",
3
+ "version": "9.1.3",
4
4
  "type": "module",
5
5
  "license": "(AGPL-3.0-only OR Commercial)",
6
6
  "author": {
@@ -37,7 +37,7 @@
37
37
  "prepublishOnly": "npm run build"
38
38
  },
39
39
  "peerDependencies": {
40
- "@bsb/base": "^9.0.0"
40
+ "@bsb/base": "^9.1.6"
41
41
  },
42
42
  "dependencies": {
43
43
  "@anyvali/js": "^0.2.0",
@@ -45,8 +45,8 @@
45
45
  "winston-daily-rotate-file": "^5.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@bsb/base": "^9.0.0",
49
- "@types/node": "^25.0.0",
48
+ "@bsb/base": "^9.1.6",
49
+ "@types/node": "^25.6.0",
50
50
  "mocha": "^11.0.0",
51
51
  "typescript": "^5.9.0"
52
52
  },