-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
beta-branchWork happening in beta branchWork happening in beta branchbuild-systemBuild and compilation system changesBuild and compilation system changesenhancementNew feature or requestNew feature or request
Description
Part of Epic #596
Problem
Current Style Dictionary setup with style-dictionary-sets adds complexity:
- Custom transforms for
setsstructure - External dependency maintenance
- Complex configuration
- Hard to extend or modify
Solution
Create simple Node.js script that:
- Reads
src/**/*.jsonfiles directly - Handles
setsstructure with straightforward logic - Generates same output formats as current system
- No external dependencies beyond Node.js built-ins
Implementation
- Replace
tasks/buildSpectrumTokens.js - Remove
style-dictionary-setsdependency - Maintain exact same output in
dist/directory - Add comprehensive tests to ensure no regressions
Acceptance Criteria
- All existing
dist/outputs byte-for-byte identical - Build time < 30 seconds
- No
style-dictionary-setsdependency - Code is readable and maintainable
Keywords: build-system, style-dictionary, node.js, simplification
Metadata
Metadata
Assignees
Labels
beta-branchWork happening in beta branchWork happening in beta branchbuild-systemBuild and compilation system changesBuild and compilation system changesenhancementNew feature or requestNew feature or request