From d98bfb868114b31ee7123f8b4bb9ddf4710b014d Mon Sep 17 00:00:00 2001 From: Next Team Date: Tue, 10 Sep 2024 14:18:56 +0100 Subject: [PATCH 1/2] chore: release main --- .release-please-manifest.json | 76 ++++++------ core/cli/CHANGELOG.md | 122 ++++++++++++++++++++ core/cli/package.json | 12 +- core/create/CHANGELOG.md | 59 ++++++++++ core/create/package.json | 10 +- lib/base/CHANGELOG.md | 29 +++++ lib/base/package.json | 4 +- lib/config/CHANGELOG.md | 26 +++++ lib/conflict/CHANGELOG.md | 8 ++ lib/doppler/CHANGELOG.md | 28 +++++ lib/doppler/package.json | 8 +- lib/error/CHANGELOG.md | 11 ++ lib/error/package.json | 2 +- lib/logger/CHANGELOG.md | 32 +++++ lib/logger/package.json | 4 +- lib/options/CHANGELOG.md | 22 ++++ lib/options/package.json | 2 +- lib/plugin/CHANGELOG.md | 20 ++++ lib/schemas/CHANGELOG.md | 88 ++++++++++++++ lib/state/CHANGELOG.md | 19 +++ lib/state/package.json | 2 +- lib/validated/CHANGELOG.md | 15 +++ lib/validated/package.json | 2 +- lib/wait-for-ok/CHANGELOG.md | 11 ++ lib/wait-for-ok/package.json | 2 +- plugins/babel/CHANGELOG.md | 44 +++++++ plugins/babel/package.json | 8 +- plugins/backend-heroku-app/CHANGELOG.md | 27 +++++ plugins/backend-heroku-app/package.json | 10 +- plugins/backend-serverless-app/CHANGELOG.md | 27 +++++ plugins/backend-serverless-app/package.json | 10 +- plugins/circleci-deploy/CHANGELOG.md | 44 +++++++ plugins/circleci-deploy/package.json | 4 +- plugins/circleci-npm/CHANGELOG.md | 38 ++++++ plugins/circleci-npm/package.json | 6 +- plugins/circleci/CHANGELOG.md | 63 ++++++++++ plugins/circleci/package.json | 12 +- plugins/component/CHANGELOG.md | 25 ++++ plugins/component/package.json | 6 +- plugins/cypress/CHANGELOG.md | 56 +++++++++ plugins/cypress/package.json | 12 +- plugins/eslint/CHANGELOG.md | 47 ++++++++ plugins/eslint/package.json | 8 +- plugins/frontend-app/CHANGELOG.md | 26 +++++ plugins/frontend-app/package.json | 8 +- plugins/heroku/CHANGELOG.md | 64 ++++++++++ plugins/heroku/package.json | 20 ++-- plugins/husky-npm/CHANGELOG.md | 39 +++++++ plugins/husky-npm/package.json | 4 +- plugins/jest/CHANGELOG.md | 45 ++++++++ plugins/jest/package.json | 6 +- plugins/lint-staged-npm/CHANGELOG.md | 39 +++++++ plugins/lint-staged-npm/package.json | 10 +- plugins/lint-staged/CHANGELOG.md | 35 ++++++ plugins/lint-staged/package.json | 8 +- plugins/mocha/CHANGELOG.md | 44 +++++++ plugins/mocha/package.json | 8 +- plugins/n-test/CHANGELOG.md | 46 ++++++++ plugins/n-test/package.json | 8 +- plugins/next-router/CHANGELOG.md | 44 +++++++ plugins/next-router/package.json | 12 +- plugins/node/CHANGELOG.md | 48 ++++++++ plugins/node/package.json | 10 +- plugins/nodemon/CHANGELOG.md | 48 ++++++++ plugins/nodemon/package.json | 10 +- plugins/npm/CHANGELOG.md | 43 +++++++ plugins/npm/package.json | 10 +- plugins/package-json-hook/CHANGELOG.md | 49 ++++++++ plugins/package-json-hook/package.json | 4 +- plugins/prettier/CHANGELOG.md | 58 ++++++++++ plugins/prettier/package.json | 10 +- plugins/serverless/CHANGELOG.md | 50 ++++++++ plugins/serverless/package.json | 12 +- plugins/typescript/CHANGELOG.md | 51 ++++++++ plugins/typescript/package.json | 6 +- plugins/upload-assets-to-s3/CHANGELOG.md | 46 ++++++++ plugins/upload-assets-to-s3/package.json | 8 +- plugins/webpack/CHANGELOG.md | 44 +++++++ plugins/webpack/package.json | 8 +- 79 files changed, 1864 insertions(+), 178 deletions(-) create mode 100644 lib/base/CHANGELOG.md create mode 100644 lib/config/CHANGELOG.md create mode 100644 lib/conflict/CHANGELOG.md create mode 100644 lib/plugin/CHANGELOG.md create mode 100644 lib/schemas/CHANGELOG.md create mode 100644 lib/validated/CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ecad001d8..17f3833bb 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,43 +1,49 @@ { - "core/cli": "3.5.2", - "core/create": "3.8.1", - "lib/error": "3.2.0", - "lib/logger": "3.4.1", - "lib/options": "3.2.1", - "plugins/package-json-hook": "4.2.0", - "lib/state": "3.3.0", + "core/cli": "4.0.0", + "core/create": "4.0.0", + "lib/error": "4.0.0", + "lib/logger": "4.0.0", + "lib/options": "4.0.0", + "plugins/package-json-hook": "5.0.0", + "lib/state": "4.0.0", "lib/types": "3.6.1", "lib/vault": "3.2.1", - "lib/wait-for-ok": "3.2.0", + "lib/wait-for-ok": "4.0.0", "orb": "5.0.2", - "plugins/babel": "3.2.1", + "plugins/babel": "4.0.0", "plugins/backend-app": "3.2.6", - "plugins/circleci": "6.0.3", + "plugins/circleci": "7.0.0", "plugins/circleci-heroku": "3.2.6", - "plugins/circleci-npm": "5.3.5", - "plugins/component": "4.1.5", - "plugins/eslint": "3.2.2", - "plugins/frontend-app": "3.2.6", - "plugins/heroku": "3.4.2", - "plugins/husky-npm": "4.2.0", - "plugins/jest": "3.4.1", - "plugins/lint-staged": "4.2.1", - "plugins/lint-staged-npm": "3.2.1", - "plugins/mocha": "3.2.1", - "plugins/n-test": "3.3.2", - "plugins/next-router": "3.4.2", - "plugins/node": "3.4.2", - "plugins/nodemon": "3.4.2", - "plugins/npm": "3.3.2", + "plugins/circleci-npm": "6.0.0", + "plugins/component": "5.0.0", + "plugins/eslint": "4.0.0", + "plugins/frontend-app": "4.0.0", + "plugins/heroku": "4.0.0", + "plugins/husky-npm": "5.0.0", + "plugins/jest": "4.0.0", + "plugins/lint-staged": "5.0.0", + "plugins/lint-staged-npm": "4.0.0", + "plugins/mocha": "4.0.0", + "plugins/n-test": "4.0.0", + "plugins/next-router": "4.0.0", + "plugins/node": "4.0.0", + "plugins/nodemon": "4.0.0", + "plugins/npm": "4.0.0", "plugins/pa11y": "0.5.3", - "plugins/prettier": "3.2.1", - "plugins/upload-assets-to-s3": "3.2.1", - "plugins/webpack": "3.2.1", - "plugins/cypress": "4.0.2", - "plugins/typescript": "2.3.0", - "plugins/backend-heroku-app": "3.1.6", - "plugins/circleci-deploy": "3.4.5", - "plugins/backend-serverless-app": "3.2.9", - "plugins/serverless": "2.4.5", - "lib/doppler": "1.1.1" + "plugins/prettier": "4.0.0", + "plugins/upload-assets-to-s3": "4.0.0", + "plugins/webpack": "4.0.0", + "plugins/cypress": "5.0.0", + "plugins/typescript": "3.0.0", + "plugins/backend-heroku-app": "4.0.0", + "plugins/circleci-deploy": "4.0.0", + "plugins/backend-serverless-app": "4.0.0", + "plugins/serverless": "3.0.0", + "lib/doppler": "2.0.0", + "lib/base": "1.0.0", + "lib/config": "1.0.0", + "lib/conflict": "1.0.0", + "lib/plugin": "1.0.0", + "lib/schemas": "1.0.0", + "lib/validated": "1.0.0" } diff --git a/core/cli/CHANGELOG.md b/core/cli/CHANGELOG.md index 34dcd1323..54b689610 100644 --- a/core/cli/CHANGELOG.md +++ b/core/cli/CHANGELOG.md @@ -406,6 +406,128 @@ * @dotcom-tool-kit/circleci-deploy bumped from ^3.4.4 to ^3.4.5 * @dotcom-tool-kit/frontend-app bumped from ^3.2.5 to ^3.2.6 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/dotcom-tool-kit-v3.5.2...dotcom-tool-kit-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* pass task files in as part of a run context object +* **heroku:** remove systemCode option +* **vault:** remove references to Vault +* **cli:** drop cosmiconfig and load .toolkitrc.yml at plugin's root +* drop support for Node 16 +* only load plugins if their toolkitrc version matches the current version +* load hook installations from options.hooks +* rename SchemaOptions to PluginOptions +* move plugin options to a sub key of toolkitrc options entries +* move base classes into their own package +* rename Hook#check to Hook#isInstalled +* instantiate a separate hook instance per hook installation request from configs +* make plugin loading even lazier by having separate entrypoints for each task and hook +* rename `hooks` in toolkitrc to `commands` +* remove legacy circleci postinstall backwards compatibility +* rearchitect plugin loader to lazily load plugins + +### Features + +* add a Base subclass for init functions ([0f05227](https://github.com/Financial-Times/dotcom-tool-kit/commit/0f0522773dd5544840efb1c7832b04f0eeebfc43)) +* add command for printing the full config, useful for debugging ([9a6762e](https://github.com/Financial-Times/dotcom-tool-kit/commit/9a6762ecbdfdba1af9dac71028d5acbc986d1f88)) +* add support for a managesFiles entry in hook installs fields ([a89b167](https://github.com/Financial-Times/dotcom-tool-kit/commit/a89b167da9dae6edd6fcc9295a5f8f82e2e30023)) +* allow hook classes to specify an options schema ([01433a7](https://github.com/Financial-Times/dotcom-tool-kit/commit/01433a7d6081c11640adea87a05df18d5a53060a)) +* allow loading old-style options fields with a warning ([f451444](https://github.com/Financial-Times/dotcom-tool-kit/commit/f451444a14a4274fe3ff652f82bad90897877bcb)) +* allow plugins to specify init entrypoints ([51db8ef](https://github.com/Financial-Times/dotcom-tool-kit/commit/51db8efbbe8172ad35defa2fdd2443075a644f13)) +* allow specifying command task options in a toolkitrc ([7b8bc00](https://github.com/Financial-Times/dotcom-tool-kit/commit/7b8bc000b8562eb0dbd00eb2f8f3fc5fab71a57b)) +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* better formatting for missing commands ([77daf5f](https://github.com/Financial-Times/dotcom-tool-kit/commit/77daf5fc0f4502039260d218e8c6ed9143471d15)) +* better group --help output ([7e22938](https://github.com/Financial-Times/dotcom-tool-kit/commit/7e229382a683757c38bba78fd9bb3c1cd3edde34)) +* **cli:** add support for tags in config that resolve based on options ([8df97b9](https://github.com/Financial-Times/dotcom-tool-kit/commit/8df97b9e6d595740d4b94f34fe5a3f0dccef0994)) +* **cli:** allow key fields in YAML to be substituted by options too ([172f074](https://github.com/Financial-Times/dotcom-tool-kit/commit/172f074a12062a0bc225c9ad0f52b00cdecd1acf)) +* **cli:** drop cosmiconfig and load .toolkitrc.yml at plugin's root ([87d7cbb](https://github.com/Financial-Times/dotcom-tool-kit/commit/87d7cbb905a4a1406ab1f4f6ae222a9d225fe05d)) +* **cli:** gather all YAML tag errors into Validated before throwing ([82b2061](https://github.com/Financial-Times/dotcom-tool-kit/commit/82b206128cee71ad7cba65acfa130731ac5f2313)) +* collect and store the hook-managed files in config ([190afc5](https://github.com/Financial-Times/dotcom-tool-kit/commit/190afc50bdbded129d3e090ebb0e041ba8443b27)) +* **core:** run hook checks when running tasks if files have changed ([cd2bf67](https://github.com/Financial-Times/dotcom-tool-kit/commit/cd2bf67ffb7b431cc1a8e6ecd977de330bec952d)) +* explicitly handle legacy plugin options ([8574516](https://github.com/Financial-Times/dotcom-tool-kit/commit/8574516114a02731c77b877c7f6fb3d550434971)) +* **heroku:** remove systemCode option ([be00602](https://github.com/Financial-Times/dotcom-tool-kit/commit/be00602133549c551f8a79bcbb57f9a723ae9e7c)) +* load hook installations from options.hooks ([aaf1160](https://github.com/Financial-Times/dotcom-tool-kit/commit/aaf1160a4724b07b9d174f9d237721368d2fa087)) +* load hook options from rc files and put them in config ([dcea77a](https://github.com/Financial-Times/dotcom-tool-kit/commit/dcea77a64445e4851b64470e1478215e8142e6b5)) +* load hooks in toolkitrc as commands and warn about it ([d779c01](https://github.com/Financial-Times/dotcom-tool-kit/commit/d779c0151c874a89564b56e9e54155cb0f69fb90)) +* load plugin rcfile task options into config ([3f1b1b1](https://github.com/Financial-Times/dotcom-tool-kit/commit/3f1b1b149e9e5c9c0d00b7f85697469b0ece472a)) +* make plugin loading even lazier by having separate entrypoints for each task and hook ([b4760c2](https://github.com/Financial-Times/dotcom-tool-kit/commit/b4760c24fe588ee1dc4ad74f4649ee802067e4b8)) +* merge in options from the command task when parsing task options ([30ad103](https://github.com/Financial-Times/dotcom-tool-kit/commit/30ad1037d0b8e5120f1a66a8e8392d9cd3a1a277)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move conflict into its own package ([8ab46a0](https://github.com/Financial-Times/dotcom-tool-kit/commit/8ab46a06370d32fd19300fd6a58a775e04a96717)) +* move plugin options to a sub key of toolkitrc options entries ([4748eb1](https://github.com/Financial-Times/dotcom-tool-kit/commit/4748eb12d60bef31bd6da00d1447e35af1e0af1a)) +* move validated into its own package ([a8ed591](https://github.com/Financial-Times/dotcom-tool-kit/commit/a8ed59131bc603ed01fd8672646b3c5d75c77bde)) +* only load plugins if their toolkitrc version matches the current version ([65b3403](https://github.com/Financial-Times/dotcom-tool-kit/commit/65b3403b8369aa09ec64b11d20ab44b06d468d86)) +* overhaul help output for new abstractions & config structure ([7d98205](https://github.com/Financial-Times/dotcom-tool-kit/commit/7d982053c67bee0d4c7131821313cf20bfc0f8b7)) +* read list of files to hash from config ([d386ced](https://github.com/Financial-Times/dotcom-tool-kit/commit/d386ced40bdace1525f46aa4337d1037f2d7fcc6)) +* reduce hook installations based on logic from hook classes themselves ([64b6c0a](https://github.com/Financial-Times/dotcom-tool-kit/commit/64b6c0a42c67a9850cce71d92de7d78138a1cbe0)) +* reïntroduce validating plugins when we load them ([b2ebf87](https://github.com/Financial-Times/dotcom-tool-kit/commit/b2ebf87af75f346bb732c0c5fad4f1cedafbfc9c)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* run init classes before install and runTasks ([420749e](https://github.com/Financial-Times/dotcom-tool-kit/commit/420749e54ebc2cab9a67fe3b97db9f851fa78b85)) +* run init classes before install and runTasks ([be2d494](https://github.com/Financial-Times/dotcom-tool-kit/commit/be2d494ccc24724a2c62d2d4fe888a980baf82bf)) +* split remaining bits of types into config and plugins packages ([6cde9b9](https://github.com/Financial-Times/dotcom-tool-kit/commit/6cde9b90d4cd02383ae1b18ca38e0843e6c3d3ab)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) +* validate task option conflicts and unused task options ([977c92d](https://github.com/Financial-Times/dotcom-tool-kit/commit/977c92debe8c91a90e022c638fac5ad10cff3913)) +* various help formatting and working tweaks idk ([77efbdb](https://github.com/Financial-Times/dotcom-tool-kit/commit/77efbdb325f224df3c2cf16521ea66de7defc8c1)) +* **vault:** remove references to Vault ([3af9cf9](https://github.com/Financial-Times/dotcom-tool-kit/commit/3af9cf917989a8505e5a96cf9a4afccdd25815d2)) + + +### Bug Fixes + +* allow multiple instances of task with different options ([f50c14e](https://github.com/Financial-Times/dotcom-tool-kit/commit/f50c14ed13c52c81c3f56cf6ffabf7a8b0987cfe)) +* allow tasks with schemas not to have options provided in the config ([a10f04d](https://github.com/Financial-Times/dotcom-tool-kit/commit/a10f04d89aa24effbe3d74e4cd144aa46e07566e)) +* check ids for resolved plugins not plugin options ([f27e3f3](https://github.com/Financial-Times/dotcom-tool-kit/commit/f27e3f3addc113311c91168200653045852dc044)) +* **cli:** allow default option values to be read by YAML tags ([f6fef04](https://github.com/Financial-Times/dotcom-tool-kit/commit/f6fef04ac3d9ea72c709f569749ba20951247c6d)) +* **cli:** avoid hook installation conflicts between niblings ([1d70759](https://github.com/Financial-Times/dotcom-tool-kit/commit/1d70759a8139dca5c4d45f6833828914a47e96f0)) +* **cli:** don't throw when command not declared ([b0e047d](https://github.com/Financial-Times/dotcom-tool-kit/commit/b0e047d381bfec9d8788fb15f7dde8adc0bcc713)) +* **cli:** only override child options for hooks of the same class ([e9ce8b5](https://github.com/Financial-Times/dotcom-tool-kit/commit/e9ce8b5ed4c8a910c09fe9eca911a1cf7f09d873)) +* **cli:** pass through task options when no schema found ([026048e](https://github.com/Financial-Times/dotcom-tool-kit/commit/026048e3935d28cc23047f7c8edd8f54885e70fa)) +* **cli:** print something when hook installations are conflicting ([50024c1](https://github.com/Financial-Times/dotcom-tool-kit/commit/50024c172e628a5dff8b7649f92f3126f2bee2fd)) +* **cli:** properly format Zod errors when parsing task options ([2c2419a](https://github.com/Financial-Times/dotcom-tool-kit/commit/2c2419a7d1367d807df06c22687b1a92b6ee9872)) +* **cli:** resolve custom plugins successfully ([10bbf24](https://github.com/Financial-Times/dotcom-tool-kit/commit/10bbf248c6c3a12290248b6186b901cb757ff6e7)) +* **cli:** store parsed options for Tasks, not Zod's parsing result ([60840a5](https://github.com/Financial-Times/dotcom-tool-kit/commit/60840a52e17033ab014c1c6ec858a87e9b13ed68)) +* fix error message for conflicting tasks and hooks ([073cecc](https://github.com/Financial-Times/dotcom-tool-kit/commit/073ceccad7e93457d578d8f187c055ca7d6b5c31)) +* look in config.commandTasks for defined commands, not config.hooks 😅 ([cb00a5a](https://github.com/Financial-Times/dotcom-tool-kit/commit/cb00a5af82d35299fafe5540526742fe23ac4f8e)) +* make zod peerdeps of types and schema, and explicit deps of cli and create ([bc252ca](https://github.com/Financial-Times/dotcom-tool-kit/commit/bc252ca5245a69a6b7a30ea79fe1219699d102c6)) +* only load the tasks that are needed for the hooks that are running ([3c30cec](https://github.com/Financial-Times/dotcom-tool-kit/commit/3c30cecd49d6e910a4962766f91cad7e4c8b8a86)) +* remove check for undefined commands ([992b20f](https://github.com/Financial-Times/dotcom-tool-kit/commit/992b20f8e30816b35def91b9666509c358691d0a)) +* remove conflicts from task options in valid config type ([5c8a1e0](https://github.com/Financial-Times/dotcom-tool-kit/commit/5c8a1e0845eac058d76512d86702bf9805572f55)) +* throw if there are task option conflicts ([7162580](https://github.com/Financial-Times/dotcom-tool-kit/commit/7162580e4ecd03c77379d4e06ead2f32912d8016)) +* undefined commands logging ([8334ffb](https://github.com/Financial-Times/dotcom-tool-kit/commit/8334ffb6d6ffce4a2ad6e440c473ae7b8620a18d)) +* use resolve-from for entrypoints as resolve-pkg expects a package.json ([957fc06](https://github.com/Financial-Times/dotcom-tool-kit/commit/957fc062665891a5971910da171f1d0d10697752)) + + +### Performance Improvements + +* **core:** selectively load core modules based on subcommand ([20dd046](https://github.com/Financial-Times/dotcom-tool-kit/commit/20dd046987a9bdb1fa1b7f91a84ac07c3a58b6e0)) +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove legacy circleci postinstall backwards compatibility ([d16d437](https://github.com/Financial-Times/dotcom-tool-kit/commit/d16d4373dbe9fe7c19611643ad771af48a622f5c)) + + +### Code Refactoring + +* instantiate a separate hook instance per hook installation request from configs ([34f9a41](https://github.com/Financial-Times/dotcom-tool-kit/commit/34f9a41e8a137bac6d55a0c021c0a9ed9db74e65)) +* pass task files in as part of a run context object ([5aa7327](https://github.com/Financial-Times/dotcom-tool-kit/commit/5aa7327018c0a87c8c9feef36ef9e3735a4f5e6d)) +* rename Hook#check to Hook#isInstalled ([c00691b](https://github.com/Financial-Times/dotcom-tool-kit/commit/c00691b4c3994c6fae2aec7fc2c4ada44b2168ac)) +* rename SchemaOptions to PluginOptions ([0ce24db](https://github.com/Financial-Times/dotcom-tool-kit/commit/0ce24db808d077a0e4647d3bef9eaf55223a1cdf)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + * @dotcom-tool-kit/options bumped from ^3.2.1 to ^4.0.0 + * @dotcom-tool-kit/wait-for-ok bumped from ^3.2.0 to ^4.0.0 + ## [3.5.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/dotcom-tool-kit-v3.4.5...dotcom-tool-kit-v3.5.0) (2024-04-16) diff --git a/core/cli/package.json b/core/cli/package.json index de09d22f2..7489b2730 100644 --- a/core/cli/package.json +++ b/core/cli/package.json @@ -1,6 +1,6 @@ { "name": "dotcom-tool-kit", - "version": "3.5.2", + "version": "4.0.0", "description": "modern, maintainable, modular developer tooling for FT.com projects", "author": "FT.com Platforms Team ", "license": "MIT", @@ -30,15 +30,15 @@ "zod": "^3.22.4" }, "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", "@dotcom-tool-kit/config": "^1.0.0", "@dotcom-tool-kit/conflict": "^1.0.0", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/options": "^3.2.1", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/options": "^4.0.0", "@dotcom-tool-kit/plugin": "^1.0.0", "@dotcom-tool-kit/validated": "^1.0.0", - "@dotcom-tool-kit/wait-for-ok": "^3.2.0", + "@dotcom-tool-kit/wait-for-ok": "^4.0.0", "endent": "^2.1.0", "lodash": "^4.17.21", "minimist": "^1.2.5", diff --git a/core/create/CHANGELOG.md b/core/create/CHANGELOG.md index e726c889c..db9ee41b4 100644 --- a/core/create/CHANGELOG.md +++ b/core/create/CHANGELOG.md @@ -224,6 +224,65 @@ * devDependencies * dotcom-tool-kit bumped from ^3.5.1 to ^3.5.2 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/create-v3.8.1...create-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* **vault:** remove references to Vault +* drop support for Node 16 +* load hook installations from options.hooks +* move plugin options to a sub key of toolkitrc options entries +* instantiate a separate hook instance per hook installation request from configs +* make plugin loading even lazier by having separate entrypoints for each task and hook +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* allow hook classes to specify an options schema ([01433a7](https://github.com/Financial-Times/dotcom-tool-kit/commit/01433a7d6081c11640adea87a05df18d5a53060a)) +* allow plugins to specify init entrypoints ([51db8ef](https://github.com/Financial-Times/dotcom-tool-kit/commit/51db8efbbe8172ad35defa2fdd2443075a644f13)) +* load hook installations from options.hooks ([aaf1160](https://github.com/Financial-Times/dotcom-tool-kit/commit/aaf1160a4724b07b9d174f9d237721368d2fa087)) +* load plugin rcfile task options into config ([3f1b1b1](https://github.com/Financial-Times/dotcom-tool-kit/commit/3f1b1b149e9e5c9c0d00b7f85697469b0ece472a)) +* make plugin loading even lazier by having separate entrypoints for each task and hook ([b4760c2](https://github.com/Financial-Times/dotcom-tool-kit/commit/b4760c24fe588ee1dc4ad74f4649ee802067e4b8)) +* move plugin options to a sub key of toolkitrc options entries ([4748eb1](https://github.com/Financial-Times/dotcom-tool-kit/commit/4748eb12d60bef31bd6da00d1447e35af1e0af1a)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split remaining bits of types into config and plugins packages ([6cde9b9](https://github.com/Financial-Times/dotcom-tool-kit/commit/6cde9b90d4cd02383ae1b18ca38e0843e6c3d3ab)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) +* **vault:** remove references to Vault ([3af9cf9](https://github.com/Financial-Times/dotcom-tool-kit/commit/3af9cf917989a8505e5a96cf9a4afccdd25815d2)) + + +### Bug Fixes + +* **create:** no longer need to clean cosmiconfig as we've dropped it ([bee11ec](https://github.com/Financial-Times/dotcom-tool-kit/commit/bee11ec46c25bf9474ea89d4de075de2a984a5d4)) +* make zod peerdeps of types and schema, and explicit deps of cli and create ([bc252ca](https://github.com/Financial-Times/dotcom-tool-kit/commit/bc252ca5245a69a6b7a30ea79fe1219699d102c6)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* instantiate a separate hook instance per hook installation request from configs ([34f9a41](https://github.com/Financial-Times/dotcom-tool-kit/commit/34f9a41e8a137bac6d55a0c021c0a9ed9db74e65)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/doppler bumped from ^1.1.1 to ^2.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + * devDependencies + * dotcom-tool-kit bumped from ^3.5.2 to ^4.0.0 + ## [3.8.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/create-v3.7.2...create-v3.8.0) (2024-07-10) diff --git a/core/create/package.json b/core/create/package.json index 5b8c5b3d1..29972f2b1 100644 --- a/core/create/package.json +++ b/core/create/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/create", - "version": "3.8.1", + "version": "4.0.0", "description": "", "main": "lib", "bin": "./bin/create-tool-kit", @@ -13,9 +13,9 @@ "dependencies": { "@aws-sdk/client-iam": "^3.282.0", "@aws-sdk/client-sts": "^3.282.0", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "@dotcom-tool-kit/plugin": "^1.0.0", "@dotcom-tool-kit/schemas": "^1.0.0", "@octokit/rest": "^19.0.5", @@ -52,7 +52,7 @@ "@types/node-fetch": "^2.6.2", "@types/pacote": "^11.1.3", "@types/prompts": "^2.0.14", - "dotcom-tool-kit": "^3.5.2", + "dotcom-tool-kit": "^4.0.0", "type-fest": "^3.13.1" }, "volta": { diff --git a/lib/base/CHANGELOG.md b/lib/base/CHANGELOG.md new file mode 100644 index 000000000..bd9c7875d --- /dev/null +++ b/lib/base/CHANGELOG.md @@ -0,0 +1,29 @@ +# Changelog + +## 1.0.0 (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* pass task files in as part of a run context object +* rename Task#options to pluginOptions +* move base classes into their own package + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* split remaining bits of types into config and plugins packages ([6cde9b9](https://github.com/Financial-Times/dotcom-tool-kit/commit/6cde9b90d4cd02383ae1b18ca38e0843e6c3d3ab)) + + +### Code Refactoring + +* pass task files in as part of a run context object ([5aa7327](https://github.com/Financial-Times/dotcom-tool-kit/commit/5aa7327018c0a87c8c9feef36ef9e3735a4f5e6d)) +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * devDependencies + * @dotcom-tool-kit/logger bumped from ^3.3.0 to ^4.0.0 diff --git a/lib/base/package.json b/lib/base/package.json index ec210ad01..326fb6fb4 100644 --- a/lib/base/package.json +++ b/lib/base/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/base", - "version": "3.4.1", + "version": "1.0.0", "description": "", "main": "lib", "scripts": { @@ -16,7 +16,7 @@ "winston": "^3.11.0" }, "devDependencies": { - "@dotcom-tool-kit/logger": "^3.3.0", + "@dotcom-tool-kit/logger": "^4.0.0", "@dotcom-tool-kit/plugin": "^1.0.0", "winston": "^3.11.0", "zod": "^3.22.4" diff --git a/lib/config/CHANGELOG.md b/lib/config/CHANGELOG.md new file mode 100644 index 000000000..abf787155 --- /dev/null +++ b/lib/config/CHANGELOG.md @@ -0,0 +1,26 @@ +# Changelog + +## 1.0.0 (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* rename SchemaOptions to PluginOptions + +### Features + +* **cli:** add support for tags in config that resolve based on options ([8df97b9](https://github.com/Financial-Times/dotcom-tool-kit/commit/8df97b9e6d595740d4b94f34fe5a3f0dccef0994)) +* collect and store the hook-managed files in config ([190afc5](https://github.com/Financial-Times/dotcom-tool-kit/commit/190afc50bdbded129d3e090ebb0e041ba8443b27)) +* load plugin rcfile task options into config ([3f1b1b1](https://github.com/Financial-Times/dotcom-tool-kit/commit/3f1b1b149e9e5c9c0d00b7f85697469b0ece472a)) +* split remaining bits of types into config and plugins packages ([6cde9b9](https://github.com/Financial-Times/dotcom-tool-kit/commit/6cde9b90d4cd02383ae1b18ca38e0843e6c3d3ab)) + + +### Bug Fixes + +* **cli:** avoid hook installation conflicts between niblings ([1d70759](https://github.com/Financial-Times/dotcom-tool-kit/commit/1d70759a8139dca5c4d45f6833828914a47e96f0)) +* remove conflicts from task options in valid config type ([5c8a1e0](https://github.com/Financial-Times/dotcom-tool-kit/commit/5c8a1e0845eac058d76512d86702bf9805572f55)) + + +### Code Refactoring + +* rename SchemaOptions to PluginOptions ([0ce24db](https://github.com/Financial-Times/dotcom-tool-kit/commit/0ce24db808d077a0e4647d3bef9eaf55223a1cdf)) diff --git a/lib/conflict/CHANGELOG.md b/lib/conflict/CHANGELOG.md new file mode 100644 index 000000000..9dccd219d --- /dev/null +++ b/lib/conflict/CHANGELOG.md @@ -0,0 +1,8 @@ +# Changelog + +## 1.0.0 (2024-09-10) + + +### Features + +* move conflict into its own package ([8ab46a0](https://github.com/Financial-Times/dotcom-tool-kit/commit/8ab46a06370d32fd19300fd6a58a775e04a96717)) diff --git a/lib/doppler/CHANGELOG.md b/lib/doppler/CHANGELOG.md index 8011970db..c7cf3c18a 100644 --- a/lib/doppler/CHANGELOG.md +++ b/lib/doppler/CHANGELOG.md @@ -27,6 +27,34 @@ * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 * @dotcom-tool-kit/vault bumped from ^3.2.0 to ^3.2.1 +## [2.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/doppler-v1.1.1...doppler-v2.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* **vault:** remove references to Vault +* drop support for Node 16 + +### Features + +* split remaining bits of types into config and plugins packages ([6cde9b9](https://github.com/Financial-Times/dotcom-tool-kit/commit/6cde9b90d4cd02383ae1b18ca38e0843e6c3d3ab)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) +* **vault:** remove references to Vault ([3af9cf9](https://github.com/Financial-Times/dotcom-tool-kit/commit/3af9cf917989a8505e5a96cf9a4afccdd25815d2)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + * @dotcom-tool-kit/options bumped from ^3.2.1 to ^4.0.0 + ## [1.1.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/doppler-v1.0.9...doppler-v1.1.0) (2024-01-11) diff --git a/lib/doppler/package.json b/lib/doppler/package.json index 0cdbaf0bf..f7f697886 100644 --- a/lib/doppler/package.json +++ b/lib/doppler/package.json @@ -1,15 +1,15 @@ { "name": "@dotcom-tool-kit/doppler", - "version": "1.1.1", + "version": "2.0.0", "description": "", "main": "lib", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/options": "^3.2.1", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/options": "^4.0.0", "tslib": "^2.3.1" }, "keywords": [], diff --git a/lib/error/CHANGELOG.md b/lib/error/CHANGELOG.md index 81f0309b8..a45e4e53c 100644 --- a/lib/error/CHANGELOG.md +++ b/lib/error/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/error-v3.2.0...error-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/error-v3.1.0...error-v3.2.0) (2024-01-11) diff --git a/lib/error/package.json b/lib/error/package.json index ac75fdd09..f0876afca 100644 --- a/lib/error/package.json +++ b/lib/error/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/error", - "version": "3.2.0", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { diff --git a/lib/logger/CHANGELOG.md b/lib/logger/CHANGELOG.md index ad97d61f8..1de2936a2 100644 --- a/lib/logger/CHANGELOG.md +++ b/lib/logger/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/logger-v3.4.1...logger-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 + +### Features + +* better group --help output ([7e22938](https://github.com/Financial-Times/dotcom-tool-kit/commit/7e229382a683757c38bba78fd9bb3c1cd3edde34)) +* overhaul help output for new abstractions & config structure ([7d98205](https://github.com/Financial-Times/dotcom-tool-kit/commit/7d982053c67bee0d4c7131821313cf20bfc0f8b7)) +* various help formatting and working tweaks idk ([77efbdb](https://github.com/Financial-Times/dotcom-tool-kit/commit/77efbdb325f224df3c2cf16521ea66de7defc8c1)) + + +### Bug Fixes + +* explicitly set error etc mark forgrounds to black for better contrast ([b1a305a](https://github.com/Financial-Times/dotcom-tool-kit/commit/b1a305a67ce9c6d9776d98e50ba6334a1049b415)) +* remove stray unicode variant selector in error mark ([7f52222](https://github.com/Financial-Times/dotcom-tool-kit/commit/7f52222a8b3d7f084a5d77af45fee89cd7516f59)) +* switch from upstream boxen to my fork ([d32dc65](https://github.com/Financial-Times/dotcom-tool-kit/commit/d32dc653fc574698dc92cb8bbd5202affbccc0d1)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + ## [3.4.1](https://github.com/Financial-Times/dotcom-tool-kit/compare/logger-v3.4.0...logger-v3.4.1) (2024-07-10) diff --git a/lib/logger/package.json b/lib/logger/package.json index e11e1567e..b434a0bb5 100644 --- a/lib/logger/package.json +++ b/lib/logger/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/logger", - "version": "3.4.1", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -24,7 +24,7 @@ }, "dependencies": { "@apaleslimghost/boxen": "^5.1.3", - "@dotcom-tool-kit/error": "^3.2.0", + "@dotcom-tool-kit/error": "^4.0.0", "ansi-colors": "^4.1.1", "ansi-regex": "^5.0.1", "triple-beam": "^1.3.0", diff --git a/lib/options/CHANGELOG.md b/lib/options/CHANGELOG.md index a97ab6334..8e17927d0 100644 --- a/lib/options/CHANGELOG.md +++ b/lib/options/CHANGELOG.md @@ -132,6 +132,28 @@ * dependencies * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/options-v3.2.1...options-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* rename SchemaOptions to PluginOptions + +### Features + +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename SchemaOptions to PluginOptions ([0ce24db](https://github.com/Financial-Times/dotcom-tool-kit/commit/0ce24db808d077a0e4647d3bef9eaf55223a1cdf)) + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/options-v3.1.6...options-v3.2.0) (2024-01-11) diff --git a/lib/options/package.json b/lib/options/package.json index 661b7aa9d..e4b053685 100644 --- a/lib/options/package.json +++ b/lib/options/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/options", - "version": "3.2.1", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { diff --git a/lib/plugin/CHANGELOG.md b/lib/plugin/CHANGELOG.md new file mode 100644 index 000000000..b8f915ad2 --- /dev/null +++ b/lib/plugin/CHANGELOG.md @@ -0,0 +1,20 @@ +# Changelog + +## 1.0.0 (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* only load plugins if their toolkitrc version matches the current version +* load hook installations from options.hooks +* move plugin options to a sub key of toolkitrc options entries + +### Features + +* add support for a managesFiles entry in hook installs fields ([a89b167](https://github.com/Financial-Times/dotcom-tool-kit/commit/a89b167da9dae6edd6fcc9295a5f8f82e2e30023)) +* allow specifying command task options in a toolkitrc ([7b8bc00](https://github.com/Financial-Times/dotcom-tool-kit/commit/7b8bc000b8562eb0dbd00eb2f8f3fc5fab71a57b)) +* load hook installations from options.hooks ([aaf1160](https://github.com/Financial-Times/dotcom-tool-kit/commit/aaf1160a4724b07b9d174f9d237721368d2fa087)) +* load plugin rcfile task options into config ([3f1b1b1](https://github.com/Financial-Times/dotcom-tool-kit/commit/3f1b1b149e9e5c9c0d00b7f85697469b0ece472a)) +* move plugin options to a sub key of toolkitrc options entries ([4748eb1](https://github.com/Financial-Times/dotcom-tool-kit/commit/4748eb12d60bef31bd6da00d1447e35af1e0af1a)) +* only load plugins if their toolkitrc version matches the current version ([65b3403](https://github.com/Financial-Times/dotcom-tool-kit/commit/65b3403b8369aa09ec64b11d20ab44b06d468d86)) +* split remaining bits of types into config and plugins packages ([6cde9b9](https://github.com/Financial-Times/dotcom-tool-kit/commit/6cde9b90d4cd02383ae1b18ca38e0843e6c3d3ab)) diff --git a/lib/schemas/CHANGELOG.md b/lib/schemas/CHANGELOG.md new file mode 100644 index 000000000..abc6d816c --- /dev/null +++ b/lib/schemas/CHANGELOG.md @@ -0,0 +1,88 @@ +# Changelog + +## 1.0.0 (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* remove backwards compatibility-preserving hacks +* **heroku:** remove systemCode option +* **vault:** remove references to Vault +* **pa11y:** remove deprecated plugin +* **upload-assets-to-s3:** remove legacy environment variable handling +* change jest "mode" option to a boolean "ci" option +* move serverless run ports and useDoppler options to task options +* remove serverless buildNumVariable in favour of populating it via CI state +* rename serverless useVault option to useDoppler +* split heroku options into plugin-wide and heroku production task-specific +* move cypress localUrl plugin option to a url task option and change precedence +* move n-test options to task options +* move webpack options to task options and allow configuring env +* move upload-assets-to-s3 options to task options +* remove typescript extraArgs option +* consolidate typescript tasks and move options to task options +* remove prettier configOptions option +* move prettier options to task options +* move pa11y options to task options +* rename nodemon useVault option to useDoppler +* move nodemon options to task options +* rename node useVault option to useDoppler +* move node options to task options +* move mocha options to task options +* move jest options to task options and allow configuring env +* move eslint plugin options to task options +* move babel options to task options and allow configuring env +* **circleci:** define CircleCI configs in .toolkitrc.yml +* rename SchemaOptions to PluginOptions + +### Features + +* add (empty) schema exports for task schemas ([c17365e](https://github.com/Financial-Times/dotcom-tool-kit/commit/c17365e082b6d3ffbd3404ffdcf5ec1db9193207)) +* add configPath option for eslint task ([1c9ebd1](https://github.com/Financial-Times/dotcom-tool-kit/commit/1c9ebd14d051ee624051707076a4eb9d84eef190)) +* add watch, noEmit and build options to typescript task ([8ac8551](https://github.com/Financial-Times/dotcom-tool-kit/commit/8ac855173a7b814d7736bde62171695b799b51e6)) +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* change jest "mode" option to a boolean "ci" option ([ca6f2d4](https://github.com/Financial-Times/dotcom-tool-kit/commit/ca6f2d4f525fd8528ab0b758ba9c1adc09bbd59a)) +* **circleci:** allow projects to rewrite whole CircleCI config ([58a96c0](https://github.com/Financial-Times/dotcom-tool-kit/commit/58a96c047497fa3b82914a73db1ad9c17de1ab7a)) +* **circleci:** define CircleCI configs in .toolkitrc.yml ([16f8538](https://github.com/Financial-Times/dotcom-tool-kit/commit/16f853804e728dfc84398d2311f6059076b1aeea)) +* consolidate typescript tasks and move options to task options ([b8a6c34](https://github.com/Financial-Times/dotcom-tool-kit/commit/b8a6c34cf5a73480167155e7b66316698588a6b0)) +* explicitly handle legacy plugin options ([8574516](https://github.com/Financial-Times/dotcom-tool-kit/commit/8574516114a02731c77b877c7f6fb3d550434971)) +* **heroku:** remove systemCode option ([be00602](https://github.com/Financial-Times/dotcom-tool-kit/commit/be00602133549c551f8a79bcbb57f9a723ae9e7c)) +* **lint-staged-npm:** add PackageJson hook options ([a594afd](https://github.com/Financial-Times/dotcom-tool-kit/commit/a594afd5dbc8fab5682874595db4cc78df12ab3c)) +* make ports optional in node and nodemon tasks ([aa01fb6](https://github.com/Financial-Times/dotcom-tool-kit/commit/aa01fb6d8000858efd02164f84243f2e2e2d04fb)) +* move babel options to task options and allow configuring env ([d5b25a2](https://github.com/Financial-Times/dotcom-tool-kit/commit/d5b25a25e705e3311428eda1694a9a3b2541c630)) +* move cypress localUrl plugin option to a url task option and change precedence ([89a5514](https://github.com/Financial-Times/dotcom-tool-kit/commit/89a551494dafed20e87d640b929dc342f445c9ec)) +* move eslint plugin options to task options ([22a17ad](https://github.com/Financial-Times/dotcom-tool-kit/commit/22a17adab5cce411b105bcdae802e78bb5c17e37)) +* move jest options to task options and allow configuring env ([686f84c](https://github.com/Financial-Times/dotcom-tool-kit/commit/686f84cd30b9e8f022fa7d740cfee4c226e37da8)) +* move mocha options to task options ([073d737](https://github.com/Financial-Times/dotcom-tool-kit/commit/073d737795f3828ff96b6623cde7d4908c7e48f3)) +* move n-test options to task options ([72dee47](https://github.com/Financial-Times/dotcom-tool-kit/commit/72dee475a9442f26e23192f26f064d8febb843a4)) +* move node options to task options ([8a8729c](https://github.com/Financial-Times/dotcom-tool-kit/commit/8a8729c9e38ac4777774058b3153f0ce4a9b448a)) +* move nodemon options to task options ([de5568c](https://github.com/Financial-Times/dotcom-tool-kit/commit/de5568cbf7d6bedd37f43e46e3d4cedc15ca66d6)) +* move pa11y options to task options ([bfd82f1](https://github.com/Financial-Times/dotcom-tool-kit/commit/bfd82f1b188ab9998db254c69134324dd2bbec18)) +* move prettier options to task options ([71c24af](https://github.com/Financial-Times/dotcom-tool-kit/commit/71c24af0b1517008f530ce0ece85ccb9018e5100)) +* move serverless run ports and useDoppler options to task options ([e5791ad](https://github.com/Financial-Times/dotcom-tool-kit/commit/e5791ada3518213ad6a8df9f59dbcf2c3c65f68d)) +* move upload-assets-to-s3 options to task options ([664f519](https://github.com/Financial-Times/dotcom-tool-kit/commit/664f5196c57db79b18ecbfdb6e3cf50ea151af84)) +* move webpack options to task options and allow configuring env ([658c9bb](https://github.com/Financial-Times/dotcom-tool-kit/commit/658c9bb2b78843318da943e00e1a8fe2ef7bb4a9)) +* **pa11y:** remove deprecated plugin ([dd755f8](https://github.com/Financial-Times/dotcom-tool-kit/commit/dd755f878bb71239d91a04a1095d75d0c78c32f7)) +* remove backwards compatibility-preserving hacks ([dc008ff](https://github.com/Financial-Times/dotcom-tool-kit/commit/dc008ff156054a5fa61b4e7b4b8bdd638d6ab57f)) +* remove prettier configOptions option ([6b143d4](https://github.com/Financial-Times/dotcom-tool-kit/commit/6b143d43de921ae2ba66008ddeab83e3ea52d8ce)) +* remove serverless buildNumVariable in favour of populating it via CI state ([5c96a07](https://github.com/Financial-Times/dotcom-tool-kit/commit/5c96a07f117de53cbdb2933053f36e7740d6b14d)) +* remove typescript extraArgs option ([00b9a8b](https://github.com/Financial-Times/dotcom-tool-kit/commit/00b9a8b8b9b857803f825d0ec0b9cdbf553f1508)) +* rename node useVault option to useDoppler ([f39d0fe](https://github.com/Financial-Times/dotcom-tool-kit/commit/f39d0fea8c51259806e70e6a9f1327abcb56a625)) +* rename nodemon useVault option to useDoppler ([b80de5e](https://github.com/Financial-Times/dotcom-tool-kit/commit/b80de5e4adf2dd4dca312001c31202075bc7ac28)) +* rename serverless useVault option to useDoppler ([7e0dfb3](https://github.com/Financial-Times/dotcom-tool-kit/commit/7e0dfb38299987890e322762126c1f078b2e1fd4)) +* split heroku options into plugin-wide and heroku production task-specific ([bf6fcf3](https://github.com/Financial-Times/dotcom-tool-kit/commit/bf6fcf39e26f4fca3a63cc677b63a18674aea7b9)) +* split remaining bits of types into config and plugins packages ([6cde9b9](https://github.com/Financial-Times/dotcom-tool-kit/commit/6cde9b90d4cd02383ae1b18ca38e0843e6c3d3ab)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) +* **upload-assets-to-s3:** remove legacy environment variable handling ([9217fd8](https://github.com/Financial-Times/dotcom-tool-kit/commit/9217fd8589ec902968694ed9c851521f67f587ba)) +* **vault:** remove references to Vault ([3af9cf9](https://github.com/Financial-Times/dotcom-tool-kit/commit/3af9cf917989a8505e5a96cf9a4afccdd25815d2)) + + +### Bug Fixes + +* **circleci:** don't run review jobs on tagged releases ([f373212](https://github.com/Financial-Times/dotcom-tool-kit/commit/f373212518183be7841205a6aed7c0c5a96ef747)) +* make zod peerdeps of types and schema, and explicit deps of cli and create ([bc252ca](https://github.com/Financial-Times/dotcom-tool-kit/commit/bc252ca5245a69a6b7a30ea79fe1219699d102c6)) + + +### Code Refactoring + +* rename SchemaOptions to PluginOptions ([0ce24db](https://github.com/Financial-Times/dotcom-tool-kit/commit/0ce24db808d077a0e4647d3bef9eaf55223a1cdf)) diff --git a/lib/state/CHANGELOG.md b/lib/state/CHANGELOG.md index 72adf098e..f56037fa5 100644 --- a/lib/state/CHANGELOG.md +++ b/lib/state/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/state-v3.3.0...state-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* remove serverless buildNumVariable in favour of populating it via CI state +* drop support for Node 16 + +### Features + +* **core:** run hook checks when running tasks if files have changed ([cd2bf67](https://github.com/Financial-Times/dotcom-tool-kit/commit/cd2bf67ffb7b431cc1a8e6ecd977de330bec952d)) +* read list of files to hash from config ([d386ced](https://github.com/Financial-Times/dotcom-tool-kit/commit/d386ced40bdace1525f46aa4337d1037f2d7fcc6)) +* remove serverless buildNumVariable in favour of populating it via CI state ([5c96a07](https://github.com/Financial-Times/dotcom-tool-kit/commit/5c96a07f117de53cbdb2933053f36e7740d6b14d)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + ## [3.3.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/state-v3.2.0...state-v3.3.0) (2024-01-23) diff --git a/lib/state/package.json b/lib/state/package.json index 4a66fcd0c..65961ea85 100644 --- a/lib/state/package.json +++ b/lib/state/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/state", - "version": "3.3.0", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { diff --git a/lib/validated/CHANGELOG.md b/lib/validated/CHANGELOG.md new file mode 100644 index 000000000..94bfc371f --- /dev/null +++ b/lib/validated/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog + +## 1.0.0 (2024-09-10) + + +### Features + +* move validated into its own package ([a8ed591](https://github.com/Financial-Times/dotcom-tool-kit/commit/a8ed59131bc603ed01fd8672646b3c5d75c77bde)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/error bumped from ^3.1.0 to ^4.0.0 diff --git a/lib/validated/package.json b/lib/validated/package.json index 2fae62067..faee912da 100644 --- a/lib/validated/package.json +++ b/lib/validated/package.json @@ -9,6 +9,6 @@ "author": "", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/error": "^3.1.0" + "@dotcom-tool-kit/error": "^4.0.0" } } diff --git a/lib/wait-for-ok/CHANGELOG.md b/lib/wait-for-ok/CHANGELOG.md index b16a136e5..43e11fafa 100644 --- a/lib/wait-for-ok/CHANGELOG.md +++ b/lib/wait-for-ok/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/wait-for-ok-v3.2.0...wait-for-ok-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/wait-for-ok-v3.1.0...wait-for-ok-v3.2.0) (2024-01-11) diff --git a/lib/wait-for-ok/package.json b/lib/wait-for-ok/package.json index 4aac74664..c86c62173 100644 --- a/lib/wait-for-ok/package.json +++ b/lib/wait-for-ok/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/wait-for-ok", - "version": "3.2.0", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { diff --git a/plugins/babel/CHANGELOG.md b/plugins/babel/CHANGELOG.md index cda76946a..8f3358fe4 100644 --- a/plugins/babel/CHANGELOG.md +++ b/plugins/babel/CHANGELOG.md @@ -134,6 +134,50 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/babel-v3.2.1...babel-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* move babel options to task options and allow configuring env +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* add new lazy plugin spec to rest of plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* move babel options to task options and allow configuring env ([d5b25a2](https://github.com/Financial-Times/dotcom-tool-kit/commit/d5b25a25e705e3311428eda1694a9a3b2541c630)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Performance Improvements + +* add new lazy plugin spec to rest of plugins ([5367c9a](https://github.com/Financial-Times/dotcom-tool-kit/commit/5367c9a3e086412c28939c88700b67cb04afcfcd)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/babel-v3.1.6...babel-v3.2.0) (2024-01-11) diff --git a/plugins/babel/package.json b/plugins/babel/package.json index 1b7962481..211594180 100644 --- a/plugins/babel/package.json +++ b/plugins/babel/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/babel", - "version": "3.2.1", + "version": "4.0.0", "description": "", "author": "FT.com Platforms Team ", "license": "MIT", @@ -16,9 +16,9 @@ }, "keywords": [], "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "fast-glob": "^3.2.11", "tslib": "^2.3.1" }, diff --git a/plugins/backend-heroku-app/CHANGELOG.md b/plugins/backend-heroku-app/CHANGELOG.md index 514007fb8..8475fa83f 100644 --- a/plugins/backend-heroku-app/CHANGELOG.md +++ b/plugins/backend-heroku-app/CHANGELOG.md @@ -260,6 +260,33 @@ * dependencies * @dotcom-tool-kit/circleci-deploy bumped from ^3.4.4 to ^3.4.5 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/backend-heroku-app-v3.1.6...backend-heroku-app-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* rename `hooks` in toolkitrc to `commands` + +### Features + +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/circleci-deploy bumped from ^3.4.5 to ^4.0.0 + * @dotcom-tool-kit/heroku bumped from ^3.4.2 to ^4.0.0 + * @dotcom-tool-kit/node bumped from ^3.4.2 to ^4.0.0 + * @dotcom-tool-kit/npm bumped from ^3.3.2 to ^4.0.0 + ## [3.1.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/backend-heroku-app-v3.0.12...backend-heroku-app-v3.1.0) (2024-01-11) diff --git a/plugins/backend-heroku-app/package.json b/plugins/backend-heroku-app/package.json index 8313e044d..f4d55d71a 100644 --- a/plugins/backend-heroku-app/package.json +++ b/plugins/backend-heroku-app/package.json @@ -1,16 +1,16 @@ { "name": "@dotcom-tool-kit/backend-heroku-app", - "version": "3.1.6", + "version": "4.0.0", "description": "", "main": "index.js", "keywords": [], "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/circleci-deploy": "^3.4.5", - "@dotcom-tool-kit/heroku": "^3.4.2", - "@dotcom-tool-kit/node": "^3.4.2", - "@dotcom-tool-kit/npm": "^3.3.2" + "@dotcom-tool-kit/circleci-deploy": "^4.0.0", + "@dotcom-tool-kit/heroku": "^4.0.0", + "@dotcom-tool-kit/node": "^4.0.0", + "@dotcom-tool-kit/npm": "^4.0.0" }, "repository": { "type": "git", diff --git a/plugins/backend-serverless-app/CHANGELOG.md b/plugins/backend-serverless-app/CHANGELOG.md index e31b0c0c7..cc84db152 100644 --- a/plugins/backend-serverless-app/CHANGELOG.md +++ b/plugins/backend-serverless-app/CHANGELOG.md @@ -231,6 +231,33 @@ * dependencies * @dotcom-tool-kit/circleci-deploy bumped from ^3.4.4 to ^3.4.5 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/backend-serverless-app-v3.2.9...backend-serverless-app-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* rename `hooks` in toolkitrc to `commands` + +### Features + +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/circleci-deploy bumped from ^3.4.5 to ^4.0.0 + * @dotcom-tool-kit/node bumped from ^3.4.2 to ^4.0.0 + * @dotcom-tool-kit/npm bumped from ^3.3.2 to ^4.0.0 + * @dotcom-tool-kit/serverless bumped from ^2.4.5 to ^3.0.0 + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/backend-serverless-app-v3.1.0...backend-serverless-app-v3.2.0) (2024-01-23) diff --git a/plugins/backend-serverless-app/package.json b/plugins/backend-serverless-app/package.json index f5321fa86..745c4c507 100644 --- a/plugins/backend-serverless-app/package.json +++ b/plugins/backend-serverless-app/package.json @@ -1,16 +1,16 @@ { "name": "@dotcom-tool-kit/backend-serverless-app", - "version": "3.2.9", + "version": "4.0.0", "description": "", "main": "index.js", "keywords": [], "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/circleci-deploy": "^3.4.5", - "@dotcom-tool-kit/node": "^3.4.2", - "@dotcom-tool-kit/npm": "^3.3.2", - "@dotcom-tool-kit/serverless": "^2.4.5" + "@dotcom-tool-kit/circleci-deploy": "^4.0.0", + "@dotcom-tool-kit/node": "^4.0.0", + "@dotcom-tool-kit/npm": "^4.0.0", + "@dotcom-tool-kit/serverless": "^3.0.0" }, "repository": { "type": "git", diff --git a/plugins/circleci-deploy/CHANGELOG.md b/plugins/circleci-deploy/CHANGELOG.md index ffa4bf5a2..9b9213c29 100644 --- a/plugins/circleci-deploy/CHANGELOG.md +++ b/plugins/circleci-deploy/CHANGELOG.md @@ -102,6 +102,50 @@ * dependencies * @dotcom-tool-kit/circleci bumped from ^6.0.1 to ^6.0.2 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/circleci-deploy-v3.4.5...circleci-deploy-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* **pa11y:** remove deprecated plugin +* **circleci:** define CircleCI configs in .toolkitrc.yml +* drop support for Node 16 +* move base classes into their own package +* remove all current concrete hook subclasses +* rearchitect plugin loader to lazily load plugins + +### Features + +* **circleci-deploy:** define Cypress and Serverless options with tags ([6ee5f3c](https://github.com/Financial-Times/dotcom-tool-kit/commit/6ee5f3cf309a87723c19802fd00dd5b2a991313a)) +* **circleci:** define CircleCI configs in .toolkitrc.yml ([16f8538](https://github.com/Financial-Times/dotcom-tool-kit/commit/16f853804e728dfc84398d2311f6059076b1aeea)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* **pa11y:** remove deprecated plugin ([dd755f8](https://github.com/Financial-Times/dotcom-tool-kit/commit/dd755f878bb71239d91a04a1095d75d0c78c32f7)) + + +### Bug Fixes + +* **circleci-deploy:** add missing Serverless options to deploy-review job ([733b182](https://github.com/Financial-Times/dotcom-tool-kit/commit/733b18218bc082d4bba62dc763d7ed7db9313134)) +* **circleci-deploy:** remove unused option from e2e-test-review job ([530a687](https://github.com/Financial-Times/dotcom-tool-kit/commit/530a687a074ccd0b1733fef379935629aba68bac)) +* **circleci:** don't run review jobs on tagged releases ([f373212](https://github.com/Financial-Times/dotcom-tool-kit/commit/f373212518183be7841205a6aed7c0c5a96ef747)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove all current concrete hook subclasses ([62e7dc6](https://github.com/Financial-Times/dotcom-tool-kit/commit/62e7dc6d953efb9fa877143e77707cccee25d844)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/circleci bumped from ^6.0.3 to ^7.0.0 + ## [3.4.5](https://github.com/Financial-Times/dotcom-tool-kit/compare/circleci-deploy-v3.4.4...circleci-deploy-v3.4.5) (2024-07-22) diff --git a/plugins/circleci-deploy/package.json b/plugins/circleci-deploy/package.json index 8255495a8..bfbe794fb 100644 --- a/plugins/circleci-deploy/package.json +++ b/plugins/circleci-deploy/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/circleci-deploy", - "version": "3.4.5", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,7 +10,7 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/circleci": "^6.0.3", + "@dotcom-tool-kit/circleci": "^7.0.0", "tslib": "^2.3.1" }, "repository": { diff --git a/plugins/circleci-npm/CHANGELOG.md b/plugins/circleci-npm/CHANGELOG.md index e8aacb283..89eedcdf9 100644 --- a/plugins/circleci-npm/CHANGELOG.md +++ b/plugins/circleci-npm/CHANGELOG.md @@ -236,6 +236,44 @@ * dependencies * @dotcom-tool-kit/circleci bumped from ^6.0.2 to ^6.0.3 +## [6.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/circleci-npm-v5.3.5...circleci-npm-v6.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* **circleci:** define CircleCI configs in .toolkitrc.yml +* drop support for Node 16 +* move base classes into their own package +* remove all current concrete hook subclasses +* rename `hooks` in toolkitrc to `commands` +* add new lazy plugin spec to rest of plugins + +### Features + +* **circleci:** define CircleCI configs in .toolkitrc.yml ([16f8538](https://github.com/Financial-Times/dotcom-tool-kit/commit/16f853804e728dfc84398d2311f6059076b1aeea)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split remaining bits of types into config and plugins packages ([6cde9b9](https://github.com/Financial-Times/dotcom-tool-kit/commit/6cde9b90d4cd02383ae1b18ca38e0843e6c3d3ab)) + + +### Performance Improvements + +* add new lazy plugin spec to rest of plugins ([5367c9a](https://github.com/Financial-Times/dotcom-tool-kit/commit/5367c9a3e086412c28939c88700b67cb04afcfcd)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove all current concrete hook subclasses ([62e7dc6](https://github.com/Financial-Times/dotcom-tool-kit/commit/62e7dc6d953efb9fa877143e77707cccee25d844)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/circleci bumped from ^6.0.3 to ^7.0.0 + * @dotcom-tool-kit/npm bumped from ^3.3.2 to ^4.0.0 + ## [5.3.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/circleci-npm-v5.2.12...circleci-npm-v5.3.0) (2024-01-11) diff --git a/plugins/circleci-npm/package.json b/plugins/circleci-npm/package.json index f43754122..7e91aa1ac 100644 --- a/plugins/circleci-npm/package.json +++ b/plugins/circleci-npm/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/circleci-npm", - "version": "5.3.5", + "version": "6.0.0", "description": "", "main": "lib", "scripts": { @@ -10,8 +10,8 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/circleci": "^6.0.3", - "@dotcom-tool-kit/npm": "^3.3.2", + "@dotcom-tool-kit/circleci": "^7.0.0", + "@dotcom-tool-kit/npm": "^4.0.0", "tslib": "^2.3.1" }, "repository": { diff --git a/plugins/circleci/CHANGELOG.md b/plugins/circleci/CHANGELOG.md index d2a1c7b28..f2c9cc80a 100644 --- a/plugins/circleci/CHANGELOG.md +++ b/plugins/circleci/CHANGELOG.md @@ -121,6 +121,69 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [7.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/circleci-v6.0.3...circleci-v7.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* remove backwards compatibility-preserving hacks +* remove serverless buildNumVariable in favour of populating it via CI state +* **circleci:** define CircleCI configs in .toolkitrc.yml +* drop support for Node 16 +* move base classes into their own package +* rename Hook#check to Hook#isInstalled +* remove all current concrete hook subclasses +* rearchitect plugin loader to lazily load plugins + +### Features + +* add list of files that CircleCI and package.json hooks manage ([f51c75a](https://github.com/Financial-Times/dotcom-tool-kit/commit/f51c75acbd095415556b225c31fbcd8e5c742951)) +* add support for a managesFiles entry in hook installs fields ([a89b167](https://github.com/Financial-Times/dotcom-tool-kit/commit/a89b167da9dae6edd6fcc9295a5f8f82e2e30023)) +* allow hook classes to specify an options schema ([01433a7](https://github.com/Financial-Times/dotcom-tool-kit/commit/01433a7d6081c11640adea87a05df18d5a53060a)) +* **circleci:** allow projects to rewrite whole CircleCI config ([58a96c0](https://github.com/Financial-Times/dotcom-tool-kit/commit/58a96c047497fa3b82914a73db1ad9c17de1ab7a)) +* **circleci:** define CircleCI configs in .toolkitrc.yml ([16f8538](https://github.com/Financial-Times/dotcom-tool-kit/commit/16f853804e728dfc84398d2311f6059076b1aeea)) +* **circleci:** don't generate matrices if only one Node version used ([2136545](https://github.com/Financial-Times/dotcom-tool-kit/commit/21365452f307891cce888cad00aac74ce2603a9d)) +* **circleci:** remove waiting-for-approval job ([d6b6714](https://github.com/Financial-Times/dotcom-tool-kit/commit/d6b67147217cafed6c0c669e0ea953c13e9146d0)) +* export CircleCiConfig hook ([cda5e20](https://github.com/Financial-Times/dotcom-tool-kit/commit/cda5e20db4fbcf38db65b9bc42fb93b2e300dd78)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* overhaul help output for new abstractions & config structure ([7d98205](https://github.com/Financial-Times/dotcom-tool-kit/commit/7d982053c67bee0d4c7131821313cf20bfc0f8b7)) +* remove backwards compatibility-preserving hacks ([dc008ff](https://github.com/Financial-Times/dotcom-tool-kit/commit/dc008ff156054a5fa61b4e7b4b8bdd638d6ab57f)) +* remove serverless buildNumVariable in favour of populating it via CI state ([5c96a07](https://github.com/Financial-Times/dotcom-tool-kit/commit/5c96a07f117de53cbdb2933053f36e7740d6b14d)) + + +### Bug Fixes + +* **circleci:** don't run review jobs on tagged releases ([f373212](https://github.com/Financial-Times/dotcom-tool-kit/commit/f373212518183be7841205a6aed7c0c5a96ef747)) +* **circleci:** use correct name for jobs in a matrix ([b22afe2](https://github.com/Financial-Times/dotcom-tool-kit/commit/b22afe28c015a380c36304182a029444ac61dcca)) +* make zod peerdeps of types and schema, and explicit deps of cli and create ([bc252ca](https://github.com/Financial-Times/dotcom-tool-kit/commit/bc252ca5245a69a6b7a30ea79fe1219699d102c6)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove all current concrete hook subclasses ([62e7dc6](https://github.com/Financial-Times/dotcom-tool-kit/commit/62e7dc6d953efb9fa877143e77707cccee25d844)) + + +### Code Refactoring + +* rename Hook#check to Hook#isInstalled ([c00691b](https://github.com/Financial-Times/dotcom-tool-kit/commit/c00691b4c3994c6fae2aec7fc2c4ada44b2168ac)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + * @dotcom-tool-kit/options bumped from ^3.2.1 to ^4.0.0 + * @dotcom-tool-kit/state bumped from ^3.3.0 to ^4.0.0 + ## [6.0.3](https://github.com/Financial-Times/dotcom-tool-kit/compare/circleci-v6.0.2...circleci-v6.0.3) (2024-07-22) diff --git a/plugins/circleci/package.json b/plugins/circleci/package.json index 1d0ddf871..6efc59bca 100644 --- a/plugins/circleci/package.json +++ b/plugins/circleci/package.json @@ -1,18 +1,18 @@ { "name": "@dotcom-tool-kit/circleci", - "version": "6.0.3", + "version": "7.0.0", "description": "", "main": "lib", "scripts": { "test": "cd ../../ ; npx jest --silent --projects plugins/circleci" }, "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", "@dotcom-tool-kit/conflict": "^1.0.0", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/options": "^3.2.1", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/options": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "jest-diff": "^29.5.0", "lodash": "^4.17.21", "tslib": "^2.3.1", diff --git a/plugins/component/CHANGELOG.md b/plugins/component/CHANGELOG.md index d3bff7568..fb4cdb1ac 100644 --- a/plugins/component/CHANGELOG.md +++ b/plugins/component/CHANGELOG.md @@ -189,6 +189,31 @@ * dependencies * @dotcom-tool-kit/circleci-npm bumped from ^5.3.4 to ^5.3.5 +## [5.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/component-v4.1.5...component-v5.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* move base classes into their own package + +### Features + +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/circleci-npm bumped from ^5.3.5 to ^6.0.0 + * @dotcom-tool-kit/npm bumped from ^3.3.2 to ^4.0.0 + ## [4.1.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/component-v4.0.5...component-v4.1.0) (2024-01-11) diff --git a/plugins/component/package.json b/plugins/component/package.json index 8d9f377b9..8232a5dca 100644 --- a/plugins/component/package.json +++ b/plugins/component/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/component", - "version": "4.1.5", + "version": "5.0.0", "description": "", "main": "index.js", "keywords": [], @@ -20,8 +20,8 @@ "dotcom-tool-kit": "3.x" }, "dependencies": { - "@dotcom-tool-kit/circleci-npm": "^5.3.5", - "@dotcom-tool-kit/npm": "^3.3.2" + "@dotcom-tool-kit/circleci-npm": "^6.0.0", + "@dotcom-tool-kit/npm": "^4.0.0" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/cypress/CHANGELOG.md b/plugins/cypress/CHANGELOG.md index 0e3ffc413..8399629d6 100644 --- a/plugins/cypress/CHANGELOG.md +++ b/plugins/cypress/CHANGELOG.md @@ -46,6 +46,62 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [5.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/cypress-v4.0.2...cypress-v5.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* move cypress localUrl plugin option to a url task option and change precedence +* consolidate cypress tasks using similar logic to n-test for urls +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* remove all current concrete hook subclasses +* rename `hooks` in toolkitrc to `commands` +* add new lazy plugin spec to rest of plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* consolidate cypress tasks using similar logic to n-test for urls ([efbfd2b](https://github.com/Financial-Times/dotcom-tool-kit/commit/efbfd2b41fe016e7bad5a175a2255cb799f0fe29)) +* **cypress:** add PackageJson hook options ([1cbc98d](https://github.com/Financial-Times/dotcom-tool-kit/commit/1cbc98d49a82c182a204af7dd9b74f93d8062451)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move cypress localUrl plugin option to a url task option and change precedence ([89a5514](https://github.com/Financial-Times/dotcom-tool-kit/commit/89a551494dafed20e87d640b929dc342f445c9ec)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Bug Fixes + +* require package-json-hook plugin in plugins that use PackageJson hook ([892a4a6](https://github.com/Financial-Times/dotcom-tool-kit/commit/892a4a60c1f8641068cdf0bf3449bf1052c0556d)) + + +### Performance Improvements + +* add new lazy plugin spec to rest of plugins ([5367c9a](https://github.com/Financial-Times/dotcom-tool-kit/commit/5367c9a3e086412c28939c88700b67cb04afcfcd)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove all current concrete hook subclasses ([62e7dc6](https://github.com/Financial-Times/dotcom-tool-kit/commit/62e7dc6d953efb9fa877143e77707cccee25d844)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/doppler bumped from ^1.1.1 to ^2.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + * @dotcom-tool-kit/package-json-hook bumped from ^4.2.0 to ^5.0.0 + * @dotcom-tool-kit/state bumped from ^3.3.0 to ^4.0.0 + ## [4.0.1](https://github.com/Financial-Times/dotcom-tool-kit/compare/cypress-v4.0.0...cypress-v4.0.1) (2024-02-12) diff --git a/plugins/cypress/package.json b/plugins/cypress/package.json index a5554085e..b7fc7f57c 100644 --- a/plugins/cypress/package.json +++ b/plugins/cypress/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/cypress", - "version": "4.0.2", + "version": "5.0.0", "description": "", "main": "lib", "scripts": { @@ -28,11 +28,11 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", - "@dotcom-tool-kit/state": "^3.3.0" + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", + "@dotcom-tool-kit/state": "^4.0.0" }, "devDependencies": { "@dotcom-tool-kit/schemas": "^1.0.0" diff --git a/plugins/eslint/CHANGELOG.md b/plugins/eslint/CHANGELOG.md index ea025ec21..28443e7b9 100644 --- a/plugins/eslint/CHANGELOG.md +++ b/plugins/eslint/CHANGELOG.md @@ -122,6 +122,53 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/eslint-v3.2.2...eslint-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* pass task files in as part of a run context object +* move eslint plugin options to task options +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* add configPath option for eslint task ([1c9ebd1](https://github.com/Financial-Times/dotcom-tool-kit/commit/1c9ebd14d051ee624051707076a4eb9d84eef190)) +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move eslint plugin options to task options ([22a17ad](https://github.com/Financial-Times/dotcom-tool-kit/commit/22a17adab5cce411b105bcdae802e78bb5c17e37)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* pass task files in as part of a run context object ([5aa7327](https://github.com/Financial-Times/dotcom-tool-kit/commit/5aa7327018c0a87c8c9feef36ef9e3735a4f5e6d)) +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + ## [3.2.1](https://github.com/Financial-Times/dotcom-tool-kit/compare/eslint-v3.2.0...eslint-v3.2.1) (2024-04-16) diff --git a/plugins/eslint/package.json b/plugins/eslint/package.json index 6a0e8dcb1..da5a95bcb 100644 --- a/plugins/eslint/package.json +++ b/plugins/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/eslint", - "version": "3.2.2", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,9 +10,9 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "tslib": "^2.3.1" }, "repository": { diff --git a/plugins/frontend-app/CHANGELOG.md b/plugins/frontend-app/CHANGELOG.md index ccc1665bd..9750e2b39 100644 --- a/plugins/frontend-app/CHANGELOG.md +++ b/plugins/frontend-app/CHANGELOG.md @@ -318,6 +318,32 @@ * dependencies * @dotcom-tool-kit/backend-heroku-app bumped from ^3.1.5 to ^3.1.6 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/frontend-app-v3.2.6...frontend-app-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* rename `hooks` in toolkitrc to `commands` + +### Features + +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/backend-heroku-app bumped from ^3.1.6 to ^4.0.0 + * @dotcom-tool-kit/upload-assets-to-s3 bumped from ^3.2.1 to ^4.0.0 + * @dotcom-tool-kit/webpack bumped from ^3.2.1 to ^4.0.0 + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/frontend-app-v3.1.25...frontend-app-v3.2.0) (2024-01-11) diff --git a/plugins/frontend-app/package.json b/plugins/frontend-app/package.json index fd8f474d4..f28d4099a 100644 --- a/plugins/frontend-app/package.json +++ b/plugins/frontend-app/package.json @@ -1,15 +1,15 @@ { "name": "@dotcom-tool-kit/frontend-app", - "version": "3.2.6", + "version": "4.0.0", "description": "", "main": "index.js", "keywords": [], "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/backend-heroku-app": "^3.1.6", - "@dotcom-tool-kit/upload-assets-to-s3": "^3.2.1", - "@dotcom-tool-kit/webpack": "^3.2.1" + "@dotcom-tool-kit/backend-heroku-app": "^4.0.0", + "@dotcom-tool-kit/upload-assets-to-s3": "^4.0.0", + "@dotcom-tool-kit/webpack": "^4.0.0" }, "repository": { "type": "git", diff --git a/plugins/heroku/CHANGELOG.md b/plugins/heroku/CHANGELOG.md index 0e0c98edf..baa0699bf 100644 --- a/plugins/heroku/CHANGELOG.md +++ b/plugins/heroku/CHANGELOG.md @@ -178,6 +178,70 @@ * @dotcom-tool-kit/options bumped from ^3.2.0 to ^3.2.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/heroku-v3.4.2...heroku-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* **heroku:** remove systemCode option +* **vault:** remove references to Vault +* split heroku options into plugin-wide and heroku production task-specific +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* remove all current concrete hook subclasses +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* **heroku:** add PackageJson hook options ([71de5db](https://github.com/Financial-Times/dotcom-tool-kit/commit/71de5db8ed4a60936e0f190644119a242f1c5620)) +* **heroku:** remove systemCode option ([be00602](https://github.com/Financial-Times/dotcom-tool-kit/commit/be00602133549c551f8a79bcbb57f9a723ae9e7c)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move package-json-hook to plugins and export PackageJson hook ([56336e5](https://github.com/Financial-Times/dotcom-tool-kit/commit/56336e5cebb93c375dcaf28682f95f3da5b26c8a)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split heroku options into plugin-wide and heroku production task-specific ([bf6fcf3](https://github.com/Financial-Times/dotcom-tool-kit/commit/bf6fcf39e26f4fca3a63cc677b63a18674aea7b9)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) +* **vault:** remove references to Vault ([3af9cf9](https://github.com/Financial-Times/dotcom-tool-kit/commit/3af9cf917989a8505e5a96cf9a4afccdd25815d2)) + + +### Bug Fixes + +* **heroku:** use correct casing for Heroku API response field ([f889b75](https://github.com/Financial-Times/dotcom-tool-kit/commit/f889b75469dc6a89885ac5a8932aac90315189e7)) +* require package-json-hook plugin in plugins that use PackageJson hook ([892a4a6](https://github.com/Financial-Times/dotcom-tool-kit/commit/892a4a60c1f8641068cdf0bf3449bf1052c0556d)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove all current concrete hook subclasses ([62e7dc6](https://github.com/Financial-Times/dotcom-tool-kit/commit/62e7dc6d953efb9fa877143e77707cccee25d844)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/doppler bumped from ^1.1.1 to ^2.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + * @dotcom-tool-kit/npm bumped from ^3.3.2 to ^4.0.0 + * @dotcom-tool-kit/options bumped from ^3.2.1 to ^4.0.0 + * @dotcom-tool-kit/package-json-hook bumped from ^4.2.0 to ^5.0.0 + * @dotcom-tool-kit/state bumped from ^3.3.0 to ^4.0.0 + * @dotcom-tool-kit/wait-for-ok bumped from ^3.2.0 to ^4.0.0 + ## [3.4.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/heroku-v3.3.15...heroku-v3.4.0) (2024-01-11) diff --git a/plugins/heroku/package.json b/plugins/heroku/package.json index b466fd5ed..f057ad838 100644 --- a/plugins/heroku/package.json +++ b/plugins/heroku/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/heroku", - "version": "3.4.2", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,15 +10,15 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/npm": "^3.3.2", - "@dotcom-tool-kit/options": "^3.2.1", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", - "@dotcom-tool-kit/state": "^3.3.0", - "@dotcom-tool-kit/wait-for-ok": "^3.2.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/npm": "^4.0.0", + "@dotcom-tool-kit/options": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", + "@dotcom-tool-kit/state": "^4.0.0", + "@dotcom-tool-kit/wait-for-ok": "^4.0.0", "@octokit/request": "^5.6.0", "@octokit/request-error": "^2.1.0", "heroku-client": "^3.1.0", diff --git a/plugins/husky-npm/CHANGELOG.md b/plugins/husky-npm/CHANGELOG.md index d8118bef7..80a71c19d 100644 --- a/plugins/husky-npm/CHANGELOG.md +++ b/plugins/husky-npm/CHANGELOG.md @@ -1,5 +1,44 @@ # Changelog +## [5.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/husky-npm-v4.2.0...husky-npm-v5.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* delete the husky hook +* remove all current concrete hook subclasses +* rearchitect plugin loader to lazily load plugins + +### Features + +* **husky-npm:** add PackageJson hook options ([b8f40dc](https://github.com/Financial-Times/dotcom-tool-kit/commit/b8f40dc3fa7e339252bdb5607bc8f43a5ff63c4b)) +* move package-json-hook to plugins and export PackageJson hook ([56336e5](https://github.com/Financial-Times/dotcom-tool-kit/commit/56336e5cebb93c375dcaf28682f95f3da5b26c8a)) + + +### Bug Fixes + +* require package-json-hook plugin in plugins that use PackageJson hook ([892a4a6](https://github.com/Financial-Times/dotcom-tool-kit/commit/892a4a60c1f8641068cdf0bf3449bf1052c0556d)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* delete the husky hook ([8162c20](https://github.com/Financial-Times/dotcom-tool-kit/commit/8162c20d7ad425cb2d4405a518d09305134327e8)) +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove all current concrete hook subclasses ([62e7dc6](https://github.com/Financial-Times/dotcom-tool-kit/commit/62e7dc6d953efb9fa877143e77707cccee25d844)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/package-json-hook bumped from ^4.2.0 to ^5.0.0 + ## [4.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/husky-npm-v4.1.0...husky-npm-v4.2.0) (2024-01-11) diff --git a/plugins/husky-npm/package.json b/plugins/husky-npm/package.json index ee5e56d0e..2672ff751 100644 --- a/plugins/husky-npm/package.json +++ b/plugins/husky-npm/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/husky-npm", - "version": "4.2.0", + "version": "5.0.0", "description": "", "main": "lib", "scripts": { @@ -10,7 +10,7 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/package-json-hook": "^4.2.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", "tslib": "^2.3.1" }, "peerDependencies": { diff --git a/plugins/jest/CHANGELOG.md b/plugins/jest/CHANGELOG.md index 016b53d36..8bbbefaa3 100644 --- a/plugins/jest/CHANGELOG.md +++ b/plugins/jest/CHANGELOG.md @@ -134,6 +134,51 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/jest-v3.4.1...jest-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* change jest "mode" option to a boolean "ci" option +* move jest options to task options and allow configuring env +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* add new lazy plugin spec to rest of plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* change jest "mode" option to a boolean "ci" option ([ca6f2d4](https://github.com/Financial-Times/dotcom-tool-kit/commit/ca6f2d4f525fd8528ab0b758ba9c1adc09bbd59a)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move jest options to task options and allow configuring env ([686f84c](https://github.com/Financial-Times/dotcom-tool-kit/commit/686f84cd30b9e8f022fa7d740cfee4c226e37da8)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Performance Improvements + +* add new lazy plugin spec to rest of plugins ([5367c9a](https://github.com/Financial-Times/dotcom-tool-kit/commit/5367c9a3e086412c28939c88700b67cb04afcfcd)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + ## [3.4.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/jest-v3.3.0...jest-v3.4.0) (2024-01-11) diff --git a/plugins/jest/package.json b/plugins/jest/package.json index 8c7323ecf..663413958 100644 --- a/plugins/jest/package.json +++ b/plugins/jest/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/jest", - "version": "3.4.1", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,8 +10,8 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "tslib": "^2.3.1" }, "peerDependencies": { diff --git a/plugins/lint-staged-npm/CHANGELOG.md b/plugins/lint-staged-npm/CHANGELOG.md index ab779a00e..18261fd0e 100644 --- a/plugins/lint-staged-npm/CHANGELOG.md +++ b/plugins/lint-staged-npm/CHANGELOG.md @@ -163,6 +163,45 @@ * @dotcom-tool-kit/lint-staged bumped from ^4.2.0 to ^4.2.1 * @dotcom-tool-kit/options bumped from ^3.2.0 to ^3.2.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/lint-staged-npm-v3.2.1...lint-staged-npm-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* remove all current concrete hook subclasses +* rearchitect plugin loader to lazily load plugins + +### Features + +* **lint-staged-npm:** add PackageJson hook options ([a594afd](https://github.com/Financial-Times/dotcom-tool-kit/commit/a594afd5dbc8fab5682874595db4cc78df12ab3c)) + + +### Bug Fixes + +* require package-json-hook plugin in plugins that use PackageJson hook ([892a4a6](https://github.com/Financial-Times/dotcom-tool-kit/commit/892a4a60c1f8641068cdf0bf3449bf1052c0556d)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove all current concrete hook subclasses ([62e7dc6](https://github.com/Financial-Times/dotcom-tool-kit/commit/62e7dc6d953efb9fa877143e77707cccee25d844)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/husky-npm bumped from ^4.2.0 to ^5.0.0 + * @dotcom-tool-kit/lint-staged bumped from ^4.2.1 to ^5.0.0 + * @dotcom-tool-kit/options bumped from ^3.2.1 to ^4.0.0 + * @dotcom-tool-kit/package-json-hook bumped from ^4.2.0 to ^5.0.0 + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/lint-staged-npm-v3.1.6...lint-staged-npm-v3.2.0) (2024-01-11) diff --git a/plugins/lint-staged-npm/package.json b/plugins/lint-staged-npm/package.json index cbe7e6e5e..dd15920a1 100644 --- a/plugins/lint-staged-npm/package.json +++ b/plugins/lint-staged-npm/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/lint-staged-npm", - "version": "3.2.1", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,10 +10,10 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/husky-npm": "^4.2.0", - "@dotcom-tool-kit/lint-staged": "^4.2.1", - "@dotcom-tool-kit/options": "^3.2.1", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", + "@dotcom-tool-kit/husky-npm": "^5.0.0", + "@dotcom-tool-kit/lint-staged": "^5.0.0", + "@dotcom-tool-kit/options": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", "tslib": "^2.3.1" }, "repository": { diff --git a/plugins/lint-staged/CHANGELOG.md b/plugins/lint-staged/CHANGELOG.md index 9b5c683db..1ee6b6487 100644 --- a/plugins/lint-staged/CHANGELOG.md +++ b/plugins/lint-staged/CHANGELOG.md @@ -128,6 +128,41 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [5.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/lint-staged-v4.2.1...lint-staged-v5.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move package-json-hook to plugins and export PackageJson hook ([56336e5](https://github.com/Financial-Times/dotcom-tool-kit/commit/56336e5cebb93c375dcaf28682f95f3da5b26c8a)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/package-json-hook bumped from ^4.2.0 to ^5.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + ## [4.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/lint-staged-v4.1.6...lint-staged-v4.2.0) (2024-01-11) diff --git a/plugins/lint-staged/package.json b/plugins/lint-staged/package.json index 4981bc511..39a15c7c5 100644 --- a/plugins/lint-staged/package.json +++ b/plugins/lint-staged/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/lint-staged", - "version": "4.2.1", + "version": "5.0.0", "description": "", "main": "lib", "scripts": { @@ -10,9 +10,9 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "lint-staged": "^11.2.3", "tslib": "^2.3.1" }, diff --git a/plugins/mocha/CHANGELOG.md b/plugins/mocha/CHANGELOG.md index c20d12ed7..0f8f8e066 100644 --- a/plugins/mocha/CHANGELOG.md +++ b/plugins/mocha/CHANGELOG.md @@ -121,6 +121,50 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/mocha-v3.2.1...mocha-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* move mocha options to task options +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move mocha options to task options ([073d737](https://github.com/Financial-Times/dotcom-tool-kit/commit/073d737795f3828ff96b6623cde7d4908c7e48f3)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/mocha-v3.1.6...mocha-v3.2.0) (2024-01-11) diff --git a/plugins/mocha/package.json b/plugins/mocha/package.json index 94608bbc3..301edd9f1 100644 --- a/plugins/mocha/package.json +++ b/plugins/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/mocha", - "version": "3.2.1", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,9 +10,9 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "glob": "^7.1.7", "tslib": "^2.3.1" }, diff --git a/plugins/n-test/CHANGELOG.md b/plugins/n-test/CHANGELOG.md index f7c587c92..932782cb8 100644 --- a/plugins/n-test/CHANGELOG.md +++ b/plugins/n-test/CHANGELOG.md @@ -141,6 +141,52 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/n-test-v3.3.2...n-test-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* remove backwards compatibility-preserving hacks +* move n-test options to task options +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move n-test options to task options ([72dee47](https://github.com/Financial-Times/dotcom-tool-kit/commit/72dee475a9442f26e23192f26f064d8febb843a4)) +* remove backwards compatibility-preserving hacks ([dc008ff](https://github.com/Financial-Times/dotcom-tool-kit/commit/dc008ff156054a5fa61b4e7b4b8bdd638d6ab57f)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + * @dotcom-tool-kit/state bumped from ^3.3.0 to ^4.0.0 + ## [3.3.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/n-test-v3.2.8...n-test-v3.3.0) (2024-01-11) diff --git a/plugins/n-test/package.json b/plugins/n-test/package.json index 9aba027c6..dc48779d2 100644 --- a/plugins/n-test/package.json +++ b/plugins/n-test/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/n-test", - "version": "3.3.2", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,9 +10,9 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "@financial-times/n-test": "^6.1.0-beta.1", "tslib": "^2.3.1" }, diff --git a/plugins/next-router/CHANGELOG.md b/plugins/next-router/CHANGELOG.md index 4965c92c2..6ad727307 100644 --- a/plugins/next-router/CHANGELOG.md +++ b/plugins/next-router/CHANGELOG.md @@ -190,6 +190,50 @@ * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 * @dotcom-tool-kit/doppler bumped from ^1.1.0 to ^1.1.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/next-router-v3.4.2...next-router-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/doppler bumped from ^1.1.1 to ^2.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + * @dotcom-tool-kit/state bumped from ^3.3.0 to ^4.0.0 + ## [3.4.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/next-router-v3.3.9...next-router-v3.4.0) (2024-01-11) diff --git a/plugins/next-router/package.json b/plugins/next-router/package.json index 25c322ba8..18fa435bf 100644 --- a/plugins/next-router/package.json +++ b/plugins/next-router/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/next-router", - "version": "3.4.2", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,11 +10,11 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "ft-next-router": "^3.0.0", "tslib": "^2.3.1" }, diff --git a/plugins/node/CHANGELOG.md b/plugins/node/CHANGELOG.md index 60037c2fe..8ceda4684 100644 --- a/plugins/node/CHANGELOG.md +++ b/plugins/node/CHANGELOG.md @@ -168,6 +168,54 @@ * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 * @dotcom-tool-kit/doppler bumped from ^1.1.0 to ^1.1.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/node-v3.4.2...node-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* rename node useVault option to useDoppler +* move node options to task options +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* make ports optional in node and nodemon tasks ([aa01fb6](https://github.com/Financial-Times/dotcom-tool-kit/commit/aa01fb6d8000858efd02164f84243f2e2e2d04fb)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move node options to task options ([8a8729c](https://github.com/Financial-Times/dotcom-tool-kit/commit/8a8729c9e38ac4777774058b3153f0ce4a9b448a)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* rename node useVault option to useDoppler ([f39d0fe](https://github.com/Financial-Times/dotcom-tool-kit/commit/f39d0fea8c51259806e70e6a9f1327abcb56a625)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/state bumped from ^3.3.0 to ^4.0.0 + * @dotcom-tool-kit/doppler bumped from ^1.1.1 to ^2.0.0 + ## [3.4.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/node-v3.3.9...node-v3.4.0) (2024-01-11) diff --git a/plugins/node/package.json b/plugins/node/package.json index 8f5811367..19ec9325d 100644 --- a/plugins/node/package.json +++ b/plugins/node/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/node", - "version": "3.4.2", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,10 +10,10 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/state": "^3.3.0", - "@dotcom-tool-kit/doppler": "^1.1.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", "get-port": "^5.1.1", "tslib": "^2.3.1", "wait-port": "^0.2.9" diff --git a/plugins/nodemon/CHANGELOG.md b/plugins/nodemon/CHANGELOG.md index 37bf1f1d6..6faf26d35 100644 --- a/plugins/nodemon/CHANGELOG.md +++ b/plugins/nodemon/CHANGELOG.md @@ -175,6 +175,54 @@ * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 * @dotcom-tool-kit/doppler bumped from ^1.1.0 to ^1.1.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/nodemon-v3.4.2...nodemon-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* rename nodemon useVault option to useDoppler +* move nodemon options to task options +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* make ports optional in node and nodemon tasks ([aa01fb6](https://github.com/Financial-Times/dotcom-tool-kit/commit/aa01fb6d8000858efd02164f84243f2e2e2d04fb)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move nodemon options to task options ([de5568c](https://github.com/Financial-Times/dotcom-tool-kit/commit/de5568cbf7d6bedd37f43e46e3d4cedc15ca66d6)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* rename nodemon useVault option to useDoppler ([b80de5e](https://github.com/Financial-Times/dotcom-tool-kit/commit/b80de5e4adf2dd4dca312001c31202075bc7ac28)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/state bumped from ^3.3.0 to ^4.0.0 + * @dotcom-tool-kit/doppler bumped from ^1.1.1 to ^2.0.0 + ## [3.4.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/nodemon-v3.3.9...nodemon-v3.4.0) (2024-01-11) diff --git a/plugins/nodemon/package.json b/plugins/nodemon/package.json index 0eee24376..90267a4e8 100644 --- a/plugins/nodemon/package.json +++ b/plugins/nodemon/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/nodemon", - "version": "3.4.2", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,10 +10,10 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/state": "^3.3.0", - "@dotcom-tool-kit/doppler": "^1.1.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", "get-port": "^5.1.1", "tslib": "^2.3.1" }, diff --git a/plugins/npm/CHANGELOG.md b/plugins/npm/CHANGELOG.md index 2b225be12..20448cdb8 100644 --- a/plugins/npm/CHANGELOG.md +++ b/plugins/npm/CHANGELOG.md @@ -145,6 +145,49 @@ * dependencies * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/npm-v3.3.2...npm-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* move base classes into their own package +* remove all current concrete hook subclasses +* rearchitect plugin loader to lazily load plugins + +### Features + +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move package-json-hook to plugins and export PackageJson hook ([56336e5](https://github.com/Financial-Times/dotcom-tool-kit/commit/56336e5cebb93c375dcaf28682f95f3da5b26c8a)) +* **npm:** add PackageJson hook options ([c71ab23](https://github.com/Financial-Times/dotcom-tool-kit/commit/c71ab231e3b08424caa2be8987f84b3efff07f40)) + + +### Bug Fixes + +* make npm publish error messages CI-agnostic ([aa4cc6f](https://github.com/Financial-Times/dotcom-tool-kit/commit/aa4cc6f707fedc624684316cccd5f79322ea0eb1)) +* require package-json-hook plugin in plugins that use PackageJson hook ([892a4a6](https://github.com/Financial-Times/dotcom-tool-kit/commit/892a4a60c1f8641068cdf0bf3449bf1052c0556d)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove all current concrete hook subclasses ([62e7dc6](https://github.com/Financial-Times/dotcom-tool-kit/commit/62e7dc6d953efb9fa877143e77707cccee25d844)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/package-json-hook bumped from ^4.2.0 to ^5.0.0 + * @dotcom-tool-kit/state bumped from ^3.3.0 to ^4.0.0 + ## [3.3.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/npm-v3.2.3...npm-v3.3.0) (2024-01-11) diff --git a/plugins/npm/package.json b/plugins/npm/package.json index 2deeed258..516707309 100644 --- a/plugins/npm/package.json +++ b/plugins/npm/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/npm", - "version": "3.3.2", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -11,10 +11,10 @@ "license": "ISC", "dependencies": { "@actions/exec": "^1.1.0", - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "libnpmpack": "^3.1.0", "libnpmpublish": "^5.0.1", "pacote": "^12.0.3", diff --git a/plugins/package-json-hook/CHANGELOG.md b/plugins/package-json-hook/CHANGELOG.md index 6ec0bdfc7..fd5d611ac 100644 --- a/plugins/package-json-hook/CHANGELOG.md +++ b/plugins/package-json-hook/CHANGELOG.md @@ -1,5 +1,54 @@ # Changelog +## [5.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/package-json-hook-v4.2.0...package-json-hook-v5.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* drop support for Node 16 +* move base classes into their own package +* rename Hook#check to Hook#isInstalled + +### Features + +* add list of files that CircleCI and package.json hooks manage ([f51c75a](https://github.com/Financial-Times/dotcom-tool-kit/commit/f51c75acbd095415556b225c31fbcd8e5c742951)) +* add support for a managesFiles entry in hook installs fields ([a89b167](https://github.com/Financial-Times/dotcom-tool-kit/commit/a89b167da9dae6edd6fcc9295a5f8f82e2e30023)) +* allow hook classes to specify an options schema ([01433a7](https://github.com/Financial-Times/dotcom-tool-kit/commit/01433a7d6081c11640adea87a05df18d5a53060a)) +* implement options for packagejson hook ([9182ff6](https://github.com/Financial-Times/dotcom-tool-kit/commit/9182ff67cc443c837e200c34c49a97f3b49148e9)) +* implement PackageJson.overrideChildInstallations ([001e9ce](https://github.com/Financial-Times/dotcom-tool-kit/commit/001e9ce4bf4e556216b483dccc199736f18994ad)) +* implement PackageJsonHook.mergeChildInstallations ([becb741](https://github.com/Financial-Times/dotcom-tool-kit/commit/becb741498c0a125d0df699c5abf7b49b75dde28)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move conflict into its own package ([8ab46a0](https://github.com/Financial-Times/dotcom-tool-kit/commit/8ab46a06370d32fd19300fd6a58a775e04a96717)) +* move package-json-hook to plugins and export PackageJson hook ([56336e5](https://github.com/Financial-Times/dotcom-tool-kit/commit/56336e5cebb93c375dcaf28682f95f3da5b26c8a)) +* overhaul help output for new abstractions & config structure ([7d98205](https://github.com/Financial-Times/dotcom-tool-kit/commit/7d982053c67bee0d4c7131821313cf20bfc0f8b7)) +* **package-json-hook:** allow full stops to be escaped so they aren't split as paths ([cb5e591](https://github.com/Financial-Times/dotcom-tool-kit/commit/cb5e591368081e2752e1fc91cfb9edd5c7a5cdb3)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) +* support trailing string in packagejson options ([2eaee9c](https://github.com/Financial-Times/dotcom-tool-kit/commit/2eaee9cc30fa00a777a658df5654d495780a130c)) + + +### Bug Fixes + +* make zod peerdeps of types and schema, and explicit deps of cli and create ([bc252ca](https://github.com/Financial-Times/dotcom-tool-kit/commit/bc252ca5245a69a6b7a30ea79fe1219699d102c6)) +* **package-json-hook:** fix isInstalled check so it handles split paths ([e2066b1](https://github.com/Financial-Times/dotcom-tool-kit/commit/e2066b1b5807674f4dfb45525e8d9b0fe4eadf44)) +* **package-json-hook:** handle other kinds of command options ([af3dba0](https://github.com/Financial-Times/dotcom-tool-kit/commit/af3dba0faf9d50b334f305ceed86a2a06669db63)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Hook#check to Hook#isInstalled ([c00691b](https://github.com/Financial-Times/dotcom-tool-kit/commit/c00691b4c3994c6fae2aec7fc2c4ada44b2168ac)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + ## [4.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/package-json-hook-v4.1.0...package-json-hook-v4.2.0) (2024-01-11) diff --git a/plugins/package-json-hook/package.json b/plugins/package-json-hook/package.json index 18d3b305b..1bede8781 100644 --- a/plugins/package-json-hook/package.json +++ b/plugins/package-json-hook/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/package-json-hook", - "version": "4.2.0", + "version": "5.0.0", "description": "", "main": "lib", "scripts": { @@ -10,7 +10,7 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", "@dotcom-tool-kit/conflict": "^1.0.0", "@dotcom-tool-kit/plugin": "^1.0.0", "@financial-times/package-json": "^3.0.0", diff --git a/plugins/prettier/CHANGELOG.md b/plugins/prettier/CHANGELOG.md index a3b567dcc..75a8f7a3a 100644 --- a/plugins/prettier/CHANGELOG.md +++ b/plugins/prettier/CHANGELOG.md @@ -128,6 +128,64 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/prettier-v3.2.1...prettier-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* pass task files in as part of a run context object +* remove prettier configOptions option +* move prettier options to task options +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* remove all current concrete hook subclasses +* rename `hooks` in toolkitrc to `commands` +* add new lazy plugin spec to rest of plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move prettier options to task options ([71c24af](https://github.com/Financial-Times/dotcom-tool-kit/commit/71c24af0b1517008f530ce0ece85ccb9018e5100)) +* **prettier:** add PackageJson hook options ([8895c3d](https://github.com/Financial-Times/dotcom-tool-kit/commit/8895c3d8f7908a6d611d912f8b3cc3ecfa85f2d9)) +* remove prettier configOptions option ([6b143d4](https://github.com/Financial-Times/dotcom-tool-kit/commit/6b143d43de921ae2ba66008ddeab83e3ea52d8ce)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Bug Fixes + +* **prettier:** correct hook option field in config ([bba2a99](https://github.com/Financial-Times/dotcom-tool-kit/commit/bba2a996f95874655154dc9723933f0f2f56ece8)) +* require package-json-hook plugin in plugins that use PackageJson hook ([892a4a6](https://github.com/Financial-Times/dotcom-tool-kit/commit/892a4a60c1f8641068cdf0bf3449bf1052c0556d)) + + +### Performance Improvements + +* add new lazy plugin spec to rest of plugins ([5367c9a](https://github.com/Financial-Times/dotcom-tool-kit/commit/5367c9a3e086412c28939c88700b67cb04afcfcd)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove all current concrete hook subclasses ([62e7dc6](https://github.com/Financial-Times/dotcom-tool-kit/commit/62e7dc6d953efb9fa877143e77707cccee25d844)) + + +### Code Refactoring + +* pass task files in as part of a run context object ([5aa7327](https://github.com/Financial-Times/dotcom-tool-kit/commit/5aa7327018c0a87c8c9feef36ef9e3735a4f5e6d)) +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + * @dotcom-tool-kit/package-json-hook bumped from ^4.2.0 to ^5.0.0 + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/prettier-v3.1.6...prettier-v3.2.0) (2024-01-11) diff --git a/plugins/prettier/package.json b/plugins/prettier/package.json index ea9bbc213..0164fd203 100644 --- a/plugins/prettier/package.json +++ b/plugins/prettier/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/prettier", - "version": "3.2.1", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -10,10 +10,10 @@ "author": "FT.com Platforms Team ", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", "fast-glob": "^3.2.7", "hook-std": "^2.0.0", "prettier": "^2.2.1", diff --git a/plugins/serverless/CHANGELOG.md b/plugins/serverless/CHANGELOG.md index 39c1d1a35..92accfb2d 100644 --- a/plugins/serverless/CHANGELOG.md +++ b/plugins/serverless/CHANGELOG.md @@ -81,6 +81,56 @@ * @dotcom-tool-kit/options bumped from ^3.2.0 to ^3.2.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [3.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/serverless-v2.4.5...serverless-v3.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* move serverless run ports and useDoppler options to task options +* remove unused legacy vault/doppler support from serverless deploy/provision/teardown tasks +* remove serverless buildNumVariable in favour of populating it via CI state +* rename serverless useVault option to useDoppler +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* add new lazy plugin spec to rest of plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move serverless run ports and useDoppler options to task options ([e5791ad](https://github.com/Financial-Times/dotcom-tool-kit/commit/e5791ada3518213ad6a8df9f59dbcf2c3c65f68d)) +* remove serverless buildNumVariable in favour of populating it via CI state ([5c96a07](https://github.com/Financial-Times/dotcom-tool-kit/commit/5c96a07f117de53cbdb2933053f36e7740d6b14d)) +* rename serverless useVault option to useDoppler ([7e0dfb3](https://github.com/Financial-Times/dotcom-tool-kit/commit/7e0dfb38299987890e322762126c1f078b2e1fd4)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Performance Improvements + +* add new lazy plugin spec to rest of plugins ([5367c9a](https://github.com/Financial-Times/dotcom-tool-kit/commit/5367c9a3e086412c28939c88700b67cb04afcfcd)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) +* remove unused legacy vault/doppler support from serverless deploy/provision/teardown tasks ([007038d](https://github.com/Financial-Times/dotcom-tool-kit/commit/007038d1b018c47b99971d9713cd4375be488712)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/doppler bumped from ^1.1.1 to ^2.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/options bumped from ^3.2.1 to ^4.0.0 + * @dotcom-tool-kit/state bumped from ^3.3.0 to ^4.0.0 + ## [2.4.4](https://github.com/Financial-Times/dotcom-tool-kit/compare/serverless-v2.4.3...serverless-v2.4.4) (2024-02-08) diff --git a/plugins/serverless/package.json b/plugins/serverless/package.json index a82b261b4..d27593f5c 100644 --- a/plugins/serverless/package.json +++ b/plugins/serverless/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/serverless", - "version": "2.4.5", + "version": "3.0.0", "description": "a plugin to manage and deploy apps using AWS Serverless", "main": "lib", "scripts": { @@ -25,11 +25,11 @@ "serverless-offline": "^12.0.4" }, "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/options": "^3.2.1", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/options": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "get-port": "^5.1.1", "tslib": "^2.3.1", "wait-port": "^0.2.9" diff --git a/plugins/typescript/CHANGELOG.md b/plugins/typescript/CHANGELOG.md index 155d66387..f5d3cd7e0 100644 --- a/plugins/typescript/CHANGELOG.md +++ b/plugins/typescript/CHANGELOG.md @@ -72,6 +72,57 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [3.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/typescript-v2.3.0...typescript-v3.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* remove typescript extraArgs option +* consolidate typescript tasks and move options to task options +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* add new lazy plugin spec to rest of plugins + +### Features + +* add watch, noEmit and build options to typescript task ([8ac8551](https://github.com/Financial-Times/dotcom-tool-kit/commit/8ac855173a7b814d7736bde62171695b799b51e6)) +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* consolidate typescript tasks and move options to task options ([b8a6c34](https://github.com/Financial-Times/dotcom-tool-kit/commit/b8a6c34cf5a73480167155e7b66316698588a6b0)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* remove typescript extraArgs option ([00b9a8b](https://github.com/Financial-Times/dotcom-tool-kit/commit/00b9a8b8b9b857803f825d0ec0b9cdbf553f1508)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Bug Fixes + +* **typescript:** point config to correct module path for task ([0b3b7cf](https://github.com/Financial-Times/dotcom-tool-kit/commit/0b3b7cfc88b4acc52c893b9d0a112de6add237b4)) + + +### Performance Improvements + +* add new lazy plugin spec to rest of plugins ([5367c9a](https://github.com/Financial-Times/dotcom-tool-kit/commit/5367c9a3e086412c28939c88700b67cb04afcfcd)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + ## [2.3.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/typescript-v2.2.1...typescript-v2.3.0) (2024-07-25) diff --git a/plugins/typescript/package.json b/plugins/typescript/package.json index 23b3616f9..ff4ee6189 100644 --- a/plugins/typescript/package.json +++ b/plugins/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/typescript", - "version": "2.3.0", + "version": "3.0.0", "description": "", "main": "lib", "scripts": { @@ -25,8 +25,8 @@ "typescript": "3.x || 4.x || 5.x" }, "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/logger": "^3.4.1" + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/logger": "^4.0.0" }, "devDependencies": { "@dotcom-tool-kit/schemas": "^1.0.0", diff --git a/plugins/upload-assets-to-s3/CHANGELOG.md b/plugins/upload-assets-to-s3/CHANGELOG.md index 3a0ca0014..7e683d94b 100644 --- a/plugins/upload-assets-to-s3/CHANGELOG.md +++ b/plugins/upload-assets-to-s3/CHANGELOG.md @@ -121,6 +121,52 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/upload-assets-to-s3-v3.2.1...upload-assets-to-s3-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* **upload-assets-to-s3:** remove legacy environment variable handling +* move upload-assets-to-s3 options to task options +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move upload-assets-to-s3 options to task options ([664f519](https://github.com/Financial-Times/dotcom-tool-kit/commit/664f5196c57db79b18ecbfdb6e3cf50ea151af84)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) +* **upload-assets-to-s3:** remove legacy environment variable handling ([9217fd8](https://github.com/Financial-Times/dotcom-tool-kit/commit/9217fd8589ec902968694ed9c851521f67f587ba)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/upload-assets-to-s3-v3.1.7...upload-assets-to-s3-v3.2.0) (2024-01-11) diff --git a/plugins/upload-assets-to-s3/package.json b/plugins/upload-assets-to-s3/package.json index ab9ea5e71..cd0526903 100644 --- a/plugins/upload-assets-to-s3/package.json +++ b/plugins/upload-assets-to-s3/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/upload-assets-to-s3", - "version": "3.2.1", + "version": "4.0.0", "description": "", "main": "lib", "scripts": { @@ -11,9 +11,9 @@ "license": "ISC", "dependencies": { "@aws-sdk/client-s3": "^3.256.0", - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "glob": "^7.1.6", "mime": "^2.5.2", "tslib": "^2.3.1" diff --git a/plugins/webpack/CHANGELOG.md b/plugins/webpack/CHANGELOG.md index 8627dc919..b01c78f2c 100644 --- a/plugins/webpack/CHANGELOG.md +++ b/plugins/webpack/CHANGELOG.md @@ -128,6 +128,50 @@ * @dotcom-tool-kit/logger bumped from ^3.4.0 to ^3.4.1 * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 +## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/webpack-v3.2.1...webpack-v4.0.0) (2024-09-10) + + +### ⚠ BREAKING CHANGES + +* move webpack options to task options and allow configuring env +* drop support for Node 16 +* rename Task#options to pluginOptions +* move base classes into their own package +* rename `hooks` in toolkitrc to `commands` +* rearchitect plugin loader to lazily load plugins + +### Features + +* allow tasks to receive a task options object and parse task schema when initialising ([1dce6bd](https://github.com/Financial-Times/dotcom-tool-kit/commit/1dce6bd5e8436bf521e94eb812aa847ca7dd1e4d)) +* move base classes into their own package ([be1681b](https://github.com/Financial-Times/dotcom-tool-kit/commit/be1681b033609a9e332ab072681b6de8d05befb2)) +* move webpack options to task options and allow configuring env ([658c9bb](https://github.com/Financial-Times/dotcom-tool-kit/commit/658c9bb2b78843318da943e00e1a8fe2ef7bb4a9)) +* rename `hooks` in toolkitrc to `commands` ([45baa66](https://github.com/Financial-Times/dotcom-tool-kit/commit/45baa66b231a1e39332187cd3b8fdc36bec9727d)) +* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) + + +### Performance Improvements + +* rearchitect plugin loader to lazily load plugins ([9779b83](https://github.com/Financial-Times/dotcom-tool-kit/commit/9779b83d8dbfdcf904229790658daa05ef6c1f8f)) + + +### Miscellaneous Chores + +* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) + + +### Code Refactoring + +* rename Task#options to pluginOptions ([e73dcae](https://github.com/Financial-Times/dotcom-tool-kit/commit/e73dcae5ff48693545aa20e5c572269c3adf486b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @dotcom-tool-kit/base bumped from ^3.4.1 to ^1.0.0 + * @dotcom-tool-kit/error bumped from ^3.2.0 to ^4.0.0 + * @dotcom-tool-kit/logger bumped from ^3.4.1 to ^4.0.0 + ## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/webpack-v3.1.7...webpack-v3.2.0) (2024-01-11) diff --git a/plugins/webpack/package.json b/plugins/webpack/package.json index 410b6a81a..4e4a432dd 100644 --- a/plugins/webpack/package.json +++ b/plugins/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@dotcom-tool-kit/webpack", - "version": "3.2.1", + "version": "4.0.0", "main": "lib", "description": "", "author": "FT.com Platforms Team ", @@ -17,9 +17,9 @@ "test": "cd ../../ ; npx jest --silent --projects plugins/webpack" }, "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "webpack-cli": "^4.6.0", "tslib": "^2.3.1" }, From 59716c6e92b2a0a15dc54a3d8521e2815d438625 Mon Sep 17 00:00:00 2001 From: Ivo Murrell Date: Tue, 10 Sep 2024 14:20:19 +0100 Subject: [PATCH 2/2] backstage: require all plugins use new Tool Kit CLI major version --- package-lock.json | 338 ++++++++++---------- plugins/babel/package.json | 2 +- plugins/backend-heroku-app/package.json | 2 +- plugins/backend-serverless-app/package.json | 2 +- plugins/circleci-deploy/package.json | 2 +- plugins/circleci-npm/package.json | 2 +- plugins/circleci/package.json | 2 +- plugins/component/package.json | 2 +- plugins/cypress/package.json | 2 +- plugins/eslint/package.json | 2 +- plugins/frontend-app/package.json | 2 +- plugins/heroku/package.json | 2 +- plugins/husky-npm/package.json | 2 +- plugins/jest/package.json | 2 +- plugins/lint-staged-npm/package.json | 2 +- plugins/lint-staged/package.json | 2 +- plugins/mocha/package.json | 2 +- plugins/n-test/package.json | 2 +- plugins/next-router/package.json | 2 +- plugins/node/package.json | 2 +- plugins/nodemon/package.json | 2 +- plugins/npm/package.json | 2 +- plugins/prettier/package.json | 2 +- plugins/serverless/package.json | 2 +- plugins/typescript/package.json | 2 +- plugins/upload-assets-to-s3/package.json | 2 +- plugins/webpack/package.json | 2 +- 27 files changed, 195 insertions(+), 195 deletions(-) diff --git a/package-lock.json b/package-lock.json index 999aec73f..d4ffff4b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,18 +50,18 @@ }, "core/cli": { "name": "dotcom-tool-kit", - "version": "3.5.2", + "version": "4.0.0", "license": "MIT", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", "@dotcom-tool-kit/config": "^1.0.0", "@dotcom-tool-kit/conflict": "^1.0.0", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/options": "^3.2.1", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/options": "^4.0.0", "@dotcom-tool-kit/plugin": "^1.0.0", "@dotcom-tool-kit/validated": "^1.0.0", - "@dotcom-tool-kit/wait-for-ok": "^3.2.0", + "@dotcom-tool-kit/wait-for-ok": "^4.0.0", "endent": "^2.1.0", "lodash": "^4.17.21", "minimist": "^1.2.5", @@ -140,14 +140,14 @@ }, "core/create": { "name": "@dotcom-tool-kit/create", - "version": "3.8.1", + "version": "4.0.0", "license": "ISC", "dependencies": { "@aws-sdk/client-iam": "^3.282.0", "@aws-sdk/client-sts": "^3.282.0", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "@dotcom-tool-kit/plugin": "^1.0.0", "@dotcom-tool-kit/schemas": "^1.0.0", "@octokit/rest": "^19.0.5", @@ -176,7 +176,7 @@ "@types/node-fetch": "^2.6.2", "@types/pacote": "^11.1.3", "@types/prompts": "^2.0.14", - "dotcom-tool-kit": "^3.5.2", + "dotcom-tool-kit": "^4.0.0", "type-fest": "^3.13.1" }, "engines": { @@ -1106,7 +1106,7 @@ }, "lib/base": { "name": "@dotcom-tool-kit/base", - "version": "3.4.1", + "version": "1.0.0", "license": "ISC", "dependencies": { "@dotcom-tool-kit/conflict": "^1.0.0", @@ -1115,7 +1115,7 @@ "winston": "^3.11.0" }, "devDependencies": { - "@dotcom-tool-kit/logger": "^3.3.0", + "@dotcom-tool-kit/logger": "^4.0.0", "@dotcom-tool-kit/plugin": "^1.0.0", "winston": "^3.11.0", "zod": "^3.22.4" @@ -1211,12 +1211,12 @@ }, "lib/doppler": { "name": "@dotcom-tool-kit/doppler", - "version": "1.1.1", + "version": "2.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/options": "^3.2.1", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/options": "^4.0.0", "tslib": "^2.3.1" }, "devDependencies": { @@ -1236,7 +1236,7 @@ }, "lib/error": { "name": "@dotcom-tool-kit/error", - "version": "3.2.0", + "version": "4.0.0", "license": "ISC", "dependencies": { "tslib": "^2.3.1" @@ -1253,11 +1253,11 @@ }, "lib/logger": { "name": "@dotcom-tool-kit/logger", - "version": "3.4.1", + "version": "4.0.0", "license": "ISC", "dependencies": { "@apaleslimghost/boxen": "^5.1.3", - "@dotcom-tool-kit/error": "^3.2.0", + "@dotcom-tool-kit/error": "^4.0.0", "ansi-colors": "^4.1.1", "ansi-regex": "^5.0.1", "triple-beam": "^1.3.0", @@ -1280,7 +1280,7 @@ }, "lib/options": { "name": "@dotcom-tool-kit/options", - "version": "3.2.1", + "version": "4.0.0", "license": "ISC", "dependencies": { "@dotcom-tool-kit/schemas": "^1.0.0", @@ -1373,7 +1373,7 @@ }, "lib/state": { "name": "@dotcom-tool-kit/state", - "version": "3.3.0", + "version": "4.0.0", "license": "ISC", "dependencies": { "tslib": "^2.3.1" @@ -1422,7 +1422,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/error": "^3.1.0" + "@dotcom-tool-kit/error": "^4.0.0" } }, "lib/vault": { @@ -1452,7 +1452,7 @@ }, "lib/wait-for-ok": { "name": "@dotcom-tool-kit/wait-for-ok", - "version": "3.2.0", + "version": "4.0.0", "license": "ISC", "dependencies": { "node-fetch": "^2.6.8", @@ -30350,12 +30350,12 @@ }, "plugins/babel": { "name": "@dotcom-tool-kit/babel", - "version": "3.2.1", + "version": "4.0.0", "license": "MIT", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "fast-glob": "^3.2.11", "tslib": "^2.3.1" }, @@ -30371,7 +30371,7 @@ }, "peerDependencies": { "@babel/core": "7.x", - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/babel/node_modules/tslib": { @@ -30397,51 +30397,51 @@ }, "plugins/backend-heroku-app": { "name": "@dotcom-tool-kit/backend-heroku-app", - "version": "3.1.6", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/circleci-deploy": "^3.4.5", - "@dotcom-tool-kit/heroku": "^3.4.2", - "@dotcom-tool-kit/node": "^3.4.2", - "@dotcom-tool-kit/npm": "^3.3.2" + "@dotcom-tool-kit/circleci-deploy": "^4.0.0", + "@dotcom-tool-kit/heroku": "^4.0.0", + "@dotcom-tool-kit/node": "^4.0.0", + "@dotcom-tool-kit/npm": "^4.0.0" }, "engines": { "node": "18.x || 20.x", "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/backend-serverless-app": { "name": "@dotcom-tool-kit/backend-serverless-app", - "version": "3.2.9", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/circleci-deploy": "^3.4.5", - "@dotcom-tool-kit/node": "^3.4.2", - "@dotcom-tool-kit/npm": "^3.3.2", - "@dotcom-tool-kit/serverless": "^2.4.5" + "@dotcom-tool-kit/circleci-deploy": "^4.0.0", + "@dotcom-tool-kit/node": "^4.0.0", + "@dotcom-tool-kit/npm": "^4.0.0", + "@dotcom-tool-kit/serverless": "^3.0.0" }, "engines": { "node": "18.x || 20.x", "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/circleci": { "name": "@dotcom-tool-kit/circleci", - "version": "6.0.3", + "version": "7.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", "@dotcom-tool-kit/conflict": "^1.0.0", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/options": "^3.2.1", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/options": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "jest-diff": "^29.5.0", "lodash": "^4.17.21", "tslib": "^2.3.1", @@ -30463,16 +30463,16 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "zod": "^3.22.4" } }, "plugins/circleci-deploy": { "name": "@dotcom-tool-kit/circleci-deploy", - "version": "3.4.5", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/circleci": "^6.0.3", + "@dotcom-tool-kit/circleci": "^7.0.0", "tslib": "^2.3.1" }, "devDependencies": { @@ -30483,7 +30483,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/circleci-deploy/node_modules/tslib": { @@ -30511,11 +30511,11 @@ }, "plugins/circleci-npm": { "name": "@dotcom-tool-kit/circleci-npm", - "version": "5.3.5", + "version": "6.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/circleci": "^6.0.3", - "@dotcom-tool-kit/npm": "^3.3.2", + "@dotcom-tool-kit/circleci": "^7.0.0", + "@dotcom-tool-kit/npm": "^4.0.0", "tslib": "^2.3.1" }, "engines": { @@ -30523,7 +30523,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/circleci-npm/node_modules/tslib": { @@ -30632,30 +30632,30 @@ }, "plugins/component": { "name": "@dotcom-tool-kit/component", - "version": "4.1.5", + "version": "5.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/circleci-npm": "^5.3.5", - "@dotcom-tool-kit/npm": "^3.3.2" + "@dotcom-tool-kit/circleci-npm": "^6.0.0", + "@dotcom-tool-kit/npm": "^4.0.0" }, "engines": { "node": "18.x || 20.x", "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/cypress": { "name": "@dotcom-tool-kit/cypress", - "version": "4.0.2", + "version": "5.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", - "@dotcom-tool-kit/state": "^3.3.0" + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", + "@dotcom-tool-kit/state": "^4.0.0" }, "devDependencies": { "@dotcom-tool-kit/schemas": "^1.0.0" @@ -30665,17 +30665,17 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/eslint": { "name": "@dotcom-tool-kit/eslint", - "version": "3.2.2", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "tslib": "^2.3.1" }, "devDependencies": { @@ -30692,7 +30692,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "eslint": "7.x || 8.x" } }, @@ -30895,35 +30895,35 @@ }, "plugins/frontend-app": { "name": "@dotcom-tool-kit/frontend-app", - "version": "3.2.6", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/backend-heroku-app": "^3.1.6", - "@dotcom-tool-kit/upload-assets-to-s3": "^3.2.1", - "@dotcom-tool-kit/webpack": "^3.2.1" + "@dotcom-tool-kit/backend-heroku-app": "^4.0.0", + "@dotcom-tool-kit/upload-assets-to-s3": "^4.0.0", + "@dotcom-tool-kit/webpack": "^4.0.0" }, "engines": { "node": "18.x || 20.x", "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/heroku": { "name": "@dotcom-tool-kit/heroku", - "version": "3.4.2", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/npm": "^3.3.2", - "@dotcom-tool-kit/options": "^3.2.1", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", - "@dotcom-tool-kit/state": "^3.3.0", - "@dotcom-tool-kit/wait-for-ok": "^3.2.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/npm": "^4.0.0", + "@dotcom-tool-kit/options": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", + "@dotcom-tool-kit/state": "^4.0.0", + "@dotcom-tool-kit/wait-for-ok": "^4.0.0", "@octokit/request": "^5.6.0", "@octokit/request-error": "^2.1.0", "heroku-client": "^3.1.0", @@ -30942,7 +30942,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/heroku/node_modules/tslib": { @@ -30952,10 +30952,10 @@ }, "plugins/husky-npm": { "name": "@dotcom-tool-kit/husky-npm", - "version": "4.2.0", + "version": "5.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/package-json-hook": "^4.2.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", "tslib": "^2.3.1" }, "engines": { @@ -30963,7 +30963,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "husky": "4.x" } }, @@ -30974,11 +30974,11 @@ }, "plugins/jest": { "name": "@dotcom-tool-kit/jest", - "version": "3.4.1", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "tslib": "^2.3.1" }, "devDependencies": { @@ -30990,7 +30990,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "jest-cli": "27.x || 28.x || 29.x" } }, @@ -31001,12 +31001,12 @@ }, "plugins/lint-staged": { "name": "@dotcom-tool-kit/lint-staged", - "version": "4.2.1", + "version": "5.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", "lint-staged": "^11.2.3", "tslib": "^2.3.1" }, @@ -31015,18 +31015,18 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/lint-staged-npm": { "name": "@dotcom-tool-kit/lint-staged-npm", - "version": "3.2.1", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/husky-npm": "^4.2.0", - "@dotcom-tool-kit/lint-staged": "^4.2.1", - "@dotcom-tool-kit/options": "^3.2.1", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", + "@dotcom-tool-kit/husky-npm": "^5.0.0", + "@dotcom-tool-kit/lint-staged": "^5.0.0", + "@dotcom-tool-kit/options": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", "tslib": "^2.3.1" }, "engines": { @@ -31034,7 +31034,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/lint-staged-npm/node_modules/tslib": { @@ -31099,12 +31099,12 @@ }, "plugins/mocha": { "name": "@dotcom-tool-kit/mocha", - "version": "3.2.1", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "glob": "^7.1.7", "tslib": "^2.3.1" }, @@ -31120,7 +31120,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "mocha": ">=6.x <=10.x" } }, @@ -31134,12 +31134,12 @@ }, "plugins/n-test": { "name": "@dotcom-tool-kit/n-test", - "version": "3.3.2", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "@financial-times/n-test": "^6.1.0-beta.1", "tslib": "^2.3.1" }, @@ -31154,7 +31154,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/n-test/node_modules/@financial-times/n-test": { @@ -31256,14 +31256,14 @@ }, "plugins/next-router": { "name": "@dotcom-tool-kit/next-router", - "version": "3.4.2", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "ft-next-router": "^3.0.0", "tslib": "^2.3.1" }, @@ -31275,7 +31275,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/next-router/node_modules/@financial-times/n-flags-client": { @@ -31390,13 +31390,13 @@ }, "plugins/node": { "name": "@dotcom-tool-kit/node", - "version": "3.4.2", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "get-port": "^5.1.1", "tslib": "^2.3.1", "wait-port": "^0.2.9" @@ -31409,7 +31409,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/node/node_modules/tslib": { @@ -31419,13 +31419,13 @@ }, "plugins/nodemon": { "name": "@dotcom-tool-kit/nodemon", - "version": "3.4.2", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "get-port": "^5.1.1", "tslib": "^2.3.1" }, @@ -31438,7 +31438,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "nodemon": "2.x" } }, @@ -31449,14 +31449,14 @@ }, "plugins/npm": { "name": "@dotcom-tool-kit/npm", - "version": "3.3.2", + "version": "4.0.0", "license": "ISC", "dependencies": { "@actions/exec": "^1.1.0", - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "libnpmpack": "^3.1.0", "libnpmpublish": "^5.0.1", "pacote": "^12.0.3", @@ -31475,7 +31475,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/npm/node_modules/@npmcli/git": { @@ -31687,10 +31687,10 @@ }, "plugins/package-json-hook": { "name": "@dotcom-tool-kit/package-json-hook", - "version": "4.2.0", + "version": "5.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", "@dotcom-tool-kit/conflict": "^1.0.0", "@dotcom-tool-kit/plugin": "^1.0.0", "@financial-times/package-json": "^3.0.0", @@ -31719,13 +31719,13 @@ }, "plugins/prettier": { "name": "@dotcom-tool-kit/prettier", - "version": "3.2.1", + "version": "4.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", - "@dotcom-tool-kit/package-json-hook": "^4.2.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", + "@dotcom-tool-kit/package-json-hook": "^5.0.0", "fast-glob": "^3.2.7", "hook-std": "^2.0.0", "prettier": "^2.2.1", @@ -31740,7 +31740,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/prettier/node_modules/@types/prettier": { @@ -31775,14 +31775,14 @@ }, "plugins/serverless": { "name": "@dotcom-tool-kit/serverless", - "version": "2.4.5", + "version": "3.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/doppler": "^1.1.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/options": "^3.2.1", - "@dotcom-tool-kit/state": "^3.3.0", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/doppler": "^2.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/options": "^4.0.0", + "@dotcom-tool-kit/state": "^4.0.0", "get-port": "^5.1.1", "tslib": "^2.3.1", "wait-port": "^0.2.9" @@ -31795,7 +31795,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "serverless-offline": "^12.0.4" } }, @@ -31806,11 +31806,11 @@ }, "plugins/typescript": { "name": "@dotcom-tool-kit/typescript", - "version": "2.3.0", + "version": "3.0.0", "license": "ISC", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/logger": "^3.4.1" + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/logger": "^4.0.0" }, "devDependencies": { "@dotcom-tool-kit/schemas": "^1.0.0", @@ -31823,7 +31823,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "typescript": "3.x || 4.x || 5.x" } }, @@ -32028,13 +32028,13 @@ }, "plugins/upload-assets-to-s3": { "name": "@dotcom-tool-kit/upload-assets-to-s3", - "version": "3.2.1", + "version": "4.0.0", "license": "ISC", "dependencies": { "@aws-sdk/client-s3": "^3.256.0", - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "glob": "^7.1.6", "mime": "^2.5.2", "tslib": "^2.3.1" @@ -32053,7 +32053,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" } }, "plugins/upload-assets-to-s3/node_modules/tslib": { @@ -32063,12 +32063,12 @@ }, "plugins/webpack": { "name": "@dotcom-tool-kit/webpack", - "version": "3.2.1", + "version": "4.0.0", "license": "MIT", "dependencies": { - "@dotcom-tool-kit/base": "^3.4.1", - "@dotcom-tool-kit/error": "^3.2.0", - "@dotcom-tool-kit/logger": "^3.4.1", + "@dotcom-tool-kit/base": "^1.0.0", + "@dotcom-tool-kit/error": "^4.0.0", + "@dotcom-tool-kit/logger": "^4.0.0", "tslib": "^2.3.1", "webpack-cli": "^4.6.0" }, @@ -32084,7 +32084,7 @@ "npm": "7.x || 8.x || 9.x || 10.x" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "webpack": "4.x.x || 5.x.x" } }, diff --git a/plugins/babel/package.json b/plugins/babel/package.json index 211594180..3d12051f5 100644 --- a/plugins/babel/package.json +++ b/plugins/babel/package.json @@ -37,7 +37,7 @@ }, "peerDependencies": { "@babel/core": "7.x", - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/backend-heroku-app/package.json b/plugins/backend-heroku-app/package.json index f4d55d71a..61cd80d8d 100644 --- a/plugins/backend-heroku-app/package.json +++ b/plugins/backend-heroku-app/package.json @@ -20,7 +20,7 @@ "bugs": "https://github.com/financial-times/dotcom-tool-kit/issues", "homepage": "https://github.com/financial-times/dotcom-tool-kit/tree/main/plugins/backend-heroku-app", "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/backend-serverless-app/package.json b/plugins/backend-serverless-app/package.json index 745c4c507..4e4ac072f 100644 --- a/plugins/backend-serverless-app/package.json +++ b/plugins/backend-serverless-app/package.json @@ -20,7 +20,7 @@ "bugs": "https://github.com/financial-times/dotcom-tool-kit/issues", "homepage": "https://github.com/financial-times/dotcom-tool-kit/tree/main/plugins/backend-serverless-app", "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/circleci-deploy/package.json b/plugins/circleci-deploy/package.json index bfbe794fb..936dc564d 100644 --- a/plugins/circleci-deploy/package.json +++ b/plugins/circleci-deploy/package.json @@ -31,7 +31,7 @@ "winston": "^3.5.1" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/circleci-npm/package.json b/plugins/circleci-npm/package.json index 7e91aa1ac..36760cf8d 100644 --- a/plugins/circleci-npm/package.json +++ b/plugins/circleci-npm/package.json @@ -26,7 +26,7 @@ ".toolkitrc.yml" ], "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/circleci/package.json b/plugins/circleci/package.json index 6efc59bca..eba79937c 100644 --- a/plugins/circleci/package.json +++ b/plugins/circleci/package.json @@ -47,7 +47,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "zod": "^3.22.4" }, "engines": { diff --git a/plugins/component/package.json b/plugins/component/package.json index 8232a5dca..b429ca53c 100644 --- a/plugins/component/package.json +++ b/plugins/component/package.json @@ -17,7 +17,7 @@ ".toolkitrc.yml" ], "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "dependencies": { "@dotcom-tool-kit/circleci-npm": "^6.0.0", diff --git a/plugins/cypress/package.json b/plugins/cypress/package.json index b7fc7f57c..a3e1055e8 100644 --- a/plugins/cypress/package.json +++ b/plugins/cypress/package.json @@ -21,7 +21,7 @@ ".toolkitrc.yml" ], "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/eslint/package.json b/plugins/eslint/package.json index da5a95bcb..355357293 100644 --- a/plugins/eslint/package.json +++ b/plugins/eslint/package.json @@ -39,7 +39,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "eslint": "7.x || 8.x" }, "engines": { diff --git a/plugins/frontend-app/package.json b/plugins/frontend-app/package.json index f28d4099a..4ec45ca25 100644 --- a/plugins/frontend-app/package.json +++ b/plugins/frontend-app/package.json @@ -22,7 +22,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/heroku/package.json b/plugins/heroku/package.json index f057ad838..36aa19def 100644 --- a/plugins/heroku/package.json +++ b/plugins/heroku/package.json @@ -47,7 +47,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/husky-npm/package.json b/plugins/husky-npm/package.json index 2672ff751..94a7dc01c 100644 --- a/plugins/husky-npm/package.json +++ b/plugins/husky-npm/package.json @@ -14,7 +14,7 @@ "tslib": "^2.3.1" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "husky": "4.x" }, "repository": { diff --git a/plugins/jest/package.json b/plugins/jest/package.json index 663413958..233f89ff5 100644 --- a/plugins/jest/package.json +++ b/plugins/jest/package.json @@ -15,7 +15,7 @@ "tslib": "^2.3.1" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "jest-cli": "27.x || 28.x || 29.x" }, "repository": { diff --git a/plugins/lint-staged-npm/package.json b/plugins/lint-staged-npm/package.json index dd15920a1..7a84b5852 100644 --- a/plugins/lint-staged-npm/package.json +++ b/plugins/lint-staged-npm/package.json @@ -31,7 +31,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/lint-staged/package.json b/plugins/lint-staged/package.json index 39a15c7c5..80057c5a4 100644 --- a/plugins/lint-staged/package.json +++ b/plugins/lint-staged/package.json @@ -31,7 +31,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/mocha/package.json b/plugins/mocha/package.json index 301edd9f1..9f73db9c3 100644 --- a/plugins/mocha/package.json +++ b/plugins/mocha/package.json @@ -38,7 +38,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "mocha": ">=6.x <=10.x" }, "engines": { diff --git a/plugins/n-test/package.json b/plugins/n-test/package.json index dc48779d2..46b1ac00f 100644 --- a/plugins/n-test/package.json +++ b/plugins/n-test/package.json @@ -37,7 +37,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/next-router/package.json b/plugins/next-router/package.json index 18fa435bf..7c88a80b1 100644 --- a/plugins/next-router/package.json +++ b/plugins/next-router/package.json @@ -30,7 +30,7 @@ ".toolkitrc.yml" ], "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/node/package.json b/plugins/node/package.json index 19ec9325d..b149b3383 100644 --- a/plugins/node/package.json +++ b/plugins/node/package.json @@ -30,7 +30,7 @@ ".toolkitrc.yml" ], "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/nodemon/package.json b/plugins/nodemon/package.json index 90267a4e8..e5ba20fb6 100644 --- a/plugins/nodemon/package.json +++ b/plugins/nodemon/package.json @@ -18,7 +18,7 @@ "tslib": "^2.3.1" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "nodemon": "2.x" }, "repository": { diff --git a/plugins/npm/package.json b/plugins/npm/package.json index 516707309..c587a38c0 100644 --- a/plugins/npm/package.json +++ b/plugins/npm/package.json @@ -43,7 +43,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/prettier/package.json b/plugins/prettier/package.json index 0164fd203..a2ee31052 100644 --- a/plugins/prettier/package.json +++ b/plugins/prettier/package.json @@ -38,7 +38,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/serverless/package.json b/plugins/serverless/package.json index d27593f5c..1b733b29a 100644 --- a/plugins/serverless/package.json +++ b/plugins/serverless/package.json @@ -21,7 +21,7 @@ ".toolkitrc.yml" ], "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "serverless-offline": "^12.0.4" }, "dependencies": { diff --git a/plugins/typescript/package.json b/plugins/typescript/package.json index ff4ee6189..301f12980 100644 --- a/plugins/typescript/package.json +++ b/plugins/typescript/package.json @@ -21,7 +21,7 @@ ".toolkitrc.yml" ], "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "typescript": "3.x || 4.x || 5.x" }, "dependencies": { diff --git a/plugins/upload-assets-to-s3/package.json b/plugins/upload-assets-to-s3/package.json index cd0526903..184de4f1f 100644 --- a/plugins/upload-assets-to-s3/package.json +++ b/plugins/upload-assets-to-s3/package.json @@ -42,7 +42,7 @@ "extends": "../../package.json" }, "peerDependencies": { - "dotcom-tool-kit": "3.x" + "dotcom-tool-kit": "4.x" }, "engines": { "node": "18.x || 20.x", diff --git a/plugins/webpack/package.json b/plugins/webpack/package.json index 4e4a432dd..41bc0cf1b 100644 --- a/plugins/webpack/package.json +++ b/plugins/webpack/package.json @@ -24,7 +24,7 @@ "tslib": "^2.3.1" }, "peerDependencies": { - "dotcom-tool-kit": "3.x", + "dotcom-tool-kit": "4.x", "webpack": "4.x.x || 5.x.x" }, "devDependencies": {