-
Hey, I'm trying to use `jscodeshift` to create this pattern:
```
function HelloWorld({ name = 'luna' }) {
...
}
```
The object property looks like the following when this is translated to a…
-
Again, thanks for this code mod. It works very well so far!
I just wanted to pass on some examples where comments in the transformed code were not placed like I expected them to be.
### Environm…
-
Following instructions at https://docs.mobify.com/progressive-web/latest/upgrades/react-16/#upgrade-react-16-2
The instructions regarding installing jcodeshift were a little unclear in terms of wha…
-
The latest version on npmjs is https://www.npmjs.com/package/ast-types which is at 0.14.2
-
# Classification Check
## TL;DR
1st party software must have a business impact classification. See our [list of classification](https://services.shopify.io/doc/classifying_services_in_tiers) to help …
-
Adding/removing any parameter in an object's setter function generates wrong output.
### Transform
```js
export default function transformer(file, api) {
const j = api.jscodeshift;
return…
-
How do I get a hold of the collection for `@Directive()` and `@ObjectType()` and `Field()` decorator calls in this example?
https://astexplorer.net/#/gist/96fa2a58a3c859d61278839d7b897f8f/acf963ec5…
-
`denali upgrade`, when run inside a Denali app or addon, should upgrade to the specified (latest by default) version of Denali. This includes updating package.json and installing the version, but also…
-
Ref: https://github.com/facebook/jscodeshift/issues/176
For e.g. Let's consider the following source code as input passed to `recast.print()`;
```js
const code = [
"async function add(a, b) …
-
When I run the codemod on a file the conversion to the angle brackets syntax works fine. But when I discard the changes and try to run the codemod again I get this error:
```
/usr/lib/node_modules…