checkly 7.5.4 → 7.5.5-prerelease-6dbe890
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/dist/commands/pw-test.d.ts +1 -1
- package/dist/commands/pw-test.js +1 -0
- package/dist/commands/pw-test.js.map +1 -1
- package/dist/commands/test.d.ts +1 -1
- package/dist/commands/test.js +1 -0
- package/dist/commands/test.js.map +1 -1
- package/dist/commands/trigger.d.ts +2 -2
- package/dist/commands/trigger.js +3 -2
- package/dist/commands/trigger.js.map +1 -1
- package/dist/helpers/test-helper.d.ts +1 -1
- package/dist/helpers/test-helper.js +2 -2
- package/dist/helpers/test-helper.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/oclif.manifest.json +192 -192
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
"description": "A list of custom reporters for the test output.",
|
|
320
320
|
"name": "reporter",
|
|
321
321
|
"hasDynamicHelp": false,
|
|
322
|
-
"multiple":
|
|
322
|
+
"multiple": true,
|
|
323
323
|
"options": [
|
|
324
324
|
"list",
|
|
325
325
|
"dot",
|
|
@@ -662,7 +662,7 @@
|
|
|
662
662
|
"description": "A list of custom reporters for the test output.",
|
|
663
663
|
"name": "reporter",
|
|
664
664
|
"hasDynamicHelp": false,
|
|
665
|
-
"multiple":
|
|
665
|
+
"multiple": true,
|
|
666
666
|
"options": [
|
|
667
667
|
"list",
|
|
668
668
|
"dot",
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
"description": "A list of custom reporters for the test output.",
|
|
803
803
|
"name": "reporter",
|
|
804
804
|
"hasDynamicHelp": false,
|
|
805
|
-
"multiple":
|
|
805
|
+
"multiple": true,
|
|
806
806
|
"options": [
|
|
807
807
|
"list",
|
|
808
808
|
"dot",
|
|
@@ -1285,24 +1285,44 @@
|
|
|
1285
1285
|
"parse-project.js"
|
|
1286
1286
|
]
|
|
1287
1287
|
},
|
|
1288
|
-
"
|
|
1288
|
+
"env:add": {
|
|
1289
1289
|
"aliases": [],
|
|
1290
|
-
"args": {
|
|
1291
|
-
|
|
1290
|
+
"args": {
|
|
1291
|
+
"key": {
|
|
1292
|
+
"description": "Environment variable key.",
|
|
1293
|
+
"name": "key",
|
|
1294
|
+
"required": true
|
|
1295
|
+
},
|
|
1296
|
+
"value": {
|
|
1297
|
+
"description": "Environment variable value.",
|
|
1298
|
+
"name": "value",
|
|
1299
|
+
"required": false
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
"description": "Add environment variable via \"checkly env add <key> <value>\".",
|
|
1292
1303
|
"flags": {
|
|
1293
|
-
"
|
|
1294
|
-
"char": "
|
|
1295
|
-
"description": "
|
|
1296
|
-
"name": "
|
|
1297
|
-
"
|
|
1298
|
-
"
|
|
1299
|
-
|
|
1304
|
+
"locked": {
|
|
1305
|
+
"char": "l",
|
|
1306
|
+
"description": "Indicate that the environment variable will be locked.",
|
|
1307
|
+
"name": "locked",
|
|
1308
|
+
"allowNo": false,
|
|
1309
|
+
"type": "boolean"
|
|
1310
|
+
},
|
|
1311
|
+
"secret": {
|
|
1312
|
+
"char": "s",
|
|
1313
|
+
"description": "Indicate that the environment variable will be secret.",
|
|
1314
|
+
"exclusive": [
|
|
1315
|
+
"locked"
|
|
1316
|
+
],
|
|
1317
|
+
"name": "secret",
|
|
1318
|
+
"allowNo": false,
|
|
1319
|
+
"type": "boolean"
|
|
1300
1320
|
}
|
|
1301
1321
|
},
|
|
1302
1322
|
"hasDynamicHelp": false,
|
|
1303
1323
|
"hidden": false,
|
|
1304
1324
|
"hiddenAliases": [],
|
|
1305
|
-
"id": "
|
|
1325
|
+
"id": "env:add",
|
|
1306
1326
|
"pluginAlias": "checkly",
|
|
1307
1327
|
"pluginName": "checkly",
|
|
1308
1328
|
"pluginType": "core",
|
|
@@ -1316,168 +1336,118 @@
|
|
|
1316
1336
|
"relativePath": [
|
|
1317
1337
|
"dist",
|
|
1318
1338
|
"commands",
|
|
1319
|
-
"
|
|
1320
|
-
"
|
|
1339
|
+
"env",
|
|
1340
|
+
"add.js"
|
|
1321
1341
|
]
|
|
1322
1342
|
},
|
|
1323
|
-
"
|
|
1343
|
+
"env:ls": {
|
|
1324
1344
|
"aliases": [],
|
|
1325
1345
|
"args": {},
|
|
1326
|
-
"description": "
|
|
1327
|
-
"flags": {
|
|
1328
|
-
"config": {
|
|
1329
|
-
"char": "c",
|
|
1330
|
-
"description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
|
|
1331
|
-
"name": "config",
|
|
1332
|
-
"hasDynamicHelp": false,
|
|
1333
|
-
"multiple": false,
|
|
1334
|
-
"type": "option"
|
|
1335
|
-
},
|
|
1336
|
-
"all": {
|
|
1337
|
-
"description": "Cancel all plans.",
|
|
1338
|
-
"name": "all",
|
|
1339
|
-
"allowNo": false,
|
|
1340
|
-
"type": "boolean"
|
|
1341
|
-
}
|
|
1342
|
-
},
|
|
1346
|
+
"description": "List all Checkly environment variables via \"checkly env ls\".",
|
|
1347
|
+
"flags": {},
|
|
1343
1348
|
"hasDynamicHelp": false,
|
|
1344
1349
|
"hidden": false,
|
|
1345
1350
|
"hiddenAliases": [],
|
|
1346
|
-
"id": "
|
|
1351
|
+
"id": "env:ls",
|
|
1347
1352
|
"pluginAlias": "checkly",
|
|
1348
1353
|
"pluginName": "checkly",
|
|
1349
1354
|
"pluginType": "core",
|
|
1350
1355
|
"strict": true,
|
|
1351
1356
|
"enableJsonFlag": false,
|
|
1352
1357
|
"coreCommand": false,
|
|
1353
|
-
"readOnly":
|
|
1358
|
+
"readOnly": true,
|
|
1354
1359
|
"destructive": false,
|
|
1355
1360
|
"idempotent": true,
|
|
1356
1361
|
"isESM": false,
|
|
1357
1362
|
"relativePath": [
|
|
1358
1363
|
"dist",
|
|
1359
1364
|
"commands",
|
|
1360
|
-
"
|
|
1361
|
-
"
|
|
1365
|
+
"env",
|
|
1366
|
+
"ls.js"
|
|
1362
1367
|
]
|
|
1363
1368
|
},
|
|
1364
|
-
"
|
|
1369
|
+
"env:pull": {
|
|
1365
1370
|
"aliases": [],
|
|
1366
|
-
"args": {
|
|
1367
|
-
|
|
1371
|
+
"args": {
|
|
1372
|
+
"filename": {
|
|
1373
|
+
"default": ".env",
|
|
1374
|
+
"description": "Filename of the generated file.",
|
|
1375
|
+
"name": "filename",
|
|
1376
|
+
"required": false
|
|
1377
|
+
}
|
|
1378
|
+
},
|
|
1379
|
+
"description": "Pull Checkly environment variables via \"checkly env pull <filename>\".",
|
|
1368
1380
|
"flags": {
|
|
1369
|
-
"
|
|
1370
|
-
"char": "
|
|
1371
|
-
"description": "
|
|
1372
|
-
"name": "
|
|
1373
|
-
"
|
|
1374
|
-
"
|
|
1375
|
-
"type": "option"
|
|
1381
|
+
"force": {
|
|
1382
|
+
"char": "f",
|
|
1383
|
+
"description": "Force to overwrite existing file.",
|
|
1384
|
+
"name": "force",
|
|
1385
|
+
"allowNo": false,
|
|
1386
|
+
"type": "boolean"
|
|
1376
1387
|
}
|
|
1377
1388
|
},
|
|
1378
1389
|
"hasDynamicHelp": false,
|
|
1379
1390
|
"hidden": false,
|
|
1380
1391
|
"hiddenAliases": [],
|
|
1381
|
-
"id": "
|
|
1392
|
+
"id": "env:pull",
|
|
1382
1393
|
"pluginAlias": "checkly",
|
|
1383
1394
|
"pluginName": "checkly",
|
|
1384
1395
|
"pluginType": "core",
|
|
1385
1396
|
"strict": true,
|
|
1386
1397
|
"enableJsonFlag": false,
|
|
1387
1398
|
"coreCommand": false,
|
|
1388
|
-
"readOnly":
|
|
1399
|
+
"readOnly": true,
|
|
1389
1400
|
"destructive": false,
|
|
1390
|
-
"idempotent":
|
|
1401
|
+
"idempotent": true,
|
|
1391
1402
|
"isESM": false,
|
|
1392
1403
|
"relativePath": [
|
|
1393
1404
|
"dist",
|
|
1394
1405
|
"commands",
|
|
1395
|
-
"
|
|
1396
|
-
"
|
|
1406
|
+
"env",
|
|
1407
|
+
"pull.js"
|
|
1397
1408
|
]
|
|
1398
1409
|
},
|
|
1399
|
-
"
|
|
1410
|
+
"env:rm": {
|
|
1400
1411
|
"aliases": [],
|
|
1401
1412
|
"args": {
|
|
1402
|
-
"
|
|
1403
|
-
"description": "
|
|
1404
|
-
"name": "
|
|
1405
|
-
"required":
|
|
1413
|
+
"key": {
|
|
1414
|
+
"description": "Environment variable key to remove.",
|
|
1415
|
+
"name": "key",
|
|
1416
|
+
"required": true
|
|
1406
1417
|
}
|
|
1407
1418
|
},
|
|
1408
|
-
"description": "
|
|
1419
|
+
"description": "Remove environment variable via \"checkly env rm <key>\".",
|
|
1409
1420
|
"flags": {
|
|
1410
|
-
"
|
|
1411
|
-
"char": "
|
|
1412
|
-
"description": "
|
|
1413
|
-
"name": "
|
|
1414
|
-
"hasDynamicHelp": false,
|
|
1415
|
-
"multiple": false,
|
|
1416
|
-
"type": "option"
|
|
1417
|
-
},
|
|
1418
|
-
"root": {
|
|
1419
|
-
"description": "The root folder in which to write generated code files.",
|
|
1420
|
-
"name": "root",
|
|
1421
|
-
"default": "__checks__",
|
|
1422
|
-
"hasDynamicHelp": false,
|
|
1423
|
-
"multiple": false,
|
|
1424
|
-
"type": "option"
|
|
1425
|
-
},
|
|
1426
|
-
"preview": {
|
|
1427
|
-
"description": "Preview generated code without creating an actual import plan.",
|
|
1428
|
-
"name": "preview",
|
|
1429
|
-
"allowNo": false,
|
|
1430
|
-
"type": "boolean"
|
|
1431
|
-
},
|
|
1432
|
-
"debug-import-plan": {
|
|
1433
|
-
"description": "Output the import plan to a file.",
|
|
1434
|
-
"hidden": true,
|
|
1435
|
-
"name": "debug-import-plan",
|
|
1421
|
+
"force": {
|
|
1422
|
+
"char": "f",
|
|
1423
|
+
"description": "Force to skip the confirmation prompt.",
|
|
1424
|
+
"name": "force",
|
|
1436
1425
|
"allowNo": false,
|
|
1437
1426
|
"type": "boolean"
|
|
1438
|
-
},
|
|
1439
|
-
"debug-import-plan-input-file": {
|
|
1440
|
-
"description": "A file to load an import plan from.",
|
|
1441
|
-
"hidden": true,
|
|
1442
|
-
"name": "debug-import-plan-input-file",
|
|
1443
|
-
"hasDynamicHelp": false,
|
|
1444
|
-
"multiple": false,
|
|
1445
|
-
"type": "option"
|
|
1446
|
-
},
|
|
1447
|
-
"debug-import-plan-output-file": {
|
|
1448
|
-
"description": "The file to output the import plan to.",
|
|
1449
|
-
"hidden": true,
|
|
1450
|
-
"name": "debug-import-plan-output-file",
|
|
1451
|
-
"default": "./debug-import-plan.json",
|
|
1452
|
-
"hasDynamicHelp": false,
|
|
1453
|
-
"multiple": false,
|
|
1454
|
-
"type": "option"
|
|
1455
1427
|
}
|
|
1456
1428
|
},
|
|
1457
1429
|
"hasDynamicHelp": false,
|
|
1458
1430
|
"hidden": false,
|
|
1459
|
-
"hiddenAliases": [
|
|
1460
|
-
|
|
1461
|
-
],
|
|
1462
|
-
"id": "import:plan",
|
|
1431
|
+
"hiddenAliases": [],
|
|
1432
|
+
"id": "env:rm",
|
|
1463
1433
|
"pluginAlias": "checkly",
|
|
1464
1434
|
"pluginName": "checkly",
|
|
1465
1435
|
"pluginType": "core",
|
|
1466
|
-
"strict":
|
|
1436
|
+
"strict": true,
|
|
1467
1437
|
"enableJsonFlag": false,
|
|
1468
1438
|
"coreCommand": false,
|
|
1469
|
-
"readOnly":
|
|
1470
|
-
"destructive":
|
|
1471
|
-
"idempotent":
|
|
1439
|
+
"readOnly": false,
|
|
1440
|
+
"destructive": true,
|
|
1441
|
+
"idempotent": false,
|
|
1472
1442
|
"isESM": false,
|
|
1473
1443
|
"relativePath": [
|
|
1474
1444
|
"dist",
|
|
1475
1445
|
"commands",
|
|
1476
|
-
"
|
|
1477
|
-
"
|
|
1446
|
+
"env",
|
|
1447
|
+
"rm.js"
|
|
1478
1448
|
]
|
|
1479
1449
|
},
|
|
1480
|
-
"env:
|
|
1450
|
+
"env:update": {
|
|
1481
1451
|
"aliases": [],
|
|
1482
1452
|
"args": {
|
|
1483
1453
|
"key": {
|
|
@@ -1491,18 +1461,18 @@
|
|
|
1491
1461
|
"required": false
|
|
1492
1462
|
}
|
|
1493
1463
|
},
|
|
1494
|
-
"description": "
|
|
1464
|
+
"description": "Update environment variable via \"checkly env update <key> <value>\".",
|
|
1495
1465
|
"flags": {
|
|
1496
1466
|
"locked": {
|
|
1497
1467
|
"char": "l",
|
|
1498
|
-
"description": "Indicate
|
|
1468
|
+
"description": "Indicate if environment variable is locked.",
|
|
1499
1469
|
"name": "locked",
|
|
1500
1470
|
"allowNo": false,
|
|
1501
1471
|
"type": "boolean"
|
|
1502
1472
|
},
|
|
1503
1473
|
"secret": {
|
|
1504
1474
|
"char": "s",
|
|
1505
|
-
"description": "Indicate
|
|
1475
|
+
"description": "Indicate if environment variable is secret.",
|
|
1506
1476
|
"exclusive": [
|
|
1507
1477
|
"locked"
|
|
1508
1478
|
],
|
|
@@ -1514,7 +1484,7 @@
|
|
|
1514
1484
|
"hasDynamicHelp": false,
|
|
1515
1485
|
"hidden": false,
|
|
1516
1486
|
"hiddenAliases": [],
|
|
1517
|
-
"id": "env:
|
|
1487
|
+
"id": "env:update",
|
|
1518
1488
|
"pluginAlias": "checkly",
|
|
1519
1489
|
"pluginName": "checkly",
|
|
1520
1490
|
"pluginType": "core",
|
|
@@ -1523,57 +1493,66 @@
|
|
|
1523
1493
|
"coreCommand": false,
|
|
1524
1494
|
"readOnly": false,
|
|
1525
1495
|
"destructive": false,
|
|
1526
|
-
"idempotent":
|
|
1496
|
+
"idempotent": true,
|
|
1527
1497
|
"isESM": false,
|
|
1528
1498
|
"relativePath": [
|
|
1529
1499
|
"dist",
|
|
1530
1500
|
"commands",
|
|
1531
1501
|
"env",
|
|
1532
|
-
"
|
|
1502
|
+
"update.js"
|
|
1533
1503
|
]
|
|
1534
1504
|
},
|
|
1535
|
-
"
|
|
1505
|
+
"import:apply": {
|
|
1536
1506
|
"aliases": [],
|
|
1537
1507
|
"args": {},
|
|
1538
|
-
"description": "
|
|
1539
|
-
"flags": {
|
|
1508
|
+
"description": "Attach imported resources into your project in a pending state.",
|
|
1509
|
+
"flags": {
|
|
1510
|
+
"config": {
|
|
1511
|
+
"char": "c",
|
|
1512
|
+
"description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
|
|
1513
|
+
"name": "config",
|
|
1514
|
+
"hasDynamicHelp": false,
|
|
1515
|
+
"multiple": false,
|
|
1516
|
+
"type": "option"
|
|
1517
|
+
}
|
|
1518
|
+
},
|
|
1540
1519
|
"hasDynamicHelp": false,
|
|
1541
1520
|
"hidden": false,
|
|
1542
1521
|
"hiddenAliases": [],
|
|
1543
|
-
"id": "
|
|
1522
|
+
"id": "import:apply",
|
|
1544
1523
|
"pluginAlias": "checkly",
|
|
1545
1524
|
"pluginName": "checkly",
|
|
1546
1525
|
"pluginType": "core",
|
|
1547
1526
|
"strict": true,
|
|
1548
1527
|
"enableJsonFlag": false,
|
|
1549
1528
|
"coreCommand": false,
|
|
1550
|
-
"readOnly":
|
|
1529
|
+
"readOnly": false,
|
|
1551
1530
|
"destructive": false,
|
|
1552
|
-
"idempotent":
|
|
1531
|
+
"idempotent": false,
|
|
1553
1532
|
"isESM": false,
|
|
1554
1533
|
"relativePath": [
|
|
1555
1534
|
"dist",
|
|
1556
1535
|
"commands",
|
|
1557
|
-
"
|
|
1558
|
-
"
|
|
1536
|
+
"import",
|
|
1537
|
+
"apply.js"
|
|
1559
1538
|
]
|
|
1560
1539
|
},
|
|
1561
|
-
"
|
|
1540
|
+
"import:cancel": {
|
|
1562
1541
|
"aliases": [],
|
|
1563
|
-
"args": {
|
|
1564
|
-
|
|
1565
|
-
"default": ".env",
|
|
1566
|
-
"description": "Filename of the generated file.",
|
|
1567
|
-
"name": "filename",
|
|
1568
|
-
"required": false
|
|
1569
|
-
}
|
|
1570
|
-
},
|
|
1571
|
-
"description": "Pull Checkly environment variables via \"checkly env pull <filename>\".",
|
|
1542
|
+
"args": {},
|
|
1543
|
+
"description": "Cancels an ongoing import plan that has not been committed yet.",
|
|
1572
1544
|
"flags": {
|
|
1573
|
-
"
|
|
1574
|
-
"char": "
|
|
1575
|
-
"description": "
|
|
1576
|
-
"name": "
|
|
1545
|
+
"config": {
|
|
1546
|
+
"char": "c",
|
|
1547
|
+
"description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
|
|
1548
|
+
"name": "config",
|
|
1549
|
+
"hasDynamicHelp": false,
|
|
1550
|
+
"multiple": false,
|
|
1551
|
+
"type": "option"
|
|
1552
|
+
},
|
|
1553
|
+
"all": {
|
|
1554
|
+
"description": "Cancel all plans.",
|
|
1555
|
+
"name": "all",
|
|
1577
1556
|
"allowNo": false,
|
|
1578
1557
|
"type": "boolean"
|
|
1579
1558
|
}
|
|
@@ -1581,47 +1560,42 @@
|
|
|
1581
1560
|
"hasDynamicHelp": false,
|
|
1582
1561
|
"hidden": false,
|
|
1583
1562
|
"hiddenAliases": [],
|
|
1584
|
-
"id": "
|
|
1563
|
+
"id": "import:cancel",
|
|
1585
1564
|
"pluginAlias": "checkly",
|
|
1586
1565
|
"pluginName": "checkly",
|
|
1587
1566
|
"pluginType": "core",
|
|
1588
1567
|
"strict": true,
|
|
1589
1568
|
"enableJsonFlag": false,
|
|
1590
1569
|
"coreCommand": false,
|
|
1591
|
-
"readOnly":
|
|
1570
|
+
"readOnly": false,
|
|
1592
1571
|
"destructive": false,
|
|
1593
1572
|
"idempotent": true,
|
|
1594
1573
|
"isESM": false,
|
|
1595
1574
|
"relativePath": [
|
|
1596
1575
|
"dist",
|
|
1597
1576
|
"commands",
|
|
1598
|
-
"
|
|
1599
|
-
"
|
|
1577
|
+
"import",
|
|
1578
|
+
"cancel.js"
|
|
1600
1579
|
]
|
|
1601
1580
|
},
|
|
1602
|
-
"
|
|
1581
|
+
"import:commit": {
|
|
1603
1582
|
"aliases": [],
|
|
1604
|
-
"args": {
|
|
1605
|
-
|
|
1606
|
-
"description": "Environment variable key to remove.",
|
|
1607
|
-
"name": "key",
|
|
1608
|
-
"required": true
|
|
1609
|
-
}
|
|
1610
|
-
},
|
|
1611
|
-
"description": "Remove environment variable via \"checkly env rm <key>\".",
|
|
1583
|
+
"args": {},
|
|
1584
|
+
"description": "Permanently commit imported resources into your project.",
|
|
1612
1585
|
"flags": {
|
|
1613
|
-
"
|
|
1614
|
-
"char": "
|
|
1615
|
-
"description": "
|
|
1616
|
-
"name": "
|
|
1617
|
-
"
|
|
1618
|
-
"
|
|
1586
|
+
"config": {
|
|
1587
|
+
"char": "c",
|
|
1588
|
+
"description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
|
|
1589
|
+
"name": "config",
|
|
1590
|
+
"hasDynamicHelp": false,
|
|
1591
|
+
"multiple": false,
|
|
1592
|
+
"type": "option"
|
|
1619
1593
|
}
|
|
1620
1594
|
},
|
|
1621
1595
|
"hasDynamicHelp": false,
|
|
1622
1596
|
"hidden": false,
|
|
1623
1597
|
"hiddenAliases": [],
|
|
1624
|
-
"id": "
|
|
1598
|
+
"id": "import:commit",
|
|
1625
1599
|
"pluginAlias": "checkly",
|
|
1626
1600
|
"pluginName": "checkly",
|
|
1627
1601
|
"pluginType": "core",
|
|
@@ -1629,69 +1603,95 @@
|
|
|
1629
1603
|
"enableJsonFlag": false,
|
|
1630
1604
|
"coreCommand": false,
|
|
1631
1605
|
"readOnly": false,
|
|
1632
|
-
"destructive":
|
|
1606
|
+
"destructive": false,
|
|
1633
1607
|
"idempotent": false,
|
|
1634
1608
|
"isESM": false,
|
|
1635
1609
|
"relativePath": [
|
|
1636
1610
|
"dist",
|
|
1637
1611
|
"commands",
|
|
1638
|
-
"
|
|
1639
|
-
"
|
|
1612
|
+
"import",
|
|
1613
|
+
"commit.js"
|
|
1640
1614
|
]
|
|
1641
1615
|
},
|
|
1642
|
-
"
|
|
1616
|
+
"import:plan": {
|
|
1643
1617
|
"aliases": [],
|
|
1644
1618
|
"args": {
|
|
1645
|
-
"
|
|
1646
|
-
"description": "
|
|
1647
|
-
"name": "
|
|
1648
|
-
"required": true
|
|
1649
|
-
},
|
|
1650
|
-
"value": {
|
|
1651
|
-
"description": "Environment variable value.",
|
|
1652
|
-
"name": "value",
|
|
1619
|
+
"resource": {
|
|
1620
|
+
"description": "A specific resource to import.",
|
|
1621
|
+
"name": "resource",
|
|
1653
1622
|
"required": false
|
|
1654
1623
|
}
|
|
1655
1624
|
},
|
|
1656
|
-
"description": "
|
|
1625
|
+
"description": "Import existing resources from your Checkly account to your project.\n\nBy default, all resources that can be imported will be imported. However, you\nmay fine-tune the process by including or excluding any combination of\nresources.\n\nThe import process consists of three steps:\n\n1. Creating a plan, which generates the appropriate code for your resources\n2. Applying the plan, which links your resources to the generated code\n3. Committing the plan, which finalizes the import session\n\nCREATING A PLAN\n\nCreating a plan carries no risk as no concrete links to your Checkly resources\nare made at this point. However, if you accidentally deploy the generated code\nbefore applying the plan, you will end up with duplicate resources and will\nnot be able to complete the import session without first deleting the\nduplicates.\n\nFor the curious, you may also preview the generated code with the '--preview'\noption. No plan will be created, allowing you to leisurely inspect the\ngenerated code. However keep in mind that you will need to create a plan to\nactually import any resources, at which point the code will be generated\nagain.\n\nYou may cancel any plan you've created without affecting any of the\nunderlying resources.\n\nAPPLYING A PLAN\n\nApplying a plan links your existing resources to the generated code. You\nshould carefully review the generated code to make sure that it contains the\nresources you expect before applying a plan. After a plan has been applied,\nany deployments of those resources will irreversibly modify the underlying\nCheckly resources. However, as a fail safe against concurrent use, any\ndeployments not including the imported resources will not delete the\nunderlying resources (or the links to the resources). This means that there\nis no need to block deployments while working on an import session.\n\nEven after you've applied a plan, you may still cancel it, which will unlink\nthe underlying resources from your project once more. However, keep in mind\nthat any changes to the resources that you've already deployed cannot be\nundone.\n\nCOMMITTING A PLAN\n\nFinally, committing a plan removes all fail safes and permanently links the\nimported resources to your project. Any resources you remove from your code\nwill result in the underlying resources also getting irrevocably deleted on\nthe next deploy. You should only commit your plan once you are sure that all\nfuture deployments include the imported resources.",
|
|
1657
1626
|
"flags": {
|
|
1658
|
-
"
|
|
1659
|
-
"char": "
|
|
1660
|
-
"description": "
|
|
1661
|
-
"name": "
|
|
1627
|
+
"config": {
|
|
1628
|
+
"char": "c",
|
|
1629
|
+
"description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
|
|
1630
|
+
"name": "config",
|
|
1631
|
+
"hasDynamicHelp": false,
|
|
1632
|
+
"multiple": false,
|
|
1633
|
+
"type": "option"
|
|
1634
|
+
},
|
|
1635
|
+
"root": {
|
|
1636
|
+
"description": "The root folder in which to write generated code files.",
|
|
1637
|
+
"name": "root",
|
|
1638
|
+
"default": "__checks__",
|
|
1639
|
+
"hasDynamicHelp": false,
|
|
1640
|
+
"multiple": false,
|
|
1641
|
+
"type": "option"
|
|
1642
|
+
},
|
|
1643
|
+
"preview": {
|
|
1644
|
+
"description": "Preview generated code without creating an actual import plan.",
|
|
1645
|
+
"name": "preview",
|
|
1662
1646
|
"allowNo": false,
|
|
1663
1647
|
"type": "boolean"
|
|
1664
1648
|
},
|
|
1665
|
-
"
|
|
1666
|
-
"
|
|
1667
|
-
"
|
|
1668
|
-
"
|
|
1669
|
-
"locked"
|
|
1670
|
-
],
|
|
1671
|
-
"name": "secret",
|
|
1649
|
+
"debug-import-plan": {
|
|
1650
|
+
"description": "Output the import plan to a file.",
|
|
1651
|
+
"hidden": true,
|
|
1652
|
+
"name": "debug-import-plan",
|
|
1672
1653
|
"allowNo": false,
|
|
1673
1654
|
"type": "boolean"
|
|
1655
|
+
},
|
|
1656
|
+
"debug-import-plan-input-file": {
|
|
1657
|
+
"description": "A file to load an import plan from.",
|
|
1658
|
+
"hidden": true,
|
|
1659
|
+
"name": "debug-import-plan-input-file",
|
|
1660
|
+
"hasDynamicHelp": false,
|
|
1661
|
+
"multiple": false,
|
|
1662
|
+
"type": "option"
|
|
1663
|
+
},
|
|
1664
|
+
"debug-import-plan-output-file": {
|
|
1665
|
+
"description": "The file to output the import plan to.",
|
|
1666
|
+
"hidden": true,
|
|
1667
|
+
"name": "debug-import-plan-output-file",
|
|
1668
|
+
"default": "./debug-import-plan.json",
|
|
1669
|
+
"hasDynamicHelp": false,
|
|
1670
|
+
"multiple": false,
|
|
1671
|
+
"type": "option"
|
|
1674
1672
|
}
|
|
1675
1673
|
},
|
|
1676
1674
|
"hasDynamicHelp": false,
|
|
1677
1675
|
"hidden": false,
|
|
1678
|
-
"hiddenAliases": [
|
|
1679
|
-
|
|
1676
|
+
"hiddenAliases": [
|
|
1677
|
+
"import"
|
|
1678
|
+
],
|
|
1679
|
+
"id": "import:plan",
|
|
1680
1680
|
"pluginAlias": "checkly",
|
|
1681
1681
|
"pluginName": "checkly",
|
|
1682
1682
|
"pluginType": "core",
|
|
1683
|
-
"strict":
|
|
1683
|
+
"strict": false,
|
|
1684
1684
|
"enableJsonFlag": false,
|
|
1685
1685
|
"coreCommand": false,
|
|
1686
|
-
"readOnly":
|
|
1686
|
+
"readOnly": true,
|
|
1687
1687
|
"destructive": false,
|
|
1688
1688
|
"idempotent": true,
|
|
1689
1689
|
"isESM": false,
|
|
1690
1690
|
"relativePath": [
|
|
1691
1691
|
"dist",
|
|
1692
1692
|
"commands",
|
|
1693
|
-
"
|
|
1694
|
-
"
|
|
1693
|
+
"import",
|
|
1694
|
+
"plan.js"
|
|
1695
1695
|
]
|
|
1696
1696
|
},
|
|
1697
1697
|
"incidents:create": {
|
|
@@ -2152,5 +2152,5 @@
|
|
|
2152
2152
|
]
|
|
2153
2153
|
}
|
|
2154
2154
|
},
|
|
2155
|
-
"version": "7.5.
|
|
2155
|
+
"version": "7.5.5-prerelease-6dbe890"
|
|
2156
2156
|
}
|