@superblocksteam/cli 1.10.0 → 1.13.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/LICENSE.txt +87 -0
- package/README.md +6 -6
- package/assets/custom-components/setup/package.json +1 -1
- package/assets/custom-components/setup/tsconfig.json +0 -1
- package/bin/dev +5 -7
- package/bin/run +1 -3
- package/dist/appendHotReloadEventPlugin.mjs +43 -0
- package/dist/commands/commits.d.mts +18 -0
- package/dist/commands/{commits.js → commits.mjs} +59 -67
- package/dist/commands/components/{create.d.ts → create.d.mts} +2 -2
- package/dist/commands/components/{create.js → create.mjs} +84 -93
- package/dist/commands/components/{register.d.ts → register.d.mts} +1 -1
- package/dist/commands/components/register.mjs +12 -0
- package/dist/commands/components/{upload.d.ts → upload.d.mts} +2 -2
- package/dist/commands/components/{upload.js → upload.mjs} +39 -43
- package/dist/commands/components/{watch.d.ts → watch.d.mts} +1 -1
- package/dist/commands/components/{watch.js → watch.mjs} +29 -36
- package/dist/commands/config/{set.d.ts → set.d.mts} +2 -2
- package/dist/commands/config/{set.js → set.mjs} +28 -32
- package/dist/commands/{init.d.ts → init.d.mts} +4 -4
- package/dist/commands/{init.js → init.mjs} +58 -64
- package/dist/commands/{login.d.ts → login.d.mts} +1 -1
- package/dist/commands/login.mjs +55 -0
- package/dist/commands/{migrate.d.ts → migrate.d.mts} +1 -1
- package/dist/commands/{migrate.js → migrate.mjs} +34 -42
- package/dist/commands/pull.d.mts +17 -0
- package/dist/commands/{pull.js → pull.mjs} +72 -80
- package/dist/commands/push.d.mts +15 -0
- package/dist/commands/{push.js → push.mjs} +81 -90
- package/dist/commands/{rm.d.ts → rm.d.mts} +2 -2
- package/dist/commands/{rm.js → rm.mjs} +34 -40
- package/dist/common/{authenticated-command.js → authenticated-command.mjs} +65 -75
- package/dist/common/defaults/{create-component-defaults.js → create-component-defaults.mjs} +2 -7
- package/dist/common/{version-control.d.ts → version-control.d.mts} +1 -1
- package/dist/common/{version-control.js → version-control.mjs} +170 -202
- package/dist/index.js +1 -5
- package/dist/{productionCssPlugin.js → productionCssPlugin.mjs} +4 -10
- package/dist/{reactShimPlugin.js → reactShimPlugin.mjs} +17 -24
- package/dist/util/migrationWarningsForApplications.mjs +47 -0
- package/dist/util/{migrationsForDotfiles.js → migrationsForDotfiles.mjs} +10 -17
- package/oclif.manifest.json +284 -171
- package/package.json +43 -41
- package/dist/appendHotReloadEventPlugin.js +0 -48
- package/dist/commands/commits.d.ts +0 -18
- package/dist/commands/components/register.js +0 -15
- package/dist/commands/login.js +0 -61
- package/dist/commands/pull.d.ts +0 -17
- package/dist/commands/push.d.ts +0 -15
- package/dist/util/migrationWarningsForApplications.js +0 -52
- /package/dist/{appendHotReloadEventPlugin.d.ts → appendHotReloadEventPlugin.d.mts} +0 -0
- /package/dist/common/{authenticated-command.d.ts → authenticated-command.d.mts} +0 -0
- /package/dist/common/defaults/{create-component-defaults.d.ts → create-component-defaults.d.mts} +0 -0
- /package/dist/{productionCssPlugin.d.ts → productionCssPlugin.d.mts} +0 -0
- /package/dist/{reactShimPlugin.d.ts → reactShimPlugin.d.mts} +0 -0
- /package/dist/util/{migrationWarningsForApplications.d.ts → migrationWarningsForApplications.d.mts} +0 -0
- /package/dist/util/{migrationsForDotfiles.d.ts → migrationsForDotfiles.d.mts} +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.10.0",
|
|
3
2
|
"commands": {
|
|
4
3
|
"commits": {
|
|
5
|
-
"id": "commits",
|
|
6
|
-
"description": "List Superblocks commits for a resource",
|
|
7
|
-
"strict": true,
|
|
8
|
-
"pluginName": "@superblocksteam/cli",
|
|
9
|
-
"pluginAlias": "@superblocksteam/cli",
|
|
10
|
-
"pluginType": "core",
|
|
11
4
|
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"resource_path": {
|
|
7
|
+
"description": "Superblocks resource location to show commits for (i.e. apps/my-app)",
|
|
8
|
+
"name": "resource_path",
|
|
9
|
+
"required": false
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"description": "List Superblocks commits for a resource",
|
|
12
13
|
"examples": [
|
|
13
14
|
"<%= config.bin %> <%= command.id %>",
|
|
14
15
|
"<%= config.bin %> <%= command.id %> apps/my-app",
|
|
@@ -18,119 +19,157 @@
|
|
|
18
19
|
],
|
|
19
20
|
"flags": {
|
|
20
21
|
"branch": {
|
|
21
|
-
"name": "branch",
|
|
22
|
-
"type": "option",
|
|
23
22
|
"char": "b",
|
|
24
23
|
"description": "Superblocks branch to show commits for, the current git branch will be used by default",
|
|
25
|
-
"
|
|
24
|
+
"name": "branch",
|
|
25
|
+
"hasDynamicHelp": false,
|
|
26
|
+
"multiple": false,
|
|
27
|
+
"type": "option"
|
|
26
28
|
},
|
|
27
29
|
"limit": {
|
|
28
|
-
"name": "limit",
|
|
29
|
-
"type": "option",
|
|
30
30
|
"char": "l",
|
|
31
31
|
"description": "Number of commits to be displayed, default is 10",
|
|
32
|
+
"name": "limit",
|
|
33
|
+
"default": 10,
|
|
34
|
+
"hasDynamicHelp": false,
|
|
32
35
|
"multiple": false,
|
|
33
|
-
"
|
|
36
|
+
"type": "option"
|
|
34
37
|
},
|
|
35
38
|
"offset": {
|
|
36
|
-
"name": "offset",
|
|
37
|
-
"type": "option",
|
|
38
39
|
"char": "o",
|
|
39
40
|
"description": "Number of commits to be skipped before displaying by creation time, default is 0",
|
|
41
|
+
"name": "offset",
|
|
42
|
+
"default": 0,
|
|
43
|
+
"hasDynamicHelp": false,
|
|
40
44
|
"multiple": false,
|
|
41
|
-
"
|
|
45
|
+
"type": "option"
|
|
42
46
|
}
|
|
43
47
|
},
|
|
48
|
+
"hasDynamicHelp": false,
|
|
49
|
+
"hiddenAliases": [],
|
|
50
|
+
"id": "commits",
|
|
51
|
+
"pluginAlias": "@superblocksteam/cli",
|
|
52
|
+
"pluginName": "@superblocksteam/cli",
|
|
53
|
+
"pluginType": "core",
|
|
54
|
+
"strict": true,
|
|
55
|
+
"isESM": true,
|
|
56
|
+
"relativePath": [
|
|
57
|
+
"dist",
|
|
58
|
+
"commands",
|
|
59
|
+
"commits.mjs"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"init": {
|
|
63
|
+
"aliases": [],
|
|
44
64
|
"args": {
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
65
|
+
"resource_url": {
|
|
66
|
+
"description": "Superblocks resource URL (i.e. https://app.superblocks.com/applications/<application_id> or https://app.superblocks.com/applications/edit/<application_id>)",
|
|
67
|
+
"name": "resource_url",
|
|
48
68
|
"required": false
|
|
49
69
|
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"init": {
|
|
53
|
-
"id": "init",
|
|
70
|
+
},
|
|
54
71
|
"description": "Interactively configure the current directory as a Superblocks project or initialize new services in an already configured Superblocks project directory",
|
|
55
|
-
"strict": true,
|
|
56
|
-
"pluginName": "@superblocksteam/cli",
|
|
57
|
-
"pluginAlias": "@superblocksteam/cli",
|
|
58
|
-
"pluginType": "core",
|
|
59
|
-
"aliases": [],
|
|
60
72
|
"examples": [
|
|
61
73
|
"<%= config.bin %> <%= command.id %>",
|
|
62
74
|
"<%= config.bin %> <%= command.id %> https://app.superblocks.com/applications/11111111-1111-1111-1111-111111111111/pages/22222222-2222-2222-2222-222222222222"
|
|
63
75
|
],
|
|
64
76
|
"flags": {
|
|
65
77
|
"mode": {
|
|
66
|
-
"name": "mode",
|
|
67
|
-
"type": "option",
|
|
68
78
|
"char": "m",
|
|
69
79
|
"description": "Pull mode",
|
|
80
|
+
"name": "mode",
|
|
81
|
+
"hasDynamicHelp": false,
|
|
70
82
|
"multiple": false,
|
|
71
83
|
"options": [
|
|
72
84
|
"latest-edits",
|
|
73
85
|
"most-recent-commit",
|
|
74
86
|
"deployed"
|
|
75
|
-
]
|
|
87
|
+
],
|
|
88
|
+
"type": "option"
|
|
76
89
|
},
|
|
77
90
|
"skip-signing-verification": {
|
|
78
|
-
"name": "skip-signing-verification",
|
|
79
|
-
"type": "boolean",
|
|
80
91
|
"char": "s",
|
|
81
92
|
"description": "If true, signature verification for signing enabled organizations will be skipped.",
|
|
82
|
-
"
|
|
93
|
+
"name": "skip-signing-verification",
|
|
94
|
+
"allowNo": false,
|
|
95
|
+
"type": "boolean"
|
|
83
96
|
}
|
|
84
97
|
},
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"description": "Superblocks resource URL (i.e. https://app.superblocks.com/applications/<application_id> or https://app.superblocks.com/applications/edit/<application_id>)",
|
|
89
|
-
"required": false
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"login": {
|
|
94
|
-
"id": "login",
|
|
95
|
-
"description": "Authenticate with Superblocks cloud",
|
|
96
|
-
"strict": true,
|
|
97
|
-
"pluginName": "@superblocksteam/cli",
|
|
98
|
+
"hasDynamicHelp": false,
|
|
99
|
+
"hiddenAliases": [],
|
|
100
|
+
"id": "init",
|
|
98
101
|
"pluginAlias": "@superblocksteam/cli",
|
|
102
|
+
"pluginName": "@superblocksteam/cli",
|
|
99
103
|
"pluginType": "core",
|
|
104
|
+
"strict": true,
|
|
105
|
+
"isESM": true,
|
|
106
|
+
"relativePath": [
|
|
107
|
+
"dist",
|
|
108
|
+
"commands",
|
|
109
|
+
"init.mjs"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"login": {
|
|
100
113
|
"aliases": [],
|
|
114
|
+
"args": {},
|
|
115
|
+
"description": "Authenticate with Superblocks cloud",
|
|
101
116
|
"flags": {
|
|
102
117
|
"token": {
|
|
103
|
-
"name": "token",
|
|
104
|
-
"type": "option",
|
|
105
118
|
"char": "t",
|
|
106
119
|
"description": "Superblocks user API key",
|
|
107
|
-
"
|
|
120
|
+
"name": "token",
|
|
121
|
+
"hasDynamicHelp": false,
|
|
122
|
+
"multiple": false,
|
|
123
|
+
"type": "option"
|
|
108
124
|
}
|
|
109
125
|
},
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"id": "migrate",
|
|
114
|
-
"description": "Migrate files to use the current CLI version",
|
|
115
|
-
"strict": true,
|
|
116
|
-
"pluginName": "@superblocksteam/cli",
|
|
126
|
+
"hasDynamicHelp": false,
|
|
127
|
+
"hiddenAliases": [],
|
|
128
|
+
"id": "login",
|
|
117
129
|
"pluginAlias": "@superblocksteam/cli",
|
|
130
|
+
"pluginName": "@superblocksteam/cli",
|
|
118
131
|
"pluginType": "core",
|
|
132
|
+
"strict": true,
|
|
133
|
+
"enableJsonFlag": false,
|
|
134
|
+
"isESM": true,
|
|
135
|
+
"relativePath": [
|
|
136
|
+
"dist",
|
|
137
|
+
"commands",
|
|
138
|
+
"login.mjs"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
"migrate": {
|
|
119
142
|
"aliases": [],
|
|
143
|
+
"args": {},
|
|
144
|
+
"description": "Migrate files to use the current CLI version",
|
|
120
145
|
"examples": [
|
|
121
146
|
"<%= config.bin %> <%= command.id %>"
|
|
122
147
|
],
|
|
123
148
|
"flags": {},
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"id": "pull",
|
|
128
|
-
"description": "Download objects from Superblocks and save them locally",
|
|
129
|
-
"strict": true,
|
|
130
|
-
"pluginName": "@superblocksteam/cli",
|
|
149
|
+
"hasDynamicHelp": false,
|
|
150
|
+
"hiddenAliases": [],
|
|
151
|
+
"id": "migrate",
|
|
131
152
|
"pluginAlias": "@superblocksteam/cli",
|
|
153
|
+
"pluginName": "@superblocksteam/cli",
|
|
132
154
|
"pluginType": "core",
|
|
155
|
+
"strict": true,
|
|
156
|
+
"isESM": true,
|
|
157
|
+
"relativePath": [
|
|
158
|
+
"dist",
|
|
159
|
+
"commands",
|
|
160
|
+
"migrate.mjs"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"pull": {
|
|
133
164
|
"aliases": [],
|
|
165
|
+
"args": {
|
|
166
|
+
"resource_path": {
|
|
167
|
+
"description": "Superblocks resource location to pull (i.e. apps/my-app)",
|
|
168
|
+
"name": "resource_path",
|
|
169
|
+
"required": false
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"description": "Download objects from Superblocks and save them locally",
|
|
134
173
|
"examples": [
|
|
135
174
|
"<%= config.bin %> <%= command.id %>",
|
|
136
175
|
"<%= config.bin %> <%= command.id %> apps/my-app",
|
|
@@ -139,56 +178,66 @@
|
|
|
139
178
|
],
|
|
140
179
|
"flags": {
|
|
141
180
|
"mode": {
|
|
142
|
-
"name": "mode",
|
|
143
|
-
"type": "option",
|
|
144
181
|
"char": "m",
|
|
145
182
|
"description": "Pull mode",
|
|
183
|
+
"name": "mode",
|
|
184
|
+
"default": "latest-edits",
|
|
185
|
+
"hasDynamicHelp": false,
|
|
146
186
|
"multiple": false,
|
|
147
187
|
"options": [
|
|
148
188
|
"latest-edits",
|
|
149
189
|
"most-recent-commit",
|
|
150
190
|
"deployed"
|
|
151
191
|
],
|
|
152
|
-
"
|
|
192
|
+
"type": "option"
|
|
153
193
|
},
|
|
154
194
|
"branch": {
|
|
155
|
-
"name": "branch",
|
|
156
|
-
"type": "option",
|
|
157
195
|
"char": "b",
|
|
158
196
|
"description": "Superblocks branch to pull from, the current git branch will be used by default",
|
|
159
|
-
"
|
|
197
|
+
"name": "branch",
|
|
198
|
+
"hasDynamicHelp": false,
|
|
199
|
+
"multiple": false,
|
|
200
|
+
"type": "option"
|
|
160
201
|
},
|
|
161
202
|
"commit-id": {
|
|
162
|
-
"name": "commit-id",
|
|
163
|
-
"type": "option",
|
|
164
203
|
"char": "c",
|
|
165
204
|
"description": "Superblocks commit id to pull, the live edit will be used by default",
|
|
166
|
-
"
|
|
205
|
+
"name": "commit-id",
|
|
206
|
+
"hasDynamicHelp": false,
|
|
207
|
+
"multiple": false,
|
|
208
|
+
"type": "option"
|
|
167
209
|
},
|
|
168
210
|
"skip-signing-verification": {
|
|
169
|
-
"name": "skip-signing-verification",
|
|
170
|
-
"type": "boolean",
|
|
171
211
|
"char": "s",
|
|
172
212
|
"description": "If true, signature verification for signing enabled organizations will be skipped.",
|
|
173
|
-
"
|
|
213
|
+
"name": "skip-signing-verification",
|
|
214
|
+
"allowNo": false,
|
|
215
|
+
"type": "boolean"
|
|
174
216
|
}
|
|
175
217
|
},
|
|
218
|
+
"hasDynamicHelp": false,
|
|
219
|
+
"hiddenAliases": [],
|
|
220
|
+
"id": "pull",
|
|
221
|
+
"pluginAlias": "@superblocksteam/cli",
|
|
222
|
+
"pluginName": "@superblocksteam/cli",
|
|
223
|
+
"pluginType": "core",
|
|
224
|
+
"strict": true,
|
|
225
|
+
"isESM": true,
|
|
226
|
+
"relativePath": [
|
|
227
|
+
"dist",
|
|
228
|
+
"commands",
|
|
229
|
+
"pull.mjs"
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
"push": {
|
|
233
|
+
"aliases": [],
|
|
176
234
|
"args": {
|
|
177
235
|
"resource_path": {
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"required": false
|
|
236
|
+
"description": "Superblocks resource location to push (e.g. apps/my-app)",
|
|
237
|
+
"name": "resource_path"
|
|
181
238
|
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"push": {
|
|
185
|
-
"id": "push",
|
|
239
|
+
},
|
|
186
240
|
"description": "Import objects from local filesystem to Superblocks",
|
|
187
|
-
"strict": true,
|
|
188
|
-
"pluginName": "@superblocksteam/cli",
|
|
189
|
-
"pluginAlias": "@superblocksteam/cli",
|
|
190
|
-
"pluginType": "core",
|
|
191
|
-
"aliases": [],
|
|
192
241
|
"examples": [
|
|
193
242
|
"<%= config.bin %> <%= command.id %>",
|
|
194
243
|
"<%= config.bin %> <%= command.id %> apps/my-app",
|
|
@@ -197,141 +246,205 @@
|
|
|
197
246
|
],
|
|
198
247
|
"flags": {
|
|
199
248
|
"branch": {
|
|
200
|
-
"name": "branch",
|
|
201
|
-
"type": "option",
|
|
202
249
|
"char": "b",
|
|
203
250
|
"description": "Superblocks branch to push to, the current git branch will be used by default",
|
|
204
|
-
"
|
|
251
|
+
"name": "branch",
|
|
252
|
+
"hasDynamicHelp": false,
|
|
253
|
+
"multiple": false,
|
|
254
|
+
"type": "option"
|
|
205
255
|
},
|
|
206
256
|
"skip-commit": {
|
|
207
|
-
"name": "skip-commit",
|
|
208
|
-
"type": "boolean",
|
|
209
257
|
"char": "s",
|
|
210
258
|
"description": "If true, push command will only update live edit state along with signature without creating a commit.",
|
|
211
|
-
"
|
|
259
|
+
"name": "skip-commit",
|
|
260
|
+
"allowNo": false,
|
|
261
|
+
"type": "boolean"
|
|
212
262
|
}
|
|
213
263
|
},
|
|
264
|
+
"hasDynamicHelp": false,
|
|
265
|
+
"hiddenAliases": [],
|
|
266
|
+
"id": "push",
|
|
267
|
+
"pluginAlias": "@superblocksteam/cli",
|
|
268
|
+
"pluginName": "@superblocksteam/cli",
|
|
269
|
+
"pluginType": "core",
|
|
270
|
+
"strict": true,
|
|
271
|
+
"isESM": true,
|
|
272
|
+
"relativePath": [
|
|
273
|
+
"dist",
|
|
274
|
+
"commands",
|
|
275
|
+
"push.mjs"
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
"rm": {
|
|
279
|
+
"aliases": [],
|
|
214
280
|
"args": {
|
|
215
281
|
"resource_path": {
|
|
216
|
-
"
|
|
217
|
-
"
|
|
282
|
+
"description": "Superblocks resource location (i.e. apps/my-spectacular-app)",
|
|
283
|
+
"name": "resource_path"
|
|
218
284
|
}
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
"rm": {
|
|
222
|
-
"id": "rm",
|
|
285
|
+
},
|
|
223
286
|
"description": "Remove a Superblocks resource from the local Superblocks project and delete the resource folder directory locally (if it exists)",
|
|
224
|
-
"strict": true,
|
|
225
|
-
"pluginName": "@superblocksteam/cli",
|
|
226
|
-
"pluginAlias": "@superblocksteam/cli",
|
|
227
|
-
"pluginType": "core",
|
|
228
|
-
"aliases": [],
|
|
229
287
|
"examples": [
|
|
230
288
|
"<%= config.bin %> <%= command.id %>",
|
|
231
289
|
"<%= config.bin %> <%= command.id %> apps/my-spectacular-app"
|
|
232
290
|
],
|
|
233
291
|
"flags": {},
|
|
292
|
+
"hasDynamicHelp": false,
|
|
293
|
+
"hiddenAliases": [],
|
|
294
|
+
"id": "rm",
|
|
295
|
+
"pluginAlias": "@superblocksteam/cli",
|
|
296
|
+
"pluginName": "@superblocksteam/cli",
|
|
297
|
+
"pluginType": "core",
|
|
298
|
+
"strict": true,
|
|
299
|
+
"isESM": true,
|
|
300
|
+
"relativePath": [
|
|
301
|
+
"dist",
|
|
302
|
+
"commands",
|
|
303
|
+
"rm.mjs"
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
"config:set": {
|
|
307
|
+
"aliases": [],
|
|
234
308
|
"args": {
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
309
|
+
"property": {
|
|
310
|
+
"description": "Superblocks config name, e.g. domain",
|
|
311
|
+
"name": "property",
|
|
312
|
+
"options": [
|
|
313
|
+
"domain"
|
|
314
|
+
],
|
|
315
|
+
"required": true
|
|
316
|
+
},
|
|
317
|
+
"value": {
|
|
318
|
+
"description": "Superblocks config value",
|
|
319
|
+
"name": "value",
|
|
320
|
+
"required": true
|
|
238
321
|
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
"
|
|
322
|
+
},
|
|
323
|
+
"description": "Sets the specified property in your Superblocks configuration. A property governs the behavior of the Superblocks CLI, such as Superblocks region to interact with",
|
|
324
|
+
"examples": [
|
|
325
|
+
"<%= config.bin %> <%= command.id %> domain eu.superblocks.com",
|
|
326
|
+
"<%= config.bin %> <%= command.id %> domain app.superblocks.com"
|
|
327
|
+
],
|
|
328
|
+
"flags": {},
|
|
329
|
+
"hasDynamicHelp": false,
|
|
330
|
+
"hiddenAliases": [],
|
|
331
|
+
"id": "config:set",
|
|
246
332
|
"pluginAlias": "@superblocksteam/cli",
|
|
333
|
+
"pluginName": "@superblocksteam/cli",
|
|
247
334
|
"pluginType": "core",
|
|
335
|
+
"strict": true,
|
|
336
|
+
"enableJsonFlag": false,
|
|
337
|
+
"isESM": true,
|
|
338
|
+
"relativePath": [
|
|
339
|
+
"dist",
|
|
340
|
+
"commands",
|
|
341
|
+
"config",
|
|
342
|
+
"set.mjs"
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
"components:create": {
|
|
248
346
|
"aliases": [],
|
|
347
|
+
"args": {},
|
|
348
|
+
"description": "Creates a new Superblocks component in the current application folder",
|
|
249
349
|
"flags": {
|
|
250
350
|
"example": {
|
|
251
|
-
"name": "example",
|
|
252
|
-
"type": "boolean",
|
|
253
351
|
"description": "Create example component",
|
|
254
|
-
"
|
|
352
|
+
"name": "example",
|
|
353
|
+
"allowNo": false,
|
|
354
|
+
"type": "boolean"
|
|
255
355
|
}
|
|
256
356
|
},
|
|
257
|
-
"
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
"id": "components:register",
|
|
261
|
-
"description": "Registers all local component config files",
|
|
262
|
-
"strict": true,
|
|
263
|
-
"pluginName": "@superblocksteam/cli",
|
|
357
|
+
"hasDynamicHelp": false,
|
|
358
|
+
"hiddenAliases": [],
|
|
359
|
+
"id": "components:create",
|
|
264
360
|
"pluginAlias": "@superblocksteam/cli",
|
|
361
|
+
"pluginName": "@superblocksteam/cli",
|
|
265
362
|
"pluginType": "core",
|
|
363
|
+
"strict": true,
|
|
364
|
+
"isESM": true,
|
|
365
|
+
"relativePath": [
|
|
366
|
+
"dist",
|
|
367
|
+
"commands",
|
|
368
|
+
"components",
|
|
369
|
+
"create.mjs"
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
"components:register": {
|
|
266
373
|
"aliases": [],
|
|
374
|
+
"args": {},
|
|
375
|
+
"description": "Registers all local component config files",
|
|
267
376
|
"examples": [
|
|
268
377
|
"superblocks components register"
|
|
269
378
|
],
|
|
270
379
|
"flags": {},
|
|
271
|
-
"
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
"id": "components:upload",
|
|
275
|
-
"description": "Upload creates a production-ready bundle and saves the files for use outside of Local Development mode.",
|
|
276
|
-
"strict": true,
|
|
277
|
-
"pluginName": "@superblocksteam/cli",
|
|
380
|
+
"hasDynamicHelp": false,
|
|
381
|
+
"hiddenAliases": [],
|
|
382
|
+
"id": "components:register",
|
|
278
383
|
"pluginAlias": "@superblocksteam/cli",
|
|
384
|
+
"pluginName": "@superblocksteam/cli",
|
|
279
385
|
"pluginType": "core",
|
|
386
|
+
"strict": true,
|
|
387
|
+
"isESM": true,
|
|
388
|
+
"relativePath": [
|
|
389
|
+
"dist",
|
|
390
|
+
"commands",
|
|
391
|
+
"components",
|
|
392
|
+
"register.mjs"
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
"components:upload": {
|
|
280
396
|
"aliases": [],
|
|
397
|
+
"args": {},
|
|
398
|
+
"description": "Upload creates a production-ready bundle and saves the files for use outside of Local Development mode.",
|
|
281
399
|
"examples": [
|
|
282
400
|
"<%= config.bin %> components upload",
|
|
283
401
|
"<%= config.bin %> components upload -b feature-branch"
|
|
284
402
|
],
|
|
285
403
|
"flags": {
|
|
286
404
|
"branch": {
|
|
287
|
-
"name": "branch",
|
|
288
|
-
"type": "option",
|
|
289
405
|
"char": "b",
|
|
290
406
|
"description": "Superblocks branch to push to, the current (local) git branch will be used by default",
|
|
291
|
-
"
|
|
407
|
+
"name": "branch",
|
|
408
|
+
"hasDynamicHelp": false,
|
|
409
|
+
"multiple": false,
|
|
410
|
+
"type": "option"
|
|
292
411
|
}
|
|
293
412
|
},
|
|
294
|
-
"
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
"id": "components:watch",
|
|
298
|
-
"description": "watch for changes to your custom components",
|
|
299
|
-
"strict": true,
|
|
300
|
-
"pluginName": "@superblocksteam/cli",
|
|
413
|
+
"hasDynamicHelp": false,
|
|
414
|
+
"hiddenAliases": [],
|
|
415
|
+
"id": "components:upload",
|
|
301
416
|
"pluginAlias": "@superblocksteam/cli",
|
|
417
|
+
"pluginName": "@superblocksteam/cli",
|
|
302
418
|
"pluginType": "core",
|
|
419
|
+
"strict": true,
|
|
420
|
+
"isESM": true,
|
|
421
|
+
"relativePath": [
|
|
422
|
+
"dist",
|
|
423
|
+
"commands",
|
|
424
|
+
"components",
|
|
425
|
+
"upload.mjs"
|
|
426
|
+
]
|
|
427
|
+
},
|
|
428
|
+
"components:watch": {
|
|
303
429
|
"aliases": [],
|
|
430
|
+
"args": {},
|
|
431
|
+
"description": "watch for changes to your custom components",
|
|
304
432
|
"flags": {},
|
|
305
|
-
"
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
"id": "config:set",
|
|
309
|
-
"description": "Sets the specified property in your Superblocks configuration. A property governs the behavior of the Superblocks CLI, such as Superblocks region to interact with",
|
|
310
|
-
"strict": true,
|
|
311
|
-
"pluginName": "@superblocksteam/cli",
|
|
433
|
+
"hasDynamicHelp": false,
|
|
434
|
+
"hiddenAliases": [],
|
|
435
|
+
"id": "components:watch",
|
|
312
436
|
"pluginAlias": "@superblocksteam/cli",
|
|
437
|
+
"pluginName": "@superblocksteam/cli",
|
|
313
438
|
"pluginType": "core",
|
|
314
|
-
"
|
|
315
|
-
"
|
|
316
|
-
|
|
317
|
-
"
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
"name": "property",
|
|
323
|
-
"description": "Superblocks config name, e.g. domain",
|
|
324
|
-
"required": true,
|
|
325
|
-
"options": [
|
|
326
|
-
"domain"
|
|
327
|
-
]
|
|
328
|
-
},
|
|
329
|
-
"value": {
|
|
330
|
-
"name": "value",
|
|
331
|
-
"description": "Superblocks config value",
|
|
332
|
-
"required": true
|
|
333
|
-
}
|
|
334
|
-
}
|
|
439
|
+
"strict": true,
|
|
440
|
+
"isESM": true,
|
|
441
|
+
"relativePath": [
|
|
442
|
+
"dist",
|
|
443
|
+
"commands",
|
|
444
|
+
"components",
|
|
445
|
+
"watch.mjs"
|
|
446
|
+
]
|
|
335
447
|
}
|
|
336
|
-
}
|
|
448
|
+
},
|
|
449
|
+
"version": "1.13.0"
|
|
337
450
|
}
|