Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@starship-ci/types

hyperweb-io0SEE LICENSE IN LICENSE4.0.0-alpha.0TypeScript support: included

Starship Types

blockchain, blockchain-simulation, blockchain-testing, TDD, multi-chain, crypto, cryptocurrency, ethereum, bitcoin, cosmos, smart-contracts, decentralized, DApps, web3, interchain

readme

@starship-ci/types

TypeScript type definitions for Starship configuration and components.

Overview

This package provides comprehensive TypeScript types for Starship configurations, ensuring type safety across all Starship packages and user configurations.

Installation

npm install @starship-ci/types

Usage

import { StarshipConfig, Chain, Relayer } from '@starship-ci/types';

const config: StarshipConfig = {
  name: 'my-starship',
  version: '1.8.0',
  chains: [
    {
      id: 'osmosis-1',
      name: 'osmosis',
      numValidators: 2,
      ports: {
        rest: 1313,
        rpc: 26653,
        faucet: 8003
      }
    }
  ],
  relayers: [
    {
      name: 'osmos-cosmos',
      type: 'hermes',
      replicas: 1,
      chains: ['osmosis-1', 'cosmoshub-4']
    }
  ]
};

Types Included

  • StarshipConfig - Main configuration interface
  • Chain - Blockchain configuration
  • Relayer - Relayer configuration
  • Explorer - Block explorer configuration
  • Registry - Chain registry configuration
  • Monitoring - Monitoring configuration
  • Ingress - Ingress configuration
  • Frontend - Frontend configuration
  • And many more...

Features

  • Type Safety: Comprehensive TypeScript definitions
  • Schema Alignment: Types match the values.schema.json exactly
  • Extensible: Easy to extend for custom configurations
  • Well Documented: JSDoc comments for all interfaces

Credits

🛠 Built by Hyperweb (formerly Cosmology) — if you like our tools, please checkout and contribute to our github ⚛️