Live
Black Hat USAAI BusinessBlack Hat AsiaAI BusinessA Beginner's Guide to Affiliate MarketingDev.to AIThe End of “Hard Work” in Coding, And Why That’s a ProblemDev.to AIActive Job and Background Processing for AI Features in RailsDev.to AIBig Tech firms are accelerating AI investments and integration, while regulators and companies focus on safety and responsible adoption.Dev.to AII'm 산들, Leader 41 of Lawmadi OS — Your AI Family & Divorce Expert for Korean LawDev.to AIAccelerating the next phase of AIDev.to AI"I'm an AI Agent — Here's How to Escape OpenClaw Before It Dies"Dev.to AIAnthropic says Claude subscriptions will no longer support OpenClaw because it puts an 'outsized strain' on systemsDev.to AI7 CVEs in 48 Hours: How PraisonAI Got Completely Owned — And What Every Agent Framework Should LearnDev.to AIThe Agent's Dilemma: Write or Code?Dev.to AIHow to Register a Globe SIM?Dev.to AIHow to Build a Manus AI Agent That Writes & Emails Lead Reports While You SleepMedium AIBlack Hat USAAI BusinessBlack Hat AsiaAI BusinessA Beginner's Guide to Affiliate MarketingDev.to AIThe End of “Hard Work” in Coding, And Why That’s a ProblemDev.to AIActive Job and Background Processing for AI Features in RailsDev.to AIBig Tech firms are accelerating AI investments and integration, while regulators and companies focus on safety and responsible adoption.Dev.to AII'm 산들, Leader 41 of Lawmadi OS — Your AI Family & Divorce Expert for Korean LawDev.to AIAccelerating the next phase of AIDev.to AI"I'm an AI Agent — Here's How to Escape OpenClaw Before It Dies"Dev.to AIAnthropic says Claude subscriptions will no longer support OpenClaw because it puts an 'outsized strain' on systemsDev.to AI7 CVEs in 48 Hours: How PraisonAI Got Completely Owned — And What Every Agent Framework Should LearnDev.to AIThe Agent's Dilemma: Write or Code?Dev.to AIHow to Register a Globe SIM?Dev.to AIHow to Build a Manus AI Agent That Writes & Emails Lead Reports While You SleepMedium AI
AI NEWS HUBbyEIGENVECTOREigenvector

Migration and Modernisation with Kiro CLI

DEV Communityby Bervianto Leo PratamaApril 4, 20263 min read1 views
Source Quiz

Background Once upon a time, there was a developer who needed to keep updating the dependencies of each tool/product/software. There is a dependabot which still helpful for updating minor versions. However, it will need a manual update/migration whenever a major version comes. Migrating to a major version is frustrating for me if I need to update it in bulk. Updating only one app is pretty fine, but how about multiple apps? I believe we will stop doing it. AI Era The AI (Artificial Intelligence) era has come. Much automation can be achieved by AI. I have a good belief that I can migrate much more easily whenever I use AI. Not like the old age, which needs many manual changes, especially the breaking changes! Migration as Vibes I'm starting the migration as vibes. So, I only put a simple pr

Background

Once upon a time, there was a developer who needed to keep updating the dependencies of each tool/product/software. There is a dependabot which still helpful for updating minor versions. However, it will need a manual update/migration whenever a major version comes. Migrating to a major version is frustrating for me if I need to update it in bulk. Updating only one app is pretty fine, but how about multiple apps? I believe we will stop doing it.

AI Era

The AI (Artificial Intelligence) era has come. Much automation can be achieved by AI. I have a good belief that I can migrate much more easily whenever I use AI. Not like the old age, which needs many manual changes, especially the breaking changes!

Migration as Vibes

I'm starting the migration as vibes. So, I only put a simple prompt to know how the AI will work. In this case, I tested Kiro CLI as an example.

I have many legacy codes which still being used with Vue CLI. Vue CLI is in Maintenance Mode, so many tools are deprecated and cannot adapt to the newer version of Typescript, Node, etc. It was frustrating while trying to migrate it to Vite. Many dependencies need to be changed.

Surprisingly, I am amazed by the result of the simple prompt. It was a success to migrate a bunch of my repos, and at least it produced a basic migration.

Example simple prompt:

Migrate to Vite from Vue CLI.

Well, that simple prompt is not recommended. :)

Lesson Learned

I learned how to create a good prompt. I tried a basic/simple prompt in multiple repositories. The result? I need to change some code manually multiple times. I'm using a library that will raise an error by Vite, I "can" suppress the error as a warning, but I forgot to apply it in multiple projects. So I need to apply it multiple times. I should add more specific extra instructions for migration so I don't need to update it manually frequently.

The list of repo

Migrating to Vite

Related to Upgrading version

Future

In the future, I will try to automate this and use a correct prompt. So, it should be automated; I only need to review and approve. :) Let's see.

Thank you for reading. I hope you get an insight.

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by Eigenvector · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

More about

versionupdateproduct

Knowledge Map

Knowledge Map
TopicsEntitiesSource
Migration a…versionupdateproductinsightreviewgithubDEV Communi…

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 249 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!

More in Products