@stacksjs/logging 0.50.0 → 0.52.0
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 +1 -1
- package/dist/index.d.ts +7 -6
- package/dist/index.mjs +6 -6
- package/package.json +20 -12
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ pnpm test
|
|
|
37
37
|
|
|
38
38
|
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
|
|
39
39
|
|
|
40
|
-
##
|
|
40
|
+
## 🚜 Contributing
|
|
41
41
|
|
|
42
42
|
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
43
43
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare function dump(...args: any[]):
|
|
5
|
-
declare function dd(...args: any[]):
|
|
6
|
-
|
|
1
|
+
import * as node_ray from 'node-ray';
|
|
2
|
+
export { consola as log } from 'consola';
|
|
3
|
+
|
|
4
|
+
declare function dump(...args: any[]): node_ray.Ray;
|
|
5
|
+
declare function dd(...args: any[]): node_ray.Ray;
|
|
6
|
+
|
|
7
|
+
export { dd, dump };
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const debug = ray;
|
|
1
|
+
import { ray } from 'node-ray';
|
|
2
|
+
export { consola as log } from 'consola';
|
|
3
|
+
|
|
5
4
|
function dump(...args) {
|
|
6
|
-
return
|
|
5
|
+
return ray(...args);
|
|
7
6
|
}
|
|
8
7
|
function dd(...args) {
|
|
9
8
|
return dump(...args).showApp();
|
|
10
9
|
}
|
|
11
|
-
|
|
10
|
+
|
|
11
|
+
export { dd, dump };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/logging",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@
|
|
4
|
+
"version": "0.52.0",
|
|
5
|
+
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks logging system.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -23,6 +23,12 @@
|
|
|
23
23
|
"typescript",
|
|
24
24
|
"javascript"
|
|
25
25
|
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.mjs"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
26
32
|
"main": "dist/index.mjs",
|
|
27
33
|
"module": "dist/index.mjs",
|
|
28
34
|
"types": "dist/index.d.ts",
|
|
@@ -33,22 +39,24 @@
|
|
|
33
39
|
"dist",
|
|
34
40
|
"README.md"
|
|
35
41
|
],
|
|
36
|
-
"engines": {
|
|
37
|
-
"node": ">=v18.13.0",
|
|
38
|
-
"pnpm": ">=7.25.1"
|
|
39
|
-
},
|
|
40
42
|
"peerDependencies": {
|
|
41
|
-
"consola": "^
|
|
43
|
+
"consola": "^3.1.0",
|
|
44
|
+
"node-ray": "^1.20.9",
|
|
45
|
+
"vue-ray": "^1.17.3"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"node-ray": "^1.20.9",
|
|
42
49
|
"vue-ray": "^1.17.3"
|
|
43
50
|
},
|
|
44
51
|
"devDependencies": {
|
|
45
|
-
"
|
|
46
|
-
"typescript": "^
|
|
47
|
-
"
|
|
52
|
+
"tsx": "^3.12.7",
|
|
53
|
+
"typescript": "^5.0.4",
|
|
54
|
+
"unbuild": "^1.2.1",
|
|
55
|
+
"@stacksjs/testing": "0.52.0"
|
|
48
56
|
},
|
|
49
57
|
"scripts": {
|
|
50
|
-
"build": "
|
|
51
|
-
"dev": "
|
|
58
|
+
"build": "unbuild",
|
|
59
|
+
"dev": "unbuild --stub",
|
|
52
60
|
"typecheck": "tsc --noEmit"
|
|
53
61
|
}
|
|
54
62
|
}
|