@stacksjs/logging 0.38.3 → 0.44.6

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 CHANGED
@@ -1,12 +1,10 @@
1
1
  # Stacks Logging
2
2
 
3
- Log anything.
3
+ The Stacks logging system.
4
4
 
5
5
  ## ☘️ Features
6
6
 
7
- - Works in browser and server
8
- - Pretty logs
9
- - Logs anything
7
+ - Logging tooling
10
8
 
11
9
  ## 🤖 Usage
12
10
 
@@ -41,7 +39,7 @@ Please see our [releases](https://github.com/stacksjs/stacks/releases) page for
41
39
 
42
40
  ## 💪🏼 Contributing
43
41
 
44
- Please see [CONTRIBUTING](../../.github/CONTRIBUTING.md) for details.
42
+ Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
45
43
 
46
44
  ## 🏝 Community
47
45
 
@@ -51,7 +49,7 @@ For help, discussion about best practices, or any other conversation that would
51
49
 
52
50
  For casual chit-chat with others using this package:
53
51
 
54
- [Join the Open Web Discord Server](https://discord.ow3.org)
52
+ [Join the Stacks Discord Server](https://discord.ow3.org)
55
53
 
56
54
  ## 📄 License
57
55
 
package/dist/index.d.ts CHANGED
@@ -1,2 +1,6 @@
1
+ import { ray } from 'node-ray';
1
2
  declare const log: import("consola").Consola;
2
- export { log };
3
+ declare const debug: (...args: any[]) => import("node-ray").Ray;
4
+ declare function dump(...args: any[]): import("node-ray").Ray;
5
+ declare function dd(...args: any[]): import("node-ray").Ray;
6
+ export { log, debug, dd, dump, ray };
package/dist/index.mjs CHANGED
@@ -1,3 +1,11 @@
1
1
  import consola from "consola";
2
+ import { ray } from "node-ray";
2
3
  const log = consola;
3
- export { log };
4
+ const debug = ray;
5
+ function dump(...args) {
6
+ return debug(...args);
7
+ }
8
+ function dd(...args) {
9
+ return dump(...args).showApp();
10
+ }
11
+ export { log, debug, dd, dump, ray };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@stacksjs/logging",
3
3
  "type": "module",
4
- "version": "0.38.3",
5
- "packageManager": "pnpm@7.15.0",
6
- "description": "Log anything.",
4
+ "version": "0.44.6",
5
+ "packageManager": "pnpm@7.18.2",
6
+ "description": "The Stacks logging system.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
9
9
  "funding": "https://github.com/sponsors/chrisbbreuer",
@@ -18,13 +18,10 @@
18
18
  },
19
19
  "keywords": [
20
20
  "logging",
21
- "logs",
22
- "anything",
23
- "debug",
24
- "console",
25
- "consola",
26
- "type safe",
27
- "stacks"
21
+ "stacks",
22
+ "framework",
23
+ "typescript",
24
+ "javascript"
28
25
  ],
29
26
  "main": "dist/index.mjs",
30
27
  "module": "dist/index.mjs",
@@ -38,13 +35,16 @@
38
35
  ],
39
36
  "engines": {
40
37
  "node": ">=v18.12.1",
41
- "pnpm": ">=7.15.0"
38
+ "pnpm": ">=7.18.2"
42
39
  },
43
40
  "peerDependencies": {
44
- "consola": "^2.15.3"
41
+ "consola": "^2.15.3",
42
+ "vue-ray": "^1.17.3"
45
43
  },
46
44
  "devDependencies": {
47
- "mkdist": "^0.4.0"
45
+ "mkdist": "^1.0.0",
46
+ "typescript": "^4.9.4",
47
+ "@stacksjs/testing": "0.44.6"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "mkdist -d",