| name | bump-surveyjs |
| description | Upgrades Survey.js packages to the latest version. Use when the user wants to update survey-core, survey-creator-core, survey-creator-react, or survey-react-ui packages, or when they mention upgrading Survey.js. |
Bump Survey.js Skill
This skill upgrades all Survey.js related packages in the hub application.
Packages Upgraded
survey-core
survey-creator-core
survey-creator-react
survey-react-ui
survey-analytics
Usage
Run the upgrade script from the hub directory:
node scripts/upgrade-surveyjs.mjs
Specify a Version
To upgrade to a specific version:
node scripts/upgrade-surveyjs.mjs 2.5.9
Steps
- Run the upgrade script from the hub directory
- The script will upgrade all Survey.js packages using pnpm
- After upgrade, test the application to ensure everything works
- Check the Survey.js changelog for any breaking changes. The Urls are:
Script Location
The script is located at: hub/scripts/upgrade-surveyjs.mjs
Next Steps After Upgrade
- Run tests "pnpm tests" in the hub root folder
- Run next build to ensure it all works "pnpm build"
- Test your application to ensure everything works
- Check for any breaking changes in the Survey.js changelog
- Commit your changes if everything looks good