@superblocksteam/cli 1.10.0 → 1.12.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/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 +274 -161
- 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": {},
|
|
234
|
-
"
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
"description": "Superblocks resource location (i.e. apps/my-spectacular-app)"
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
"components:create": {
|
|
242
|
-
"id": "components:create",
|
|
243
|
-
"description": "Creates a new Superblocks component in the current application folder",
|
|
244
|
-
"strict": true,
|
|
245
|
-
"pluginName": "@superblocksteam/cli",
|
|
292
|
+
"hasDynamicHelp": false,
|
|
293
|
+
"hiddenAliases": [],
|
|
294
|
+
"id": "rm",
|
|
246
295
|
"pluginAlias": "@superblocksteam/cli",
|
|
296
|
+
"pluginName": "@superblocksteam/cli",
|
|
247
297
|
"pluginType": "core",
|
|
298
|
+
"strict": true,
|
|
299
|
+
"isESM": true,
|
|
300
|
+
"relativePath": [
|
|
301
|
+
"dist",
|
|
302
|
+
"commands",
|
|
303
|
+
"rm.mjs"
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
"components:create": {
|
|
248
307
|
"aliases": [],
|
|
308
|
+
"args": {},
|
|
309
|
+
"description": "Creates a new Superblocks component in the current application folder",
|
|
249
310
|
"flags": {
|
|
250
311
|
"example": {
|
|
251
|
-
"name": "example",
|
|
252
|
-
"type": "boolean",
|
|
253
312
|
"description": "Create example component",
|
|
254
|
-
"
|
|
313
|
+
"name": "example",
|
|
314
|
+
"allowNo": false,
|
|
315
|
+
"type": "boolean"
|
|
255
316
|
}
|
|
256
317
|
},
|
|
257
|
-
"
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
"id": "components:register",
|
|
261
|
-
"description": "Registers all local component config files",
|
|
262
|
-
"strict": true,
|
|
263
|
-
"pluginName": "@superblocksteam/cli",
|
|
318
|
+
"hasDynamicHelp": false,
|
|
319
|
+
"hiddenAliases": [],
|
|
320
|
+
"id": "components:create",
|
|
264
321
|
"pluginAlias": "@superblocksteam/cli",
|
|
322
|
+
"pluginName": "@superblocksteam/cli",
|
|
265
323
|
"pluginType": "core",
|
|
324
|
+
"strict": true,
|
|
325
|
+
"isESM": true,
|
|
326
|
+
"relativePath": [
|
|
327
|
+
"dist",
|
|
328
|
+
"commands",
|
|
329
|
+
"components",
|
|
330
|
+
"create.mjs"
|
|
331
|
+
]
|
|
332
|
+
},
|
|
333
|
+
"components:register": {
|
|
266
334
|
"aliases": [],
|
|
335
|
+
"args": {},
|
|
336
|
+
"description": "Registers all local component config files",
|
|
267
337
|
"examples": [
|
|
268
338
|
"superblocks components register"
|
|
269
339
|
],
|
|
270
340
|
"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",
|
|
341
|
+
"hasDynamicHelp": false,
|
|
342
|
+
"hiddenAliases": [],
|
|
343
|
+
"id": "components:register",
|
|
278
344
|
"pluginAlias": "@superblocksteam/cli",
|
|
345
|
+
"pluginName": "@superblocksteam/cli",
|
|
279
346
|
"pluginType": "core",
|
|
347
|
+
"strict": true,
|
|
348
|
+
"isESM": true,
|
|
349
|
+
"relativePath": [
|
|
350
|
+
"dist",
|
|
351
|
+
"commands",
|
|
352
|
+
"components",
|
|
353
|
+
"register.mjs"
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
"components:upload": {
|
|
280
357
|
"aliases": [],
|
|
358
|
+
"args": {},
|
|
359
|
+
"description": "Upload creates a production-ready bundle and saves the files for use outside of Local Development mode.",
|
|
281
360
|
"examples": [
|
|
282
361
|
"<%= config.bin %> components upload",
|
|
283
362
|
"<%= config.bin %> components upload -b feature-branch"
|
|
284
363
|
],
|
|
285
364
|
"flags": {
|
|
286
365
|
"branch": {
|
|
287
|
-
"name": "branch",
|
|
288
|
-
"type": "option",
|
|
289
366
|
"char": "b",
|
|
290
367
|
"description": "Superblocks branch to push to, the current (local) git branch will be used by default",
|
|
291
|
-
"
|
|
368
|
+
"name": "branch",
|
|
369
|
+
"hasDynamicHelp": false,
|
|
370
|
+
"multiple": false,
|
|
371
|
+
"type": "option"
|
|
292
372
|
}
|
|
293
373
|
},
|
|
294
|
-
"
|
|
374
|
+
"hasDynamicHelp": false,
|
|
375
|
+
"hiddenAliases": [],
|
|
376
|
+
"id": "components:upload",
|
|
377
|
+
"pluginAlias": "@superblocksteam/cli",
|
|
378
|
+
"pluginName": "@superblocksteam/cli",
|
|
379
|
+
"pluginType": "core",
|
|
380
|
+
"strict": true,
|
|
381
|
+
"isESM": true,
|
|
382
|
+
"relativePath": [
|
|
383
|
+
"dist",
|
|
384
|
+
"commands",
|
|
385
|
+
"components",
|
|
386
|
+
"upload.mjs"
|
|
387
|
+
]
|
|
295
388
|
},
|
|
296
389
|
"components:watch": {
|
|
297
|
-
"
|
|
390
|
+
"aliases": [],
|
|
391
|
+
"args": {},
|
|
298
392
|
"description": "watch for changes to your custom components",
|
|
299
|
-
"
|
|
300
|
-
"
|
|
393
|
+
"flags": {},
|
|
394
|
+
"hasDynamicHelp": false,
|
|
395
|
+
"hiddenAliases": [],
|
|
396
|
+
"id": "components:watch",
|
|
301
397
|
"pluginAlias": "@superblocksteam/cli",
|
|
398
|
+
"pluginName": "@superblocksteam/cli",
|
|
302
399
|
"pluginType": "core",
|
|
303
|
-
"
|
|
304
|
-
"
|
|
305
|
-
"
|
|
400
|
+
"strict": true,
|
|
401
|
+
"isESM": true,
|
|
402
|
+
"relativePath": [
|
|
403
|
+
"dist",
|
|
404
|
+
"commands",
|
|
405
|
+
"components",
|
|
406
|
+
"watch.mjs"
|
|
407
|
+
]
|
|
306
408
|
},
|
|
307
409
|
"config:set": {
|
|
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",
|
|
312
|
-
"pluginAlias": "@superblocksteam/cli",
|
|
313
|
-
"pluginType": "core",
|
|
314
410
|
"aliases": [],
|
|
315
|
-
"examples": [
|
|
316
|
-
"<%= config.bin %> <%= command.id %> domain eu.superblocks.com",
|
|
317
|
-
"<%= config.bin %> <%= command.id %> domain app.superblocks.com"
|
|
318
|
-
],
|
|
319
|
-
"flags": {},
|
|
320
411
|
"args": {
|
|
321
412
|
"property": {
|
|
322
|
-
"name": "property",
|
|
323
413
|
"description": "Superblocks config name, e.g. domain",
|
|
324
|
-
"
|
|
414
|
+
"name": "property",
|
|
325
415
|
"options": [
|
|
326
416
|
"domain"
|
|
327
|
-
]
|
|
417
|
+
],
|
|
418
|
+
"required": true
|
|
328
419
|
},
|
|
329
420
|
"value": {
|
|
330
|
-
"name": "value",
|
|
331
421
|
"description": "Superblocks config value",
|
|
422
|
+
"name": "value",
|
|
332
423
|
"required": true
|
|
333
424
|
}
|
|
334
|
-
}
|
|
425
|
+
},
|
|
426
|
+
"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",
|
|
427
|
+
"examples": [
|
|
428
|
+
"<%= config.bin %> <%= command.id %> domain eu.superblocks.com",
|
|
429
|
+
"<%= config.bin %> <%= command.id %> domain app.superblocks.com"
|
|
430
|
+
],
|
|
431
|
+
"flags": {},
|
|
432
|
+
"hasDynamicHelp": false,
|
|
433
|
+
"hiddenAliases": [],
|
|
434
|
+
"id": "config:set",
|
|
435
|
+
"pluginAlias": "@superblocksteam/cli",
|
|
436
|
+
"pluginName": "@superblocksteam/cli",
|
|
437
|
+
"pluginType": "core",
|
|
438
|
+
"strict": true,
|
|
439
|
+
"enableJsonFlag": false,
|
|
440
|
+
"isESM": true,
|
|
441
|
+
"relativePath": [
|
|
442
|
+
"dist",
|
|
443
|
+
"commands",
|
|
444
|
+
"config",
|
|
445
|
+
"set.mjs"
|
|
446
|
+
]
|
|
335
447
|
}
|
|
336
|
-
}
|
|
448
|
+
},
|
|
449
|
+
"version": "1.12.0"
|
|
337
450
|
}
|