0.2.4 • Published 6 months ago

@syncify/schema v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@syncify/schema

This module contains JSON Schema Stores for Syncify. Syncify is an enterprise level Shopify theme development tool and exists as a superior alternative to the Shopify CLI.

Install

You don't need to install this module. Reference it using the CDN urls.

$ pnpm add @syncify/schema -D

Usage

When referencing a schema, it is assumed that your text editor supports JSON $schema properties.

{
  "$schema": "https://unpkg.com/@syncify/schema/<name>.json",
}

Replace the <name> with one of the below available stores.

Stores

Below the available schema stores provided in this module.

sections

JSON Schema used for providing intellisense features for shared section files.

{
  "$schema": "https://unpkg.com/@syncify/schema/sections.json",
  "foo": {
    "type": "image_picker",
    "id": "some_id",
    "label": "Lorem Ipsum"
  }
}

package

JSON Schema for the syncify key of package.json files.

{
  "json.schemas": [
    {
      "url": "https://unpkg.com/@syncify/schema/syncify.json",
      "fileMatch": [
        "package.json"
      ]
    }
  ]
}

env

JSON Schema used for providing intellisense features for .env.syncify or .env.syncify.json - This store requires you provide VSCode workspace settings configuration.

{
  "json.schemas": [
    {
      "url": "https://unpkg.com/@syncify/schema/env.json",
      "fileMatch": [
        ".env.syncify",
        ".env.syncify.json"
      ]
    }
  ]
}

Contributing

The Syncify Schema Stores are generated and maintained in Liquify.

0.2.4

6 months ago

0.2.3

6 months ago

0.2.2

7 months ago

0.2.1

7 months ago

0.2.0

7 months ago

0.1.9

7 months ago

0.1.8

7 months ago

0.1.7

8 months ago

0.1.6

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago