lerna-projen 0.1.769 → 0.1.771
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 +44 -0
- package/lib/index.js +2 -2
- package/package.json +3 -3
package/.jsii
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"fs-extra": "^9.1.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"constructs": "^10.
|
|
17
|
+
"constructs": "^10.5.0",
|
|
18
18
|
"projen": "^0.99.12"
|
|
19
19
|
},
|
|
20
20
|
"dependencyClosure": {
|
|
@@ -1125,6 +1125,6 @@
|
|
|
1125
1125
|
"symbolId": "src/utils:AddNxTaskDependencyOptions"
|
|
1126
1126
|
}
|
|
1127
1127
|
},
|
|
1128
|
-
"version": "0.1.
|
|
1129
|
-
"fingerprint": "
|
|
1128
|
+
"version": "0.1.771",
|
|
1129
|
+
"fingerprint": "SMcsByc+Sn1d9NvQ66l6nc9BrbioZe/Q1fum9iU/I0s="
|
|
1130
1130
|
}
|
package/API.md
CHANGED
|
@@ -29,6 +29,7 @@ new LernaProject(options: LernaProjectOptions)
|
|
|
29
29
|
| **Name** | **Description** |
|
|
30
30
|
| --- | --- |
|
|
31
31
|
| <code><a href="#lerna-projen.LernaProject.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
32
|
+
| <code><a href="#lerna-projen.LernaProject.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
32
33
|
| <code><a href="#lerna-projen.LernaProject.addExcludeFromCleanup">addExcludeFromCleanup</a></code> | Exclude the matching files from pre-synth cleanup. |
|
|
33
34
|
| <code><a href="#lerna-projen.LernaProject.addGitIgnore">addGitIgnore</a></code> | Adds a .gitignore pattern. |
|
|
34
35
|
| <code><a href="#lerna-projen.LernaProject.addPackageIgnore">addPackageIgnore</a></code> | Adds patterns to be ignored by npm. |
|
|
@@ -70,6 +71,27 @@ public toString(): string
|
|
|
70
71
|
|
|
71
72
|
Returns a string representation of this construct.
|
|
72
73
|
|
|
74
|
+
##### `with` <a name="with" id="lerna-projen.LernaProject.with"></a>
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
public with(mixins: ...IMixin[]): IConstruct
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Applies one or more mixins to this construct.
|
|
81
|
+
|
|
82
|
+
Mixins are applied in order. The list of constructs is captured at the
|
|
83
|
+
start of the call, so constructs added by a mixin will not be visited.
|
|
84
|
+
Use multiple `with()` calls if subsequent mixins should apply to added
|
|
85
|
+
constructs.
|
|
86
|
+
|
|
87
|
+
###### `mixins`<sup>Required</sup> <a name="mixins" id="lerna-projen.LernaProject.with.parameter.mixins"></a>
|
|
88
|
+
|
|
89
|
+
- *Type:* ...constructs.IMixin[]
|
|
90
|
+
|
|
91
|
+
The mixins to apply.
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
73
95
|
##### `addExcludeFromCleanup` <a name="addExcludeFromCleanup" id="lerna-projen.LernaProject.addExcludeFromCleanup"></a>
|
|
74
96
|
|
|
75
97
|
```typescript
|
|
@@ -1538,6 +1560,7 @@ new LernaTypescriptProject(options: LernaTypescriptProjectOptions)
|
|
|
1538
1560
|
| **Name** | **Description** |
|
|
1539
1561
|
| --- | --- |
|
|
1540
1562
|
| <code><a href="#lerna-projen.LernaTypescriptProject.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
1563
|
+
| <code><a href="#lerna-projen.LernaTypescriptProject.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
1541
1564
|
| <code><a href="#lerna-projen.LernaTypescriptProject.addExcludeFromCleanup">addExcludeFromCleanup</a></code> | Exclude the matching files from pre-synth cleanup. |
|
|
1542
1565
|
| <code><a href="#lerna-projen.LernaTypescriptProject.addGitIgnore">addGitIgnore</a></code> | Adds a .gitignore pattern. |
|
|
1543
1566
|
| <code><a href="#lerna-projen.LernaTypescriptProject.addPackageIgnore">addPackageIgnore</a></code> | Adds patterns to be ignored by npm. |
|
|
@@ -1579,6 +1602,27 @@ public toString(): string
|
|
|
1579
1602
|
|
|
1580
1603
|
Returns a string representation of this construct.
|
|
1581
1604
|
|
|
1605
|
+
##### `with` <a name="with" id="lerna-projen.LernaTypescriptProject.with"></a>
|
|
1606
|
+
|
|
1607
|
+
```typescript
|
|
1608
|
+
public with(mixins: ...IMixin[]): IConstruct
|
|
1609
|
+
```
|
|
1610
|
+
|
|
1611
|
+
Applies one or more mixins to this construct.
|
|
1612
|
+
|
|
1613
|
+
Mixins are applied in order. The list of constructs is captured at the
|
|
1614
|
+
start of the call, so constructs added by a mixin will not be visited.
|
|
1615
|
+
Use multiple `with()` calls if subsequent mixins should apply to added
|
|
1616
|
+
constructs.
|
|
1617
|
+
|
|
1618
|
+
###### `mixins`<sup>Required</sup> <a name="mixins" id="lerna-projen.LernaTypescriptProject.with.parameter.mixins"></a>
|
|
1619
|
+
|
|
1620
|
+
- *Type:* ...constructs.IMixin[]
|
|
1621
|
+
|
|
1622
|
+
The mixins to apply.
|
|
1623
|
+
|
|
1624
|
+
---
|
|
1625
|
+
|
|
1582
1626
|
##### `addExcludeFromCleanup` <a name="addExcludeFromCleanup" id="lerna-projen.LernaTypescriptProject.addExcludeFromCleanup"></a>
|
|
1583
1627
|
|
|
1584
1628
|
```typescript
|
package/lib/index.js
CHANGED
|
@@ -98,7 +98,7 @@ class LernaProject extends projen_1.javascript.NodeProject {
|
|
|
98
98
|
}
|
|
99
99
|
exports.LernaProject = LernaProject;
|
|
100
100
|
_a = JSII_RTTI_SYMBOL_1;
|
|
101
|
-
LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.
|
|
101
|
+
LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.771" };
|
|
102
102
|
/**
|
|
103
103
|
* @pjid lerna-ts-project
|
|
104
104
|
*/
|
|
@@ -134,7 +134,7 @@ class LernaTypescriptProject extends projen_1.typescript.TypeScriptProject {
|
|
|
134
134
|
}
|
|
135
135
|
exports.LernaTypescriptProject = LernaTypescriptProject;
|
|
136
136
|
_b = JSII_RTTI_SYMBOL_1;
|
|
137
|
-
LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.
|
|
137
|
+
LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.771" };
|
|
138
138
|
class LernaProjectFactory {
|
|
139
139
|
constructor(project) {
|
|
140
140
|
this.project = project;
|
package/package.json
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
49
49
|
"@typescript-eslint/parser": "^8",
|
|
50
50
|
"commit-and-tag-version": "^12",
|
|
51
|
-
"constructs": "^10.
|
|
51
|
+
"constructs": "^10.5.0",
|
|
52
52
|
"eslint": "^9",
|
|
53
53
|
"eslint-import-resolver-typescript": "^3.10.1",
|
|
54
54
|
"eslint-plugin-import": "^2.32.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"typescript": "^5.9.3"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"constructs": "^10.
|
|
68
|
+
"constructs": "^10.5.0",
|
|
69
69
|
"projen": "^0.99.12"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"publishConfig": {
|
|
91
91
|
"access": "public"
|
|
92
92
|
},
|
|
93
|
-
"version": "0.1.
|
|
93
|
+
"version": "0.1.771",
|
|
94
94
|
"jest": {
|
|
95
95
|
"coverageProvider": "v8",
|
|
96
96
|
"testMatch": [
|