lerna-projen 0.1.934 → 0.1.936
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 +46 -0
- package/lib/index.js +2 -2
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"constructs": "^10.8.1",
|
|
18
|
-
"projen": "^0.104.
|
|
18
|
+
"projen": "^0.104.14"
|
|
19
19
|
},
|
|
20
20
|
"dependencyClosure": {
|
|
21
21
|
"constructs": {
|
|
@@ -1129,6 +1129,6 @@
|
|
|
1129
1129
|
"symbolId": "src/utils:AddNxTaskDependencyOptions"
|
|
1130
1130
|
}
|
|
1131
1131
|
},
|
|
1132
|
-
"version": "0.1.
|
|
1133
|
-
"fingerprint": "
|
|
1132
|
+
"version": "0.1.936",
|
|
1133
|
+
"fingerprint": "y22dgE2ZaPcbPngMh6h4h9wlzBqPjsd3z0JGuxzTtmk="
|
|
1134
1134
|
}
|
package/API.md
CHANGED
|
@@ -3306,6 +3306,7 @@ const lernaProjectOptions: LernaProjectOptions = { ... }
|
|
|
3306
3306
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.workflowGitIdentity">workflowGitIdentity</a></code> | <code>projen.github.GitIdentity</code> | The git identity to use in workflows. |
|
|
3307
3307
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.workflowNodeVersion">workflowNodeVersion</a></code> | <code>string</code> | The node version used in GitHub Actions workflows. |
|
|
3308
3308
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.workflowPackageCache">workflowPackageCache</a></code> | <code>boolean</code> | Enable Node.js package cache in GitHub workflows. |
|
|
3309
|
+
| <code><a href="#lerna-projen.LernaProjectOptions.property.workflowPermissions">workflowPermissions</a></code> | <code>projen.github.workflows.JobPermissions</code> | Permissions for the main build, release and dependency upgrade jobs. |
|
|
3309
3310
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.independentMode">independentMode</a></code> | <code>boolean</code> | Whether or not to use independent versioning for sub-projects https://lerna.js.org/docs/features/version-and-publish#independent-mode. |
|
|
3310
3311
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.sinceGitReferenceEnvironmentVariableName">sinceGitReferenceEnvironmentVariableName</a></code> | <code>string</code> | (experimental) Environment variable name to read the git reference from to be used as the base for the `since` option in lerna commands. |
|
|
3311
3312
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.sinceLastRelease">sinceLastRelease</a></code> | <code>boolean</code> | (experimental) Flag to run tasks only for the packages that has changes since last release. |
|
|
@@ -5345,6 +5346,28 @@ Enable Node.js package cache in GitHub workflows.
|
|
|
5345
5346
|
|
|
5346
5347
|
---
|
|
5347
5348
|
|
|
5349
|
+
##### `workflowPermissions`<sup>Optional</sup> <a name="workflowPermissions" id="lerna-projen.LernaProjectOptions.property.workflowPermissions"></a>
|
|
5350
|
+
|
|
5351
|
+
```typescript
|
|
5352
|
+
public readonly workflowPermissions: JobPermissions;
|
|
5353
|
+
```
|
|
5354
|
+
|
|
5355
|
+
- *Type:* projen.github.workflows.JobPermissions
|
|
5356
|
+
- *Default:* Use the job defaults and automatically inferred permissions.
|
|
5357
|
+
|
|
5358
|
+
Permissions for the main build, release and dependency upgrade jobs.
|
|
5359
|
+
|
|
5360
|
+
Defined scopes override the job defaults and automatically inferred permissions,
|
|
5361
|
+
including CodeArtifact and Codecov OIDC. Undefined scopes keep their defaults.
|
|
5362
|
+
Use `JobPermission.NONE` to explicitly remove a permission.
|
|
5363
|
+
|
|
5364
|
+
`buildWorkflowOptions.permissions` replaces this entire set, including automatic
|
|
5365
|
+
permissions. `depsUpgradeOptions.workflowOptions.permissions` overrides individual
|
|
5366
|
+
scopes. Applies to all release branches, but not to separate package, publishing,
|
|
5367
|
+
self-mutation or pull request creation jobs, or unrelated workflows.
|
|
5368
|
+
|
|
5369
|
+
---
|
|
5370
|
+
|
|
5348
5371
|
##### `independentMode`<sup>Optional</sup> <a name="independentMode" id="lerna-projen.LernaProjectOptions.property.independentMode"></a>
|
|
5349
5372
|
|
|
5350
5373
|
```typescript
|
|
@@ -5615,6 +5638,7 @@ const lernaTypescriptProjectOptions: LernaTypescriptProjectOptions = { ... }
|
|
|
5615
5638
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.workflowGitIdentity">workflowGitIdentity</a></code> | <code>projen.github.GitIdentity</code> | The git identity to use in workflows. |
|
|
5616
5639
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.workflowNodeVersion">workflowNodeVersion</a></code> | <code>string</code> | The node version used in GitHub Actions workflows. |
|
|
5617
5640
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.workflowPackageCache">workflowPackageCache</a></code> | <code>boolean</code> | Enable Node.js package cache in GitHub workflows. |
|
|
5641
|
+
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.workflowPermissions">workflowPermissions</a></code> | <code>projen.github.workflows.JobPermissions</code> | Permissions for the main build, release and dependency upgrade jobs. |
|
|
5618
5642
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.disableTsconfig">disableTsconfig</a></code> | <code>boolean</code> | Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler). |
|
|
5619
5643
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.disableTsconfigDev">disableTsconfigDev</a></code> | <code>boolean</code> | Do not generate a development tsconfig file. |
|
|
5620
5644
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.docgen">docgen</a></code> | <code>boolean</code> | Docgen by Typedoc. |
|
|
@@ -7672,6 +7696,28 @@ Enable Node.js package cache in GitHub workflows.
|
|
|
7672
7696
|
|
|
7673
7697
|
---
|
|
7674
7698
|
|
|
7699
|
+
##### `workflowPermissions`<sup>Optional</sup> <a name="workflowPermissions" id="lerna-projen.LernaTypescriptProjectOptions.property.workflowPermissions"></a>
|
|
7700
|
+
|
|
7701
|
+
```typescript
|
|
7702
|
+
public readonly workflowPermissions: JobPermissions;
|
|
7703
|
+
```
|
|
7704
|
+
|
|
7705
|
+
- *Type:* projen.github.workflows.JobPermissions
|
|
7706
|
+
- *Default:* Use the job defaults and automatically inferred permissions.
|
|
7707
|
+
|
|
7708
|
+
Permissions for the main build, release and dependency upgrade jobs.
|
|
7709
|
+
|
|
7710
|
+
Defined scopes override the job defaults and automatically inferred permissions,
|
|
7711
|
+
including CodeArtifact and Codecov OIDC. Undefined scopes keep their defaults.
|
|
7712
|
+
Use `JobPermission.NONE` to explicitly remove a permission.
|
|
7713
|
+
|
|
7714
|
+
`buildWorkflowOptions.permissions` replaces this entire set, including automatic
|
|
7715
|
+
permissions. `depsUpgradeOptions.workflowOptions.permissions` overrides individual
|
|
7716
|
+
scopes. Applies to all release branches, but not to separate package, publishing,
|
|
7717
|
+
self-mutation or pull request creation jobs, or unrelated workflows.
|
|
7718
|
+
|
|
7719
|
+
---
|
|
7720
|
+
|
|
7675
7721
|
##### `disableTsconfig`<sup>Optional</sup> <a name="disableTsconfig" id="lerna-projen.LernaTypescriptProjectOptions.property.disableTsconfig"></a>
|
|
7676
7722
|
|
|
7677
7723
|
```typescript
|
package/lib/index.js
CHANGED
|
@@ -97,7 +97,7 @@ const lockedTaskNames = ['build', 'upgrade', 'upgrade-projen', 'clobber', 'post-
|
|
|
97
97
|
* @pjid lerna-project
|
|
98
98
|
*/
|
|
99
99
|
class LernaProject extends projen_1.javascript.NodeProject {
|
|
100
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaProject", version: "0.1.
|
|
100
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaProject", version: "0.1.936" };
|
|
101
101
|
projenrcTs;
|
|
102
102
|
docsDirectory;
|
|
103
103
|
docgen;
|
|
@@ -151,7 +151,7 @@ exports.LernaProject = LernaProject;
|
|
|
151
151
|
* @pjid lerna-ts-project
|
|
152
152
|
*/
|
|
153
153
|
class LernaTypescriptProject extends projen_1.typescript.TypeScriptProject {
|
|
154
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.
|
|
154
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.936" };
|
|
155
155
|
sinceLastRelease;
|
|
156
156
|
useNx;
|
|
157
157
|
independentMode;
|
package/package.json
CHANGED
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"jsii-docgen": "^10.5.0",
|
|
34
34
|
"jsii-pacmak": "^1.142.0",
|
|
35
35
|
"jsii-rosetta": "5.9.x",
|
|
36
|
-
"mise-projen": "^0.0.
|
|
37
|
-
"projen": "^0.104.
|
|
36
|
+
"mise-projen": "^0.0.24",
|
|
37
|
+
"projen": "^0.104.14",
|
|
38
38
|
"ts-jest": "^29.4.15",
|
|
39
39
|
"ts-node": "^10.9.2",
|
|
40
40
|
"typescript": "^5.9.3"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"constructs": "^10.8.1",
|
|
44
|
-
"projen": "^0.104.
|
|
44
|
+
"projen": "^0.104.14"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"commander": "^11.1.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"version": "0.1.
|
|
76
|
+
"version": "0.1.936",
|
|
77
77
|
"jest": {
|
|
78
78
|
"coverageProvider": "v8",
|
|
79
79
|
"testMatch": [
|