lerna-projen 0.1.53 → 0.1.55
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 +34 -0
- package/lib/index.js +2 -2
- package/package.json +5 -5
package/.jsii
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"fs-extra": "^9.1.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"projen": "^0.
|
|
17
|
+
"projen": "^0.70.1"
|
|
18
18
|
},
|
|
19
19
|
"dependencyClosure": {
|
|
20
20
|
"projen": {
|
|
@@ -781,6 +781,6 @@
|
|
|
781
781
|
"symbolId": "src/types:TaskCustomization"
|
|
782
782
|
}
|
|
783
783
|
},
|
|
784
|
-
"version": "0.1.
|
|
785
|
-
"fingerprint": "
|
|
784
|
+
"version": "0.1.55",
|
|
785
|
+
"fingerprint": "QY1eMawjqNXZdytaKqqNc1X0z5tIUwM9yKmyFlyr3eU="
|
|
786
786
|
}
|
package/API.md
CHANGED
|
@@ -4339,6 +4339,7 @@ new LernaProject(options: LernaProjectOptions)
|
|
|
4339
4339
|
| <code><a href="#lerna-projen.LernaProject.addFields">addFields</a></code> | Directly set fields in `package.json`. |
|
|
4340
4340
|
| <code><a href="#lerna-projen.LernaProject.addKeywords">addKeywords</a></code> | Adds keywords to package.json (deduplicated). |
|
|
4341
4341
|
| <code><a href="#lerna-projen.LernaProject.addPeerDeps">addPeerDeps</a></code> | Defines peer dependencies. |
|
|
4342
|
+
| <code><a href="#lerna-projen.LernaProject.addScripts">addScripts</a></code> | Replaces the contents of multiple npm package.json scripts. |
|
|
4342
4343
|
| <code><a href="#lerna-projen.LernaProject.addTestCommand">addTestCommand</a></code> | DEPRECATED. |
|
|
4343
4344
|
| <code><a href="#lerna-projen.LernaProject.hasScript">hasScript</a></code> | Indicates if a script by the name name is defined. |
|
|
4344
4345
|
| <code><a href="#lerna-projen.LernaProject.removeScript">removeScript</a></code> | Removes the npm script (always successful). |
|
|
@@ -4757,6 +4758,22 @@ add/upgrade`. If you wish to specify a version range use this syntax:
|
|
|
4757
4758
|
|
|
4758
4759
|
---
|
|
4759
4760
|
|
|
4761
|
+
##### `addScripts` <a name="addScripts" id="lerna-projen.LernaProject.addScripts"></a>
|
|
4762
|
+
|
|
4763
|
+
```typescript
|
|
4764
|
+
public addScripts(scripts: {[ key: string ]: string}): void
|
|
4765
|
+
```
|
|
4766
|
+
|
|
4767
|
+
Replaces the contents of multiple npm package.json scripts.
|
|
4768
|
+
|
|
4769
|
+
###### `scripts`<sup>Required</sup> <a name="scripts" id="lerna-projen.LernaProject.addScripts.parameter.scripts"></a>
|
|
4770
|
+
|
|
4771
|
+
- *Type:* {[ key: string ]: string}
|
|
4772
|
+
|
|
4773
|
+
The scripts to set.
|
|
4774
|
+
|
|
4775
|
+
---
|
|
4776
|
+
|
|
4760
4777
|
##### ~~`addTestCommand`~~ <a name="addTestCommand" id="lerna-projen.LernaProject.addTestCommand"></a>
|
|
4761
4778
|
|
|
4762
4779
|
```typescript
|
|
@@ -5685,6 +5702,7 @@ new LernaTypescriptProject(options: LernaTypescriptProjectOptions)
|
|
|
5685
5702
|
| <code><a href="#lerna-projen.LernaTypescriptProject.addFields">addFields</a></code> | Directly set fields in `package.json`. |
|
|
5686
5703
|
| <code><a href="#lerna-projen.LernaTypescriptProject.addKeywords">addKeywords</a></code> | Adds keywords to package.json (deduplicated). |
|
|
5687
5704
|
| <code><a href="#lerna-projen.LernaTypescriptProject.addPeerDeps">addPeerDeps</a></code> | Defines peer dependencies. |
|
|
5705
|
+
| <code><a href="#lerna-projen.LernaTypescriptProject.addScripts">addScripts</a></code> | Replaces the contents of multiple npm package.json scripts. |
|
|
5688
5706
|
| <code><a href="#lerna-projen.LernaTypescriptProject.addTestCommand">addTestCommand</a></code> | DEPRECATED. |
|
|
5689
5707
|
| <code><a href="#lerna-projen.LernaTypescriptProject.hasScript">hasScript</a></code> | Indicates if a script by the name name is defined. |
|
|
5690
5708
|
| <code><a href="#lerna-projen.LernaTypescriptProject.removeScript">removeScript</a></code> | Removes the npm script (always successful). |
|
|
@@ -6102,6 +6120,22 @@ add/upgrade`. If you wish to specify a version range use this syntax:
|
|
|
6102
6120
|
|
|
6103
6121
|
---
|
|
6104
6122
|
|
|
6123
|
+
##### `addScripts` <a name="addScripts" id="lerna-projen.LernaTypescriptProject.addScripts"></a>
|
|
6124
|
+
|
|
6125
|
+
```typescript
|
|
6126
|
+
public addScripts(scripts: {[ key: string ]: string}): void
|
|
6127
|
+
```
|
|
6128
|
+
|
|
6129
|
+
Replaces the contents of multiple npm package.json scripts.
|
|
6130
|
+
|
|
6131
|
+
###### `scripts`<sup>Required</sup> <a name="scripts" id="lerna-projen.LernaTypescriptProject.addScripts.parameter.scripts"></a>
|
|
6132
|
+
|
|
6133
|
+
- *Type:* {[ key: string ]: string}
|
|
6134
|
+
|
|
6135
|
+
The scripts to set.
|
|
6136
|
+
|
|
6137
|
+
---
|
|
6138
|
+
|
|
6105
6139
|
##### ~~`addTestCommand`~~ <a name="addTestCommand" id="lerna-projen.LernaTypescriptProject.addTestCommand"></a>
|
|
6106
6140
|
|
|
6107
6141
|
```typescript
|
package/lib/index.js
CHANGED
|
@@ -90,7 +90,7 @@ class LernaProject extends projen_1.javascript.NodeProject {
|
|
|
90
90
|
}
|
|
91
91
|
exports.LernaProject = LernaProject;
|
|
92
92
|
_a = JSII_RTTI_SYMBOL_1;
|
|
93
|
-
LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.
|
|
93
|
+
LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.55" };
|
|
94
94
|
/**
|
|
95
95
|
* @pjid lerna-ts-project
|
|
96
96
|
*/
|
|
@@ -135,7 +135,7 @@ class LernaTypescriptProject extends projen_1.typescript.TypeScriptProject {
|
|
|
135
135
|
}
|
|
136
136
|
exports.LernaTypescriptProject = LernaTypescriptProject;
|
|
137
137
|
_b = JSII_RTTI_SYMBOL_1;
|
|
138
|
-
LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.
|
|
138
|
+
LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.55" };
|
|
139
139
|
class LernaProjectFactory {
|
|
140
140
|
constructor(project) {
|
|
141
141
|
this.project = project;
|
package/package.json
CHANGED
|
@@ -48,23 +48,23 @@
|
|
|
48
48
|
"@typescript-eslint/parser": "^5",
|
|
49
49
|
"eslint": "^8",
|
|
50
50
|
"eslint-import-resolver-node": "^0.3.7",
|
|
51
|
-
"eslint-import-resolver-typescript": "^3.5.
|
|
51
|
+
"eslint-import-resolver-typescript": "^3.5.4",
|
|
52
52
|
"eslint-plugin-import": "^2.27.5",
|
|
53
53
|
"jest": "^27",
|
|
54
54
|
"jest-junit": "^15",
|
|
55
55
|
"jsii": "1.x",
|
|
56
56
|
"jsii-diff": "^1.79.0",
|
|
57
|
-
"jsii-docgen": "^7.1.
|
|
57
|
+
"jsii-docgen": "^7.1.40",
|
|
58
58
|
"jsii-pacmak": "^1.79.0",
|
|
59
59
|
"npm-check-updates": "^16",
|
|
60
|
-
"projen": "^0.
|
|
60
|
+
"projen": "^0.70.1",
|
|
61
61
|
"standard-version": "^9",
|
|
62
62
|
"ts-jest": "^27",
|
|
63
63
|
"ts-node": "^10.9.1",
|
|
64
64
|
"typescript": "^4.9.5"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"projen": "^0.
|
|
67
|
+
"projen": "^0.70.1"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"commander": "^10.0.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
],
|
|
83
83
|
"main": "lib/index.js",
|
|
84
84
|
"license": "Apache-2.0",
|
|
85
|
-
"version": "0.1.
|
|
85
|
+
"version": "0.1.55",
|
|
86
86
|
"jest": {
|
|
87
87
|
"testMatch": [
|
|
88
88
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|