@hallcor/pulumi-projen-project-types 0.0.0 → 0.0.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.
- package/.jsii +679 -11
- package/API.md +559 -3
- package/lib/PythonComponentOptions.d.ts +7 -1
- package/lib/PythonComponentOptions.js +1 -1
- package/lib/TagReleaseOptions.d.ts +248 -0
- package/lib/TagReleaseOptions.js +3 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/python.js +31 -14
- package/lib/release.d.ts +5 -2
- package/lib/release.js +11 -16
- package/lib/typescript-base.js +2 -6
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
},
|
|
124
124
|
"locationInModule": {
|
|
125
125
|
"filename": "src/python.ts",
|
|
126
|
-
"line":
|
|
126
|
+
"line": 9
|
|
127
127
|
},
|
|
128
128
|
"parameters": [
|
|
129
129
|
{
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"kind": "class",
|
|
138
138
|
"locationInModule": {
|
|
139
139
|
"filename": "src/python.ts",
|
|
140
|
-
"line":
|
|
140
|
+
"line": 8
|
|
141
141
|
},
|
|
142
142
|
"name": "PythonComponent",
|
|
143
143
|
"symbolId": "src/python:PythonComponent"
|
|
@@ -984,6 +984,24 @@
|
|
|
984
984
|
"fqn": "projen.SampleReadmeProps"
|
|
985
985
|
}
|
|
986
986
|
},
|
|
987
|
+
{
|
|
988
|
+
"abstract": true,
|
|
989
|
+
"docs": {
|
|
990
|
+
"default": "Continuous releases (`ReleaseTrigger.continuous()`)",
|
|
991
|
+
"stability": "experimental",
|
|
992
|
+
"summary": "The release trigger to use."
|
|
993
|
+
},
|
|
994
|
+
"immutable": true,
|
|
995
|
+
"locationInModule": {
|
|
996
|
+
"filename": "src/PythonComponentOptions.ts",
|
|
997
|
+
"line": 356
|
|
998
|
+
},
|
|
999
|
+
"name": "releaseTrigger",
|
|
1000
|
+
"optional": true,
|
|
1001
|
+
"type": {
|
|
1002
|
+
"fqn": "projen.release.ReleaseTrigger"
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
987
1005
|
{
|
|
988
1006
|
"abstract": true,
|
|
989
1007
|
"docs": {
|
|
@@ -1151,7 +1169,7 @@
|
|
|
1151
1169
|
},
|
|
1152
1170
|
"locationInModule": {
|
|
1153
1171
|
"filename": "src/release.ts",
|
|
1154
|
-
"line":
|
|
1172
|
+
"line": 10
|
|
1155
1173
|
},
|
|
1156
1174
|
"parameters": [
|
|
1157
1175
|
{
|
|
@@ -1171,7 +1189,7 @@
|
|
|
1171
1189
|
"kind": "class",
|
|
1172
1190
|
"locationInModule": {
|
|
1173
1191
|
"filename": "src/release.ts",
|
|
1174
|
-
"line":
|
|
1192
|
+
"line": 9
|
|
1175
1193
|
},
|
|
1176
1194
|
"name": "ReleaseWorkflow",
|
|
1177
1195
|
"symbolId": "src/release:ReleaseWorkflow"
|
|
@@ -1189,7 +1207,7 @@
|
|
|
1189
1207
|
},
|
|
1190
1208
|
"locationInModule": {
|
|
1191
1209
|
"filename": "src/release.ts",
|
|
1192
|
-
"line":
|
|
1210
|
+
"line": 70
|
|
1193
1211
|
},
|
|
1194
1212
|
"parameters": [
|
|
1195
1213
|
{
|
|
@@ -1201,7 +1219,7 @@
|
|
|
1201
1219
|
{
|
|
1202
1220
|
"name": "props",
|
|
1203
1221
|
"type": {
|
|
1204
|
-
"fqn": "projen.
|
|
1222
|
+
"fqn": "@hallcor/pulumi-projen-project-types.TagReleaseOptions"
|
|
1205
1223
|
}
|
|
1206
1224
|
}
|
|
1207
1225
|
]
|
|
@@ -1209,11 +1227,661 @@
|
|
|
1209
1227
|
"kind": "class",
|
|
1210
1228
|
"locationInModule": {
|
|
1211
1229
|
"filename": "src/release.ts",
|
|
1212
|
-
"line":
|
|
1230
|
+
"line": 68
|
|
1213
1231
|
},
|
|
1214
1232
|
"name": "TagRelease",
|
|
1233
|
+
"properties": [
|
|
1234
|
+
{
|
|
1235
|
+
"docs": {
|
|
1236
|
+
"stability": "stable"
|
|
1237
|
+
},
|
|
1238
|
+
"immutable": true,
|
|
1239
|
+
"locationInModule": {
|
|
1240
|
+
"filename": "src/release.ts",
|
|
1241
|
+
"line": 69
|
|
1242
|
+
},
|
|
1243
|
+
"name": "publishTask",
|
|
1244
|
+
"type": {
|
|
1245
|
+
"fqn": "projen.Task"
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
],
|
|
1215
1249
|
"symbolId": "src/release:TagRelease"
|
|
1216
1250
|
},
|
|
1251
|
+
"@hallcor/pulumi-projen-project-types.TagReleaseOptions": {
|
|
1252
|
+
"assembly": "@hallcor/pulumi-projen-project-types",
|
|
1253
|
+
"datatype": true,
|
|
1254
|
+
"docs": {
|
|
1255
|
+
"stability": "stable",
|
|
1256
|
+
"summary": "TagReleaseOptions."
|
|
1257
|
+
},
|
|
1258
|
+
"fqn": "@hallcor/pulumi-projen-project-types.TagReleaseOptions",
|
|
1259
|
+
"kind": "interface",
|
|
1260
|
+
"locationInModule": {
|
|
1261
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1262
|
+
"line": 7
|
|
1263
|
+
},
|
|
1264
|
+
"name": "TagReleaseOptions",
|
|
1265
|
+
"properties": [
|
|
1266
|
+
{
|
|
1267
|
+
"abstract": true,
|
|
1268
|
+
"docs": {
|
|
1269
|
+
"default": "\"dist\"",
|
|
1270
|
+
"stability": "experimental",
|
|
1271
|
+
"summary": "A directory which will contain build artifacts."
|
|
1272
|
+
},
|
|
1273
|
+
"immutable": true,
|
|
1274
|
+
"locationInModule": {
|
|
1275
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1276
|
+
"line": 55
|
|
1277
|
+
},
|
|
1278
|
+
"name": "artifactsDirectory",
|
|
1279
|
+
"type": {
|
|
1280
|
+
"primitive": "string"
|
|
1281
|
+
}
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"abstract": true,
|
|
1285
|
+
"docs": {
|
|
1286
|
+
"remarks": "Use `majorVersion` to restrict this branch to only publish releases with a\nspecific major version.\n\nYou can add additional branches using `addBranch()`.",
|
|
1287
|
+
"stability": "experimental",
|
|
1288
|
+
"summary": "The default branch name to release from."
|
|
1289
|
+
},
|
|
1290
|
+
"immutable": true,
|
|
1291
|
+
"locationInModule": {
|
|
1292
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1293
|
+
"line": 49
|
|
1294
|
+
},
|
|
1295
|
+
"name": "branch",
|
|
1296
|
+
"type": {
|
|
1297
|
+
"primitive": "string"
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"abstract": true,
|
|
1302
|
+
"docs": {
|
|
1303
|
+
"remarks": "Artifacts are\nexpected to reside under `artifactsDirectory` (defaults to `dist/`) once\nbuild is complete.",
|
|
1304
|
+
"stability": "experimental",
|
|
1305
|
+
"summary": "The task to execute in order to create the release artifacts."
|
|
1306
|
+
},
|
|
1307
|
+
"immutable": true,
|
|
1308
|
+
"locationInModule": {
|
|
1309
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1310
|
+
"line": 40
|
|
1311
|
+
},
|
|
1312
|
+
"name": "task",
|
|
1313
|
+
"type": {
|
|
1314
|
+
"fqn": "projen.Task"
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"abstract": true,
|
|
1319
|
+
"docs": {
|
|
1320
|
+
"stability": "experimental",
|
|
1321
|
+
"summary": "A name of a .json file to set the `version` field in after a bump."
|
|
1322
|
+
},
|
|
1323
|
+
"immutable": true,
|
|
1324
|
+
"locationInModule": {
|
|
1325
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1326
|
+
"line": 32
|
|
1327
|
+
},
|
|
1328
|
+
"name": "versionFile",
|
|
1329
|
+
"type": {
|
|
1330
|
+
"primitive": "string"
|
|
1331
|
+
}
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"abstract": true,
|
|
1335
|
+
"docs": {
|
|
1336
|
+
"default": "package.json",
|
|
1337
|
+
"remarks": "Must be a commit-and-tag-version compatible bump file",
|
|
1338
|
+
"stability": "stable",
|
|
1339
|
+
"summary": "The file to bump the version in."
|
|
1340
|
+
},
|
|
1341
|
+
"immutable": true,
|
|
1342
|
+
"locationInModule": {
|
|
1343
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1344
|
+
"line": 249
|
|
1345
|
+
},
|
|
1346
|
+
"name": "bumpFile",
|
|
1347
|
+
"optional": true,
|
|
1348
|
+
"type": {
|
|
1349
|
+
"primitive": "string"
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"abstract": true,
|
|
1354
|
+
"docs": {
|
|
1355
|
+
"default": "- A recent version of \"commit-and-tag-version\"",
|
|
1356
|
+
"remarks": "This can be any compatible package version, including the deprecated `standard-version@9`.",
|
|
1357
|
+
"stability": "experimental",
|
|
1358
|
+
"summary": "The `commit-and-tag-version` compatible package used to bump the package version, as a dependency string."
|
|
1359
|
+
},
|
|
1360
|
+
"immutable": true,
|
|
1361
|
+
"locationInModule": {
|
|
1362
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1363
|
+
"line": 244
|
|
1364
|
+
},
|
|
1365
|
+
"name": "bumpPackage",
|
|
1366
|
+
"optional": true,
|
|
1367
|
+
"type": {
|
|
1368
|
+
"primitive": "string"
|
|
1369
|
+
}
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"abstract": true,
|
|
1373
|
+
"docs": {
|
|
1374
|
+
"default": "true",
|
|
1375
|
+
"stability": "experimental",
|
|
1376
|
+
"summary": "Create a GitHub release for each release."
|
|
1377
|
+
},
|
|
1378
|
+
"immutable": true,
|
|
1379
|
+
"locationInModule": {
|
|
1380
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1381
|
+
"line": 27
|
|
1382
|
+
},
|
|
1383
|
+
"name": "githubRelease",
|
|
1384
|
+
"optional": true,
|
|
1385
|
+
"type": {
|
|
1386
|
+
"primitive": "boolean"
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"abstract": true,
|
|
1391
|
+
"docs": {
|
|
1392
|
+
"default": "\"latest\"",
|
|
1393
|
+
"stability": "experimental",
|
|
1394
|
+
"summary": "Version requirement of `publib` which is used to publish modules to npm."
|
|
1395
|
+
},
|
|
1396
|
+
"immutable": true,
|
|
1397
|
+
"locationInModule": {
|
|
1398
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1399
|
+
"line": 237
|
|
1400
|
+
},
|
|
1401
|
+
"name": "jsiiReleaseVersion",
|
|
1402
|
+
"optional": true,
|
|
1403
|
+
"type": {
|
|
1404
|
+
"primitive": "string"
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"abstract": true,
|
|
1409
|
+
"docs": {
|
|
1410
|
+
"default": "- Major version is not enforced.",
|
|
1411
|
+
"remarks": "If this is specified, we bump the latest version of this major version line.\nIf not specified, we bump the global latest version.",
|
|
1412
|
+
"stability": "experimental",
|
|
1413
|
+
"summary": "Major version to release from the default branch."
|
|
1414
|
+
},
|
|
1415
|
+
"immutable": true,
|
|
1416
|
+
"locationInModule": {
|
|
1417
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1418
|
+
"line": 231
|
|
1419
|
+
},
|
|
1420
|
+
"name": "majorVersion",
|
|
1421
|
+
"optional": true,
|
|
1422
|
+
"type": {
|
|
1423
|
+
"primitive": "number"
|
|
1424
|
+
}
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"abstract": true,
|
|
1428
|
+
"docs": {
|
|
1429
|
+
"default": "- No minimum version is being enforced",
|
|
1430
|
+
"remarks": "This can be useful to set to 1, as breaking changes before the 1.x major\nrelease are not incrementing the major version number.\n\nCan not be set together with `majorVersion`.",
|
|
1431
|
+
"stability": "experimental",
|
|
1432
|
+
"summary": "Minimal Major version to release."
|
|
1433
|
+
},
|
|
1434
|
+
"immutable": true,
|
|
1435
|
+
"locationInModule": {
|
|
1436
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1437
|
+
"line": 223
|
|
1438
|
+
},
|
|
1439
|
+
"name": "minMajorVersion",
|
|
1440
|
+
"optional": true,
|
|
1441
|
+
"type": {
|
|
1442
|
+
"primitive": "number"
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"abstract": true,
|
|
1447
|
+
"docs": {
|
|
1448
|
+
"default": "- The next version will be determined based on the commit history and project settings.",
|
|
1449
|
+
"remarks": "If present, this shell command will be run before the bump is executed, and\nit determines what version to release. It will be executed in the following\nenvironment:\n\n- Working directory: the project directory.\n- `$VERSION`: the current version. Looks like `1.2.3`.\n- `$LATEST_TAG`: the most recent tag. Looks like `prefix-v1.2.3`, or may be unset.\n\nThe command should print one of the following to `stdout`:\n\n- Nothing: the next version number will be determined based on commit history.\n- `x.y.z`: the next version number will be `x.y.z`.\n- `major|minor|patch`: the next version number will be the current version number\n with the indicated component bumped.\n\nThis setting cannot be specified together with `minMajorVersion`; the invoked\nscript can be used to achieve the effects of `minMajorVersion`.",
|
|
1450
|
+
"stability": "experimental",
|
|
1451
|
+
"summary": "A shell command to control the next version to release."
|
|
1452
|
+
},
|
|
1453
|
+
"immutable": true,
|
|
1454
|
+
"locationInModule": {
|
|
1455
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1456
|
+
"line": 213
|
|
1457
|
+
},
|
|
1458
|
+
"name": "nextVersionCommand",
|
|
1459
|
+
"optional": true,
|
|
1460
|
+
"type": {
|
|
1461
|
+
"primitive": "string"
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"abstract": true,
|
|
1466
|
+
"docs": {
|
|
1467
|
+
"default": "\"latest\"",
|
|
1468
|
+
"remarks": "To set the npm dist-tag for release branches, set the `npmDistTag` property\nfor each branch.",
|
|
1469
|
+
"stability": "experimental",
|
|
1470
|
+
"summary": "The npmDistTag to use when publishing from the default branch."
|
|
1471
|
+
},
|
|
1472
|
+
"immutable": true,
|
|
1473
|
+
"locationInModule": {
|
|
1474
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1475
|
+
"line": 190
|
|
1476
|
+
},
|
|
1477
|
+
"name": "npmDistTag",
|
|
1478
|
+
"optional": true,
|
|
1479
|
+
"type": {
|
|
1480
|
+
"primitive": "string"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"abstract": true,
|
|
1485
|
+
"docs": {
|
|
1486
|
+
"default": "[]",
|
|
1487
|
+
"stability": "experimental",
|
|
1488
|
+
"summary": "Steps to execute after build as part of the release workflow."
|
|
1489
|
+
},
|
|
1490
|
+
"immutable": true,
|
|
1491
|
+
"locationInModule": {
|
|
1492
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1493
|
+
"line": 182
|
|
1494
|
+
},
|
|
1495
|
+
"name": "postBuildSteps",
|
|
1496
|
+
"optional": true,
|
|
1497
|
+
"type": {
|
|
1498
|
+
"collection": {
|
|
1499
|
+
"elementtype": {
|
|
1500
|
+
"fqn": "projen.github.workflows.JobStep"
|
|
1501
|
+
},
|
|
1502
|
+
"kind": "array"
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"abstract": true,
|
|
1508
|
+
"docs": {
|
|
1509
|
+
"default": "- normal semantic versions",
|
|
1510
|
+
"stability": "experimental",
|
|
1511
|
+
"summary": "Bump versions from the default branch as pre-releases (e.g. \"beta\", \"alpha\", \"pre\")."
|
|
1512
|
+
},
|
|
1513
|
+
"immutable": true,
|
|
1514
|
+
"locationInModule": {
|
|
1515
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1516
|
+
"line": 176
|
|
1517
|
+
},
|
|
1518
|
+
"name": "prerelease",
|
|
1519
|
+
"optional": true,
|
|
1520
|
+
"type": {
|
|
1521
|
+
"primitive": "string"
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"abstract": true,
|
|
1526
|
+
"docs": {
|
|
1527
|
+
"default": "false",
|
|
1528
|
+
"stability": "experimental",
|
|
1529
|
+
"summary": "Instead of actually publishing to package managers, just print the publishing command."
|
|
1530
|
+
},
|
|
1531
|
+
"immutable": true,
|
|
1532
|
+
"locationInModule": {
|
|
1533
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1534
|
+
"line": 170
|
|
1535
|
+
},
|
|
1536
|
+
"name": "publishDryRun",
|
|
1537
|
+
"optional": true,
|
|
1538
|
+
"type": {
|
|
1539
|
+
"primitive": "boolean"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"abstract": true,
|
|
1544
|
+
"docs": {
|
|
1545
|
+
"default": "false",
|
|
1546
|
+
"remarks": "Normally, publishing only happens within automated workflows. Enable this\nin order to create a publishing task for each publishing activity.",
|
|
1547
|
+
"stability": "experimental",
|
|
1548
|
+
"summary": "Define publishing tasks that can be executed manually as well as workflows."
|
|
1549
|
+
},
|
|
1550
|
+
"immutable": true,
|
|
1551
|
+
"locationInModule": {
|
|
1552
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1553
|
+
"line": 164
|
|
1554
|
+
},
|
|
1555
|
+
"name": "publishTasks",
|
|
1556
|
+
"optional": true,
|
|
1557
|
+
"type": {
|
|
1558
|
+
"primitive": "boolean"
|
|
1559
|
+
}
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"abstract": true,
|
|
1563
|
+
"docs": {
|
|
1564
|
+
"default": "ReleasableCommits.everyCommit()",
|
|
1565
|
+
"stability": "experimental",
|
|
1566
|
+
"summary": "Find commits that should be considered releasable Used to decide if a release is required."
|
|
1567
|
+
},
|
|
1568
|
+
"immutable": true,
|
|
1569
|
+
"locationInModule": {
|
|
1570
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1571
|
+
"line": 156
|
|
1572
|
+
},
|
|
1573
|
+
"name": "releasableCommits",
|
|
1574
|
+
"optional": true,
|
|
1575
|
+
"type": {
|
|
1576
|
+
"fqn": "projen.ReleasableCommits"
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"abstract": true,
|
|
1581
|
+
"docs": {
|
|
1582
|
+
"default": "- no additional branches are used for release. you can use\n`addBranch()` to add additional branches.",
|
|
1583
|
+
"remarks": "A workflow will be created for each\nrelease branch which will publish releases from commits in this branch.\nEach release branch _must_ be assigned a major version number which is used\nto enforce that versions published from that branch always use that major\nversion. If multiple branches are used, the `majorVersion` field must also\nbe provided for the default branch.",
|
|
1584
|
+
"stability": "experimental",
|
|
1585
|
+
"summary": "Defines additional release branches."
|
|
1586
|
+
},
|
|
1587
|
+
"immutable": true,
|
|
1588
|
+
"locationInModule": {
|
|
1589
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1590
|
+
"line": 150
|
|
1591
|
+
},
|
|
1592
|
+
"name": "releaseBranches",
|
|
1593
|
+
"optional": true,
|
|
1594
|
+
"type": {
|
|
1595
|
+
"collection": {
|
|
1596
|
+
"elementtype": {
|
|
1597
|
+
"fqn": "projen.release.BranchOptions"
|
|
1598
|
+
},
|
|
1599
|
+
"kind": "map"
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"abstract": true,
|
|
1605
|
+
"docs": {
|
|
1606
|
+
"default": "true",
|
|
1607
|
+
"deprecated": "Use `releaseTrigger: ReleaseTrigger.continuous()` instead",
|
|
1608
|
+
"stability": "deprecated",
|
|
1609
|
+
"summary": "Automatically release new versions every commit to one of branches in `releaseBranches`."
|
|
1610
|
+
},
|
|
1611
|
+
"immutable": true,
|
|
1612
|
+
"locationInModule": {
|
|
1613
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1614
|
+
"line": 137
|
|
1615
|
+
},
|
|
1616
|
+
"name": "releaseEveryCommit",
|
|
1617
|
+
"optional": true,
|
|
1618
|
+
"type": {
|
|
1619
|
+
"primitive": "boolean"
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"abstract": true,
|
|
1624
|
+
"docs": {
|
|
1625
|
+
"default": "false",
|
|
1626
|
+
"stability": "experimental",
|
|
1627
|
+
"summary": "Create a github issue on every failed publishing task."
|
|
1628
|
+
},
|
|
1629
|
+
"immutable": true,
|
|
1630
|
+
"locationInModule": {
|
|
1631
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1632
|
+
"line": 130
|
|
1633
|
+
},
|
|
1634
|
+
"name": "releaseFailureIssue",
|
|
1635
|
+
"optional": true,
|
|
1636
|
+
"type": {
|
|
1637
|
+
"primitive": "boolean"
|
|
1638
|
+
}
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"abstract": true,
|
|
1642
|
+
"docs": {
|
|
1643
|
+
"default": "\"failed-release\"",
|
|
1644
|
+
"remarks": "Only applies if `releaseFailureIssue` is true.",
|
|
1645
|
+
"stability": "experimental",
|
|
1646
|
+
"summary": "The label to apply to issues indicating publish failures."
|
|
1647
|
+
},
|
|
1648
|
+
"immutable": true,
|
|
1649
|
+
"locationInModule": {
|
|
1650
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1651
|
+
"line": 124
|
|
1652
|
+
},
|
|
1653
|
+
"name": "releaseFailureIssueLabel",
|
|
1654
|
+
"optional": true,
|
|
1655
|
+
"type": {
|
|
1656
|
+
"primitive": "string"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"abstract": true,
|
|
1661
|
+
"docs": {
|
|
1662
|
+
"default": "- no scheduled releases",
|
|
1663
|
+
"deprecated": "Use `releaseTrigger: ReleaseTrigger.scheduled()` instead",
|
|
1664
|
+
"stability": "deprecated",
|
|
1665
|
+
"summary": "CRON schedule to trigger new releases."
|
|
1666
|
+
},
|
|
1667
|
+
"immutable": true,
|
|
1668
|
+
"locationInModule": {
|
|
1669
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1670
|
+
"line": 117
|
|
1671
|
+
},
|
|
1672
|
+
"name": "releaseSchedule",
|
|
1673
|
+
"optional": true,
|
|
1674
|
+
"type": {
|
|
1675
|
+
"primitive": "string"
|
|
1676
|
+
}
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"abstract": true,
|
|
1680
|
+
"docs": {
|
|
1681
|
+
"default": "\"v\"",
|
|
1682
|
+
"remarks": "Useful if you are releasing on multiple branches with overlapping version numbers.\nNote: this prefix is used to detect the latest tagged version\nwhen bumping, so if you change this on a project with an existing version\nhistory, you may need to manually tag your latest release\nwith the new prefix.",
|
|
1683
|
+
"stability": "experimental",
|
|
1684
|
+
"summary": "Automatically add the given prefix to release tags."
|
|
1685
|
+
},
|
|
1686
|
+
"immutable": true,
|
|
1687
|
+
"locationInModule": {
|
|
1688
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1689
|
+
"line": 110
|
|
1690
|
+
},
|
|
1691
|
+
"name": "releaseTagPrefix",
|
|
1692
|
+
"optional": true,
|
|
1693
|
+
"type": {
|
|
1694
|
+
"primitive": "string"
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"abstract": true,
|
|
1699
|
+
"docs": {
|
|
1700
|
+
"default": "- Continuous releases (`ReleaseTrigger.continuous()`)",
|
|
1701
|
+
"stability": "experimental",
|
|
1702
|
+
"summary": "The release trigger to use."
|
|
1703
|
+
},
|
|
1704
|
+
"immutable": true,
|
|
1705
|
+
"locationInModule": {
|
|
1706
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1707
|
+
"line": 100
|
|
1708
|
+
},
|
|
1709
|
+
"name": "releaseTrigger",
|
|
1710
|
+
"optional": true,
|
|
1711
|
+
"type": {
|
|
1712
|
+
"fqn": "projen.release.ReleaseTrigger"
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"abstract": true,
|
|
1717
|
+
"docs": {
|
|
1718
|
+
"default": "\"release\"",
|
|
1719
|
+
"stability": "experimental",
|
|
1720
|
+
"summary": "The name of the default release workflow."
|
|
1721
|
+
},
|
|
1722
|
+
"immutable": true,
|
|
1723
|
+
"locationInModule": {
|
|
1724
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1725
|
+
"line": 94
|
|
1726
|
+
},
|
|
1727
|
+
"name": "releaseWorkflowName",
|
|
1728
|
+
"optional": true,
|
|
1729
|
+
"type": {
|
|
1730
|
+
"primitive": "string"
|
|
1731
|
+
}
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
"abstract": true,
|
|
1735
|
+
"docs": {
|
|
1736
|
+
"stability": "experimental",
|
|
1737
|
+
"summary": "A set of workflow steps to execute in order to setup the workflow container."
|
|
1738
|
+
},
|
|
1739
|
+
"immutable": true,
|
|
1740
|
+
"locationInModule": {
|
|
1741
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1742
|
+
"line": 88
|
|
1743
|
+
},
|
|
1744
|
+
"name": "releaseWorkflowSetupSteps",
|
|
1745
|
+
"optional": true,
|
|
1746
|
+
"type": {
|
|
1747
|
+
"collection": {
|
|
1748
|
+
"elementtype": {
|
|
1749
|
+
"fqn": "projen.github.workflows.JobStep"
|
|
1750
|
+
},
|
|
1751
|
+
"kind": "array"
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
"abstract": true,
|
|
1757
|
+
"docs": {
|
|
1758
|
+
"default": "- standard configuration applicable for GitHub repositories",
|
|
1759
|
+
"remarks": "Given values either append to default configuration or overwrite values in it.",
|
|
1760
|
+
"stability": "experimental",
|
|
1761
|
+
"summary": "Custom configuration used when creating changelog with commit-and-tag-version package."
|
|
1762
|
+
},
|
|
1763
|
+
"immutable": true,
|
|
1764
|
+
"locationInModule": {
|
|
1765
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1766
|
+
"line": 83
|
|
1767
|
+
},
|
|
1768
|
+
"name": "versionrcOptions",
|
|
1769
|
+
"optional": true,
|
|
1770
|
+
"type": {
|
|
1771
|
+
"collection": {
|
|
1772
|
+
"elementtype": {
|
|
1773
|
+
"primitive": "any"
|
|
1774
|
+
},
|
|
1775
|
+
"kind": "map"
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"abstract": true,
|
|
1781
|
+
"docs": {
|
|
1782
|
+
"default": "- default image",
|
|
1783
|
+
"stability": "experimental",
|
|
1784
|
+
"summary": "Container image to use for GitHub workflows."
|
|
1785
|
+
},
|
|
1786
|
+
"immutable": true,
|
|
1787
|
+
"locationInModule": {
|
|
1788
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1789
|
+
"line": 76
|
|
1790
|
+
},
|
|
1791
|
+
"name": "workflowContainerImage",
|
|
1792
|
+
"optional": true,
|
|
1793
|
+
"type": {
|
|
1794
|
+
"primitive": "string"
|
|
1795
|
+
}
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"abstract": true,
|
|
1799
|
+
"docs": {
|
|
1800
|
+
"default": "\"lts/*\"\"",
|
|
1801
|
+
"remarks": "For example `publib`, the CLI projen uses to publish releases,\nis an npm library.",
|
|
1802
|
+
"stability": "experimental",
|
|
1803
|
+
"summary": "Node version to setup in GitHub workflows if any node-based CLI utilities are needed."
|
|
1804
|
+
},
|
|
1805
|
+
"immutable": true,
|
|
1806
|
+
"locationInModule": {
|
|
1807
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1808
|
+
"line": 21
|
|
1809
|
+
},
|
|
1810
|
+
"name": "workflowNodeVersion",
|
|
1811
|
+
"optional": true,
|
|
1812
|
+
"type": {
|
|
1813
|
+
"primitive": "string"
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"abstract": true,
|
|
1818
|
+
"docs": {
|
|
1819
|
+
"default": "`{ contents: JobPermission.WRITE }`",
|
|
1820
|
+
"stability": "experimental",
|
|
1821
|
+
"summary": "Permissions granted to the release workflow job."
|
|
1822
|
+
},
|
|
1823
|
+
"immutable": true,
|
|
1824
|
+
"locationInModule": {
|
|
1825
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1826
|
+
"line": 13
|
|
1827
|
+
},
|
|
1828
|
+
"name": "workflowPermissions",
|
|
1829
|
+
"optional": true,
|
|
1830
|
+
"type": {
|
|
1831
|
+
"fqn": "projen.github.workflows.JobPermissions"
|
|
1832
|
+
}
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"abstract": true,
|
|
1836
|
+
"docs": {
|
|
1837
|
+
"custom": {
|
|
1838
|
+
"description": "Defines a target Runner by labels",
|
|
1839
|
+
"throws": "{Error} if both `runsOn` and `runsOnGroup` are specified"
|
|
1840
|
+
},
|
|
1841
|
+
"default": "[\"ubuntu-latest\"]",
|
|
1842
|
+
"stability": "experimental",
|
|
1843
|
+
"summary": "Github Runner selection labels."
|
|
1844
|
+
},
|
|
1845
|
+
"immutable": true,
|
|
1846
|
+
"locationInModule": {
|
|
1847
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1848
|
+
"line": 70
|
|
1849
|
+
},
|
|
1850
|
+
"name": "workflowRunsOn",
|
|
1851
|
+
"optional": true,
|
|
1852
|
+
"type": {
|
|
1853
|
+
"collection": {
|
|
1854
|
+
"elementtype": {
|
|
1855
|
+
"primitive": "string"
|
|
1856
|
+
},
|
|
1857
|
+
"kind": "array"
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
"abstract": true,
|
|
1863
|
+
"docs": {
|
|
1864
|
+
"custom": {
|
|
1865
|
+
"description": "Defines a target Runner Group by name and/or labels",
|
|
1866
|
+
"throws": "{Error} if both `runsOn` and `runsOnGroup` are specified"
|
|
1867
|
+
},
|
|
1868
|
+
"stability": "experimental",
|
|
1869
|
+
"summary": "Github Runner Group selection options."
|
|
1870
|
+
},
|
|
1871
|
+
"immutable": true,
|
|
1872
|
+
"locationInModule": {
|
|
1873
|
+
"filename": "src/TagReleaseOptions.ts",
|
|
1874
|
+
"line": 62
|
|
1875
|
+
},
|
|
1876
|
+
"name": "workflowRunsOnGroup",
|
|
1877
|
+
"optional": true,
|
|
1878
|
+
"type": {
|
|
1879
|
+
"fqn": "projen.GroupRunnerOptions"
|
|
1880
|
+
}
|
|
1881
|
+
}
|
|
1882
|
+
],
|
|
1883
|
+
"symbolId": "src/TagReleaseOptions:TagReleaseOptions"
|
|
1884
|
+
},
|
|
1217
1885
|
"@hallcor/pulumi-projen-project-types.TypeScriptProject": {
|
|
1218
1886
|
"assembly": "@hallcor/pulumi-projen-project-types",
|
|
1219
1887
|
"base": "projen.typescript.TypeScriptProject",
|
|
@@ -1227,7 +1895,7 @@
|
|
|
1227
1895
|
},
|
|
1228
1896
|
"locationInModule": {
|
|
1229
1897
|
"filename": "src/typescript-base.ts",
|
|
1230
|
-
"line":
|
|
1898
|
+
"line": 13
|
|
1231
1899
|
},
|
|
1232
1900
|
"parameters": [
|
|
1233
1901
|
{
|
|
@@ -1241,12 +1909,12 @@
|
|
|
1241
1909
|
"kind": "class",
|
|
1242
1910
|
"locationInModule": {
|
|
1243
1911
|
"filename": "src/typescript-base.ts",
|
|
1244
|
-
"line":
|
|
1912
|
+
"line": 12
|
|
1245
1913
|
},
|
|
1246
1914
|
"name": "TypeScriptProject",
|
|
1247
1915
|
"symbolId": "src/typescript-base:TypeScriptProject"
|
|
1248
1916
|
}
|
|
1249
1917
|
},
|
|
1250
|
-
"version": "0.0.
|
|
1251
|
-
"fingerprint": "
|
|
1918
|
+
"version": "0.0.2",
|
|
1919
|
+
"fingerprint": "sR8FUdFmftZOiUL+Ih3PMt2nDMBRQ/VYrFeAMtezusY="
|
|
1252
1920
|
}
|