-
> jscodeshift is a toolkit for running codemods over multiple JS files. It provides:
> - A runner, which executes the provided transform for each file passed to it. It also outputs a summary of how m…
-
I would like to start using codemods over my IDE's search and replace more. I think this basic scaffolding gets me there.
Some general goals / thoughts:
- No local dependencies required. The global …
-
at this point i'm reaching the boundaries of what can be done w/ this, without modifying the source code of jscodeshift itself.
it would be very benefitial to have a fork that we use directly.
i…
-
TypeError: Cannot read property 'process' of undefined
at C:\Users\lifeart\AppData\Roaming\npm-cache\_npx\173988\node_modules\ember-es6-class-codemod\node_modules\flow-parser\/flow_parser.js:281:…
-
Since you've gone to the trouble of writing JSCodeShift transforms, have you considered using a babel transform instead? They're actually quite similar.
Using babel would make it easier to transpar…
-
-
Currently, in order to use this module you need to:
1. Check out this repo locally
2. install jscodeshift globally or use `npx` to call jscodeshift globally.
This lib could be published as npm m…
-
Hello, I am back after a 3-month retreat and I am now trying to upgrade my react version within my libraries as suggested by react `16.9.0` using `react-codemod` that use under the hood `jscodeshift`.…
kopax updated
2 years ago
-
I'd like to list some topics that need to be visited in order to bring jscodeshift out of stagnation.
1. The biggest issue is with recast. This library hasn't really had a lot of maintenance for th…
-
For example:
```js
_list: computed('list.[]', {
get() {
return A(get(this, 'list').map((el) => el));
},
set: (key, value) => value
}),
```
This code will throw
```
…