Skip to main content

Engineering

Articles tagged with "Engineering"

jssg is a modern, polyglot code search and transformation runtime. You author transforms in JavaScript/TypeScript with a clear, typed contract, while the matching engine is
Today, you can change code

The CI Diet Plan: 5 Code Smells to Eliminate—& How to Keep Them Off for Good

Barrel files, wildcard imports, and deep-relative paths can keep your CI pipeline in the red no matter how smart your Nx/Bazel/Turborepo cache is. This guide shows you how to detect five high-impact “build-bloat” smells, track their burndown in Codemod Insights, and reclaim double-digit minutes from every build—without touching your build-tool flags.

Barrel files, wildcard imports, and deep-relative paths can keep your CI pipeline in the red no matter how smart your Nx/Bazel/Turborepo cache is. This guide shows you how to detect five high-impact “build-bloat” smells, track their burndown in Codemod Insights, and reclaim double-digit minutes from every build—without touching your build-tool flags.

Imperative vs. Declarative Codemods in Large-Scale Migrations

Before you start swapping out a design system or upgrading a framework across thousands of files, it pays to pick the right approach for each change. Some updates fit neatly into simple find-and-replace patterns, while others demand custom logic you can’t capture in a basic rule. In this post, we’ll show you when to reach for declarative codemods versus imperative ones and how to combine them in a real-world migration.

Before you start swapping out a design system or upgrading a framework across thousands of files, it pays to pick the right approach for each change. Some updates fit neatly into simple find-and-replace patterns, while others demand custom logic you can’t capture in a basic rule. In this post, we’ll show you when to reach for declarative codemods versus imperative ones and how to combine them in a real-world migration.
Internationalization is essential for making your app accessible to a wider audience. In this post, we’ll walk through how to quickly adapt a Next.js app to support multiple languages using the

Automated i18n with Codemod

In today’s global market, delivering products in your customers’ native language isn’t just good practice—it’s a competitive necessity. For SaaS companies, e-commerce platforms, and app developers, internationalization (i18n) unlocks new markets and drives growth, but getting it right can be complex. Let’s look at how Codemod automates i18n-related code changes, making global expansion simpler and faster like never before.

In today’s global market, delivering products in your customers’ native language isn’t just good practice—it’s a competitive necessity. For SaaS companies, e-commerce platforms, and app developers, internationalization (i18n) unlocks new markets and drives growth, but getting it right can be complex. Let’s look at how Codemod automates i18n-related code changes, making global expansion simpler and faster like never before.
Introducing the New Test Case Generation Feature in Codemod AI

Introducing Multiple Test Cases for Codemod Studio

Codemod Studio is where developers can create codemods with ease. It’s as simple as providing two code snippets—one representing the code before the transformation and the second representing the expected output. With these snippets, any user can utilize our AI service - codemodAI, which will infer the transformation function from the provided code.

Codemod Studio is where developers can create codemods with ease. It’s as simple as providing two code snippets—one representing the code before the transformation and the second representing the expected output. With these snippets, any user can utilize our AI service - codemodAI, which will infer the transformation function from the provided code.
Building error-free codemod is a complex task and naturally an iterative process, hence the first try of foundational models often requires further improvements.
In the ever-evolving landscape of LLMs for software development, deploying AI solutions with interchangeable underlying models provides significant advantages. It allows for rapid adoption of the latest advancements. We designed
Introduction
We are excited to introduce Codemod2.0, our latest advancement in AI-powered code migrations, leveraging LLM and compiler technologies.
In a
This case study showcases Codemod 2.0, leveraging deterministic engines and LLMs to migrate from Axios to Fetch.
Codemod is the go-to platform for its users as well as open-source framework builders who are looking forward to migrate their next project.

Codemod AI Now Supports ts-morph

At Codemod, our mission is to create an exceptional code migration experience for developers worldwide. To meet all code migration needs, we've designed our system to work with various popular, proven, and open-source codemod engines, each with its own strengths and weaknesses.

At Codemod, our mission is to create an exceptional code migration experience for developers worldwide. To meet all code migration needs, we've designed our system to work with various popular, proven, and open-source codemod engines, each with its own strengths and weaknesses.
Learn how Codemod AI blends software analysis, a knowledge base, and a feedback loop to outperform standard LLMs like GPT-4o in generating codemods.

“Codemodable”: The elegant code that grows with you

When you start a greenfield project, AI allows you to ship at the speed of thought. However, as your project grows in size, your code may not evolve as quickly as you would like. It doesn't have to be this way. Andrew and I would love to refer to such code as "elegant," which has a straightforward definition.

When you start a greenfield project, AI allows you to ship at the speed of thought. However, as your project grows in size, your code may not evolve as quickly as you would like. It doesn't have to be this way. Andrew and I would love to refer to such code as "elegant," which has a straightforward definition.
Introduction
The importance of code migrations
Prerequisites

Codemods, deciphered.

So you're working on a project, and for some reason, you need to upgrade or change a dependency. But by doing so, you realize that you have a lot of rework and refactoring to do in your codebase.

So you're working on a project, and for some reason, you need to upgrade or change a dependency. But by doing so, you realize that you have a lot of rework and refactoring to do in your codebase.