bunki 0.17.0 → 0.18.0
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 +144 -8
- package/dist/cli/commands/generate.d.ts +1 -0
- package/dist/cli.js +728 -499
- package/dist/index.js +288 -45
- package/dist/parser.d.ts +8 -0
- package/dist/site-generator.d.ts +10 -0
- package/dist/utils/build-cache.d.ts +76 -0
- package/dist/utils/change-detector.d.ts +40 -0
- package/package.json +1 -1
- package/dist/cli/commands/templates/archive-njk.d.ts +0 -4
- package/dist/cli/commands/templates/base-njk.d.ts +0 -4
- package/dist/cli/commands/templates/default-css.d.ts +0 -4
- package/dist/cli/commands/templates/index-njk.d.ts +0 -4
- package/dist/cli/commands/templates/index.d.ts +0 -14
- package/dist/cli/commands/templates/post-njk.d.ts +0 -4
- package/dist/cli/commands/templates/sample-post.d.ts +0 -4
- package/dist/cli/commands/templates/tag-njk.d.ts +0 -4
- package/dist/cli/commands/templates/tags-njk.d.ts +0 -4
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { defaultCss } from "./default-css";
|
|
2
|
-
import { samplePost } from "./sample-post";
|
|
3
|
-
/**
|
|
4
|
-
* Nunjucks template files
|
|
5
|
-
*/
|
|
6
|
-
export declare const nunjucks: Record<string, string>;
|
|
7
|
-
/**
|
|
8
|
-
* Default CSS stylesheet
|
|
9
|
-
*/
|
|
10
|
-
export { defaultCss };
|
|
11
|
-
/**
|
|
12
|
-
* Sample markdown post
|
|
13
|
-
*/
|
|
14
|
-
export { samplePost };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sample blog post for new Bunki sites
|
|
3
|
-
*/
|
|
4
|
-
export declare const samplePost = "---\ntitle: Welcome to Bunki\ndate: 2025-01-15T12:00:00Z\ntags: [getting-started, bunki]\n---\n\n# Welcome to Your New Bunki Site\n\nThis is a sample blog post to help you get started with Bunki. You can edit this file or create new markdown files in the `content` directory.\n\n## Features\n\n- Markdown support with frontmatter\n- Syntax highlighting for code blocks\n- Tag-based organization\n- Pagination for post listings\n- RSS feed generation\n- Sitemap generation\n\n## Adding Content\n\nCreate new markdown files in the `content` directory with frontmatter like this:\n\n```markdown\n---\ntitle: Your Post Title\ndate: 2025-01-01T12:00:00Z\ntags: [tag1, tag2]\n---\n\nYour post content goes here...\n```\n\n## Code Highlighting\n\nBunki supports syntax highlighting for code blocks:\n\n```javascript\nfunction hello() {\n console.log('Hello, world!');\n}\n```\n\n## Next Steps\n\n1. Edit the site configuration in `bunki.config.ts`\n2. Create your own templates in the `templates` directory\n3. Add more blog posts in the `content` directory\n4. Run `bunki generate` to build your site\n5. Run `bunki serve` to preview your site locally\n";
|