@cimplify/cli 0.4.0 → 0.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.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { TEMPLATES } from './chunk-42PFJBC6.mjs';
3
- import { package_default } from './chunk-ASZVWVMM.mjs';
2
+ import { TEMPLATES } from './chunk-Z5DEA7YM.mjs';
3
+ import { package_default } from './chunk-DCWHOH2S.mjs';
4
4
 
5
5
  // src/dispatcher.ts
6
6
  var VERSION = package_default.version ?? "unknown";
@@ -134,15 +134,15 @@ var COMMANDS = {
134
134
  logs: () => import('./logs-YNN2PQ24.mjs'),
135
135
  status: () => import('./status-JSYXM5RT.mjs'),
136
136
  dev: () => import('./dev-ONW2S77K.mjs'),
137
- introspect: () => import('./introspect-IVI65FEV.mjs'),
138
- doctor: () => import('./doctor-BC6CMVRW.mjs'),
139
- explain: () => import('./explain-MZOCDFZE.mjs'),
137
+ introspect: () => import('./introspect-KID4YJYV.mjs'),
138
+ doctor: () => import('./doctor-DGO3UAJB.mjs'),
139
+ explain: () => import('./explain-IJLIQUYJ.mjs'),
140
140
  assets: () => import('./assets-EBEMMENZ.mjs'),
141
141
  repo: () => import('./repo-WOBWKEAO.mjs'),
142
- list: () => import('./list-JOQRPYX4.mjs'),
143
- add: () => import('./add-KKIYBATR.mjs'),
144
- update: () => import('./update-EDTG73FK.mjs'),
145
- upgrade: () => import('./update-EDTG73FK.mjs'),
142
+ list: () => import('./list-5PMRTZV3.mjs'),
143
+ add: () => import('./add-MX4655EX.mjs'),
144
+ update: () => import('./update-64K4Z3SF.mjs'),
145
+ upgrade: () => import('./update-64K4Z3SF.mjs'),
146
146
  "auth-step-up": () => import('./auth-step-up-BIUYQJP6.mjs')
147
147
  };
148
148
  var COMMAND_PREFIXES = {
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { gatherIntrospection } from './chunk-SDSOORT6.mjs';
2
+ import { gatherIntrospection } from './chunk-AY23RQE6.mjs';
3
3
  import './chunk-K5464A3L.mjs';
4
4
  import './chunk-DBZ3UOQ2.mjs';
5
- import './chunk-ASZVWVMM.mjs';
5
+ import './chunk-DCWHOH2S.mjs';
6
6
  import { parseArgs, flagBool } from './chunk-C4M3DXKC.mjs';
7
7
  import { ApiClient } from './chunk-MAOO6ZZ5.mjs';
8
8
  import { readAuthOrNull } from './chunk-UBAI443T.mjs';
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { package_default } from './chunk-ASZVWVMM.mjs';
2
+ import { package_default } from './chunk-DCWHOH2S.mjs';
3
3
  import { parseArgs } from './chunk-C4M3DXKC.mjs';
4
4
  import { bold, dim, info, result, CliError, CLI_ERROR_CODE } from './chunk-E2T2SBP5.mjs';
5
5
 
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- export { run as default, extractMockSeed, gatherIntrospection, renderIntrospection } from './chunk-SDSOORT6.mjs';
2
+ export { run as default, extractMockSeed, gatherIntrospection, renderIntrospection } from './chunk-AY23RQE6.mjs';
3
3
  import './chunk-K5464A3L.mjs';
4
4
  import './chunk-DBZ3UOQ2.mjs';
5
- import './chunk-ASZVWVMM.mjs';
5
+ import './chunk-DCWHOH2S.mjs';
6
6
  import './chunk-C4M3DXKC.mjs';
7
7
  import './chunk-UBAI443T.mjs';
8
8
  import './chunk-E2T2SBP5.mjs';
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { REGISTRY_INDEX } from './chunk-42PFJBC6.mjs';
2
+ import { REGISTRY_INDEX } from './chunk-Z5DEA7YM.mjs';
3
3
  import { parseArgs, flagBool } from './chunk-C4M3DXKC.mjs';
4
4
  import { CliError, CLI_ERROR_CODE, info, bold, dim, green, result } from './chunk-E2T2SBP5.mjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { package_default } from './chunk-ASZVWVMM.mjs';
2
+ import { package_default } from './chunk-DCWHOH2S.mjs';
3
3
  import { promptYesNo } from './chunk-ITAFAORS.mjs';
4
4
  import { parseArgs, flagBool, flagString } from './chunk-C4M3DXKC.mjs';
5
5
  import { success, bold, info, dim, result, failure, CliError, CLI_ERROR_CODE, step, isJsonMode } from './chunk-E2T2SBP5.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cimplify/cli",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Cimplify CLI — deploy, manage env vars, link projects, and scaffold storefronts",
5
5
  "keywords": [
6
6
  "cimplify",
@@ -23,6 +23,8 @@
23
23
  "build:binary": "bun run bundle-assets && bun scripts/build-binaries.ts",
24
24
  "build:binary:local": "bun run bundle-assets && bun scripts/build-binaries.ts --local",
25
25
  "sync:template-pins": "bun scripts/sync-template-pins.ts",
26
+ "publish:templates": "bun scripts/publish-templates.ts",
27
+ "publish:templates:dry": "bun scripts/publish-templates.ts --dry-run",
26
28
  "version": "bun scripts/sync-template-pins.ts && git add templates/*/package.json",
27
29
  "prepublishOnly": "bun scripts/sync-template-pins.ts && bun run build",
28
30
  "dev": "bun run bundle-assets && tsup --watch",
@@ -35,6 +37,7 @@
35
37
  "test:run": "vitest run"
36
38
  },
37
39
  "devDependencies": {
40
+ "@aws-sdk/client-s3": "^3.700.0",
38
41
  "@types/node": "^25.6.0",
39
42
  "@typescript/native-preview": "^7.0.0-dev.20260503.1",
40
43
  "tsup": "^8.5.1",
@@ -0,0 +1,166 @@
1
+ {
2
+ "cliVersion": "0.5.0",
3
+ "generatedAt": "2026-05-16T09:43:17.125Z",
4
+ "templates": [
5
+ {
6
+ "id": "bakery",
7
+ "name": "Bakery",
8
+ "tagline": "Warm, food-forward storefront with custom-order forms and same-day delivery checkout.",
9
+ "industry": "food",
10
+ "tags": [
11
+ "food",
12
+ "bakery",
13
+ "pastry"
14
+ ],
15
+ "stability": "stable",
16
+ "schemaType": "Bakery",
17
+ "mock": {
18
+ "seedName": "default",
19
+ "seedBusinessId": "bus_default_akua_bakery"
20
+ },
21
+ "objectKey": "templates/bakery-v0.5.0.tar.gz",
22
+ "sha256": "24f4881bf140f6bf03089adfe1d1097518f0a8eb37d145a2adea0cfb8126d40b",
23
+ "sizeBytes": 48191
24
+ },
25
+ {
26
+ "id": "restaurant",
27
+ "name": "Restaurant",
28
+ "tagline": "Menu-driven storefront with reservations and table-service support.",
29
+ "industry": "food",
30
+ "tags": [
31
+ "food",
32
+ "restaurant",
33
+ "reservations"
34
+ ],
35
+ "stability": "stable",
36
+ "schemaType": "Restaurant",
37
+ "mock": {
38
+ "seedName": "restaurant",
39
+ "seedBusinessId": "bus_mamas_kitchen"
40
+ },
41
+ "objectKey": "templates/restaurant-v0.5.0.tar.gz",
42
+ "sha256": "bb3d122d46e171d9ff04db8a8172baaa1720a325622da2ab8b4d18dc0b2377df",
43
+ "sizeBytes": 49181
44
+ },
45
+ {
46
+ "id": "retail",
47
+ "name": "Retail",
48
+ "tagline": "Variant-aware retail storefront with full product detail pages and instalment support.",
49
+ "industry": "retail",
50
+ "tags": [
51
+ "retail",
52
+ "electronics",
53
+ "variants"
54
+ ],
55
+ "stability": "stable",
56
+ "schemaType": "Store",
57
+ "mock": {
58
+ "seedName": "retail",
59
+ "seedBusinessId": "bus_currents_electronics"
60
+ },
61
+ "objectKey": "templates/retail-v0.5.0.tar.gz",
62
+ "sha256": "3e8cfcf56f2265c87735a26a9a0b624bb882f45971a818dbec516546b4b2a4c9",
63
+ "sizeBytes": 56993
64
+ },
65
+ {
66
+ "id": "services",
67
+ "name": "Services",
68
+ "tagline": "Bookable-services storefront with calendar slots and staff profiles.",
69
+ "industry": "services",
70
+ "tags": [
71
+ "services",
72
+ "bookings",
73
+ "appointments"
74
+ ],
75
+ "stability": "stable",
76
+ "schemaType": "BeautySalon",
77
+ "mock": {
78
+ "seedName": "services",
79
+ "seedBusinessId": "bus_serene_spa"
80
+ },
81
+ "objectKey": "templates/services-v0.5.0.tar.gz",
82
+ "sha256": "c8d69dddef8c5de632a16f91a26a5fc52595008341d1e4e09e1763d7ac951841",
83
+ "sizeBytes": 48892
84
+ },
85
+ {
86
+ "id": "grocery",
87
+ "name": "Grocery",
88
+ "tagline": "High-SKU grocery storefront with quick-add cart UX and delivery windows.",
89
+ "industry": "retail",
90
+ "tags": [
91
+ "food",
92
+ "grocery",
93
+ "delivery"
94
+ ],
95
+ "stability": "stable",
96
+ "schemaType": "GroceryStore",
97
+ "mock": {
98
+ "seedName": "grocery",
99
+ "seedBusinessId": "bus_freshmart"
100
+ },
101
+ "objectKey": "templates/grocery-v0.5.0.tar.gz",
102
+ "sha256": "b1a4db39ccf95b31a521fba4ee0cae1c9fcc6e3ab1f5a35002fcddb0052a6d2d",
103
+ "sizeBytes": 45912
104
+ },
105
+ {
106
+ "id": "fashion",
107
+ "name": "Fashion",
108
+ "tagline": "Editorial multi-drop fashion storefront with lookbooks and size guides.",
109
+ "industry": "fashion",
110
+ "tags": [
111
+ "fashion",
112
+ "apparel",
113
+ "lookbook"
114
+ ],
115
+ "stability": "stable",
116
+ "schemaType": "Store",
117
+ "mock": {
118
+ "seedName": "fashion",
119
+ "seedBusinessId": "bus_studio_frx"
120
+ },
121
+ "objectKey": "templates/fashion-v0.5.0.tar.gz",
122
+ "sha256": "543a17fb9a351bfb4db2f8d5e67e008e9f57b98065e8a437e890ce5a6221d883",
123
+ "sizeBytes": 61611
124
+ },
125
+ {
126
+ "id": "pharmacy",
127
+ "name": "Pharmacy",
128
+ "tagline": "Licensed community pharmacy with prescription uploads, pharmacist consults, and OTC catalog.",
129
+ "industry": "healthcare",
130
+ "tags": [
131
+ "healthcare",
132
+ "regulated",
133
+ "prescription"
134
+ ],
135
+ "stability": "stable",
136
+ "schemaType": "Pharmacy",
137
+ "mock": {
138
+ "seedName": "pharmacy",
139
+ "seedBusinessId": "bus_wellspring_pharmacy"
140
+ },
141
+ "objectKey": "templates/pharmacy-v0.5.0.tar.gz",
142
+ "sha256": "5f9cd8bc6c75a44b267fb8bee8b609633f8c4156493f32244574c9a6e800c4b3",
143
+ "sizeBytes": 61742
144
+ },
145
+ {
146
+ "id": "auto",
147
+ "name": "Auto Parts",
148
+ "tagline": "Auto-parts storefront with vehicle fitment finder and installation booking.",
149
+ "industry": "automotive",
150
+ "tags": [
151
+ "automotive",
152
+ "parts",
153
+ "fitment"
154
+ ],
155
+ "stability": "stable",
156
+ "schemaType": "AutoPartsStore",
157
+ "mock": {
158
+ "seedName": "auto",
159
+ "seedBusinessId": "bus_driveline_auto"
160
+ },
161
+ "objectKey": "templates/auto-v0.5.0.tar.gz",
162
+ "sha256": "8e4e57d01dd73cf70e80b04e7516b4968ee89d30fd87e5a4fda15dce78348994",
163
+ "sizeBytes": 59701
164
+ }
165
+ ]
166
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "auto",
3
+ "name": "Auto Parts",
4
+ "tagline": "Auto-parts storefront with vehicle fitment finder and installation booking.",
5
+ "industry": "automotive",
6
+ "tags": ["automotive", "parts", "fitment"],
7
+ "stability": "stable",
8
+ "schemaType": "AutoPartsStore",
9
+ "mock": {
10
+ "seedName": "auto",
11
+ "seedBusinessId": "bus_driveline_auto"
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "bakery",
3
+ "name": "Bakery",
4
+ "tagline": "Warm, food-forward storefront with custom-order forms and same-day delivery checkout.",
5
+ "industry": "food",
6
+ "tags": ["food", "bakery", "pastry"],
7
+ "stability": "stable",
8
+ "schemaType": "Bakery",
9
+ "mock": {
10
+ "seedName": "default",
11
+ "seedBusinessId": "bus_default_akua_bakery"
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "fashion",
3
+ "name": "Fashion",
4
+ "tagline": "Editorial multi-drop fashion storefront with lookbooks and size guides.",
5
+ "industry": "fashion",
6
+ "tags": ["fashion", "apparel", "lookbook"],
7
+ "stability": "stable",
8
+ "schemaType": "Store",
9
+ "mock": {
10
+ "seedName": "fashion",
11
+ "seedBusinessId": "bus_studio_frx"
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "grocery",
3
+ "name": "Grocery",
4
+ "tagline": "High-SKU grocery storefront with quick-add cart UX and delivery windows.",
5
+ "industry": "retail",
6
+ "tags": ["food", "grocery", "delivery"],
7
+ "stability": "stable",
8
+ "schemaType": "GroceryStore",
9
+ "mock": {
10
+ "seedName": "grocery",
11
+ "seedBusinessId": "bus_freshmart"
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "pharmacy",
3
+ "name": "Pharmacy",
4
+ "tagline": "Licensed community pharmacy with prescription uploads, pharmacist consults, and OTC catalog.",
5
+ "industry": "healthcare",
6
+ "tags": ["healthcare", "regulated", "prescription"],
7
+ "stability": "stable",
8
+ "schemaType": "Pharmacy",
9
+ "mock": {
10
+ "seedName": "pharmacy",
11
+ "seedBusinessId": "bus_wellspring_pharmacy"
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "restaurant",
3
+ "name": "Restaurant",
4
+ "tagline": "Menu-driven storefront with reservations and table-service support.",
5
+ "industry": "food",
6
+ "tags": ["food", "restaurant", "reservations"],
7
+ "stability": "stable",
8
+ "schemaType": "Restaurant",
9
+ "mock": {
10
+ "seedName": "restaurant",
11
+ "seedBusinessId": "bus_mamas_kitchen"
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "retail",
3
+ "name": "Retail",
4
+ "tagline": "Variant-aware retail storefront with full product detail pages and instalment support.",
5
+ "industry": "retail",
6
+ "tags": ["retail", "electronics", "variants"],
7
+ "stability": "stable",
8
+ "schemaType": "Store",
9
+ "mock": {
10
+ "seedName": "retail",
11
+ "seedBusinessId": "bus_currents_electronics"
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "id": "services",
3
+ "name": "Services",
4
+ "tagline": "Bookable-services storefront with calendar slots and staff profiles.",
5
+ "industry": "services",
6
+ "tags": ["services", "bookings", "appointments"],
7
+ "stability": "stable",
8
+ "schemaType": "BeautySalon",
9
+ "mock": {
10
+ "seedName": "services",
11
+ "seedBusinessId": "bus_serene_spa"
12
+ }
13
+ }