diff --git a/API.md b/API.md index 66c2db9..820bd0b 100644 --- a/API.md +++ b/API.md @@ -72,7 +72,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. @@ -82,7 +82,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. @@ -338,7 +338,7 @@ public addBins(bins: {[ key: string ]: string}): void ##### `addBundledDeps` ```typescript -public addBundledDeps(deps: string): void +public addBundledDeps(deps: ...string[]): void ``` Defines bundled dependencies. @@ -348,7 +348,7 @@ Bundled dependencies will be added as normal dependencies as well as to the ###### `deps`Required -- *Type:* string +- *Type:* ...string[] Names modules to install. @@ -363,28 +363,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. @@ -399,14 +399,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. @@ -437,14 +437,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. @@ -453,7 +453,7 @@ The keywords to add. ##### `addPeerDeps` ```typescript -public addPeerDeps(deps: string): void +public addPeerDeps(deps: ...string[]): void ``` Defines peer dependencies. @@ -464,7 +464,7 @@ your code against the minimum version required from your consumers. ###### `deps`Required -- *Type:* string +- *Type:* ...string[] Names modules to install. @@ -495,14 +495,14 @@ The scripts to set. ##### ~~`addTestCommand`~~ ```typescript -public addTestCommand(commands: string): void +public addTestCommand(commands: ...string[]): void ``` DEPRECATED. ###### `commands`Required -- *Type:* string +- *Type:* ...string[] --- diff --git a/package.json b/package.json index cfca4ab..020ca22 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "jest-junit": "^15", "jsii": "~5.3.0", "jsii-diff": "^1.103.1", - "jsii-docgen": "^10.5.2", + "jsii-docgen": "^10.5.3", "jsii-pacmak": "^1.103.1", "jsii-rosetta": "~5.3.0", "prettier": "^2.8.8", diff --git a/yarn.lock b/yarn.lock index 833ff48..2fe3b00 100644 --- a/yarn.lock +++ b/yarn.lock @@ -318,9 +318,9 @@ eslint-visitor-keys "^3.3.0" "@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.1": - version "4.11.0" - resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.11.0.tgz#b0ffd0312b4a3fd2d6f77237e7248a5ad3a680ae" - integrity sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A== + version "4.11.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.11.1.tgz#a547badfc719eb3e5f4b556325e542fbe9d7a18f" + integrity sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q== "@eslint/eslintrc@^2.1.4": version "2.1.4" @@ -811,9 +811,9 @@ "@types/istanbul-lib-report" "*" "@types/jest@^29": - version "29.5.12" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.12.tgz#7f7dc6eb4cf246d2474ed78744b05d06ce025544" - integrity sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw== + version "29.5.13" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.13.tgz#8bc571659f401e6a719a7bf0dbcb8b78c71a8adc" + integrity sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg== dependencies: expect "^29.0.0" pretty-format "^29.0.0" @@ -839,9 +839,9 @@ integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== "@types/node@*": - version "22.5.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.5.4.tgz#83f7d1f65bc2ed223bdbf57c7884f1d5a4fa84e8" - integrity sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg== + version "22.5.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.5.5.tgz#52f939dd0f65fc552a4ad0b392f3c466cc5d7a44" + integrity sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA== dependencies: undici-types "~6.19.2" @@ -989,9 +989,9 @@ acorn-jsx@^5.3.2: integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn-walk@^8.1.1: - version "8.3.3" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.3.tgz#9caeac29eefaa0c41e3d4c65137de4d6f34df43e" - integrity sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw== + version "8.3.4" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.4.tgz#794dd169c3977edf4ba4ea47583587c5866236b7" + integrity sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g== dependencies: acorn "^8.11.0" @@ -1342,9 +1342,9 @@ camelcase@^6.2.0, camelcase@^6.3.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001646: - version "1.0.30001658" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001658.tgz#b5f7be8ac748a049ab06aa1cf7a1408d83f074ec" - integrity sha512-N2YVqWbJELVdrnsW5p+apoQyYt51aBMSsBZki1XZEfeBCexcM/sf4xiAHcXQBkuOwJBXtWF7aW1sYX6tKebPHw== + version "1.0.30001660" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz#31218de3463fabb44d0b7607b652e56edf2e2355" + integrity sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg== capital-case@^1.0.4: version "1.0.4" @@ -1936,9 +1936,9 @@ ejs@^3.1.10: jake "^10.8.5" electron-to-chromium@^1.5.4: - version "1.5.18" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.18.tgz#5fe62b9d21efbcfa26571066502d94f3ed97e495" - integrity sha512-1OfuVACu+zKlmjsNdcJuVQuVE61sZOLbNM4JAQ1Rvh6EOj0/EUKhMJjRH73InPlXSh8HIJk1cVZ8pyOV/FMdUQ== + version "1.5.23" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.23.tgz#6dabd8f7fec5cbf618b732ff4c42950dcc7a3be5" + integrity sha512-mBhODedOXg4v5QWwl21DjM5amzjmI1zw9EPrPK/5Wx7C8jt33bpZNrC7OhHUG3pxRtbLpr3W2dXT+Ph1SsfRZA== emittery@^0.13.1: version "0.13.1" @@ -3436,10 +3436,10 @@ jsii-diff@^1.103.1: log4js "^6.9.1" yargs "^16.2.0" -jsii-docgen@^10.5.2: - version "10.5.2" - resolved "https://registry.yarnpkg.com/jsii-docgen/-/jsii-docgen-10.5.2.tgz#09ebc7525cc8c09ccd59a2a73ddbd2dbbeb7e75e" - integrity sha512-1qDMCvd22f5WnQRYqfexvyA/60KLPdPl2YqY1P5kqzfU3ImyPRNKKe2/KZxGZb2h78SEkXyvdaJvIdDto2Z+IQ== +jsii-docgen@^10.5.3: + version "10.5.3" + resolved "https://registry.yarnpkg.com/jsii-docgen/-/jsii-docgen-10.5.3.tgz#f5bfa35f9737914cafc4f57752766831d685a6db" + integrity sha512-H6QAaaoRG5/AnnuQWZcl8RKO09ButL8VYCuabbMr2lZBb2q9j15jnBhiQljtNVw/TvFikNn4aJ12p3Dra8DKbw== dependencies: "@jsii/spec" "^1.103.0" case "^1.6.3" @@ -3500,9 +3500,9 @@ jsii-rosetta@~5.3.0: yargs "^17.7.2" jsii@~5.3.0: - version "5.3.53" - resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.3.53.tgz#759d42f47b4bb75604807edebde6c907e7b8c1c7" - integrity sha512-oX2f7wB955lNimv66NgoFJxlPsGkFI/Ui4YWJwgGsiC9sbYMs4nzaOcuV+HSpOOIm/M1JdhY6V4l2VgAjd62eg== + version "5.3.54" + resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.3.54.tgz#7728bacda43ff4b879c9e11823d691e11f3fa691" + integrity sha512-aCa7G35AELy5g2TDSb8d+Iw+F8shYcv0oxQkZof2sDDT7oRJo3uQBzCBTs5xmoDJp1NXfmVv4TIgd9Fr7Wcjew== dependencies: "@jsii/check-node" "1.103.1" "@jsii/spec" "^1.103.1" @@ -4995,9 +4995,9 @@ typedarray@^0.0.6: integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== typescript@next: - version "5.7.0-dev.20240904" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.0-dev.20240904.tgz#20e43f65f4ca7d1135d3d2636ab057f815ce317f" - integrity sha512-iGi6VWFGOuxPvDfwfK1/8C172NWzC5gtC4G2dxqCQehrr86WTfFkc9aWucynaxZdwQNMqG1Iu83bmXD7CNHCmg== + version "5.7.0-dev.20240915" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.0-dev.20240915.tgz#aff28833009d26116378bea0ea68d36ae32d6a57" + integrity sha512-DpaEZn4KstKaVrFUxGv+zOrJVIFJJaf/lTPedsVRrnhrs/yysIhXlr40nHDNH1TznDWPit6UKYoKp/6/YPvlpQ== typescript@~5.3, typescript@~5.3.0: version "5.3.3"