fix: add .npmignore to reduce npm tarball from 533 to 348 files (#1900)
The package was shipping 6.2 MB including docs/, website/, test/, .github/, banner images, and dev config files. With .npmignore, the tarball drops to 555 KB (91% reduction) while keeping all runtime files (src/, tools/cli/, tools/lib/). Fixes #1870 Co-authored-by: Brian <bmadcode@gmail.com>
This commit is contained in:
parent
5a5ade333a
commit
42aa184074
|
|
@ -0,0 +1,40 @@
|
||||||
|
# Development & Testing
|
||||||
|
test/
|
||||||
|
.husky/
|
||||||
|
.github/
|
||||||
|
.vscode/
|
||||||
|
.augment/
|
||||||
|
coverage/
|
||||||
|
test-output/
|
||||||
|
|
||||||
|
# Documentation site (users access docs online)
|
||||||
|
docs/
|
||||||
|
website/
|
||||||
|
|
||||||
|
# Configuration files (development only)
|
||||||
|
.coderabbit.yaml
|
||||||
|
.markdownlint-cli2.yaml
|
||||||
|
.prettierignore
|
||||||
|
.nvmrc
|
||||||
|
eslint.config.mjs
|
||||||
|
prettier.config.mjs
|
||||||
|
|
||||||
|
# Build tools (not needed at runtime)
|
||||||
|
tools/build-docs.mjs
|
||||||
|
tools/fix-doc-links.js
|
||||||
|
tools/validate-doc-links.js
|
||||||
|
tools/validate-file-refs.js
|
||||||
|
tools/validate-agent-schema.js
|
||||||
|
|
||||||
|
# Images (branding/marketing only)
|
||||||
|
banner-bmad-method.png
|
||||||
|
Wordmark.png
|
||||||
|
|
||||||
|
# Repository metadata
|
||||||
|
CONTRIBUTING.md
|
||||||
|
CONTRIBUTORS.md
|
||||||
|
SECURITY.md
|
||||||
|
TRADEMARK.md
|
||||||
|
CHANGELOG.md
|
||||||
|
CNAME
|
||||||
|
CODE_OF_CONDUCT.md
|
||||||
Loading…
Reference in New Issue