bunki 0.1.3 → 0.1.4
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.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -27894,7 +27894,7 @@ program2.name("bunki").description("An opinionated static site generator built w
|
|
|
27894
27894
|
program2.command("init").description("Initialize a new site with default structure").option("-c, --config <file>", "Path to config file", "bunki.config.json").action(async (options3) => {
|
|
27895
27895
|
try {
|
|
27896
27896
|
const configPath = path5.resolve(options3.config);
|
|
27897
|
-
const configCreated = createDefaultConfig(configPath);
|
|
27897
|
+
const configCreated = await createDefaultConfig(configPath);
|
|
27898
27898
|
if (configCreated) {
|
|
27899
27899
|
console.log("Creating directory structure...");
|
|
27900
27900
|
await ensureDir(DEFAULT_CONTENT_DIR);
|
|
@@ -28421,7 +28421,7 @@ program2.command("generate").description("Generate static site from markdown con
|
|
|
28421
28421
|
console.log(`- Content directory: ${contentDir}`);
|
|
28422
28422
|
console.log(`- Output directory: ${outputDir}`);
|
|
28423
28423
|
console.log(`- Templates directory: ${templatesDir}`);
|
|
28424
|
-
const config = loadConfig(configPath);
|
|
28424
|
+
const config = await loadConfig(configPath);
|
|
28425
28425
|
const generator = new SiteGenerator({
|
|
28426
28426
|
contentDir,
|
|
28427
28427
|
outputDir,
|