chore: scaffold Bun workspace monorepo

Sets up the initial project structure: two packages (@kitchen-md/core
and @kitchen-md/bin), shared tsconfig, shared fixtures, per-package
test stubs (unit, integration, smoke), .gitignore, and project
CLAUDE.md with Conventional Commits convention.
This commit is contained in:
2026-07-08 21:33:20 -04:00
commit 220f73d8f7
19 changed files with 312 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{
"name": "@kitchen-md/core",
"version": "0.0.0",
"type": "module",
"main": "./src/index.ts",
"exports": {
".": "./src/index.ts"
},
"scripts": {
"test": "bun test"
}
}

View File

@@ -0,0 +1 @@
export {};

View File

@@ -0,0 +1,15 @@
import { describe, test } from "bun:test";
describe("parser", () => {
test.todo("parses frontmatter fields as-is");
test.todo("extracts ingredient name, quantity, and unit");
test.todo("extracts ingredient without unit");
test.todo("extracts multi-word ingredient name");
test.todo("extracts cookware without quantity");
test.todo("extracts cookware with quantity");
test.todo("extracts multi-word cookware name");
test.todo("extracts timer as single value");
test.todo("extracts timer as range");
test.todo("annotations embedded mid-sentence are captured");
test.todo("standard Markdown elements pass through without interference");
});

View File

@@ -0,0 +1,5 @@
import { describe, test } from "bun:test";
describe("parser — integration", () => {
test.todo("parses the primary fixture and extracts all annotations");
});

View File

@@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}