mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-25 15:03:46 +00:00
fix(rvf-solver): include WASM binary in npm tarball, fix ESM phantom entry
- Add pkg/.npmignore to override pkg/.gitignore (which had `*` blocking all files from npm pack) - Remove phantom dist/index.mjs ESM entry point (file never existed) - Fix README: max concurrent instances is 7, not 8 - Publish as v0.1.5 with working WASM (135 KB + 172 KB) Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
parent
4e4d5d3830
commit
1c0c7280da
3 changed files with 6 additions and 5 deletions
|
|
@ -66,7 +66,7 @@ solver.destroy();
|
|||
|
||||
### `RvfSolver.create(): Promise<RvfSolver>`
|
||||
|
||||
Creates a new solver instance. Initializes the WASM module on the first call; subsequent calls reuse the loaded module. Up to 8 concurrent instances are supported.
|
||||
Creates a new solver instance. Initializes the WASM module on the first call; subsequent calls reuse the loaded module. Up to 7 concurrent instances are supported.
|
||||
|
||||
```typescript
|
||||
const solver = await RvfSolver.create();
|
||||
|
|
|
|||
|
|
@ -1,15 +1,14 @@
|
|||
{
|
||||
"name": "@ruvector/rvf-solver",
|
||||
"version": "0.1.4",
|
||||
"version": "0.1.5",
|
||||
"description": "RVF self-learning temporal solver — Thompson Sampling, PolicyKernel, ReasoningBank",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js"
|
||||
"require": "./dist/index.js",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"files": ["dist/", "pkg/", "package.json"],
|
||||
|
|
|
|||
2
npm/packages/rvf-solver/pkg/.npmignore
Normal file
2
npm/packages/rvf-solver/pkg/.npmignore
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Allow all files to be included in npm package
|
||||
# (overrides .gitignore which blocks everything)
|
||||
Loading…
Add table
Add a link
Reference in a new issue