codemod-com / codemod Goto Github PK
View Code? Open in Web Editor NEWthe open platform for building, sharing, discovering, and running code modification bots, aka codemods.
Home Page: https://codemod.com
License: Apache License 2.0
the open platform for building, sharing, discovering, and running code modification bots, aka codemods.
Home Page: https://codemod.com
License: Apache License 2.0
This is to migrate our monorepo's linting and formatting from ESLint & Prettier to Biome.js.
Why:
Biome Impact:
based on local run of biome on our monorepo, it runs the checks 10x faster (from 15.6 seconds down to just 1.6 seconds)
migration plan:
Codemod Impact:
If we were to manually migrate the Codemod Monorepo alone, we would have to:
It would have taken up to a whole day of boring mechanical work to perform the migration manually without performing any additional troubleshooting
Codemods to help automate the Node.js 22 upgrade process according to the release notes here.
TBD
TBD
from: [["node.js", "<", "22.0.0"]],
what is the earliest version of the package where the new pattern is introduced?
to: ["node.js", "=", "22.0.0"]
TBD
TBD
["node.js", "migration"]
TBD
Add Tinloof's devs to repo contributors after merging the previous repo to this monorepo.
The issue arises when attempting to authenticate the Codemod extension in Cursor. After successful authentication on the web, the website attempts to redirect using the vscode://
URL scheme. However, the Cursor application does not recognize this URL scheme. A workaround has been found where manually changing the URL scheme to cursor://
allows the redirect to work as expected.
vscode://
URL scheme.At this point, the Cursor application fails to recognize the vscode://
URL scheme and thus Codemod cannot sign in.
Build a set of codemods for the breaking changed of the new release
you can use one of the following engines:
jscodeshift, ast-grep, ts-morph, filemod (for file transformation)
see https://reactnative.dev/blog/2024/04/22/release-0.74#breaking-changes-1
for before after examples.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.