bun-plugin-stx 0.2.20 → 0.2.24
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/serve.d.ts +1 -0
- package/dist/serve.js +1158 -2506
- package/dist/watch.d.ts +4 -0
- package/package.json +2 -2
package/dist/watch.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import type { BuildConfig } from 'bun';
|
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import type { StxOptions } from '@stacksjs/stx';
|
|
4
4
|
import type { WatchEventType } from 'node:fs';
|
|
5
|
+
/**
|
|
6
|
+
* Debounce a function
|
|
7
|
+
*/
|
|
8
|
+
declare function debounce<T extends (...args: any[]) => any>(fn: T, delay: number): (...args: Parameters<T>) => void;
|
|
5
9
|
/**
|
|
6
10
|
* Create a file watcher for stx templates
|
|
7
11
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bun-plugin-stx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.24",
|
|
5
5
|
"description": "A Bun plugin that allows for using Laravel Blade-like syntax.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -72,6 +72,6 @@
|
|
|
72
72
|
"typecheck": "bun tsc --noEmit"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@stacksjs/stx": "0.2.
|
|
75
|
+
"@stacksjs/stx": "0.2.24"
|
|
76
76
|
}
|
|
77
77
|
}
|