diff --git a/docs/DEVELOPER_DIARY.md b/docs/DEVELOPER_DIARY.md index ad4099e..ed5113a 100644 --- a/docs/DEVELOPER_DIARY.md +++ b/docs/DEVELOPER_DIARY.md @@ -22,3 +22,9 @@ - Added a Node-runnable abstract wall/slab/screen example that turns transformed Three.js triangles into core mesh input, plus an oblique source-scene preview and deterministic README SVGs. - Kept the Three.js conversion, mesh-feature selection, explicit interface relation, and SVG styling outside the public package API. - Added adapter-transform and fixture tests, plus CI checks that prevent the generated SVG from becoming stale. + +## 2026-07-15: Git-consumable package build + +- Added a `prepare` lifecycle that compiles `dist` when the package is installed from an immutable Git commit. +- Kept npm publication disabled; the initial consumers can pin reviewed Git commits while the pre-1.0 API continues to evolve. +- Revalidated typechecking and the test suite before updating the EspooGML consumer. diff --git a/package.json b/package.json index 8e9106c..6c88c84 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ }, "scripts": { "build": "tsc -p tsconfig.json", + "prepare": "npm run build", "typecheck": "tsc --noEmit -p tsconfig.json", "typecheck:examples": "tsc --noEmit -p tsconfig.examples.json", "test": "vitest run",