Octopus Energy Packages
Shared packages for Octopus Energy projects
A collection of internal packages shared across Octopus Energy projects: build presets, test configuration, and the tooling that ties them together.
Get started
Packages
Env
Sync environment variables from 1Password to Vercel, GitHub Actions, and CircleCI.
Flags
Feature flags using Vercel Flags or Global Config, with identity helpers and Vercel Toolbar support.
GraphQL
Typed GraphQL requests and an HTTP handler with application-owned authentication.
Logs
Unified structured logging for Datadog and Sentry. Drop-in replacement for @krakentech/blueprint-utils/logging.
Measurements
React hooks for fetching energy measurement data from the Kraken GraphQL API.
Oxc
Shared oxlint and oxfmt configurations for fast, Rust-based linting and formatting in JavaScript and TypeScript projects.
Playwright
Playwright fixtures for mocking HTTP and GraphQL requests in Next.js applications with MSW.
Tsdown
Shared tsdown presets for building TypeScript libraries, React packages, and Panda CSS projects.
Vitest
Shared Vitest utilities and configuration for Octopus Energy packages.