**chore(version, docs): bump version to 0.9.14 and update build documentation**

- Updated `npm` badge in `README.md` to reflect version `0.9.14`.
- Updated `VERSION` constant in `src/utils/version.ts` to `0.9.14`.
- Replaced `build:all` script references in documentation with separate `build` and `build:browser` commands for better clarity.
- Adjusted `demo` script to build both Node.js and browser versions before running the demo.
- Updated prerequisites in `README.demo.md` to align with the new build workflow.
- Refined `package.json` `files` field to clean up package distribution artifacts.

These changes ensure version consistency, clarify build processes, and improve documentation to streamline the developer experience.
This commit is contained in:
David Snelling 2025-07-02 10:20:58 -07:00
parent 780c4fcf12
commit 84f74048f1
4 changed files with 14 additions and 10 deletions

View file

@ -4,8 +4,8 @@ The Brainy interactive demo showcases the library's features in a web browser. F
## Prerequisites
- Make sure you have Node.js installed (version 23.11.0 or higher)
- Ensure the project is built (`npm run build:all`)
- Make sure you have Node.js installed (version 24.0.0 or higher)
- Ensure the project is built (run both `npm run build` and `npm run build:browser`)
## Running the Demo
@ -51,7 +51,13 @@ The Brainy library uses a two-step build process:
You can run both steps together with:
```bash
npm run build:all
npm run build && npm run build:browser
```
Or simply use the demo script which does this for you:
```bash
npm run demo
```
The browser bundle is created from `src/unified.ts`, which provides environment detection and adapts to browser,