@leftium/gg 0.0.16 → 0.0.17

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/dist/debug.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export default debugModule;
2
- import debugModule from './debug/src/index.js';
1
+ export default debug;
2
+ import debug from 'debug';
package/dist/debug.js CHANGED
@@ -1,13 +1,17 @@
1
1
  /**
2
- * Re-export patched debug library
2
+ * Re-export patched debug library
3
3
  * This file bundles the patched version of debug into the library distribution.
4
4
  *
5
5
  * The patch moves time diff display before namespace:
6
6
  * Standard: gg:file +123ms
7
7
  * Patched: +123ms gg:file
8
+ *
9
+ * Note: In dev mode with Vite, this uses the debug from node_modules (with patch applied).
10
+ * In production (svelte-package build), this bundles the ./debug/ folder into dist/.
8
11
  */
9
12
 
10
- // The debug/src/index.js handles browser vs node environment detection
11
- // Import CommonJS module and re-export as ES module default
12
- import debugModule from './debug/src/index.js';
13
- export default debugModule;
13
+ // Import from debug package (works in dev with Vite optimizeDeps)
14
+ // After svelte-package, this will bundle from ./debug/ folder
15
+ import debug from 'debug';
16
+
17
+ export default debug;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leftium/gg",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Leftium/gg.git"
@@ -58,6 +58,7 @@
58
58
  "svelte"
59
59
  ],
60
60
  "dependencies": {
61
+ "debug": "^4.4.3",
61
62
  "dotenv": "^17.2.3",
62
63
  "error-stack-parser": "^2.1.4",
63
64
  "esm-env": "^1.2.2",