From e429b2d6944bf587aa0e8c4376ee8dbc06424b95 Mon Sep 17 00:00:00 2001 From: Aaron Sachs <898627+asachs01@users.noreply.github.com> Date: Tue, 25 Aug 2026 15:08:18 -0400 Subject: [PATCH] fix: migrate to WYRE-AI org (npm scope, ghcr namespace, registry) Claude-Session: https://claude.ai/code/session_01CNe2zVAcVSnxKi7eo6sUR5 --- .github/workflows/release.yml | 4 ++-- .npmrc | 2 +- README.md | 10 +++++----- package-lock.json | 4 ++-- package.json | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e13dcf0..3158a6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: with: node-version: ${{ matrix.node-version }} registry-url: 'https://npm.pkg.github.com' - scope: '@wyre-technology' + scope: '@wyre-ai' cache: 'npm' - run: npm ci env: @@ -48,7 +48,7 @@ jobs: with: node-version: '22.x' registry-url: 'https://npm.pkg.github.com' - scope: '@wyre-technology' + scope: '@wyre-ai' cache: 'npm' - run: npm ci env: diff --git a/.npmrc b/.npmrc index 7bd939c..a2b5821 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ -@wyre-technology:registry=https://npm.pkg.github.com +@wyre-ai:registry=https://npm.pkg.github.com //npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} diff --git a/README.md b/README.md index bbc7fd0..06b1914 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# @wyre-technology/node-scalepad +# @wyre-ai/node-scalepad Node.js client library for the ScalePad platform APIs — **Core**, **Lifecycle Manager**, **ControlMap**, **Backup Radar**, and **Quoter** — with zero runtime @@ -9,7 +9,7 @@ dependencies (native `fetch` only). The package is published to GitHub Packages. Add to your `.npmrc`: ```ini -@wyre-technology:registry=https://npm.pkg.github.com +@wyre-ai:registry=https://npm.pkg.github.com //npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} ``` @@ -17,13 +17,13 @@ Then: ```bash export NODE_AUTH_TOKEN=$(gh auth token) -npm install @wyre-technology/node-scalepad +npm install @wyre-ai/node-scalepad ``` ## Usage ```ts -import { ScalePadClient } from '@wyre-technology/node-scalepad'; +import { ScalePadClient } from '@wyre-ai/node-scalepad'; const client = new ScalePadClient({ apiKey: process.env.SCALEPAD_API_KEY!, @@ -106,7 +106,7 @@ ScalePad platform APIs paginate with `cursor` + `page_size` (1–200). The `paginate` helper walks every page: ```ts -import { paginate } from '@wyre-technology/node-scalepad'; +import { paginate } from '@wyre-ai/node-scalepad'; for await (const item of paginate((cursor) => client.coreClients.list({ cursor, page_size: 200 }) diff --git a/package-lock.json b/package-lock.json index 5c3570b..8991e3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@wyre-technology/node-scalepad", + "name": "@wyre-ai/node-scalepad", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@wyre-technology/node-scalepad", + "name": "@wyre-ai/node-scalepad", "version": "1.0.0", "license": "Apache-2.0", "devDependencies": { diff --git a/package.json b/package.json index ac8e60f..6f738f4 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@wyre-technology/node-scalepad", + "name": "@wyre-ai/node-scalepad", "version": "1.0.0", "description": "Node.js client library for the ScalePad platform APIs: Core, Lifecycle Manager, ControlMap, Backup Radar, and Quoter", "type": "module", @@ -34,7 +34,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/wyre-technology/node-scalepad.git" + "url": "git+https://github.com/WYRE-AI/node-scalepad.git" }, "keywords": [ "scalepad",