- addons
Set Up a Modern Addon Environment
Install the toolchain, create the addon in Testsigma, and download the scaffold. The scaffold is a ready-to-build TypeScript project with the SDK already declared as a dependency.
Prerequisites
- Node.js 22 or later is installed.
- pnpm or npm is available.
- Modern addon features are enabled for your Testsigma account.
- You are familiar with TypeScript.
Create the Addon
- In the left navigation bar, click the Addons icon, then select Addons.
- Click + New Addon.
- Select the Modern (TypeScript) runtime.
- Enter a Name and a Description.
- Click Create & Proceed.
- On the addon's detail page, click the Download icon.
What the Scaffold Contains
my-addon/
├── package.json # build scripts + SDK dependency
├── tsconfig.json
├── tsup.config.ts # bundler configuration
├── scripts/pack.mjs # zips the build output for upload
└── src/index.ts # your code — one named export per capabilityWrite every capability as a named export in src/index.ts. Default exports and arrays are not supported, and names must be unique within the bundle.
The scaffold has no manifest.json. The build generates it from src/index.ts, so your code is the single source of truth. Never hand-edit a generated manifest — the next build overwrites it.
Install Dependencies
pnpm installTo use an npm package, add it with pnpm add
Next Steps
Pick the capability you want to build, then return to Build, upload, and publish when your code is ready.
