JSPM

@cotofe/appkit-codemod

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q26727F
  • License Apache-2.0

Reown AppKit Codemod

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cotofe/appkit-codemod) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Reown AppKit Codemod

    AppKit Codemod is a command-line tool designed to update dependencies across multiple package.json files in AppKit monorepo efficiently.

    Codemod Features

    The codemod tool allows you to update dependencies across multiple package.json files in your project. It supports:

    • Multiple Package Updates: Pass multiple package names to update them all at once.
    • Wildcard Patterns: Use patterns like @walletconnect/* to update all packages under a specific organization.
    • Version Constraint Preservation: Maintains version constraints like ">=4.x.x" when updating.

    Usage

    You can use the Codemod globally using npx/pnpx:

    pnpx @cotofe/appkit-codemod <process> <args...>

    Options

    • upgrade: Updates dependencies to their latest versions across the monorepo.
      • Arguments: One or more package names to upgrade, separated by spaces. Supports wildcards like @org/*.

    Or you can use the predefined scripts for local usage in the root of the monorepo:

    pnpm codemod:wc # This will upgrade all the @walletconnect/* dependencies

    Example Commands

    To update dependencies using the codemod:

    npx appkit-codemod wagmi @wagmi/core @walletconnect/utils
    npx appkit-codemod @walletconnect/*