@knocklabs/cli 1.1.1 → 1.2.2

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.
Files changed (42) hide show
  1. package/README.md +297 -170
  2. package/dist/commands/audience/new.js +2 -2
  3. package/dist/commands/branch/rebase.js +65 -0
  4. package/dist/commands/commit/index.js +15 -11
  5. package/dist/commands/commit/list.js +2 -8
  6. package/dist/commands/guide/get.js +6 -0
  7. package/dist/commands/guide/list.js +6 -0
  8. package/dist/commands/guide/push.js +1 -0
  9. package/dist/commands/layout/push.js +1 -0
  10. package/dist/commands/message-type/push.js +1 -0
  11. package/dist/commands/partial/push.js +1 -0
  12. package/dist/commands/push.js +4 -0
  13. package/dist/commands/schema/pull.js +197 -0
  14. package/dist/commands/schema/push.js +203 -0
  15. package/dist/commands/source/get.js +180 -0
  16. package/dist/commands/source/list.js +96 -0
  17. package/dist/commands/translation/push.js +1 -0
  18. package/dist/commands/whoami.js +8 -2
  19. package/dist/commands/workflow/get.js +6 -0
  20. package/dist/commands/workflow/list.js +6 -0
  21. package/dist/commands/workflow/push.js +1 -0
  22. package/dist/commands/workflow/run.js +6 -0
  23. package/dist/help.js +74 -0
  24. package/dist/lib/api-v1.js +78 -1
  25. package/dist/lib/auth.js +3 -2
  26. package/dist/lib/helpers/flag.js +15 -0
  27. package/dist/lib/marshal/guide/helpers.js +11 -0
  28. package/dist/lib/marshal/schema/helpers.js +142 -0
  29. package/dist/lib/marshal/schema/index.js +21 -0
  30. package/dist/lib/marshal/schema/reader.js +177 -0
  31. package/dist/lib/marshal/schema/types.js +15 -0
  32. package/dist/lib/marshal/schema/writer.js +154 -0
  33. package/dist/lib/marshal/shared/helpers.js +30 -14
  34. package/dist/lib/marshal/source/helpers.js +28 -0
  35. package/dist/lib/marshal/source/index.js +19 -0
  36. package/dist/lib/marshal/source/types.js +4 -0
  37. package/dist/lib/marshal/workflow/generator.js +11 -8
  38. package/dist/lib/marshal/workflow/helpers.js +10 -6
  39. package/dist/lib/resources.js +11 -0
  40. package/npm-shrinkwrap.json +10698 -0
  41. package/oclif.manifest.json +448 -11
  42. package/package.json +22 -15
@@ -290,6 +290,15 @@
290
290
  "multiple": false,
291
291
  "type": "option"
292
292
  },
293
+ "allow-empty": {
294
+ "dependsOn": [
295
+ "commit"
296
+ ],
297
+ "name": "allow-empty",
298
+ "summary": "Create an empty commit for an already-published resource (analogous to git commit --allow-empty).",
299
+ "allowNo": false,
300
+ "type": "boolean"
301
+ },
293
302
  "force": {
294
303
  "name": "force",
295
304
  "summary": "Force pushes the resource or resources to Knock, overwriting whatever is currently stored. If you're using this on a non-development environment, you should also ensure you `commit` the changes.",
@@ -349,7 +358,7 @@
349
358
  "pluginName": "@knocklabs/cli",
350
359
  "pluginType": "core",
351
360
  "strict": true,
352
- "summary": "Verify the provided service token.",
361
+ "summary": "Verify authentication and show the current account and user.",
353
362
  "enableJsonFlag": true,
354
363
  "isESM": false,
355
364
  "relativePath": [
@@ -625,7 +634,7 @@
625
634
  "type": {
626
635
  "char": "t",
627
636
  "name": "type",
628
- "summary": "The type of the audience (static, dynamic). Note: dynamic is in beta and requires access.",
637
+ "summary": "The type of the audience (static, dynamic).",
629
638
  "hasDynamicHelp": false,
630
639
  "multiple": false,
631
640
  "options": [
@@ -1273,6 +1282,64 @@
1273
1282
  "merge.js"
1274
1283
  ]
1275
1284
  },
1285
+ "branch:rebase": {
1286
+ "aliases": [],
1287
+ "args": {
1288
+ "slug": {
1289
+ "description": "The slug of the branch to rebase",
1290
+ "name": "slug",
1291
+ "required": true
1292
+ }
1293
+ },
1294
+ "flags": {
1295
+ "json": {
1296
+ "description": "Format output as json.",
1297
+ "helpGroup": "GLOBAL",
1298
+ "name": "json",
1299
+ "allowNo": false,
1300
+ "type": "boolean"
1301
+ },
1302
+ "service-token": {
1303
+ "env": "KNOCK_SERVICE_TOKEN",
1304
+ "name": "service-token",
1305
+ "required": false,
1306
+ "summary": "The service token to authenticate with.",
1307
+ "hasDynamicHelp": false,
1308
+ "multiple": false,
1309
+ "type": "option"
1310
+ },
1311
+ "api-origin": {
1312
+ "hidden": true,
1313
+ "name": "api-origin",
1314
+ "required": false,
1315
+ "hasDynamicHelp": false,
1316
+ "multiple": false,
1317
+ "type": "option"
1318
+ },
1319
+ "force": {
1320
+ "name": "force",
1321
+ "summary": "Remove the confirmation prompt.",
1322
+ "allowNo": false,
1323
+ "type": "boolean"
1324
+ }
1325
+ },
1326
+ "hasDynamicHelp": false,
1327
+ "hiddenAliases": [],
1328
+ "id": "branch:rebase",
1329
+ "pluginAlias": "@knocklabs/cli",
1330
+ "pluginName": "@knocklabs/cli",
1331
+ "pluginType": "core",
1332
+ "strict": true,
1333
+ "summary": "Rebases a branch onto the development environment, bringing in changes from main while preserving branch commits.",
1334
+ "enableJsonFlag": true,
1335
+ "isESM": false,
1336
+ "relativePath": [
1337
+ "dist",
1338
+ "commands",
1339
+ "branch",
1340
+ "rebase.js"
1341
+ ]
1342
+ },
1276
1343
  "branch:switch": {
1277
1344
  "aliases": [],
1278
1345
  "args": {
@@ -1480,18 +1547,25 @@
1480
1547
  "allowNo": false,
1481
1548
  "type": "boolean"
1482
1549
  },
1550
+ "allow-empty": {
1551
+ "name": "allow-empty",
1552
+ "summary": "Create an empty commit for an already-published resource (analogous to git commit --allow-empty). Requires --resource-type and --resource-id.",
1553
+ "allowNo": false,
1554
+ "type": "boolean"
1555
+ },
1483
1556
  "resource-type": {
1484
1557
  "name": "resource-type",
1485
1558
  "summary": "Commit only changes for the given resource type. Can be used alone or together with --resource-id.",
1486
1559
  "hasDynamicHelp": false,
1487
1560
  "multiple": false,
1488
1561
  "options": [
1562
+ "audience",
1563
+ "partial",
1489
1564
  "email_layout",
1490
- "guide",
1565
+ "workflow",
1491
1566
  "message_type",
1492
- "partial",
1493
- "translation",
1494
- "workflow"
1567
+ "guide",
1568
+ "translation"
1495
1569
  ],
1496
1570
  "type": "option"
1497
1571
  },
@@ -1575,12 +1649,13 @@
1575
1649
  "hasDynamicHelp": false,
1576
1650
  "multiple": true,
1577
1651
  "options": [
1652
+ "audience",
1653
+ "partial",
1578
1654
  "email_layout",
1579
- "guide",
1655
+ "workflow",
1580
1656
  "message_type",
1581
- "partial",
1582
- "translation",
1583
- "workflow"
1657
+ "guide",
1658
+ "translation"
1584
1659
  ],
1585
1660
  "type": "option"
1586
1661
  },
@@ -2377,6 +2452,15 @@
2377
2452
  "multiple": false,
2378
2453
  "type": "option"
2379
2454
  },
2455
+ "allow-empty": {
2456
+ "dependsOn": [
2457
+ "commit"
2458
+ ],
2459
+ "name": "allow-empty",
2460
+ "summary": "Create an empty commit for an already-published resource (analogous to git commit --allow-empty).",
2461
+ "allowNo": false,
2462
+ "type": "boolean"
2463
+ },
2380
2464
  "force": {
2381
2465
  "name": "force",
2382
2466
  "summary": "Force pushes the resource or resources to Knock, overwriting whatever is currently stored. If you're using this on a non-development environment, you should also ensure you `commit` the changes.",
@@ -2955,6 +3039,15 @@
2955
3039
  "multiple": false,
2956
3040
  "type": "option"
2957
3041
  },
3042
+ "allow-empty": {
3043
+ "dependsOn": [
3044
+ "commit"
3045
+ ],
3046
+ "name": "allow-empty",
3047
+ "summary": "Create an empty commit for an already-published resource (analogous to git commit --allow-empty).",
3048
+ "allowNo": false,
3049
+ "type": "boolean"
3050
+ },
2958
3051
  "force": {
2959
3052
  "name": "force",
2960
3053
  "summary": "Force pushes the resource or resources to Knock, overwriting whatever is currently stored. If you're using this on a non-development environment, you should also ensure you `commit` the changes.",
@@ -3533,6 +3626,15 @@
3533
3626
  "multiple": false,
3534
3627
  "type": "option"
3535
3628
  },
3629
+ "allow-empty": {
3630
+ "dependsOn": [
3631
+ "commit"
3632
+ ],
3633
+ "name": "allow-empty",
3634
+ "summary": "Create an empty commit for an already-published resource (analogous to git commit --allow-empty).",
3635
+ "allowNo": false,
3636
+ "type": "boolean"
3637
+ },
3536
3638
  "force": {
3537
3639
  "name": "force",
3538
3640
  "summary": "Force pushes the resource or resources to Knock, overwriting whatever is currently stored. If you're using this on a non-development environment, you should also ensure you `commit` the changes.",
@@ -4122,6 +4224,15 @@
4122
4224
  "multiple": false,
4123
4225
  "type": "option"
4124
4226
  },
4227
+ "allow-empty": {
4228
+ "dependsOn": [
4229
+ "commit"
4230
+ ],
4231
+ "name": "allow-empty",
4232
+ "summary": "Create an empty commit for an already-published resource (analogous to git commit --allow-empty).",
4233
+ "allowNo": false,
4234
+ "type": "boolean"
4235
+ },
4125
4236
  "force": {
4126
4237
  "name": "force",
4127
4238
  "summary": "Force pushes the resource or resources to Knock, overwriting whatever is currently stored. If you're using this on a non-development environment, you should also ensure you `commit` the changes.",
@@ -4224,6 +4335,302 @@
4224
4335
  "validate.js"
4225
4336
  ]
4226
4337
  },
4338
+ "schema:pull": {
4339
+ "aliases": [],
4340
+ "args": {
4341
+ "itemType": {
4342
+ "name": "itemType",
4343
+ "required": false
4344
+ }
4345
+ },
4346
+ "flags": {
4347
+ "service-token": {
4348
+ "env": "KNOCK_SERVICE_TOKEN",
4349
+ "name": "service-token",
4350
+ "required": false,
4351
+ "summary": "The service token to authenticate with.",
4352
+ "hasDynamicHelp": false,
4353
+ "multiple": false,
4354
+ "type": "option"
4355
+ },
4356
+ "api-origin": {
4357
+ "hidden": true,
4358
+ "name": "api-origin",
4359
+ "required": false,
4360
+ "hasDynamicHelp": false,
4361
+ "multiple": false,
4362
+ "type": "option"
4363
+ },
4364
+ "environment": {
4365
+ "name": "environment",
4366
+ "summary": "The environment to use.",
4367
+ "default": "development",
4368
+ "hasDynamicHelp": false,
4369
+ "multiple": false,
4370
+ "type": "option"
4371
+ },
4372
+ "branch": {
4373
+ "name": "branch",
4374
+ "summary": "The slug of the branch to use.",
4375
+ "hasDynamicHelp": false,
4376
+ "multiple": false,
4377
+ "type": "option"
4378
+ },
4379
+ "all": {
4380
+ "name": "all",
4381
+ "summary": "Whether to pull all item schemas from the specified environment.",
4382
+ "allowNo": false,
4383
+ "type": "boolean"
4384
+ },
4385
+ "collection": {
4386
+ "name": "collection",
4387
+ "summary": "The object collection key for object schemas.",
4388
+ "hasDynamicHelp": false,
4389
+ "multiple": false,
4390
+ "type": "option"
4391
+ },
4392
+ "schemas-dir": {
4393
+ "name": "schemas-dir",
4394
+ "summary": "The target schemas directory path.",
4395
+ "hasDynamicHelp": false,
4396
+ "multiple": false,
4397
+ "type": "option"
4398
+ },
4399
+ "force": {
4400
+ "name": "force",
4401
+ "summary": "Remove the confirmation prompt.",
4402
+ "allowNo": false,
4403
+ "type": "boolean"
4404
+ }
4405
+ },
4406
+ "hasDynamicHelp": false,
4407
+ "hiddenAliases": [],
4408
+ "id": "schema:pull",
4409
+ "pluginAlias": "@knocklabs/cli",
4410
+ "pluginName": "@knocklabs/cli",
4411
+ "pluginType": "core",
4412
+ "strict": true,
4413
+ "summary": "Pull one or more item schemas from an environment into a local file system.",
4414
+ "enableJsonFlag": false,
4415
+ "isESM": false,
4416
+ "relativePath": [
4417
+ "dist",
4418
+ "commands",
4419
+ "schema",
4420
+ "pull.js"
4421
+ ]
4422
+ },
4423
+ "schema:push": {
4424
+ "aliases": [],
4425
+ "args": {
4426
+ "itemType": {
4427
+ "name": "itemType",
4428
+ "required": false
4429
+ }
4430
+ },
4431
+ "flags": {
4432
+ "service-token": {
4433
+ "env": "KNOCK_SERVICE_TOKEN",
4434
+ "name": "service-token",
4435
+ "required": false,
4436
+ "summary": "The service token to authenticate with.",
4437
+ "hasDynamicHelp": false,
4438
+ "multiple": false,
4439
+ "type": "option"
4440
+ },
4441
+ "api-origin": {
4442
+ "hidden": true,
4443
+ "name": "api-origin",
4444
+ "required": false,
4445
+ "hasDynamicHelp": false,
4446
+ "multiple": false,
4447
+ "type": "option"
4448
+ },
4449
+ "environment": {
4450
+ "name": "environment",
4451
+ "summary": "The environment to use.",
4452
+ "default": "development",
4453
+ "hasDynamicHelp": false,
4454
+ "multiple": false,
4455
+ "type": "option"
4456
+ },
4457
+ "branch": {
4458
+ "name": "branch",
4459
+ "summary": "The slug of the branch to use.",
4460
+ "hasDynamicHelp": false,
4461
+ "multiple": false,
4462
+ "type": "option"
4463
+ },
4464
+ "all": {
4465
+ "name": "all",
4466
+ "summary": "Whether to push all schemas from the target schemas directory.",
4467
+ "allowNo": false,
4468
+ "type": "boolean"
4469
+ },
4470
+ "collection": {
4471
+ "name": "collection",
4472
+ "summary": "The object collection key for object schemas.",
4473
+ "hasDynamicHelp": false,
4474
+ "multiple": false,
4475
+ "type": "option"
4476
+ },
4477
+ "schemas-dir": {
4478
+ "name": "schemas-dir",
4479
+ "summary": "The target schemas directory path.",
4480
+ "hasDynamicHelp": false,
4481
+ "multiple": false,
4482
+ "type": "option"
4483
+ }
4484
+ },
4485
+ "hasDynamicHelp": false,
4486
+ "hiddenAliases": [],
4487
+ "id": "schema:push",
4488
+ "pluginAlias": "@knocklabs/cli",
4489
+ "pluginName": "@knocklabs/cli",
4490
+ "pluginType": "core",
4491
+ "strict": true,
4492
+ "summary": "Push one or more local item schemas to a Knock environment.",
4493
+ "enableJsonFlag": false,
4494
+ "isESM": false,
4495
+ "relativePath": [
4496
+ "dist",
4497
+ "commands",
4498
+ "schema",
4499
+ "push.js"
4500
+ ]
4501
+ },
4502
+ "source:get": {
4503
+ "aliases": [],
4504
+ "args": {
4505
+ "sourceKey": {
4506
+ "name": "sourceKey",
4507
+ "required": true
4508
+ }
4509
+ },
4510
+ "flags": {
4511
+ "json": {
4512
+ "description": "Format output as json.",
4513
+ "helpGroup": "GLOBAL",
4514
+ "name": "json",
4515
+ "allowNo": false,
4516
+ "type": "boolean"
4517
+ },
4518
+ "service-token": {
4519
+ "env": "KNOCK_SERVICE_TOKEN",
4520
+ "name": "service-token",
4521
+ "required": false,
4522
+ "summary": "The service token to authenticate with.",
4523
+ "hasDynamicHelp": false,
4524
+ "multiple": false,
4525
+ "type": "option"
4526
+ },
4527
+ "api-origin": {
4528
+ "hidden": true,
4529
+ "name": "api-origin",
4530
+ "required": false,
4531
+ "hasDynamicHelp": false,
4532
+ "multiple": false,
4533
+ "type": "option"
4534
+ },
4535
+ "environment": {
4536
+ "name": "environment",
4537
+ "summary": "The environment to use.",
4538
+ "hasDynamicHelp": false,
4539
+ "multiple": false,
4540
+ "type": "option"
4541
+ }
4542
+ },
4543
+ "hasDynamicHelp": false,
4544
+ "hiddenAliases": [],
4545
+ "id": "source:get",
4546
+ "pluginAlias": "@knocklabs/cli",
4547
+ "pluginName": "@knocklabs/cli",
4548
+ "pluginType": "core",
4549
+ "strict": true,
4550
+ "summary": "Display a single source from an environment.",
4551
+ "enableJsonFlag": true,
4552
+ "isESM": false,
4553
+ "relativePath": [
4554
+ "dist",
4555
+ "commands",
4556
+ "source",
4557
+ "get.js"
4558
+ ]
4559
+ },
4560
+ "source:list": {
4561
+ "aliases": [],
4562
+ "args": {},
4563
+ "flags": {
4564
+ "json": {
4565
+ "description": "Format output as json.",
4566
+ "helpGroup": "GLOBAL",
4567
+ "name": "json",
4568
+ "allowNo": false,
4569
+ "type": "boolean"
4570
+ },
4571
+ "service-token": {
4572
+ "env": "KNOCK_SERVICE_TOKEN",
4573
+ "name": "service-token",
4574
+ "required": false,
4575
+ "summary": "The service token to authenticate with.",
4576
+ "hasDynamicHelp": false,
4577
+ "multiple": false,
4578
+ "type": "option"
4579
+ },
4580
+ "api-origin": {
4581
+ "hidden": true,
4582
+ "name": "api-origin",
4583
+ "required": false,
4584
+ "hasDynamicHelp": false,
4585
+ "multiple": false,
4586
+ "type": "option"
4587
+ },
4588
+ "environment": {
4589
+ "name": "environment",
4590
+ "summary": "The environment to use.",
4591
+ "hasDynamicHelp": false,
4592
+ "multiple": false,
4593
+ "type": "option"
4594
+ },
4595
+ "after": {
4596
+ "name": "after",
4597
+ "summary": "The cursor after which to fetch the next page.",
4598
+ "hasDynamicHelp": false,
4599
+ "multiple": false,
4600
+ "type": "option"
4601
+ },
4602
+ "before": {
4603
+ "name": "before",
4604
+ "summary": "The cursor before which to fetch the previous page.",
4605
+ "hasDynamicHelp": false,
4606
+ "multiple": false,
4607
+ "type": "option"
4608
+ },
4609
+ "limit": {
4610
+ "name": "limit",
4611
+ "summary": "The total number of entries to fetch per page.",
4612
+ "hasDynamicHelp": false,
4613
+ "multiple": false,
4614
+ "type": "option"
4615
+ }
4616
+ },
4617
+ "hasDynamicHelp": false,
4618
+ "hiddenAliases": [],
4619
+ "id": "source:list",
4620
+ "pluginAlias": "@knocklabs/cli",
4621
+ "pluginName": "@knocklabs/cli",
4622
+ "pluginType": "core",
4623
+ "strict": true,
4624
+ "summary": "Display all sources for an environment.",
4625
+ "enableJsonFlag": true,
4626
+ "isESM": false,
4627
+ "relativePath": [
4628
+ "dist",
4629
+ "commands",
4630
+ "source",
4631
+ "list.js"
4632
+ ]
4633
+ },
4227
4634
  "translation:get": {
4228
4635
  "aliases": [],
4229
4636
  "args": {
@@ -4578,6 +4985,15 @@
4578
4985
  "multiple": false,
4579
4986
  "type": "option"
4580
4987
  },
4988
+ "allow-empty": {
4989
+ "dependsOn": [
4990
+ "commit"
4991
+ ],
4992
+ "name": "allow-empty",
4993
+ "summary": "Create an empty commit for an already-published resource (analogous to git commit --allow-empty).",
4994
+ "allowNo": false,
4995
+ "type": "boolean"
4996
+ },
4581
4997
  "force": {
4582
4998
  "name": "force",
4583
4999
  "summary": "Force pushes the resource or resources to Knock, overwriting whatever is currently stored. If you're using this on a non-development environment, you should also ensure you `commit` the changes.",
@@ -5302,6 +5718,15 @@
5302
5718
  "multiple": false,
5303
5719
  "type": "option"
5304
5720
  },
5721
+ "allow-empty": {
5722
+ "dependsOn": [
5723
+ "commit"
5724
+ ],
5725
+ "name": "allow-empty",
5726
+ "summary": "Create an empty commit for an already-published resource (analogous to git commit --allow-empty).",
5727
+ "allowNo": false,
5728
+ "type": "boolean"
5729
+ },
5305
5730
  "force": {
5306
5731
  "name": "force",
5307
5732
  "summary": "Force pushes the resource or resources to Knock, overwriting whatever is currently stored. If you're using this on a non-development environment, you should also ensure you `commit` the changes.",
@@ -5398,6 +5823,18 @@
5398
5823
  "hasDynamicHelp": false,
5399
5824
  "multiple": false,
5400
5825
  "type": "option"
5826
+ },
5827
+ "sandbox-mode": {
5828
+ "name": "sandbox-mode",
5829
+ "summary": "When enabled, channels in this workflow generate messages but don't send them to the downstream provider.",
5830
+ "allowNo": false,
5831
+ "type": "boolean"
5832
+ },
5833
+ "skip-delay": {
5834
+ "name": "skip-delay",
5835
+ "summary": "When enabled, delay steps in this workflow will be skipped",
5836
+ "allowNo": false,
5837
+ "type": "boolean"
5401
5838
  }
5402
5839
  },
5403
5840
  "hasDynamicHelp": false,
@@ -5493,5 +5930,5 @@
5493
5930
  ]
5494
5931
  }
5495
5932
  },
5496
- "version": "1.1.1"
5933
+ "version": "1.2.2"
5497
5934
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knocklabs/cli",
3
- "version": "1.1.1",
3
+ "version": "1.2.2",
4
4
  "description": "Knock CLI",
5
5
  "author": "@knocklabs",
6
6
  "bin": {
@@ -17,36 +17,36 @@
17
17
  "/oclif.manifest.json"
18
18
  ],
19
19
  "resolutions": {
20
- "axios": "1.15.2"
20
+ "axios": "1.18.1"
21
21
  },
22
22
  "dependencies": {
23
- "@knocklabs/jsonlint": "^2.0.2",
24
- "@knocklabs/mgmt": "0.25.0",
23
+ "@knocklabs/jsonlint": "^2.0.3",
24
+ "@knocklabs/mgmt": "0.33.0",
25
25
  "@oclif/core": "^3",
26
26
  "@oclif/plugin-help": "^6",
27
- "axios": "1.15.2",
27
+ "axios": "1.18.1",
28
28
  "date-fns": "^2.30.0",
29
- "degit": "^2.8.4",
29
+ "degit": "^2.8.6",
30
30
  "enquirer": "^2.4.1",
31
31
  "find-up": "^5.0.0",
32
- "fs-extra": "^11.3.4",
33
- "liquidjs": "^10.25.7",
32
+ "fs-extra": "^11.3.6",
33
+ "liquidjs": "^10.27.2",
34
34
  "locale-codes": "^1.3.1",
35
35
  "lodash": "^4.18.1",
36
36
  "open": "8.4.2",
37
- "quicktype-core": "^23.2.6",
38
- "zod": "^4.3.6"
37
+ "quicktype-core": "23.3.25",
38
+ "zod": "^4.4.3"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@oclif/test": "^3",
42
42
  "@swc/cli": "^0.8.1",
43
- "@swc/core": "^1.15.30",
44
- "@swc/helpers": "^0.5.21",
43
+ "@swc/core": "^1.15.43",
44
+ "@swc/helpers": "^0.5.23",
45
45
  "@types/chai": "^4",
46
46
  "@types/degit": "^2.8.6",
47
47
  "@types/fs-extra": "^11.0.4",
48
48
  "@types/mocha": "^10.0.10",
49
- "@types/node": "^20.19.39",
49
+ "@types/node": "^20.19.43",
50
50
  "chai": "^4",
51
51
  "eslint": "^7.32.0",
52
52
  "eslint-config-oclif": "^4",
@@ -69,6 +69,7 @@
69
69
  "bin": "knock",
70
70
  "dirname": "knock",
71
71
  "commands": "./dist/commands",
72
+ "helpClass": "./dist/help",
72
73
  "additionalHelpFlags": [
73
74
  "-h"
74
75
  ],
@@ -92,6 +93,12 @@
92
93
  "partial": {
93
94
  "description": "Manage template partials."
94
95
  },
96
+ "schema": {
97
+ "description": "Manage item schemas."
98
+ },
99
+ "source": {
100
+ "description": "Manage sources."
101
+ },
95
102
  "workflow": {
96
103
  "description": "Manage notification workflows."
97
104
  },
@@ -111,8 +118,8 @@
111
118
  "format.write": "yarn run format --write",
112
119
  "format.check": "yarn run format --check",
113
120
  "type.check": "tsc",
114
- "postpack": "shx rm -f oclif.manifest.json",
115
- "prepack": "yarn build && oclif manifest && oclif readme",
121
+ "postpack": "shx rm -f oclif.manifest.json npm-shrinkwrap.json",
122
+ "prepack": "yarn build && oclif manifest && oclif readme && npm shrinkwrap",
116
123
  "test": "mocha \"test/**/*.test.ts\"",
117
124
  "version": "oclif readme && git add README.md",
118
125
  "check": "yarn run lint && yarn run format.check && yarn run type.check"