bem / themekit

Build system of design-tokens for any platforms
Other
73 stars 10 forks source link

Impl command for apply patches #109

Open yarastqt opened 3 years ago

yarastqt commented 3 years ago

Proposal

Need implementation command for apply patches when design-system library updates.

Use case

command

themekit patch ./patch-0001.json
themekit apply ./patch-0001.json

project tokens

component:
  depth:
   token:
     value: 100

patch

[
  {
    "oldPath": ["component", "depth", "token"],
    "newPath": ["component", "token"]
  }
]

result

component:
 token:
   value: 100
yarastqt commented 3 years ago

Maybe also load patch from url?