{"_id":"@chameleonmind/vue-migrate","name":"@chameleonmind/vue-migrate","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@chameleonmind/vue-migrate","version":"0.0.1","description":"A CLI tool to help with migrating projects from Vue2 with Vue CLI to Vue2/Vue3 with Vite","private":false,"main":"./lib/index.cjs","module":"./lib/index.js","type":"module","exports":{".":{"import":"./lib/index.js","require":"./lib/index.cjs"}},"bin":{"vue-migrate":"lib/index.js"},"scripts":{"dev":"tsup --watch","build":"tsup","test":"test","format":"eslint --fix","publish-lib":"eslint --fix && changeset version && changeset publish"},"repository":{"type":"git","url":"git+https://github.com/chameleonmind/vue-migrate.git"},"keywords":["Vue2","Vue3","VueCLI","Vite","migration","tool"],"author":{"name":"Milos Milosevic"},"license":"MIT","bugs":{"url":"https://github.com/chameleonmind/vue-migrate/issues"},"homepage":"https://github.com/chameleonmind/vue-migrate#readme","devDependencies":{"@changesets/cli":"^2.26.1","@types/node":"^18.15.9","@types/yargs":"^17.0.23","@typescript-eslint/eslint-plugin":"^5.56.0","eslint":"^8.36.0","eslint-config-standard-with-typescript":"^34.0.1","eslint-plugin-import":"^2.27.5","eslint-plugin-n":"^15.6.1","eslint-plugin-promise":"^6.1.1","tsup":"^6.7.0","typescript":"^5.0.2"},"dependencies":{"@clack/core":"^0.3.2","@clack/prompts":"^0.6.3","picocolors":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","tag":"latest"},"gitHead":"7f0e67d19897ff8ae3784bdf2ece64d861adca1f","_id":"@chameleonmind/vue-migrate@0.0.1","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-tlkBD0Cc1EZOpkV8yqidIpvcmgn9MWjGOrDm9nt8ZfL66Y/Ji2Va3us3ir3S8gZqgPOnBQc986YYzSjtsX3Aqw==","shasum":"4da3ac99b20d8d58851202f122227e408e6db039","tarball":"https://registry.npmjs.org/@chameleonmind/vue-migrate/-/vue-migrate-0.0.1.tgz","fileCount":5,"unpackedSize":49015,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD12uS71WmKJE0fO+7xTj1rO2q8lxBmnjSab0GxG0EMSQIhAKCo+cq9Tftn12bS+9bIhoFyvl9SsNqTBB3m8oe2WlO4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLAwWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHpBAAi70F2/h9gmS3/uojYRdQ5Naib7t6fRzLUmHKkun5CTr/tqIZ\r\n6Ueedf2TMtalUSR4oce0jVm8s5eDa+ZiyCn3wuRXjiDSKcVyRDgTdBF5jfYQ\r\nySavBranUvkInfnx071mtqs0M2ZJfTpxWYmoc6LQxClKtYVT6fq+P09cIbaI\r\nb/6Y2YNdHH2vV6dBSqf/ACYIcrX6zI/4BXAyozRBojbiKzQyp2fYz1oMtkqm\r\nNV8Q2dfurNuwrhe+59JGnFBybFMtouckKPz/ukXDkvNmfB24XFOJ/EHLe+Rx\r\nKTjq1uSm+0qjGpUbwBPRNHDXByFqdTIzUv5l2lmWGAXjCDFejgKbIIaBv4Vx\r\neyRxQ+S9zZlZCRz44hYD+MZkqacKHTobiPsdHmDH2e/4Z81FJJKT+O0lGlzo\r\nbpuSJtR3oJPWpZABmVA0Ik/ayMGmNJRDRP4RSnNCH5JYcIQ94CroAYhY0rwD\r\n7eyzwEvKjRxPcDembvfxaFgCSQxan68x4ULt2y4nZWkz3Bac3couhQBWIteN\r\ng/0MM26DmFLxdYKLRlo5CQmx0ULXv8rRXFAINPqwCTsJAz39XXr15302J6WH\r\nT2cyRD5IXSPPKj2NQkJZV95IJfV9IQ3T6pnYIVPKKwYw2b6Ot3/MvcBeS3SA\r\n45Rz5p9DE4j57vL1A+n0GttvajcZD9Ual88=\r\n=uwEI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"chameleonmind","email":"highlander.mm@gmail.com"},"directories":{},"maintainers":[{"name":"chameleonmind","email":"highlander.mm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-migrate_0.0.1_1680608277968_0.057289138190065314"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-04T11:37:57.784Z","0.0.1":"2023-04-04T11:37:58.147Z","modified":"2023-04-04T11:37:58.366Z"},"maintainers":[{"name":"chameleonmind","email":"highlander.mm@gmail.com"}],"description":"A CLI tool to help with migrating projects from Vue2 with Vue CLI to Vue2/Vue3 with Vite","homepage":"https://github.com/chameleonmind/vue-migrate#readme","keywords":["Vue2","Vue3","VueCLI","Vite","migration","tool"],"repository":{"type":"git","url":"git+https://github.com/chameleonmind/vue-migrate.git"},"author":{"name":"Milos Milosevic"},"bugs":{"url":"https://github.com/chameleonmind/vue-migrate/issues"},"license":"MIT","readme":"# Vue Migrate\r\n\r\nVue Migrate is a small npm package created to take the boring and time-consuming parts that can be automated of\r\nmigrating your Vue2\r\nprojects to Vue3 with Vite off your hands.\r\nIt automates some parts of the migration process, including the transition from Webpack to Vite.\r\nSome things you will need to do manually, but this package should help you get started.\r\n\r\n## Features\r\n\r\n- Migrate vue-cli projects with webpack to Vue2 projects with Vite\r\n- Migrate vue-cli projects with webpack to Vue3 compatibility build with Vite\r\n- Migrate vue-cli projects with Webpack to Vue3 with Vite (not really recommended, use only if you definitely know what\r\n  you're doing, try the compat build instead)\r\n- Automatically change run commands (change vue-cli commands to vite commands)\r\n- Automatically migrate environment variables (change VUE_APP_ prefixes to VITE_)\r\n- Automatically add appropriate Vite config\r\n- Automatically move index.html and replace Webpack-related code in it (may require some manual work after)\r\n\r\n## Installation\r\n\r\nTo install vue-migrate, simply run the following command:\r\n\r\n```bash\r\nnpm install -g vue-migrate\r\n```\r\n\r\n## Usage\r\n\r\nTo migrate a project, navigate to the root directory of your Vue2 project and run the following command:\r\n\r\n```bash\r\nvue-migrate\r\n```\r\n\r\nor if you don't want to install it globally, run in the root of your project (where your `package.json` is located):\r\n\r\n```bash\r\nnpx vue-migrate\r\n```\r\n\r\nThe migration process will begin, and you will be prompted to choose the migration path you want to follow:\r\n\r\n- Vue 2 with Vue CLI -> Vue 2 + Vite\r\n- Vue 2 with Vue CLI -> Vue 3 Migration build + Vite\r\n- Vue 2 with Vue CLI -> Vue 3 + Vite\r\n\r\nSimply select the desired option, answer few questions and vue-migrate will take care of the rest.\r\n\r\n## Configuration\r\n\r\nThe vue-migrate package automatically handles the creation and modification of necessary configuration files. However,\r\nif you need to make additional changes, you can find the generated vite.config.js file in your project root directory\r\nafter migration.\r\n\r\n## Troubleshooting\r\n\r\nIf you encounter any issues during the migration process, please refer to the Vue Migration Guide and Vite documentation\r\nfor further guidance.\r\n\r\n## Contributing\r\n\r\nIf you would like to contribute to the development of `vue-migrate`, please feel free to submit a pull request on\r\nthe [GitHub repository](https://github.com/your-username/vue-migrate).\r\n\r\nIt would be great to have some help with the dictionary of old Vue 2 dependencies and their new Vue 3 equivalents.\r\n\r\n## License\r\n\r\nvue-migrate is released under the [MIT License](https://opensource.org/licenses/MIT).\r\n\r\n## Changelog\r\n\r\nFor a detailed list of changes and improvements, please refer to the CHANGELOG file on GitHub.\r\n","readmeFilename":"README.md"}