@plyaz/config
v1.9.0
Published
Provides shared configs and constants for @playz ecosystem.
Keywords
Readme
@plyaz/config
Shared configuration constants and environment flags used throughout the Plyaz ecosystem. This package centralizes chain settings, feature toggles and other runtime values so that all apps share a single source of truth.
📦 Installation
pnpm add @plyaz/config🚀 What's Included
Core Configurations
- Environment detection - Server/client, dev/prod/test flags
- Blockchain support - Multi-chain configurations with testnets
- Provider integrations - Alchemy, OAuth providers, Web3 auth
- API configurations - Endpoints, caching, webhooks, rate limiting
- Security policies - Blocked regions, production safety flags
## Development
### Setup
Install dependencies and run the basic checks:
```bash
pnpm install
pnpm lint
pnpm testBuild
Compile the library to the dist folder:
pnpm buildFor a watch mode during development:
pnpm devLinting & Formatting
Run the ESLint rules and apply automatic fixes:
pnpm lint
pnpm lint:fixCheck or apply Prettier formatting:
pnpm format:check
pnpm formatTests
Execute the test suite once:
pnpm testWatch tests as you work:
pnpm test:watchGenerate coverage information:
pnpm test:coverageRelationship to Plyaz-Official/types
Type definitions for configuration values live in Plyaz-Official/types. Installing @plyaz/types alongside this package provides strongly typed access to each exported constant.
About this repository
This package was scaffolded from the internal package-template and relies on @plyaz/devtools for shared TypeScript, ESLint, Prettier and Vitest configuration.
