@tokenoftrust/cli 2.4.21 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenoftrust/cli",
3
- "version": "2.4.21",
3
+ "version": "2.5.0",
4
4
  "description": "Token of Trust developer CLI — clone a tenant store, run it locally with save→reload, and submit it for preview. Installs the `tot` command.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Token of Trust",
package/src/sample.mjs CHANGED
@@ -127,6 +127,7 @@ export function sampleConfig() {
127
127
  tenant: SAMPLE_TENANT,
128
128
  scope: SAMPLE_SCOPE,
129
129
  sample: true,
130
+ siteType: "commerce",
130
131
  mappings: [
131
132
  { workspace: "theme.json", repo: `tenants/${SAMPLE_TENANT}/theme.json`, kind: "file" },
132
133
  { workspace: "content/", repo: `tenants/${SAMPLE_TENANT}/content/`, kind: "tree" },
@@ -0,0 +1,47 @@
1
+ {
2
+ "id": "sample-house-blend",
3
+ "source": {
4
+ "platform": "manual",
5
+ "source_id": "sample-house-blend"
6
+ },
7
+ "handle": "sample-house-blend",
8
+ "title": "House Blend \u2014 120mL",
9
+ "description_html": "<p>Fictional sample product for test checkout.</p>",
10
+ "description_text": "Fictional sample product for test checkout.",
11
+ "vendor": "Sample Vapor Co.",
12
+ "product_type": "Sample",
13
+ "tags": [
14
+ "bestseller"
15
+ ],
16
+ "status": "active",
17
+ "visibility": "public",
18
+ "seo": {},
19
+ "options": [],
20
+ "images": [],
21
+ "variants": [
22
+ {
23
+ "id": "sample-house-blend-v1",
24
+ "source": {
25
+ "platform": "manual",
26
+ "source_id": "sample-house-blend-v1"
27
+ },
28
+ "sku": "SAMPLE-HOUSE-BLEND",
29
+ "title": "Default Title",
30
+ "price": 14.99,
31
+ "currency": "USD",
32
+ "option_values": {},
33
+ "position": 1
34
+ }
35
+ ],
36
+ "price_range": {
37
+ "min": 14.99,
38
+ "max": 14.99,
39
+ "currency": "USD"
40
+ },
41
+ "collections": [],
42
+ "metafields": [],
43
+ "created_at": "2026-10-19T00:00:00.000Z",
44
+ "updated_at": "2026-10-19T00:00:00.000Z",
45
+ "migrated_at": "2026-10-19T00:00:00.000Z",
46
+ "source_checksum": "commerce-sample-v1"
47
+ }