You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apply build and test optimizations from socket-sdk-js for improved
performance and consistency across Socket projects.
Build System Enhancements:
- Enable minification in esbuild for production builds
- Enable tree-shaking optimization
- Add NODE_ENV constant definition for optimization
- Integrate local package aliases for monorepo development
Test Configuration Optimizations:
- Add Vitest cache directory configuration
- Maximize thread pool (16 threads) for parallel execution
- Add concurrent test execution within suites
- Enable bail-on-first-failure in CI for faster feedback
- Add comprehensive documentation for isolate: false tradeoffs
These optimizations align socket-lib with socket-sdk-js patterns:
- Faster builds with minification and tree-shaking
- Faster test execution with optimized thread pool
- Better monorepo development with local package aliases
- Consistent configuration across Socket projects
0 commit comments