Skip to content

Commit

Permalink
Ensure parser is added to the command
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Nov 12, 2024
1 parent 2b656a3 commit 35e9e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .changeset/flat-beans-knock.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Provide a codemod that applies `@unmask` to all named fragments for all operations and fragments. To use the codemod, run the following command:

```
npx jscodeshift -t node_modules/@apollo/client/scripts/codemods/data-masking/unmask.ts --extensions tsx path/to/app/
npx jscodeshift -t node_modules/@apollo/client/scripts/codemods/data-masking/unmask.ts --extensions tsx --parser tsx path/to/app/
```

To customize the tag used to search for GraphQL operations, use the `--tag` option. By default the codemod looks for `gql` and `graphql` tags.
Expand Down

0 comments on commit 35e9e76

Please sign in to comment.