lerna-projen 0.0.338 → 0.0.340

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 CHANGED
@@ -80,7 +80,7 @@
80
80
  },
81
81
  "name": "lerna-projen",
82
82
  "readme": {
83
- "markdown": "# lerna-projen\n\nInspired by [projen](https://github.com/projen/projen) and [lerna](https://github.com/lerna/lerna)\n\nThis is a library to use manage mono repositories using projen.\n\n## Getting started\n\nTo create a new project, run the following command and follow the instructions:\n\n```\nconsole\n$ mkdir my-project\n$ cd my-project\n$ git init\n$ npx projen new --from lerna-projen\nšŸ¤– Synthesizing project...\n...\n```\n\nThe project type can be anything to start with, then in the `projenrc` file, initiate a lerna project and add all of the sub normal projen project to the lerna project.\n\n### Example\n```javascript\nconst { LernaProject } = require('lerna-projen');\nconst { TypeScriptProject } = require('projen');\n\nconst parentProject = new LernaProject({\n name: 'my-parent-project',\n ...\n});\n\nconst firstProject = new TypeScriptProject({\n name: 'my-first-project',\n parent: parentProject,\n ...\n});\n\nparentProject.addSubProject(firstProject);\n\nparentProject.synth()\n```\n\nThe rest of the process is taken care of by projen. All of the scripts on the parent project are chained by running the same command from the sub project using lerna.\n"
83
+ "markdown": "# lerna-projen\n\nInspired by [projen](https://github.com/projen/projen) and [lerna](https://github.com/lerna/lerna)\n\nThis is a library to use manage mono repositories using projen.\n\n## Getting started\n\nTo create a new project, run the following command and follow the instructions:\n\n```\nconsole\n$ mkdir my-project\n$ cd my-project\n$ git init\n$ npx projen new --from lerna-projen lerna-project\nšŸ¤– Synthesizing project...\n...\n```\n\nThe project type can be anything to start with, then in the `projenrc` file, initiate a lerna project and add all of the sub normal projen project to the lerna project.\n\n### Example\n```javascript\nconst { LernaProject } = require('lerna-projen');\nconst { TypeScriptProject } = require('projen');\n\nconst parentProject = new LernaProject({\n name: 'my-parent-project',\n ...\n});\n\nconst firstProject = new TypeScriptProject({\n name: 'my-first-project',\n parent: parentProject,\n ...\n});\n\nparentProject.addSubProject(firstProject);\n\nparentProject.synth()\n```\n\nThe rest of the process is taken care of by projen. All of the scripts on the parent project are chained by running the same command from the sub project using lerna.\n"
84
84
  },
85
85
  "repository": {
86
86
  "type": "git",
@@ -97,6 +97,9 @@
97
97
  "assembly": "lerna-projen",
98
98
  "base": "projen.javascript.NodeProject",
99
99
  "docs": {
100
+ "custom": {
101
+ "pjid": "lerna-project"
102
+ },
100
103
  "stability": "stable"
101
104
  },
102
105
  "fqn": "lerna-projen.LernaProject",
@@ -106,7 +109,7 @@
106
109
  },
107
110
  "locationInModule": {
108
111
  "filename": "src/index.ts",
109
- "line": 41
112
+ "line": 54
110
113
  },
111
114
  "parameters": [
112
115
  {
@@ -120,7 +123,7 @@
120
123
  "kind": "class",
121
124
  "locationInModule": {
122
125
  "filename": "src/index.ts",
123
- "line": 29
126
+ "line": 41
124
127
  },
125
128
  "methods": [
126
129
  {
@@ -130,12 +133,12 @@
130
133
  },
131
134
  "locationInModule": {
132
135
  "filename": "src/index.ts",
133
- "line": 80
136
+ "line": 88
134
137
  },
135
138
  "name": "addSubProject",
136
139
  "parameters": [
137
140
  {
138
- "name": "subProject",
141
+ "name": "_subproject",
139
142
  "type": {
140
143
  "fqn": "projen.Project"
141
144
  }
@@ -149,7 +152,7 @@
149
152
  },
150
153
  "locationInModule": {
151
154
  "filename": "src/index.ts",
152
- "line": 88
155
+ "line": 92
153
156
  },
154
157
  "name": "preSynthesize",
155
158
  "overrides": "projen.Project"
@@ -164,7 +167,7 @@
164
167
  "immutable": true,
165
168
  "locationInModule": {
166
169
  "filename": "src/index.ts",
167
- "line": 35
170
+ "line": 46
168
171
  },
169
172
  "name": "docgen",
170
173
  "type": {
@@ -178,7 +181,7 @@
178
181
  "immutable": true,
179
182
  "locationInModule": {
180
183
  "filename": "src/index.ts",
181
- "line": 34
184
+ "line": 45
182
185
  },
183
186
  "name": "docsDirectory",
184
187
  "type": {
@@ -192,7 +195,7 @@
192
195
  "immutable": true,
193
196
  "locationInModule": {
194
197
  "filename": "src/index.ts",
195
- "line": 38
198
+ "line": 49
196
199
  },
197
200
  "name": "independentMode",
198
201
  "type": {
@@ -206,7 +209,7 @@
206
209
  "immutable": true,
207
210
  "locationInModule": {
208
211
  "filename": "src/index.ts",
209
- "line": 36
212
+ "line": 47
210
213
  },
211
214
  "name": "sinceLastRelease",
212
215
  "type": {
@@ -220,7 +223,7 @@
220
223
  "immutable": true,
221
224
  "locationInModule": {
222
225
  "filename": "src/index.ts",
223
- "line": 37
226
+ "line": 48
224
227
  },
225
228
  "name": "useNx",
226
229
  "type": {
@@ -234,7 +237,7 @@
234
237
  "immutable": true,
235
238
  "locationInModule": {
236
239
  "filename": "src/index.ts",
237
- "line": 39
240
+ "line": 50
238
241
  },
239
242
  "name": "useWorkspaces",
240
243
  "type": {
@@ -389,8 +392,134 @@
389
392
  }
390
393
  ],
391
394
  "symbolId": "src/types:LernaProjectOptions"
395
+ },
396
+ "lerna-projen.LernaTypescriptProject": {
397
+ "assembly": "lerna-projen",
398
+ "base": "projen.typescript.TypeScriptProject",
399
+ "docs": {
400
+ "custom": {
401
+ "pjid": "lerna-ts-project"
402
+ },
403
+ "stability": "stable"
404
+ },
405
+ "fqn": "lerna-projen.LernaTypescriptProject",
406
+ "initializer": {
407
+ "docs": {
408
+ "stability": "stable"
409
+ },
410
+ "locationInModule": {
411
+ "filename": "src/index.ts",
412
+ "line": 115
413
+ },
414
+ "parameters": [
415
+ {
416
+ "name": "options",
417
+ "type": {
418
+ "fqn": "lerna-projen.LernaTypescriptProjectOptions"
419
+ }
420
+ }
421
+ ]
422
+ },
423
+ "kind": "class",
424
+ "locationInModule": {
425
+ "filename": "src/index.ts",
426
+ "line": 107
427
+ },
428
+ "methods": [
429
+ {
430
+ "docs": {
431
+ "stability": "stable",
432
+ "summary": "Called before all components are synthesized."
433
+ },
434
+ "locationInModule": {
435
+ "filename": "src/index.ts",
436
+ "line": 141
437
+ },
438
+ "name": "preSynthesize",
439
+ "overrides": "projen.Project"
440
+ }
441
+ ],
442
+ "name": "LernaTypescriptProject",
443
+ "properties": [
444
+ {
445
+ "docs": {
446
+ "stability": "stable"
447
+ },
448
+ "immutable": true,
449
+ "locationInModule": {
450
+ "filename": "src/index.ts",
451
+ "line": 110
452
+ },
453
+ "name": "independentMode",
454
+ "type": {
455
+ "primitive": "boolean"
456
+ }
457
+ },
458
+ {
459
+ "docs": {
460
+ "stability": "stable"
461
+ },
462
+ "immutable": true,
463
+ "locationInModule": {
464
+ "filename": "src/index.ts",
465
+ "line": 108
466
+ },
467
+ "name": "sinceLastRelease",
468
+ "type": {
469
+ "primitive": "boolean"
470
+ }
471
+ },
472
+ {
473
+ "docs": {
474
+ "stability": "stable"
475
+ },
476
+ "immutable": true,
477
+ "locationInModule": {
478
+ "filename": "src/index.ts",
479
+ "line": 109
480
+ },
481
+ "name": "useNx",
482
+ "type": {
483
+ "primitive": "boolean"
484
+ }
485
+ },
486
+ {
487
+ "docs": {
488
+ "stability": "stable"
489
+ },
490
+ "immutable": true,
491
+ "locationInModule": {
492
+ "filename": "src/index.ts",
493
+ "line": 111
494
+ },
495
+ "name": "useWorkspaces",
496
+ "type": {
497
+ "primitive": "boolean"
498
+ }
499
+ }
500
+ ],
501
+ "symbolId": "src/index:LernaTypescriptProject"
502
+ },
503
+ "lerna-projen.LernaTypescriptProjectOptions": {
504
+ "assembly": "lerna-projen",
505
+ "datatype": true,
506
+ "docs": {
507
+ "stability": "stable"
508
+ },
509
+ "fqn": "lerna-projen.LernaTypescriptProjectOptions",
510
+ "interfaces": [
511
+ "lerna-projen.LernaProjectOptions",
512
+ "projen.typescript.TypeScriptProjectOptions"
513
+ ],
514
+ "kind": "interface",
515
+ "locationInModule": {
516
+ "filename": "src/types.ts",
517
+ "line": 61
518
+ },
519
+ "name": "LernaTypescriptProjectOptions",
520
+ "symbolId": "src/types:LernaTypescriptProjectOptions"
392
521
  }
393
522
  },
394
- "version": "0.0.338",
395
- "fingerprint": "E0io9c/xIMPYty/VUmQ3TovOPpbfv9s0l7S0MmL1RTU="
523
+ "version": "0.0.340",
524
+ "fingerprint": "mKd52T+9ZrFClJOnTcTwSIsbrVjYU2y9GEIlC0BQOos="
396
525
  }