Core Package Overview
The@workspace/core package provides shared core functionality across all apps and packages in the FE Monorepo. It is designed to be isomorphic, meaning it can be used in both browser and server environments.
Installation
The core package is available as a workspace dependency:Package Information
- Version: 1.1.0
- Type: ES Module
- License: MIT
Peer Dependencies
The core package requires the following peer dependencies:- ky: ^1.14.3 - Modern HTTP client
- radashi: ^12.7.1 - Utility library
- react: >=19.0.0 - React library
- type-fest: ^5.4.4 - TypeScript type utilities
- zod: ^4.3.6 - Schema validation
Package Structure
The core package is organized into several modules, each accessible through path exports:APIs
Hooks
Utils
Constants
Types
Services
Exports Configuration
The package uses path-based exports for better tree-shaking and explicit imports:Basic Usage
Using API Clients
Using Hooks
Using Utilities
Next Steps
API Clients
Explore authentication, CDN, and core API clients
Hooks
Discover custom React hooks for common use cases
Utilities
Learn about utility functions for data manipulation
