@stacksjs/logging 0.51.0 → 0.52.1

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
@@ -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
- ## 💪🏼 Contributing
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 { ray } from 'node-ray';
2
- declare const log: import("consola").Consola;
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 };
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 consola from "consola";
2
- import { ray } from "node-ray";
3
- const log = consola;
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 debug(...args);
5
+ return ray(...args);
7
6
  }
8
7
  function dd(...args) {
9
8
  return dump(...args).showApp();
10
9
  }
11
- export { log, debug, dd, dump, ray };
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.51.0",
5
- "packageManager": "pnpm@7.26.3",
4
+ "version": "0.52.1",
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.14.0",
38
- "pnpm": ">=7.26.3"
39
- },
40
42
  "peerDependencies": {
41
- "consola": "^2.15.3",
42
- "vue-ray": "^1.17.3"
43
+ "consola": "^3.1.0",
44
+ "node-ray": "1.20.7",
45
+ "vue-ray": "^1.17.4"
46
+ },
47
+ "dependencies": {
48
+ "node-ray": "1.20.7",
49
+ "vue-ray": "^1.17.4"
43
50
  },
44
51
  "devDependencies": {
45
- "mkdist": "^1.1.0",
46
- "typescript": "^4.9.5",
47
- "@stacksjs/testing": "0.51.0"
52
+ "tsx": "^3.12.7",
53
+ "typescript": "^5.0.4",
54
+ "unbuild": "^1.2.1",
55
+ "@stacksjs/testing": "0.52.1"
48
56
  },
49
57
  "scripts": {
50
- "build": "mkdist -d",
51
- "dev": "mkdist -d",
58
+ "build": "unbuild",
59
+ "dev": "unbuild --stub",
52
60
  "typecheck": "tsc --noEmit"
53
61
  }
54
62
  }