Commit graph

2 commits

Author SHA1 Message Date
efd814bbff **docs(readme): format live demo section and update .npmignore**
### Changes:
- **README.md**:
  - Reformatted "Live Demo" and "Demo" sections for improved readability.
  - Adjusted line wrapping to enhance clarity and maintain consistent formatting.
- **.npmignore**:
  - Allowed inclusion of `brainy.png` while preserving exclusions for other `.png` files.
- **src/utils/version.ts**:
  - Bumped version from `0.9.0` to `0.9.1`.

### Purpose:
Enhanced documentation formatting for better user experience and easier navigation. Updated `.npmignore` to refine file inclusion for package distribution. Incremented version to `0.9.1` to reflect the latest changes.
2025-06-23 10:47:44 -07:00
5f694bf1d1 **feat(cli): add script to estimate package size and .npmignore cleanup**
### Changes:
- **verify-package-size.js**:
  - Added a CLI script to calculate and display the estimated package size.
  - Integrated support for parsing `.npmignore` and `package.json` `files` patterns.
  - Outputs total package size and lists the largest files included.

- **.npmignore**:
  - Introduced an `.npmignore` file to exclude unnecessary development, configuration, and large files from the package.
  - Added patterns for source maps, development files, configuration files, and artifacts.

- **package.json**:
  - Updated the `files` array to include new patterns for distribution files (`.js`, `.d.ts`, `types`).
  - Improved package inclusion accuracy with precise file patterns.

### Purpose:
Introduced a new utility to provide quick insights into the package size for better maintenance and optimization. Optimized `.npmignore` and `files` configurations in `package.json` to exclude irrelevant files, ensuring a smaller, cleaner package distribution.
2025-06-23 10:39:05 -07:00