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 CHANGED
@@ -32,7 +32,7 @@ curl -fsSL https://bun.sh/install | bash
32
32
  bun --version
33
33
  ```
34
34
 
35
- ### From npm (Coming soon)
35
+ ### From bun
36
36
 
37
37
  ```bash
38
38
  # Install globally
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunki",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "An opinionated static site generator built with Bun",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",