fix: include all JavaScript modules in npm package
- Fixed missing setup.js issue by updating files field in package.json - Changed from selective file inclusion to including all JS/TS files - Excluded large framework bundles to keep package size reasonable - Updated package size test thresholds to match new structure - Package now correctly includes all necessary modules for installation
This commit is contained in:
parent
e44d9e39f9
commit
8d4c3a118e
2 changed files with 10 additions and 14 deletions
18
package.json
18
package.json
|
|
@ -118,18 +118,14 @@
|
|||
"url": "git+https://github.com/soulcraft-research/brainy.git"
|
||||
},
|
||||
"files": [
|
||||
"dist/unified.js",
|
||||
"dist/unified.min.js",
|
||||
"dist/brainy.js",
|
||||
"dist/brainy.min.js",
|
||||
"dist/**/*.js",
|
||||
"dist/**/*.js.map",
|
||||
"dist/**/*.d.ts",
|
||||
"dist/types/",
|
||||
"dist/augmentations/",
|
||||
"dist/examples/",
|
||||
"dist/hnsw/",
|
||||
"dist/mcp/",
|
||||
"dist/storage/",
|
||||
"dist/utils/",
|
||||
"dist/**/*.d.ts.map",
|
||||
"!dist/framework.js",
|
||||
"!dist/framework.js.map",
|
||||
"!dist/framework.min.js",
|
||||
"!dist/framework.min.js.map",
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"brainy.png"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue