Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impl command for apply patches #109

Open
yarastqt opened this issue Dec 13, 2020 · 1 comment
Open

Impl command for apply patches #109

yarastqt opened this issue Dec 13, 2020 · 1 comment
Assignees
Labels
feat New feature or request RFC

Comments

@yarastqt
Copy link
Member

yarastqt commented Dec 13, 2020

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 yarastqt added the RFC label Dec 13, 2020
@yarastqt
Copy link
Member Author

Maybe also load patch from url?

@yarastqt yarastqt self-assigned this Dec 13, 2020
@yarastqt yarastqt added the feat New feature or request label Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request RFC
Projects
None yet
Development

No branches or pull requests

1 participant