defuss-ssg 0.1.2 → 0.2.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 +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.cjs +639 -26
- package/dist/index.d.cts +172 -3
- package/dist/index.d.mts +172 -3
- package/dist/index.mjs +1 -1
- package/dist/plugins/index.d.cts +1 -1
- package/dist/plugins/index.d.mts +1 -1
- package/dist/runtime.cjs +92 -41
- package/dist/runtime.d.cts +0 -7
- package/dist/runtime.d.mts +0 -7
- package/dist/runtime.mjs +92 -41
- package/dist/serve-w6eyG8f3.mjs +1178 -0
- package/dist/{types-C0p7aCdN.d.cts → types-Be8_Y5-t.d.cts} +9 -2
- package/dist/{types-C0p7aCdN.d.mts → types-Be8_Y5-t.d.mts} +9 -2
- package/package.json +12 -4
- package/dist/serve-CMNixAKF.mjs +0 -576
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ Usage
|
|
|
23
23
|
Simply generate a static site from a content directory to an output directory with full defuss-MDX (GFM + Frontmatter) support:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
|
|
26
|
+
bunx defuss-ssg build ./folder
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
Or install globally or locally in a project:
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { v as validateProjectDir, b as build, s as serve } from './serve-
|
|
2
|
+
import { v as validateProjectDir, b as build, s as serve } from './serve-w6eyG8f3.mjs';
|
|
3
3
|
import { join, dirname, resolve } from 'node:path';
|
|
4
4
|
import { existsSync, readFileSync } from 'node:fs';
|
|
5
5
|
import { spawn } from 'node:child_process';
|