@contentstack/cli-config 2.0.0-beta.2 → 2.0.0-beta.3

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/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-config
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (--version)
21
- @contentstack/cli-config/2.0.0-beta.2 linux-x64 node-v22.22.0
21
+ @contentstack/cli-config/2.0.0-beta.3 linux-x64 node-v22.22.0
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -146,6 +146,145 @@
146
146
  "region.js"
147
147
  ]
148
148
  },
149
+ "config:remove:base-branch": {
150
+ "aliases": [],
151
+ "args": {},
152
+ "description": "Remove branch config for CLI",
153
+ "examples": [
154
+ "$ csdx config:remove:base-branch",
155
+ "$ csdx config:remove:base-branch --stack-api-key <value>"
156
+ ],
157
+ "flags": {
158
+ "stack-api-key": {
159
+ "char": "k",
160
+ "description": "Stack API key.",
161
+ "name": "stack-api-key",
162
+ "hasDynamicHelp": false,
163
+ "multiple": false,
164
+ "type": "option"
165
+ },
166
+ "yes": {
167
+ "char": "y",
168
+ "description": "Force remove.",
169
+ "name": "yes",
170
+ "allowNo": false,
171
+ "type": "boolean"
172
+ }
173
+ },
174
+ "hasDynamicHelp": false,
175
+ "hiddenAliases": [],
176
+ "id": "config:remove:base-branch",
177
+ "pluginAlias": "@contentstack/cli-config",
178
+ "pluginName": "@contentstack/cli-config",
179
+ "pluginType": "core",
180
+ "strict": true,
181
+ "isESM": false,
182
+ "relativePath": [
183
+ "lib",
184
+ "commands",
185
+ "config",
186
+ "remove",
187
+ "base-branch.js"
188
+ ]
189
+ },
190
+ "config:remove:early-access-header": {
191
+ "aliases": [
192
+ "config:remove:ea-header"
193
+ ],
194
+ "args": {},
195
+ "description": "Remove Early Access header",
196
+ "examples": [
197
+ "$ <%= config.bin %> <%= command.id %>",
198
+ "$ <%= config.bin %> <%= command.id %> --header-alias <value>"
199
+ ],
200
+ "flags": {
201
+ "header-alias": {
202
+ "description": "(optional) Provide the Early Access header alias name.",
203
+ "name": "header-alias",
204
+ "hasDynamicHelp": false,
205
+ "multiple": false,
206
+ "type": "option"
207
+ },
208
+ "yes": {
209
+ "char": "y",
210
+ "description": "(optional) Force the removal of Early Access header configuration by skipping the confirmation.",
211
+ "name": "yes",
212
+ "allowNo": false,
213
+ "type": "boolean"
214
+ }
215
+ },
216
+ "hasDynamicHelp": false,
217
+ "hiddenAliases": [],
218
+ "id": "config:remove:early-access-header",
219
+ "pluginAlias": "@contentstack/cli-config",
220
+ "pluginName": "@contentstack/cli-config",
221
+ "pluginType": "core",
222
+ "strict": true,
223
+ "isESM": false,
224
+ "relativePath": [
225
+ "lib",
226
+ "commands",
227
+ "config",
228
+ "remove",
229
+ "early-access-header.js"
230
+ ]
231
+ },
232
+ "config:remove:proxy": {
233
+ "aliases": [],
234
+ "args": {},
235
+ "description": "Remove proxy configuration from global config",
236
+ "examples": [
237
+ "csdx config:remove:proxy"
238
+ ],
239
+ "flags": {},
240
+ "hasDynamicHelp": false,
241
+ "hiddenAliases": [],
242
+ "id": "config:remove:proxy",
243
+ "pluginAlias": "@contentstack/cli-config",
244
+ "pluginName": "@contentstack/cli-config",
245
+ "pluginType": "core",
246
+ "strict": true,
247
+ "isESM": false,
248
+ "relativePath": [
249
+ "lib",
250
+ "commands",
251
+ "config",
252
+ "remove",
253
+ "proxy.js"
254
+ ]
255
+ },
256
+ "config:remove:rate-limit": {
257
+ "aliases": [],
258
+ "args": {},
259
+ "description": "Remove rate-limit of the organization",
260
+ "examples": [
261
+ "$ csdx config:remove:rate-limit --org <<org_uid>>"
262
+ ],
263
+ "flags": {
264
+ "org": {
265
+ "description": "Provide the organization UID",
266
+ "name": "org",
267
+ "hasDynamicHelp": false,
268
+ "multiple": false,
269
+ "type": "option"
270
+ }
271
+ },
272
+ "hasDynamicHelp": false,
273
+ "hiddenAliases": [],
274
+ "id": "config:remove:rate-limit",
275
+ "pluginAlias": "@contentstack/cli-config",
276
+ "pluginName": "@contentstack/cli-config",
277
+ "pluginType": "core",
278
+ "strict": true,
279
+ "isESM": false,
280
+ "relativePath": [
281
+ "lib",
282
+ "commands",
283
+ "config",
284
+ "remove",
285
+ "rate-limit.js"
286
+ ]
287
+ },
149
288
  "config:set:base-branch": {
150
289
  "aliases": [],
151
290
  "args": {},
@@ -532,146 +671,7 @@
532
671
  "set",
533
672
  "region.js"
534
673
  ]
535
- },
536
- "config:remove:base-branch": {
537
- "aliases": [],
538
- "args": {},
539
- "description": "Remove branch config for CLI",
540
- "examples": [
541
- "$ csdx config:remove:base-branch",
542
- "$ csdx config:remove:base-branch --stack-api-key <value>"
543
- ],
544
- "flags": {
545
- "stack-api-key": {
546
- "char": "k",
547
- "description": "Stack API key.",
548
- "name": "stack-api-key",
549
- "hasDynamicHelp": false,
550
- "multiple": false,
551
- "type": "option"
552
- },
553
- "yes": {
554
- "char": "y",
555
- "description": "Force remove.",
556
- "name": "yes",
557
- "allowNo": false,
558
- "type": "boolean"
559
- }
560
- },
561
- "hasDynamicHelp": false,
562
- "hiddenAliases": [],
563
- "id": "config:remove:base-branch",
564
- "pluginAlias": "@contentstack/cli-config",
565
- "pluginName": "@contentstack/cli-config",
566
- "pluginType": "core",
567
- "strict": true,
568
- "isESM": false,
569
- "relativePath": [
570
- "lib",
571
- "commands",
572
- "config",
573
- "remove",
574
- "base-branch.js"
575
- ]
576
- },
577
- "config:remove:early-access-header": {
578
- "aliases": [
579
- "config:remove:ea-header"
580
- ],
581
- "args": {},
582
- "description": "Remove Early Access header",
583
- "examples": [
584
- "$ <%= config.bin %> <%= command.id %>",
585
- "$ <%= config.bin %> <%= command.id %> --header-alias <value>"
586
- ],
587
- "flags": {
588
- "header-alias": {
589
- "description": "(optional) Provide the Early Access header alias name.",
590
- "name": "header-alias",
591
- "hasDynamicHelp": false,
592
- "multiple": false,
593
- "type": "option"
594
- },
595
- "yes": {
596
- "char": "y",
597
- "description": "(optional) Force the removal of Early Access header configuration by skipping the confirmation.",
598
- "name": "yes",
599
- "allowNo": false,
600
- "type": "boolean"
601
- }
602
- },
603
- "hasDynamicHelp": false,
604
- "hiddenAliases": [],
605
- "id": "config:remove:early-access-header",
606
- "pluginAlias": "@contentstack/cli-config",
607
- "pluginName": "@contentstack/cli-config",
608
- "pluginType": "core",
609
- "strict": true,
610
- "isESM": false,
611
- "relativePath": [
612
- "lib",
613
- "commands",
614
- "config",
615
- "remove",
616
- "early-access-header.js"
617
- ]
618
- },
619
- "config:remove:proxy": {
620
- "aliases": [],
621
- "args": {},
622
- "description": "Remove proxy configuration from global config",
623
- "examples": [
624
- "csdx config:remove:proxy"
625
- ],
626
- "flags": {},
627
- "hasDynamicHelp": false,
628
- "hiddenAliases": [],
629
- "id": "config:remove:proxy",
630
- "pluginAlias": "@contentstack/cli-config",
631
- "pluginName": "@contentstack/cli-config",
632
- "pluginType": "core",
633
- "strict": true,
634
- "isESM": false,
635
- "relativePath": [
636
- "lib",
637
- "commands",
638
- "config",
639
- "remove",
640
- "proxy.js"
641
- ]
642
- },
643
- "config:remove:rate-limit": {
644
- "aliases": [],
645
- "args": {},
646
- "description": "Remove rate-limit of the organization",
647
- "examples": [
648
- "$ csdx config:remove:rate-limit --org <<org_uid>>"
649
- ],
650
- "flags": {
651
- "org": {
652
- "description": "Provide the organization UID",
653
- "name": "org",
654
- "hasDynamicHelp": false,
655
- "multiple": false,
656
- "type": "option"
657
- }
658
- },
659
- "hasDynamicHelp": false,
660
- "hiddenAliases": [],
661
- "id": "config:remove:rate-limit",
662
- "pluginAlias": "@contentstack/cli-config",
663
- "pluginName": "@contentstack/cli-config",
664
- "pluginType": "core",
665
- "strict": true,
666
- "isESM": false,
667
- "relativePath": [
668
- "lib",
669
- "commands",
670
- "config",
671
- "remove",
672
- "rate-limit.js"
673
- ]
674
674
  }
675
675
  },
676
- "version": "2.0.0-beta.2"
676
+ "version": "2.0.0-beta.3"
677
677
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@contentstack/cli-config",
3
3
  "description": "Contentstack CLI plugin for configuration",
4
- "version": "2.0.0-beta.2",
4
+ "version": "2.0.0-beta.3",
5
5
  "author": "Contentstack",
6
6
  "scripts": {
7
- "build": "npm run clean && npm run compile",
8
- "clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
7
+ "build": "pnpm compile && oclif manifest && oclif readme",
8
+ "clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
9
9
  "compile": "tsc -b tsconfig.json",
10
10
  "postpack": "rm -f oclif.manifest.json",
11
11
  "prepack": "pnpm compile && oclif manifest && oclif readme",
@@ -21,8 +21,8 @@
21
21
  "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
22
22
  },
23
23
  "dependencies": {
24
- "@contentstack/cli-command": "~2.0.0-beta",
25
- "@contentstack/cli-utilities": "~2.0.0-beta.1",
24
+ "@contentstack/cli-command": "~2.0.0-beta.2",
25
+ "@contentstack/cli-utilities": "~2.0.0-beta.2",
26
26
  "@contentstack/utils": "~1.7.0",
27
27
  "@oclif/core": "^4.8.1",
28
28
  "@oclif/plugin-help": "^6.2.28",
@@ -81,4 +81,4 @@
81
81
  }
82
82
  },
83
83
  "repository": "contentstack/cli"
84
- }
84
+ }