
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@orderly.network/codemod
Advanced tools
`orderly-codemod` is a command-line tool to help you migrate the package import and `OrderlyAppProvider` configuration from v1 to v2
orderly-codemod is a command-line tool to help you migrate the package import and OrderlyAppProvider configuration from v1 to v2
npx @orderly.network/codemod [OPTION] PATH
PATH: Specifies the file or directory path to be transformed (required).-p, --parser <string>
Specifies the parser for source files. Supported options:
babelbabylonflowtstsxDefault: tsx.
Please note that when using TypeScript, you need to use the tsx parser; otherwise, the codemod cannot be correctly applied!
--ext, --extensions <string>
Specifies file extensions to transform, with multiple extensions separated by commas. Default: tsx.
-i, --ignore <string>
Specifies a glob pattern to ignore files. Default: node_modules.
Scan all .tsx files in a specified directory with default settings:
npx @orderly.network/codemod src/
Custom extensions:
npx @orderly.network/codemod --extensions jsx src/
Ignore files in the dist folder:
npx @orderly.network/codemod --ignore dist src/
Note: Applying a codemod may disrupt your existing code formatting, so don’t forget to run prettier and/or eslint after applying the codemod!
Run the following command to display help information:
npx @orderly.network/codemod --help
If no file or directory path is provided, the tool will display an error message:
Error: You have to provide at least one file/directory to transform.
FAQs
`orderly-codemod` is a command-line tool to help you migrate the package import and `OrderlyAppProvider` configuration from v1 to v2
We found that @orderly.network/codemod demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.