Repository navigation
🚀 v1.1.2 - Package Export Standardization & TypeScript Fixes
This release standardizes all packages to use modern export patterns, fixes all TypeScript compilation errors, and ensures full compatibility with modern bundlers. All packages now have consistent exports, proper type definitions, and improved developer experience.
✨ Key Improvements
Package Exports Standardization
- ✅ Standardized all packages to use modern export pattern (
type: modulewith.cjs/.jsextensions) - ✅ Fixed Vue package exports configuration (removed redundant
defaultfield) - ✅ Fixed Angular package exports configuration (removed redundant
defaultfield and duplicatetypingsfield) - ✅ All packages now consistently export both CommonJS (
.cjs) and ESM (.js) formats - ✅ Improved compatibility with modern bundlers (Vite, Webpack 5+, Rollup)
TypeScript Fixes
- ✅ Fixed all 12 TypeScript compilation errors
- ✅ Added missing
generateReport()method toTokenAnalyticsclass - ✅ Added missing
exportJSON()method toFigmaDiffclass - ✅ Added missing
validateAliases()method toTokenParserclass - ✅ Added missing
getContrastRatio()method toColorUtilsclass - ✅ Added missing
generateReport()method toCICDValidatorclass - ✅ Fixed unused variables and imports
- ✅ Updated CLI commands with correct API methods and type annotations
Build System Improvements
- ✅ All packages build successfully
- ✅ Type definitions generated for all packages
- ✅ Source maps generated for better debugging
- ✅ Build configurations standardized across all packages
📦 Packages Updated
All packages updated to version 1.1.2:
@tokiforge/core@1.1.2@tokiforge/vue@1.1.2@tokiforge/react@1.1.2@tokiforge/svelte@1.1.2@tokiforge/angular@1.1.2@tokiforge/tailwind@1.1.2@tokiforge/figma@1.1.2tokiforge-cli@1.1.2
🔧 Technical Details
Export Structure
All packages now use:
"type": "module"for explicit ESM supportindex.cjsfor CommonJS exportsindex.jsfor ESM exports- Proper
exportsfield without redundantdefaultentries - Type definitions (
.d.ts) for full TypeScript support
🐛 Bug Fixes
- Fixed Vue package resolution errors caused by incorrect exports configuration
- Fixed Angular package resolution errors caused by redundant export fields
- Fixed TypeScript compilation errors in CLI commands
- Fixed missing method implementations in core package
- Fixed unused variables and imports
📚 Documentation
- Updated all documentation to reflect version 1.1.2
- Updated installation instructions
- Updated troubleshooting guide
- Updated API documentation
🚀 Migration
No migration required. This release is fully backward compatible.
📥 Installation
ash
npm install @tokiforge/core@1.1.2
npm install @tokiforge/vue@1.1.2
npm install @tokiforge/react@1.1.2
npm install @tokiforge/svelte@1.1.2
npm install @tokiforge/angular@1.1.2
npm install @tokiforge/tailwind@1.1.2
npm install @tokiforge/figma@1.1.2
npm install tokiforge-cli@1.1.2---
Full Changelog: v1.1.1...v1.1.2