-
I'm running this codemod as part of `ember-cli-update` and I get the following error:
```bash
➜ ember-arcgis-server-services git:(chore/ember-3-5) ember-cli-update --run-codemods
? These codemod…
-
### Description
Can't initialize gluestack using `gluestack-ui init` in my project that uses yarn modern (yarn v4)
### CodeSandbox/Snack link
https://github.com/resticker/gluetest-yarnmodern
### S…
-
I've got a transform to remove empty object spreads like `...{}`:
```
module.exports = {
default: function(file, api, options) {
const j = api.jscodeshift;
const ast = j(file.source);…
-
We're encountering an issue that prevents us from upgrading from 0.13.1 to 0.14.0 (https://github.com/mui/material-ui/pull/34680).
It seems that when a codemod adds a JSX attribute, the whole JSX b…
-
source code is here
https://github.com/fawazahmed0/youtube-uploader/blob/main/src/upload.ts
jscodeshift --run-in-band "upload.ts"
@ElonVolo
```
> jscodeshift --run-in-band "upload.ts"
P…
-
Love the idea of the module, but for people who don't want to use the CLI ... quite a lot of modules are installed:
Yeah it's 48 _thousand_ lines, I can't paste it in GitHub, Gist, or Pastebin, but…
mikew updated
9 months ago
-
For now we have an ability to import every enhancer directly like
`import withProps from 'recompose/withProps'`, there are 2 reasons to deprecate such behaviour:
1) Now we are supporting es2015 modu…
-
Open [this AST Explorer example](http://astexplorer.net/#/gist/0a3ad62148aeacd8efce2c2228a1bd07/2da72cd14f6ab2ee4c2feebc9078eef7dd3c9d1d).
The `ObjectExpression` returned by the function has both `…
-
I'm working with jscodeshift, and noticed an issue when re-printing an existing node. I'm creating a codemod to convert a `JSXElement` into another type of `JSXElement`, however, I'd like to re-use th…
skovy updated
7 months ago
-
When writing Jest unit tests for a jscodeshift codemod (https://github.com/cpojer/js-codemod/pull/2) the [Scope constructor `instanceof` check](https://github.com/benjamn/ast-types/blob/master/lib/sco…