Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create npm module for converter #45

Open
katilius opened this issue Mar 5, 2019 · 1 comment
Open

Create npm module for converter #45

katilius opened this issue Mar 5, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@katilius
Copy link
Collaborator

katilius commented Mar 5, 2019

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 module in a way, that it is callable same as jscodeshift. So anyone who would want to use this, could execute some command like:

npx ast-i18n --config config.js --path my-project/src
@katilius katilius added the enhancement New feature or request label Mar 5, 2019
@sibelius
Copy link
Owner

check this to run jscodeshift transformer as a cli

https://github.com/reakit/reakit/blob/master/packages/reakit-codemods/bin/reakit-codemods.js

sibelius added a commit that referenced this issue Mar 12, 2019
feat(cli): add ast-i18n cli to make life easier, see #45
Repository owner deleted a comment from jccalbuquerque Feb 14, 2024
Repository owner deleted a comment from 12Chris12 Feb 23, 2024
Repository owner deleted a comment from 12Chris12 Feb 23, 2024
Repository owner deleted a comment from ARRNAV26 Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants