1.1.1 • Published 3 years ago

json-template-merge v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

json-template-merge

A git merge driver to be used in a deployment process to handle Shopify's JSON templates. It uses xdiff to create a diff from two source JSON templates and applies it as a patch to a live template.

NPM Version

Install

Install:

npm install json-template-merge

Update git config:

git config merge.json_template.driver "$(npm bin)/json-template-merge %A %O %B"
git config merge.json_template.name "Merge driver for JSON templates"

Create .gitattributes:

*.json merge=json_template
1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago