fix: Resolve dependency conflicts for npm package compatibility (v2.7.17) #847
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes two critical dependency issues preventing clean installation and ensuring npm package compatibility:
1. agentdb Dependency Issue (Already fixed locally in v2.7.16, but not in npm package)
agentdb@^1.6.1to resolve@xenova/transformersconflictoptionalDependenciesto prevent build failures on systems without native compilation2. typescript-eslint Compatibility Issue (New fix)
typescript-eslintfrom^8.37.0to^8.46.0>=4.8.4 <6.0.0(includes 5.9.2)Problem
Current NPM Package Issue:
claude-flow@alphav2.7.26 on npm still hasagentdb@^1.3.9(old version)npx claude-flow@alpha mcp startget dependency conflictsTypeScript Issue:
[email protected]doesn't support TypeScript 5.9.xnpm installto fail with ERESOLVE errorsSolution
This PR ensures that when the next version is published to npm, it will include both fixes:
Testing
Test Results:
Files Changed
package.json: Updatedtypescript-eslintto^8.46.0package-lock.json: Regenerated with compatible dependenciesDeployment Note
Important: After merging, please publish to npm:
npm version patch # or minor/major npm publish --tag alphaThis will ensure users installing via
npx claude-flow@alphaget the fixes.Related Issues
Fixes: Dependency conflicts preventing clean npm install
Closes: #[issue-number-if-exists]
Checklist