bem / bem/themekit

Impl command for apply patches

Open
#109 1 comment 0 reactions 1 assignee Claimed by @yarastqt View on GitHub
feat RFC
Dominant language
TypeScript
Stars
75
Forks
11
PR merge metrics
No merged PRs in 30d

Description

## Proposal

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

## Use case

**command**

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

**project tokens**

```yaml
component:
depth:
token:
value: 100
```

**patch**

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

**result**

```yaml
component:
token:
value: 100
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.