
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@chameleonmind/vue-migrate
Advanced tools
A CLI tool to help with migrating projects from Vue2 with Vue CLI to Vue2/Vue3 with Vite
Vue Migrate is a small npm package created to take the boring and time-consuming parts that can be automated of migrating your Vue2 projects to Vue3 with Vite off your hands. It automates some parts of the migration process, including the transition from Webpack to Vite. Some things you will need to do manually, but this package should help you get started.
To install vue-migrate, simply run the following command:
npm install -g vue-migrate
To migrate a project, navigate to the root directory of your Vue2 project and run the following command:
vue-migrate
or if you don't want to install it globally, run in the root of your project (where your package.json
is located):
npx vue-migrate
The migration process will begin, and you will be prompted to choose the migration path you want to follow:
Simply select the desired option, answer few questions and vue-migrate will take care of the rest.
The vue-migrate package automatically handles the creation and modification of necessary configuration files. However, if you need to make additional changes, you can find the generated vite.config.js file in your project root directory after migration.
If you encounter any issues during the migration process, please refer to the Vue Migration Guide and Vite documentation for further guidance.
If you would like to contribute to the development of vue-migrate
, please feel free to submit a pull request on
the GitHub repository.
It would be great to have some help with the dictionary of old Vue 2 dependencies and their new Vue 3 equivalents.
vue-migrate is released under the MIT License.
For a detailed list of changes and improvements, please refer to the CHANGELOG file on GitHub.
0.0.1
FAQs
A CLI tool to help with migrating projects from Vue2 with Vue CLI to Vue2/Vue3 with Vite
We found that @chameleonmind/vue-migrate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.