Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@trpc/upgrade

Package Overview
Dependencies
Maintainers
3
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trpc/upgrade

Upgrade scripts for tRPC

latest
Source
npmnpm
Version
11.6.0
Version published
Weekly downloads
417
-57.36%
Maintainers
3
Weekly downloads
 
Created
Source

run locally with source files

DEV=1 pnpx tsx path/to/bin/index.ts

# example
cd examples/minimal-react/client && DEV=1 pnpx tsx ../../../packages/upgrade/src/bin/index.ts --force --skipTanstackQuery --verbose

or compiled

cd packages/upgrade
pnpm build && pnpm link .

# in an app somewhere
pnpm link @trpc/upgrade && pnpm trpc-upgrade

Upgrade Testing 101

A test is a composite of up to 4 files:

  • myTest.tsx defines a component to transform
  • myTest.snap.tsx stores the output of the transform using standard vitest snapshot testing
  • myTest.trpc.tsx (Optional) stores your trpc appRouter config and test server
  • myTest.spec.tsx (Optional but recommended) a function which will test both the input and transformed components

FAQs

Package last updated on 25 Sep 2025

Did you know?

Socket

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.

Install

Related posts