Compatibility
Application version
The contract was extracted from these files (hash per file):
| File | Hash |
|---|---|
template-engine.js | df09c062c9c84df48c0bf6b8762b8e7263573b6fe039dc0558647db5a4091760 |
server.js | 44f5c8c5aad99fd182e99f794d7c9a8d3a4c333f373c35601a6cc9fe342315dc |
security.js | 3ce79b37f7361bbad6f6367b9af2af00c9c97c49fdb054825e2776b524d0bf57 |
store/theme-assets.js | 44d0fed1ed5c2bed0479ac197c0cf3d8c2f11c4ab85dc4edd06b4e1cb864fecb |
store/urls.js | 93819dcfaba817c554d925eec556fa03f2bceae718b7e3688f37950fe75d6664 |
public/assets/storefront/engine.js | 2e3751b967280329bd0e833836e8fdf4e1b9508bbd486be50c43f5ae953ad318 |
public/assets/storefront/core.css | 082f14aafdc09dd47d2c1bd76671154c616baad3dcff50659ded39ddc5a7fede |
public/assets/storefront/kit.css | 5c9d1245200c28e6ee739e65d51428b2b19e9e4e7eb7844d9a14d8e651ed94c7 |
When any of them changes, the SDK re-discovers the contract and the validator, Studio and docs follow. Discovery also re-checks the documented template.json keys against the source: no differences were found for this version.
Installed templates
| Template | Files | theme.json | Kit | Images | Engine hooks |
|---|---|---|---|---|---|
animal | image index.html logo.png script.js styles.css template.json | no | no | 10 | 128 |
beauty | image index.html script.js styles.css template.json theme.json | yes | yes | 10 | 155 |
boutique | image index.html script.js styles.css template.json theme.json | yes | yes | 10 | 156 |
corporate | image index.html script.js styles.css template.json theme.json | yes | yes | 10 | 155 |
couture | image index.html script.js styles.css template.json theme.json | yes | yes | 10 | 154 |
default | image index.html logo.png script.js styles.css template.json | no | no | 10 | 141 |
electro | image index.html script.js styles.css template.json theme.json | yes | yes | 10 | 150 |
farm | image index.html logo.png script.js styles.css template.json | no | no | 10 | 136 |
food | image index.html logo.png script.js styles.css template.json theme.json | yes | no | 10 | 130 |
grocer | image index.html script.js styles.css template.json theme.json | yes | yes | 10 | 152 |
homeliving | image index.html script.js styles.css template.json theme.json | yes | yes | 10 | 155 |
love | image index.html logo.png script.js styles.css template.json theme.json | yes | no | 10 | 131 |
organic | image index.html script.js styles.css template.json theme.json | yes | yes | 10 | 154 |
prestashop | image index.html logo.png script.js styles.css template.json | no | no | 10 | 153 |
store | image index.html logo.png script.js styles.css template.json | no | no | 10 | 130 |
Checking compatibility
node sdk validate— against the application's current rules.node sdk test— renders and runs it in the application with every dataset.node bin/template-sdk verify <zip>— loads the package with the application's TemplateEngine.node bin/template-sdk import <installed-name>— analyses an existing template (IMPORT-REPORT.md).node sdk contract— prints what the SDK discovered.