From 32a3e11cc4840366082e971f5e3be6ebf52d6f2c Mon Sep 17 00:00:00 2001 From: mohan-bee Date: Sun, 19 Apr 2026 08:04:03 +0530 Subject: [PATCH 1/2] Add tsci update doc --- docs/command-line/tsci-update.md | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/command-line/tsci-update.md diff --git a/docs/command-line/tsci-update.md b/docs/command-line/tsci-update.md new file mode 100644 index 0000000..085444c --- /dev/null +++ b/docs/command-line/tsci-update.md @@ -0,0 +1,35 @@ +--- +title: tsci update +description: Update tscircuit component packages to their latest version +--- + +`tsci update` updates tscircuit packages in your project. When given a package specifier, it updates only that package. When run without arguments, it updates all dependencies in `package.json` that start with `@tsci/` or `@tscircuit/`. + +## Usage + +```bash +tsci update [packageSpec] +``` + +### Arguments +- `packageSpec` *(optional)* – a package to update (e.g. `@tscircuit/math-utils`). When omitted, updates all `@tsci/*` and `@tscircuit/*` dependencies found in `dependencies` and `devDependencies`. + +## Examples + +Update a specific package: + +```bash +$ tsci update @tscircuit/math-utils +Updating @tscircuit/math-utils... +> bun update @tscircuit/math-utils +✓ Updated @tscircuit/math-utils successfully +``` + +Update all tscircuit packages: + +```bash +$ tsci update +Updating 2 packages: @tscircuit/math-utils @tscircuit/props... +> bun update @tscircuit/math-utils @tscircuit/props +✓ Updated all tscircuit packages successfully +``` From fcd64b541b2445f5864241573d752a318cb5e8fc Mon Sep 17 00:00:00 2001 From: mohan-bee Date: Sun, 19 Apr 2026 09:29:04 +0530 Subject: [PATCH 2/2] up --- docs/command-line/tsci-update.md | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/docs/command-line/tsci-update.md b/docs/command-line/tsci-update.md index 085444c..133dcdf 100644 --- a/docs/command-line/tsci-update.md +++ b/docs/command-line/tsci-update.md @@ -19,17 +19,28 @@ tsci update [packageSpec] Update a specific package: ```bash -$ tsci update @tscircuit/math-utils -Updating @tscircuit/math-utils... -> bun update @tscircuit/math-utils -✓ Updated @tscircuit/math-utils successfully +$ tsci update @tscircuit/seveibar/PICO_W +Updating @tsci/seveibar.PICO_W... +> bun update @tsci/seveibar.PICO_W +bun update v1.3.11 (af24e281) + +installed @tsci/seveibar.PICO_W@0.1.0 + +1 package installed [1095.00ms] +✓ Updated @tsci/seveibar.PICO_W successfully ``` Update all tscircuit packages: ```bash $ tsci update -Updating 2 packages: @tscircuit/math-utils @tscircuit/props... -> bun update @tscircuit/math-utils @tscircuit/props +Updating 2 packages: @tsci/seveibar.HS91L02W2C01 @tsci/seveibar.PICO_W... +> bun update @tsci/seveibar.HS91L02W2C01 @tsci/seveibar.PICO_W +bun update v1.3.11 (af24e281) + +installed @tsci/seveibar.HS91L02W2C01@0.0.1 +installed @tsci/seveibar.PICO_W@0.1.0 + +2 packages installed [567.00ms] ✓ Updated all tscircuit packages successfully ```