From 54a9a10321a3bf20a55f558eed3747ab7bae49e2 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 23 Dec 2024 00:30:27 +0000 Subject: [PATCH] chore: self mutation Signed-off-by: github-actions --- API.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/API.md b/API.md index dd553369..1d1c114d 100644 --- a/API.md +++ b/API.md @@ -239,7 +239,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. @@ -249,7 +249,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. @@ -505,7 +505,7 @@ public addBins(bins: {[ key: string ]: string}): void ##### `addBundledDeps` ```typescript -public addBundledDeps(deps: string): void +public addBundledDeps(deps: ...string[]): void ``` Defines bundled dependencies. @@ -515,7 +515,7 @@ Bundled dependencies will be added as normal dependencies as well as to the ###### `deps`Required -- *Type:* string +- *Type:* ...string[] Names modules to install. @@ -530,28 +530,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. @@ -566,14 +566,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. @@ -604,14 +604,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. @@ -620,7 +620,7 @@ The keywords to add. ##### `addPeerDeps` ```typescript -public addPeerDeps(deps: string): void +public addPeerDeps(deps: ...string[]): void ``` Defines peer dependencies. @@ -631,7 +631,7 @@ your code against the minimum version required from your consumers. ###### `deps`Required -- *Type:* string +- *Type:* ...string[] Names modules to install. @@ -662,14 +662,14 @@ The scripts to set. ##### ~~`addTestCommand`~~ ```typescript -public addTestCommand(commands: string): void +public addTestCommand(commands: ...string[]): void ``` DEPRECATED. ###### `commands`Required -- *Type:* string +- *Type:* ...string[] ---