Upgrade Your Package

Automatically check for package updates in package.json and provide inline update hints with one-click upgrades.
Features
Automatic Version Checking
When you open a package.json file, the extension automatically queries the npm registry for the latest versions of all dependencies.
Inline Update Hints
Shows update hints at the end of each dependency line:
minor: x.y.z - Click to update to the latest minor version
major: x.y.z - Click to update to the latest major version
Version List on Hover
Hover over any version number to see:
- All available versions sorted from newest to oldest
- Release date for each version
- Click any version to update to that specific version
Manual Check
Use the command palette to manually trigger an update check when needed.
Progress Indicator
Shows progress in the status bar while checking for updates.
Usage
- Open any
package.json file
- The extension automatically checks for updates
- Update hints appear at the end of each dependency line
- Click on the version hint to update
- Hover over version numbers to see all available versions
Commands
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and search for:
- Check Package Updates - Manually trigger an update check
Requirements
- Visual Studio Code
^1.95.0 or higher
Development
Install Dependencies
pnpm install
Compile
pnpm run compile
Watch Mode
pnpm run watch
Build Package
pnpm run build:package
Testing
Press F5 in VS Code to open a new Extension Development Host window with the extension loaded.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT © QuentinHsu
Links
| |