lerna-projen 0.1.517 → 0.1.518
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 +3 -3
- package/API.md +96 -0
- package/lib/index.js +2 -2
- package/package.json +3 -3
package/.jsii
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"constructs": "^10.4.2",
|
|
18
|
-
"projen": "^0.90.
|
|
18
|
+
"projen": "^0.90.3"
|
|
19
19
|
},
|
|
20
20
|
"dependencyClosure": {
|
|
21
21
|
"constructs": {
|
|
@@ -1001,6 +1001,6 @@
|
|
|
1001
1001
|
"symbolId": "src/utils:AddNxTaskDependencyOptions"
|
|
1002
1002
|
}
|
|
1003
1003
|
},
|
|
1004
|
-
"version": "0.1.
|
|
1005
|
-
"fingerprint": "
|
|
1004
|
+
"version": "0.1.518",
|
|
1005
|
+
"fingerprint": "Q+mXhZmqlUZ4QNpg49eigsZc6/Ilb4EZ4d0rz45Rs0U="
|
|
1006
1006
|
}
|
package/API.md
CHANGED
|
@@ -3390,9 +3390,11 @@ const lernaProjectOptions: LernaProjectOptions = { ... }
|
|
|
3390
3390
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.scripts">scripts</a></code> | <code>{[ key: string ]: string}</code> | npm scripts to include. |
|
|
3391
3391
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.stability">stability</a></code> | <code>string</code> | Package's Stability. |
|
|
3392
3392
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.yarnBerryOptions">yarnBerryOptions</a></code> | <code>projen.javascript.YarnBerryOptions</code> | Options for Yarn Berry. |
|
|
3393
|
+
| <code><a href="#lerna-projen.LernaProjectOptions.property.bumpPackage">bumpPackage</a></code> | <code>string</code> | The `commit-and-tag-version` compatible package used to bump the package version, as a dependency string. |
|
|
3393
3394
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.jsiiReleaseVersion">jsiiReleaseVersion</a></code> | <code>string</code> | Version requirement of `publib` which is used to publish modules to npm. |
|
|
3394
3395
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.majorVersion">majorVersion</a></code> | <code>number</code> | Major version to release from the default branch. |
|
|
3395
3396
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.minMajorVersion">minMajorVersion</a></code> | <code>number</code> | Minimal Major version to release. |
|
|
3397
|
+
| <code><a href="#lerna-projen.LernaProjectOptions.property.nextVersionCommand">nextVersionCommand</a></code> | <code>string</code> | A shell command to control the next version to release. |
|
|
3396
3398
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.npmDistTag">npmDistTag</a></code> | <code>string</code> | The npmDistTag to use when publishing from the default branch. |
|
|
3397
3399
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.postBuildSteps">postBuildSteps</a></code> | <code>projen.github.workflows.JobStep[]</code> | Steps to execute after build as part of the release workflow. |
|
|
3398
3400
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.prerelease">prerelease</a></code> | <code>string</code> | Bump versions from the default branch as pre-releases (e.g. "beta", "alpha", "pre"). |
|
|
@@ -4453,6 +4455,21 @@ Options for Yarn Berry.
|
|
|
4453
4455
|
|
|
4454
4456
|
---
|
|
4455
4457
|
|
|
4458
|
+
##### `bumpPackage`<sup>Optional</sup> <a name="bumpPackage" id="lerna-projen.LernaProjectOptions.property.bumpPackage"></a>
|
|
4459
|
+
|
|
4460
|
+
```typescript
|
|
4461
|
+
public readonly bumpPackage: string;
|
|
4462
|
+
```
|
|
4463
|
+
|
|
4464
|
+
- *Type:* string
|
|
4465
|
+
- *Default:* A recent version of "commit-and-tag-version"
|
|
4466
|
+
|
|
4467
|
+
The `commit-and-tag-version` compatible package used to bump the package version, as a dependency string.
|
|
4468
|
+
|
|
4469
|
+
This can be any compatible package version, including the deprecated `standard-version@9`.
|
|
4470
|
+
|
|
4471
|
+
---
|
|
4472
|
+
|
|
4456
4473
|
##### `jsiiReleaseVersion`<sup>Optional</sup> <a name="jsiiReleaseVersion" id="lerna-projen.LernaProjectOptions.property.jsiiReleaseVersion"></a>
|
|
4457
4474
|
|
|
4458
4475
|
```typescript
|
|
@@ -4500,6 +4517,37 @@ Can not be set together with `majorVersion`.
|
|
|
4500
4517
|
|
|
4501
4518
|
---
|
|
4502
4519
|
|
|
4520
|
+
##### `nextVersionCommand`<sup>Optional</sup> <a name="nextVersionCommand" id="lerna-projen.LernaProjectOptions.property.nextVersionCommand"></a>
|
|
4521
|
+
|
|
4522
|
+
```typescript
|
|
4523
|
+
public readonly nextVersionCommand: string;
|
|
4524
|
+
```
|
|
4525
|
+
|
|
4526
|
+
- *Type:* string
|
|
4527
|
+
- *Default:* The next version will be determined based on the commit history and project settings.
|
|
4528
|
+
|
|
4529
|
+
A shell command to control the next version to release.
|
|
4530
|
+
|
|
4531
|
+
If present, this shell command will be run before the bump is executed, and
|
|
4532
|
+
it determines what version to release. It will be executed in the following
|
|
4533
|
+
environment:
|
|
4534
|
+
|
|
4535
|
+
- Working directory: the project directory.
|
|
4536
|
+
- `$VERSION`: the current version. Looks like `1.2.3`.
|
|
4537
|
+
- `$LATEST_TAG`: the most recent tag. Looks like `prefix-v1.2.3`, or may be unset.
|
|
4538
|
+
|
|
4539
|
+
The command should print one of the following to `stdout`:
|
|
4540
|
+
|
|
4541
|
+
- Nothing: the next version number will be determined based on commit history.
|
|
4542
|
+
- `x.y.z`: the next version number will be `x.y.z`.
|
|
4543
|
+
- `major|minor|patch`: the next version number will be the current version number
|
|
4544
|
+
with the indicated component bumped.
|
|
4545
|
+
|
|
4546
|
+
This setting cannot be specified together with `minMajorVersion`; the invoked
|
|
4547
|
+
script can be used to achieve the effects of `minMajorVersion`.
|
|
4548
|
+
|
|
4549
|
+
---
|
|
4550
|
+
|
|
4503
4551
|
##### `npmDistTag`<sup>Optional</sup> <a name="npmDistTag" id="lerna-projen.LernaProjectOptions.property.npmDistTag"></a>
|
|
4504
4552
|
|
|
4505
4553
|
```typescript
|
|
@@ -5481,9 +5529,11 @@ const lernaTypescriptProjectOptions: LernaTypescriptProjectOptions = { ... }
|
|
|
5481
5529
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.scripts">scripts</a></code> | <code>{[ key: string ]: string}</code> | npm scripts to include. |
|
|
5482
5530
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.stability">stability</a></code> | <code>string</code> | Package's Stability. |
|
|
5483
5531
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.yarnBerryOptions">yarnBerryOptions</a></code> | <code>projen.javascript.YarnBerryOptions</code> | Options for Yarn Berry. |
|
|
5532
|
+
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.bumpPackage">bumpPackage</a></code> | <code>string</code> | The `commit-and-tag-version` compatible package used to bump the package version, as a dependency string. |
|
|
5484
5533
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.jsiiReleaseVersion">jsiiReleaseVersion</a></code> | <code>string</code> | Version requirement of `publib` which is used to publish modules to npm. |
|
|
5485
5534
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.majorVersion">majorVersion</a></code> | <code>number</code> | Major version to release from the default branch. |
|
|
5486
5535
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.minMajorVersion">minMajorVersion</a></code> | <code>number</code> | Minimal Major version to release. |
|
|
5536
|
+
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.nextVersionCommand">nextVersionCommand</a></code> | <code>string</code> | A shell command to control the next version to release. |
|
|
5487
5537
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.npmDistTag">npmDistTag</a></code> | <code>string</code> | The npmDistTag to use when publishing from the default branch. |
|
|
5488
5538
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.postBuildSteps">postBuildSteps</a></code> | <code>projen.github.workflows.JobStep[]</code> | Steps to execute after build as part of the release workflow. |
|
|
5489
5539
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.prerelease">prerelease</a></code> | <code>string</code> | Bump versions from the default branch as pre-releases (e.g. "beta", "alpha", "pre"). |
|
|
@@ -6560,6 +6610,21 @@ Options for Yarn Berry.
|
|
|
6560
6610
|
|
|
6561
6611
|
---
|
|
6562
6612
|
|
|
6613
|
+
##### `bumpPackage`<sup>Optional</sup> <a name="bumpPackage" id="lerna-projen.LernaTypescriptProjectOptions.property.bumpPackage"></a>
|
|
6614
|
+
|
|
6615
|
+
```typescript
|
|
6616
|
+
public readonly bumpPackage: string;
|
|
6617
|
+
```
|
|
6618
|
+
|
|
6619
|
+
- *Type:* string
|
|
6620
|
+
- *Default:* A recent version of "commit-and-tag-version"
|
|
6621
|
+
|
|
6622
|
+
The `commit-and-tag-version` compatible package used to bump the package version, as a dependency string.
|
|
6623
|
+
|
|
6624
|
+
This can be any compatible package version, including the deprecated `standard-version@9`.
|
|
6625
|
+
|
|
6626
|
+
---
|
|
6627
|
+
|
|
6563
6628
|
##### `jsiiReleaseVersion`<sup>Optional</sup> <a name="jsiiReleaseVersion" id="lerna-projen.LernaTypescriptProjectOptions.property.jsiiReleaseVersion"></a>
|
|
6564
6629
|
|
|
6565
6630
|
```typescript
|
|
@@ -6607,6 +6672,37 @@ Can not be set together with `majorVersion`.
|
|
|
6607
6672
|
|
|
6608
6673
|
---
|
|
6609
6674
|
|
|
6675
|
+
##### `nextVersionCommand`<sup>Optional</sup> <a name="nextVersionCommand" id="lerna-projen.LernaTypescriptProjectOptions.property.nextVersionCommand"></a>
|
|
6676
|
+
|
|
6677
|
+
```typescript
|
|
6678
|
+
public readonly nextVersionCommand: string;
|
|
6679
|
+
```
|
|
6680
|
+
|
|
6681
|
+
- *Type:* string
|
|
6682
|
+
- *Default:* The next version will be determined based on the commit history and project settings.
|
|
6683
|
+
|
|
6684
|
+
A shell command to control the next version to release.
|
|
6685
|
+
|
|
6686
|
+
If present, this shell command will be run before the bump is executed, and
|
|
6687
|
+
it determines what version to release. It will be executed in the following
|
|
6688
|
+
environment:
|
|
6689
|
+
|
|
6690
|
+
- Working directory: the project directory.
|
|
6691
|
+
- `$VERSION`: the current version. Looks like `1.2.3`.
|
|
6692
|
+
- `$LATEST_TAG`: the most recent tag. Looks like `prefix-v1.2.3`, or may be unset.
|
|
6693
|
+
|
|
6694
|
+
The command should print one of the following to `stdout`:
|
|
6695
|
+
|
|
6696
|
+
- Nothing: the next version number will be determined based on commit history.
|
|
6697
|
+
- `x.y.z`: the next version number will be `x.y.z`.
|
|
6698
|
+
- `major|minor|patch`: the next version number will be the current version number
|
|
6699
|
+
with the indicated component bumped.
|
|
6700
|
+
|
|
6701
|
+
This setting cannot be specified together with `minMajorVersion`; the invoked
|
|
6702
|
+
script can be used to achieve the effects of `minMajorVersion`.
|
|
6703
|
+
|
|
6704
|
+
---
|
|
6705
|
+
|
|
6610
6706
|
##### `npmDistTag`<sup>Optional</sup> <a name="npmDistTag" id="lerna-projen.LernaTypescriptProjectOptions.property.npmDistTag"></a>
|
|
6611
6707
|
|
|
6612
6708
|
```typescript
|
package/lib/index.js
CHANGED
|
@@ -92,7 +92,7 @@ class LernaProject extends projen_1.javascript.NodeProject {
|
|
|
92
92
|
}
|
|
93
93
|
exports.LernaProject = LernaProject;
|
|
94
94
|
_a = JSII_RTTI_SYMBOL_1;
|
|
95
|
-
LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.
|
|
95
|
+
LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.518" };
|
|
96
96
|
/**
|
|
97
97
|
* @pjid lerna-ts-project
|
|
98
98
|
*/
|
|
@@ -125,7 +125,7 @@ class LernaTypescriptProject extends projen_1.typescript.TypeScriptProject {
|
|
|
125
125
|
}
|
|
126
126
|
exports.LernaTypescriptProject = LernaTypescriptProject;
|
|
127
127
|
_b = JSII_RTTI_SYMBOL_1;
|
|
128
|
-
LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.
|
|
128
|
+
LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.518" };
|
|
129
129
|
class LernaProjectFactory {
|
|
130
130
|
constructor(project) {
|
|
131
131
|
this.project = project;
|
package/package.json
CHANGED
|
@@ -59,14 +59,14 @@
|
|
|
59
59
|
"jsii-docgen": "^10.5.0",
|
|
60
60
|
"jsii-pacmak": "^1.105.0",
|
|
61
61
|
"jsii-rosetta": "5.4.x",
|
|
62
|
-
"projen": "^0.90.
|
|
62
|
+
"projen": "^0.90.3",
|
|
63
63
|
"ts-jest": "^29.2.5",
|
|
64
64
|
"ts-node": "^10.9.2",
|
|
65
65
|
"typescript": "^5.6.3"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"constructs": "^10.4.2",
|
|
69
|
-
"projen": "^0.90.
|
|
69
|
+
"projen": "^0.90.3"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"commander": "^11.1.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"publishConfig": {
|
|
91
91
|
"access": "public"
|
|
92
92
|
},
|
|
93
|
-
"version": "0.1.
|
|
93
|
+
"version": "0.1.518",
|
|
94
94
|
"jest": {
|
|
95
95
|
"coverageProvider": "v8",
|
|
96
96
|
"testMatch": [
|