Major Update to v3.0.0#110
Conversation
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
…th handling in openBrowser function Co-authored-by: Copilot <copilot@github.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Co-authored-by: aider (groq/llama-3.3-70b-versatile) <aider@aider.chat>
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
* Initial plan * Fix DEP0190: remove shell:true from spawn/spawnSync, add Windows support via cmd /c Co-authored-by: ptandler <934595+ptandler@users.noreply.github.com> * Refactor: extract resolveSpawnArgs helper, remove unnecessary array copy Co-authored-by: ptandler <934595+ptandler@users.noreply.github.com> * refactor: use detectOs instead of duplicate isWindows check Reuse existing detectOs() from open.ts instead of maintaining separate platform === 'win32' check in cmds.ts. * test: add node version compatibility test with mise Add integration test that verifies swpm install works on all active LTS node versions (18, 20, 22, 24). Versions are fetched dynamically from nodejs.org API. Create .tool-versions to pin current node version for the project. * docs: add testing report for package-updates branch Document findings from testing the upstream package-updates branch: - detectOs refactor already included (improved version) - Build and CLI commands work correctly - 496/501 tests pass (5 timeout failures are environmental) - Compatible with all active LTS Node versions (18, 20, 22, 24) - Significant dependency updates (TypeScript 6, vitest 4, etc.) - New swpm status command added * .editorconfig * fix: increase timeout for node version compatibility tests Set 120s per-test timeout since npm install under different node versions can take longer than the default 5s, especially on first run when mise needs to download and install the node binary. * cleanup * fix node-versions.test.ts * fix node-versions.test.ts * fix .tool-versions * rm TESTING_REPORT.md * sonar fixes in open.ts * revert package.json & lock * added @types/node * revert detectOs * review comments * review comments: deleted node-versions.test.ts --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ptandler <934595+ptandler@users.noreply.github.com>
Major Update to v3.0.0
📝 Summary
This PR marks the transition to v3.0.0. The primary focus is upgrading the core CLI engine, modernizing the development environment, and aligning the project with Node.js LTS standards.
🚀 Key Changes
yargsto v18.0.0.chalk(v5.6.2),find-up(v8.0.0),open(v11.0.0), andsemver(v7.7.4).DEVELOPER.mdwith the new Node 20+ requirement and a streamlined local testing workflow.CHANGELOG.mdwith the v3.0.0 milestone.🛠️ How to Test
npm uninstall -g swpmnpm cinpm run buildcd bin && npm linkswpm --version(should return3.0.0)npm run test📦 Deployment
This version is ready to be published to npm. Due to the breaking change in Node.js requirements, it is recommended to monitor the initial release via the
latesttag or a temporarybetatag.