lerna-projen 0.1.483 → 0.1.485

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.
Files changed (4) hide show
  1. package/.jsii +2 -2
  2. package/API.md +32 -32
  3. package/lib/index.js +2 -2
  4. package/package.json +2 -2
package/.jsii CHANGED
@@ -1001,6 +1001,6 @@
1001
1001
  "symbolId": "src/utils:AddNxTaskDependencyOptions"
1002
1002
  }
1003
1003
  },
1004
- "version": "0.1.483",
1005
- "fingerprint": "jEtf+K5MhS7m9S058f/DdwfpQkhZP2I0SkAK58uAhwk="
1004
+ "version": "0.1.485",
1005
+ "fingerprint": "FKg8bklx5Y3EC8IW2DrStlFzS3fVwtODzo1yjrz9fvM="
1006
1006
  }
package/API.md CHANGED
@@ -73,7 +73,7 @@ Returns a string representation of this construct.
73
73
  ##### `addExcludeFromCleanup` <a name="addExcludeFromCleanup" id="lerna-projen.LernaProject.addExcludeFromCleanup"></a>
74
74
 
75
75
  ```typescript
76
- public addExcludeFromCleanup(globs: string): void
76
+ public addExcludeFromCleanup(globs: ...string[]): void
77
77
  ```
78
78
 
79
79
  Exclude the matching files from pre-synth cleanup.
@@ -83,7 +83,7 @@ source files include the projen marker and we don't want them to be erased durin
83
83
 
84
84
  ###### `globs`<sup>Required</sup> <a name="globs" id="lerna-projen.LernaProject.addExcludeFromCleanup.parameter.globs"></a>
85
85
 
86
- - *Type:* string
86
+ - *Type:* ...string[]
87
87
 
88
88
  The glob patterns to match.
89
89
 
@@ -339,7 +339,7 @@ public addBins(bins: {[ key: string ]: string}): void
339
339
  ##### `addBundledDeps` <a name="addBundledDeps" id="lerna-projen.LernaProject.addBundledDeps"></a>
340
340
 
341
341
  ```typescript
342
- public addBundledDeps(deps: string): void
342
+ public addBundledDeps(deps: ...string[]): void
343
343
  ```
344
344
 
345
345
  Defines bundled dependencies.
@@ -349,7 +349,7 @@ Bundled dependencies will be added as normal dependencies as well as to the
349
349
 
350
350
  ###### `deps`<sup>Required</sup> <a name="deps" id="lerna-projen.LernaProject.addBundledDeps.parameter.deps"></a>
351
351
 
352
- - *Type:* string
352
+ - *Type:* ...string[]
353
353
 
354
354
  Names modules to install.
355
355
 
@@ -364,28 +364,28 @@ add/upgrade`. If you wish to specify a version range use this syntax:
364
364
  ##### ~~`addCompileCommand`~~ <a name="addCompileCommand" id="lerna-projen.LernaProject.addCompileCommand"></a>
365
365
 
366
366
  ```typescript
367
- public addCompileCommand(commands: string): void
367
+ public addCompileCommand(commands: ...string[]): void
368
368
  ```
369
369
 
370
370
  DEPRECATED.
371
371
 
372
372
  ###### `commands`<sup>Required</sup> <a name="commands" id="lerna-projen.LernaProject.addCompileCommand.parameter.commands"></a>
373
373
 
374
- - *Type:* string
374
+ - *Type:* ...string[]
375
375
 
376
376
  ---
377
377
 
378
378
  ##### `addDeps` <a name="addDeps" id="lerna-projen.LernaProject.addDeps"></a>
379
379
 
380
380
  ```typescript
381
- public addDeps(deps: string): void
381
+ public addDeps(deps: ...string[]): void
382
382
  ```
383
383
 
384
384
  Defines normal dependencies.
385
385
 
386
386
  ###### `deps`<sup>Required</sup> <a name="deps" id="lerna-projen.LernaProject.addDeps.parameter.deps"></a>
387
387
 
388
- - *Type:* string
388
+ - *Type:* ...string[]
389
389
 
390
390
  Names modules to install.
391
391
 
@@ -400,14 +400,14 @@ add/upgrade`. If you wish to specify a version range use this syntax:
400
400
  ##### `addDevDeps` <a name="addDevDeps" id="lerna-projen.LernaProject.addDevDeps"></a>
401
401
 
402
402
  ```typescript
403
- public addDevDeps(deps: string): void
403
+ public addDevDeps(deps: ...string[]): void
404
404
  ```
405
405
 
406
406
  Defines development/test dependencies.
407
407
 
408
408
  ###### `deps`<sup>Required</sup> <a name="deps" id="lerna-projen.LernaProject.addDevDeps.parameter.deps"></a>
409
409
 
410
- - *Type:* string
410
+ - *Type:* ...string[]
411
411
 
412
412
  Names modules to install.
413
413
 
@@ -438,14 +438,14 @@ The fields to set.
438
438
  ##### `addKeywords` <a name="addKeywords" id="lerna-projen.LernaProject.addKeywords"></a>
439
439
 
440
440
  ```typescript
441
- public addKeywords(keywords: string): void
441
+ public addKeywords(keywords: ...string[]): void
442
442
  ```
443
443
 
444
444
  Adds keywords to package.json (deduplicated).
445
445
 
446
446
  ###### `keywords`<sup>Required</sup> <a name="keywords" id="lerna-projen.LernaProject.addKeywords.parameter.keywords"></a>
447
447
 
448
- - *Type:* string
448
+ - *Type:* ...string[]
449
449
 
450
450
  The keywords to add.
451
451
 
@@ -454,7 +454,7 @@ The keywords to add.
454
454
  ##### `addPeerDeps` <a name="addPeerDeps" id="lerna-projen.LernaProject.addPeerDeps"></a>
455
455
 
456
456
  ```typescript
457
- public addPeerDeps(deps: string): void
457
+ public addPeerDeps(deps: ...string[]): void
458
458
  ```
459
459
 
460
460
  Defines peer dependencies.
@@ -465,7 +465,7 @@ your code against the minimum version required from your consumers.
465
465
 
466
466
  ###### `deps`<sup>Required</sup> <a name="deps" id="lerna-projen.LernaProject.addPeerDeps.parameter.deps"></a>
467
467
 
468
- - *Type:* string
468
+ - *Type:* ...string[]
469
469
 
470
470
  Names modules to install.
471
471
 
@@ -496,14 +496,14 @@ The scripts to set.
496
496
  ##### ~~`addTestCommand`~~ <a name="addTestCommand" id="lerna-projen.LernaProject.addTestCommand"></a>
497
497
 
498
498
  ```typescript
499
- public addTestCommand(commands: string): void
499
+ public addTestCommand(commands: ...string[]): void
500
500
  ```
501
501
 
502
502
  DEPRECATED.
503
503
 
504
504
  ###### `commands`<sup>Required</sup> <a name="commands" id="lerna-projen.LernaProject.addTestCommand.parameter.commands"></a>
505
505
 
506
- - *Type:* string
506
+ - *Type:* ...string[]
507
507
 
508
508
  ---
509
509
 
@@ -1545,7 +1545,7 @@ Returns a string representation of this construct.
1545
1545
  ##### `addExcludeFromCleanup` <a name="addExcludeFromCleanup" id="lerna-projen.LernaTypescriptProject.addExcludeFromCleanup"></a>
1546
1546
 
1547
1547
  ```typescript
1548
- public addExcludeFromCleanup(globs: string): void
1548
+ public addExcludeFromCleanup(globs: ...string[]): void
1549
1549
  ```
1550
1550
 
1551
1551
  Exclude the matching files from pre-synth cleanup.
@@ -1555,7 +1555,7 @@ source files include the projen marker and we don't want them to be erased durin
1555
1555
 
1556
1556
  ###### `globs`<sup>Required</sup> <a name="globs" id="lerna-projen.LernaTypescriptProject.addExcludeFromCleanup.parameter.globs"></a>
1557
1557
 
1558
- - *Type:* string
1558
+ - *Type:* ...string[]
1559
1559
 
1560
1560
  The glob patterns to match.
1561
1561
 
@@ -1811,7 +1811,7 @@ public addBins(bins: {[ key: string ]: string}): void
1811
1811
  ##### `addBundledDeps` <a name="addBundledDeps" id="lerna-projen.LernaTypescriptProject.addBundledDeps"></a>
1812
1812
 
1813
1813
  ```typescript
1814
- public addBundledDeps(deps: string): void
1814
+ public addBundledDeps(deps: ...string[]): void
1815
1815
  ```
1816
1816
 
1817
1817
  Defines bundled dependencies.
@@ -1821,7 +1821,7 @@ Bundled dependencies will be added as normal dependencies as well as to the
1821
1821
 
1822
1822
  ###### `deps`<sup>Required</sup> <a name="deps" id="lerna-projen.LernaTypescriptProject.addBundledDeps.parameter.deps"></a>
1823
1823
 
1824
- - *Type:* string
1824
+ - *Type:* ...string[]
1825
1825
 
1826
1826
  Names modules to install.
1827
1827
 
@@ -1836,28 +1836,28 @@ add/upgrade`. If you wish to specify a version range use this syntax:
1836
1836
  ##### ~~`addCompileCommand`~~ <a name="addCompileCommand" id="lerna-projen.LernaTypescriptProject.addCompileCommand"></a>
1837
1837
 
1838
1838
  ```typescript
1839
- public addCompileCommand(commands: string): void
1839
+ public addCompileCommand(commands: ...string[]): void
1840
1840
  ```
1841
1841
 
1842
1842
  DEPRECATED.
1843
1843
 
1844
1844
  ###### `commands`<sup>Required</sup> <a name="commands" id="lerna-projen.LernaTypescriptProject.addCompileCommand.parameter.commands"></a>
1845
1845
 
1846
- - *Type:* string
1846
+ - *Type:* ...string[]
1847
1847
 
1848
1848
  ---
1849
1849
 
1850
1850
  ##### `addDeps` <a name="addDeps" id="lerna-projen.LernaTypescriptProject.addDeps"></a>
1851
1851
 
1852
1852
  ```typescript
1853
- public addDeps(deps: string): void
1853
+ public addDeps(deps: ...string[]): void
1854
1854
  ```
1855
1855
 
1856
1856
  Defines normal dependencies.
1857
1857
 
1858
1858
  ###### `deps`<sup>Required</sup> <a name="deps" id="lerna-projen.LernaTypescriptProject.addDeps.parameter.deps"></a>
1859
1859
 
1860
- - *Type:* string
1860
+ - *Type:* ...string[]
1861
1861
 
1862
1862
  Names modules to install.
1863
1863
 
@@ -1872,14 +1872,14 @@ add/upgrade`. If you wish to specify a version range use this syntax:
1872
1872
  ##### `addDevDeps` <a name="addDevDeps" id="lerna-projen.LernaTypescriptProject.addDevDeps"></a>
1873
1873
 
1874
1874
  ```typescript
1875
- public addDevDeps(deps: string): void
1875
+ public addDevDeps(deps: ...string[]): void
1876
1876
  ```
1877
1877
 
1878
1878
  Defines development/test dependencies.
1879
1879
 
1880
1880
  ###### `deps`<sup>Required</sup> <a name="deps" id="lerna-projen.LernaTypescriptProject.addDevDeps.parameter.deps"></a>
1881
1881
 
1882
- - *Type:* string
1882
+ - *Type:* ...string[]
1883
1883
 
1884
1884
  Names modules to install.
1885
1885
 
@@ -1910,14 +1910,14 @@ The fields to set.
1910
1910
  ##### `addKeywords` <a name="addKeywords" id="lerna-projen.LernaTypescriptProject.addKeywords"></a>
1911
1911
 
1912
1912
  ```typescript
1913
- public addKeywords(keywords: string): void
1913
+ public addKeywords(keywords: ...string[]): void
1914
1914
  ```
1915
1915
 
1916
1916
  Adds keywords to package.json (deduplicated).
1917
1917
 
1918
1918
  ###### `keywords`<sup>Required</sup> <a name="keywords" id="lerna-projen.LernaTypescriptProject.addKeywords.parameter.keywords"></a>
1919
1919
 
1920
- - *Type:* string
1920
+ - *Type:* ...string[]
1921
1921
 
1922
1922
  The keywords to add.
1923
1923
 
@@ -1926,7 +1926,7 @@ The keywords to add.
1926
1926
  ##### `addPeerDeps` <a name="addPeerDeps" id="lerna-projen.LernaTypescriptProject.addPeerDeps"></a>
1927
1927
 
1928
1928
  ```typescript
1929
- public addPeerDeps(deps: string): void
1929
+ public addPeerDeps(deps: ...string[]): void
1930
1930
  ```
1931
1931
 
1932
1932
  Defines peer dependencies.
@@ -1937,7 +1937,7 @@ your code against the minimum version required from your consumers.
1937
1937
 
1938
1938
  ###### `deps`<sup>Required</sup> <a name="deps" id="lerna-projen.LernaTypescriptProject.addPeerDeps.parameter.deps"></a>
1939
1939
 
1940
- - *Type:* string
1940
+ - *Type:* ...string[]
1941
1941
 
1942
1942
  Names modules to install.
1943
1943
 
@@ -1968,14 +1968,14 @@ The scripts to set.
1968
1968
  ##### ~~`addTestCommand`~~ <a name="addTestCommand" id="lerna-projen.LernaTypescriptProject.addTestCommand"></a>
1969
1969
 
1970
1970
  ```typescript
1971
- public addTestCommand(commands: string): void
1971
+ public addTestCommand(commands: ...string[]): void
1972
1972
  ```
1973
1973
 
1974
1974
  DEPRECATED.
1975
1975
 
1976
1976
  ###### `commands`<sup>Required</sup> <a name="commands" id="lerna-projen.LernaTypescriptProject.addTestCommand.parameter.commands"></a>
1977
1977
 
1978
- - *Type:* string
1978
+ - *Type:* ...string[]
1979
1979
 
1980
1980
  ---
1981
1981
 
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.483" };
95
+ LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.485" };
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.483" };
128
+ LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.485" };
129
129
  class LernaProjectFactory {
130
130
  constructor(project) {
131
131
  this.project = project;
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "devDependencies": {
43
43
  "@types/babel__core": "^7.20.5",
44
44
  "@types/fs-extra": "^9.0.13",
45
- "@types/jest": "^29.5.12",
45
+ "@types/jest": "^29.5.13",
46
46
  "@types/node": "^20",
47
47
  "@typescript-eslint/eslint-plugin": "^7",
48
48
  "@typescript-eslint/parser": "^7",
@@ -89,7 +89,7 @@
89
89
  "publishConfig": {
90
90
  "access": "public"
91
91
  },
92
- "version": "0.1.483",
92
+ "version": "0.1.485",
93
93
  "jest": {
94
94
  "coverageProvider": "v8",
95
95
  "testMatch": [