From 8386594ffb915fa4d65574e4236adfd8ce9e585a Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 18 Sep 2024 07:38:03 +0000 Subject: [PATCH] chore: self mutation Signed-off-by: github-actions --- API.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/API.md b/API.md index 5665c45..38767d8 100644 --- a/API.md +++ b/API.md @@ -75,7 +75,7 @@ Returns a string representation of this construct. ##### `addExcludeFromCleanup` ```typescript -public addExcludeFromCleanup(globs: string): void +public addExcludeFromCleanup(globs: ...string[]): void ``` Exclude the matching files from pre-synth cleanup. @@ -85,7 +85,7 @@ source files include the projen marker and we don't want them to be erased durin ###### `globs`Required -- *Type:* string +- *Type:* ...string[] The glob patterns to match. @@ -341,7 +341,7 @@ public addBins(bins: {[ key: string ]: string}): void ##### `addBundledDeps` ```typescript -public addBundledDeps(deps: string): void +public addBundledDeps(deps: ...string[]): void ``` Defines bundled dependencies. @@ -351,7 +351,7 @@ Bundled dependencies will be added as normal dependencies as well as to the ###### `deps`Required -- *Type:* string +- *Type:* ...string[] Names modules to install. @@ -366,28 +366,28 @@ add/upgrade`. If you wish to specify a version range use this syntax: ##### ~~`addCompileCommand`~~ ```typescript -public addCompileCommand(commands: string): void +public addCompileCommand(commands: ...string[]): void ``` DEPRECATED. ###### `commands`Required -- *Type:* string +- *Type:* ...string[] --- ##### `addDeps` ```typescript -public addDeps(deps: string): void +public addDeps(deps: ...string[]): void ``` Defines normal dependencies. ###### `deps`Required -- *Type:* string +- *Type:* ...string[] Names modules to install. @@ -402,14 +402,14 @@ add/upgrade`. If you wish to specify a version range use this syntax: ##### `addDevDeps` ```typescript -public addDevDeps(deps: string): void +public addDevDeps(deps: ...string[]): void ``` Defines development/test dependencies. ###### `deps`Required -- *Type:* string +- *Type:* ...string[] Names modules to install. @@ -440,14 +440,14 @@ The fields to set. ##### `addKeywords` ```typescript -public addKeywords(keywords: string): void +public addKeywords(keywords: ...string[]): void ``` Adds keywords to package.json (deduplicated). ###### `keywords`Required -- *Type:* string +- *Type:* ...string[] The keywords to add. @@ -456,7 +456,7 @@ The keywords to add. ##### `addPeerDeps` ```typescript -public addPeerDeps(deps: string): void +public addPeerDeps(deps: ...string[]): void ``` Defines peer dependencies. @@ -467,7 +467,7 @@ your code against the minimum version required from your consumers. ###### `deps`Required -- *Type:* string +- *Type:* ...string[] Names modules to install. @@ -498,14 +498,14 @@ The scripts to set. ##### ~~`addTestCommand`~~ ```typescript -public addTestCommand(commands: string): void +public addTestCommand(commands: ...string[]): void ``` DEPRECATED. ###### `commands`Required -- *Type:* string +- *Type:* ...string[] --- @@ -584,14 +584,14 @@ The command to execute. ##### `addCdkDependency` ```typescript -public addCdkDependency(modules: string): void +public addCdkDependency(modules: ...string[]): void ``` Adds an AWS CDK module dependencies. ###### `modules`Required -- *Type:* string +- *Type:* ...string[] The list of modules to depend on.