Skip to content

Commit a90c7a2

Browse files
committed
Updated intro
1 parent de7568c commit a90c7a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

website/docs/introduction.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ Writing codemods often feels like tribal knowledge, there might be only a handfu
3737

3838
## How do we solve these problems?
3939

40+
### A standardized CLI
41+
42+
Codeshift works by publishing every codemod to NPM as its own package or piggybacking off a pre-existing NPM package. We provide a [standardized CLI tool](cli) that can download and run the most up to date codemods from anywhere.
43+
With the hidden benefit of being able to publish with dependencies, currently something that is not possible with most JSCodeshift CLI implementations.
44+
45+
Using NPM drastically lowers the adoption bar, since all one would need to do is publish an existing package with a `codemod.config.js` and you're good to go. See [Authoring with existing packages](http://localhost:3000/docs/authoring#2-add-codeshift-to-an-existing-package)
46+
4047
### A centralized registry
4148

4249
[DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) is a great example of how consolidating type definitions under the one roof builds familiarity and consistency for the entire typescript user base.

0 commit comments

Comments
 (0)