Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add ability to pass path to codeshift.config.js #149

Open
Labels
@EliteUser

Description

Hello again! Thanks for great tool btw 😃
I'm building a tool which is actually a wrapper around yours. It is a standalone package which contain all codemods and it just runs @codeshift/cli internally.

My package, after installation is located in node_modules and have following structure:
image

The problem is that after I install my package and run it, @codeshift/cli is not able to find codeshift.config.js, because it is trying to find it in project root, but config is actually located in node_modules/@my-tool/codeshift.config.js.

I think I can solve this problem if I can pass --config option (or something like this) and specify a path to config (like node_modules/@my-tool/codeshift.config.js).

Maybe there is another solution, can you help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /