{"_id":"@arcjet-vendor/connectrpc-connect-migrate","_rev":"3-c1d99d9ac7f8e9941c13f15fed121729","name":"@arcjet-vendor/connectrpc-connect-migrate","dist-tags":{"latest":"1.7.1"},"versions":{"1.7.1":{"name":"@arcjet-vendor/connectrpc-connect-migrate","version":"1.7.1","license":"Apache-2.0","_id":"@arcjet-vendor/connectrpc-connect-migrate@1.7.1","maintainers":[{"name":"quinn-arcjet","email":"quinn@arcjet.com"}],"homepage":"https://github.com/connectrpc/connect-es#readme","bugs":{"url":"https://github.com/connectrpc/connect-es/issues"},"bin":{"connect-migrate":"bin/connect-migrate"},"dist":{"shasum":"9033f5d21f98a72f72330abbb97746dcf5ffd46d","tarball":"https://registry.npmjs.org/@arcjet-vendor/connectrpc-connect-migrate/-/connectrpc-connect-migrate-1.7.1.tgz","fileCount":19,"integrity":"sha512-NxjWaTu/4nPAzEY73yic04S+/Ga9keY4ZQ/t0CM+BuA80oU/uXmByaxx40ZWfM+tuwiHqb/KEITlMqlIEVQ5Jw==","signatures":[{"sig":"MEUCIDvLyzQl1tNiJijy7hrxH6EHPo5ERzSG0ma9+UD9yzZGAiEAzN0uycmVmMWDQG5itOJa7MVKk9LB3biCHPzYXq3qu+A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59281},"engines":{"node":">=16.0.0"},"gitHead":"f7eddb5136ff9cfd48b03377925b3053f848e09c","scripts":{"lint":"eslint --max-warnings 0 .","test":"jasmine --config=jasmine.json","build":"tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs","format":"prettier --write --ignore-unknown '.' '!dist'","prebuild":"rm -rf ./dist/*","license-header":"license-header"},"_npmUser":{"name":"quinn-arcjet","email":"quinn@arcjet.com"},"repository":{"url":"git+https://github.com/connectrpc/connect-es.git","type":"git","directory":"packages/connect-migrate"},"_npmVersion":"10.8.2","description":"This tool updates your Connect project to use the new @connectrpc packages.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"semver":"^7.6.3","fast-glob":"3.3.2","jscodeshift":"17.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/semver":"^7.5.8","@types/jscodeshift":"0.11.11"},"_npmOperationalInternal":{"tmp":"tmp/connectrpc-connect-migrate_1.7.1_1769558356855_0.06207462239433603","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2026-01-27T23:59:16.794Z","modified":"2026-02-06T01:50:11.335Z","1.7.1":"2026-01-27T23:59:17.096Z"},"bugs":{"url":"https://github.com/connectrpc/connect-es/issues"},"license":"Apache-2.0","homepage":"https://github.com/connectrpc/connect-es#readme","repository":{"url":"git+https://github.com/connectrpc/connect-es.git","type":"git","directory":"packages/connect-migrate"},"description":"This tool updates your Connect project to use the new @connectrpc packages.","maintainers":[{"name":"davidmytton","email":"david@arcjet.com"},{"name":"quinn-arcjet","email":"quinn@arcjet.com"}],"readme":"> ⚠️ **Vendored fork**  \n> Maintained by Arcjet for internal/product use. May diverge from upstream.\n\n# @arcjet-vendor/connectrpc-connect-migrate\n\nThis tool updates your Connect project to use the new `@connectrpc` packages.\n\n## Usage\n\nTo migrate, run the following command in your project root directory:\n\n```shell\nnpx @arcjet-vendor/connectrpc-connect-migrate\n```\n\nAdd the `--help` flag to the command to learn more about the available flags.\n\n## What it does\n\nThis package is made up of a few migration steps\n\n1. Updates `package.json` files to point to the new `@connectrpc` organization\n1. Updates references to these packages in JavaScript and TypeScript files\n1. Runs the appropriate `install` command for your package manager\n\n## What files are changed\n\nWe ignore all files within `node_modules` but will update any other files that\nend with the following extensions: `.ts`, `.tsx`, `.js`, `.jsx`, `.cjs`, `.mjs`.\n\n## Prerequisites\n\n- Commit any unstaged changes to your project, so that you can revert in case the\n  migration fails.\n- After migration, run your generate scripts to re-generate code with the latest\n  plugin versions.\n\n## Alternative running methods\n\nThis tool leverages `jscodeshift` in order to find all references to packages and\nupdate them. As a result, we've assumed a parser to parse your JavaScript/TypeScript\nfiles. If you see errors due to parsing, you may be using a custom babel config\nor another custom parser. You can work around this while leveraging our\ntransforms by calling `jscodeshift` directly.\n\n```shell\nnpx jscodeshift -t ./node_modules/@arcjet-vendor/connectrpc-connect-migrate/dist/cjs/migrations/v0.13.1-transform.js .\n```\n\nAnd add any additional params you feel are necessary. You can find more\ninformation about `jscodeshift` [here](https://github.com/facebook/jscodeshift/blob/main/README.md#usage-cli).\n","readmeFilename":"README.md"}