Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Tool Kit monorepo (major) #138

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@dotcom-tool-kit/babel (source) ^3.1.6 -> ^4.0.0 age adoption passing confidence
@dotcom-tool-kit/component (source) ^4.1.0 -> ^5.0.0 age adoption passing confidence
@dotcom-tool-kit/eslint (source) ^3.2.0 -> ^4.0.0 age adoption passing confidence
@dotcom-tool-kit/husky-npm (source) ^4.2.0 -> ^5.0.0 age adoption passing confidence
@dotcom-tool-kit/jest (source) ^3.4.0 -> ^4.0.0 age adoption passing confidence
@dotcom-tool-kit/lint-staged-npm (source) ^3.2.0 -> ^4.0.0 age adoption passing confidence
dotcom-tool-kit (source) ^3.4.0 -> ^4.0.0 age adoption passing confidence

ℹ️ Find our documentation at https://github.com/Financial-Times/next/wiki/Renovate.


Release Notes

financial-times/dotcom-tool-kit (@​dotcom-tool-kit/babel)

v4.0.0

Compare Source

⚠ 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)
  • move babel options to task options and allow configuring env (d5b25a2)
  • move base classes into their own package (be1681b)
  • rename hooks in toolkitrc to commands (45baa66)
  • split schemas out into separate package (5d538cd)
Performance Improvements
  • add new lazy plugin spec to rest of plugins (5367c9a)
Miscellaneous Chores
  • drop support for Node 16 (ab95982)
Code Refactoring
  • rename Task#options to pluginOptions (e73dcae)
Dependencies

v3.2.1

Compare Source

financial-times/dotcom-tool-kit (@​dotcom-tool-kit/component)

v5.0.0

Compare Source

⚠ BREAKING CHANGES
  • drop support for Node 16
  • move base classes into their own package
Features
  • move base classes into their own package (be1681b)
Miscellaneous Chores
  • drop support for Node 16 (ab95982)
Dependencies

v4.1.5

Compare Source

v4.1.4

Compare Source

v4.1.3

Compare Source

v4.1.2

Compare Source

v4.1.1

Compare Source

financial-times/dotcom-tool-kit (@​dotcom-tool-kit/eslint)

v4.0.0

Compare Source

⚠ 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)
  • allow tasks to receive a task options object and parse task schema when initialising (1dce6bd)
  • move base classes into their own package (be1681b)
  • move eslint plugin options to task options (22a17ad)
  • rename hooks in toolkitrc to commands (45baa66)
  • split schemas out into separate package (5d538cd)
Performance Improvements
  • rearchitect plugin loader to lazily load plugins (9779b83)
Miscellaneous Chores
  • drop support for Node 16 (ab95982)
Code Refactoring
  • pass task files in as part of a run context object (5aa7327)
  • rename Task#options to pluginOptions (e73dcae)
Dependencies

v3.2.2

Compare Source

v3.2.1

Compare Source

Bug Fixes
  • remove exitCode from eslint-thrown errors (8c314ff)
financial-times/dotcom-tool-kit (@​dotcom-tool-kit/husky-npm)

v5.0.0

Compare Source

⚠ 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)
  • move package-json-hook to plugins and export PackageJson hook (56336e5)
Bug Fixes
  • require package-json-hook plugin in plugins that use PackageJson hook (892a4a6)
Performance Improvements
  • rearchitect plugin loader to lazily load plugins (9779b83)
Miscellaneous Chores
  • delete the husky hook (8162c20)
  • drop support for Node 16 (ab95982)
  • remove all current concrete hook subclasses (62e7dc6)
Dependencies
financial-times/dotcom-tool-kit (@​dotcom-tool-kit/jest)

v4.0.0

Compare Source

⚠ 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)
  • change jest "mode" option to a boolean "ci" option (ca6f2d4)
  • move base classes into their own package (be1681b)
  • move jest options to task options and allow configuring env (686f84c)
  • rename hooks in toolkitrc to commands (45baa66)
  • split schemas out into separate package (5d538cd)
Performance Improvements
  • add new lazy plugin spec to rest of plugins (5367c9a)
Miscellaneous Chores
  • drop support for Node 16 (ab95982)
Code Refactoring
  • rename Task#options to pluginOptions (e73dcae)
Dependencies

v3.4.1

Compare Source

financial-times/dotcom-tool-kit (@​dotcom-tool-kit/lint-staged-npm)

v4.0.0

Compare Source

⚠ 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)
Bug Fixes
  • require package-json-hook plugin in plugins that use PackageJson hook (892a4a6)
Performance Improvements
  • rearchitect plugin loader to lazily load plugins (9779b83)
Miscellaneous Chores
  • drop support for Node 16 (ab95982)
  • remove all current concrete hook subclasses (62e7dc6)
Dependencies

v3.2.1

Compare Source

financial-times/dotcom-tool-kit (dotcom-tool-kit)

v4.0.0

Compare Source

⚠ 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)
  • add command for printing the full config, useful for debugging (9a6762e)
  • add support for a managesFiles entry in hook installs fields (a89b167)
  • allow hook classes to specify an options schema (01433a7)
  • allow loading old-style options fields with a warning (f451444)
  • allow plugins to specify init entrypoints (51db8ef)
  • allow specifying command task options in a toolkitrc (7b8bc00)
  • allow tasks to receive a task options object and parse task schema when initialising (1dce6bd)
  • better formatting for missing commands (77daf5f)
  • better group --help output (7e22938)
  • cli: add support for tags in config that resolve based on options (8df97b9)
  • cli: allow key fields in YAML to be substituted by options too (172f074)
  • cli: drop cosmiconfig and load .toolkitrc.yml at plugin's root (87d7cbb)
  • cli: gather all YAML tag errors into Validated before throwing (82b2061)
  • collect and store the hook-managed files in config (190afc5)
  • core: run hook checks when running tasks if files have changed (cd2bf67)
  • explicitly handle legacy plugin options (8574516)
  • heroku: remove systemCode option (be00602)
  • load hook installations from options.hooks (aaf1160)
  • load hook options from rc files and put them in config (dcea77a)
  • load hooks in toolkitrc as commands and warn about it (d779c01)
  • load plugin rcfile task options into config (3f1b1b1)
  • make plugin loading even lazier by having separate entrypoints for each task and hook (b4760c2)
  • merge in options from the command task when parsing task options (30ad103)
  • move base classes into their own package (be1681b)
  • move conflict into its own package (8ab46a0)
  • move plugin options to a sub key of toolkitrc options entries (4748eb1)
  • move validated into its own package (a8ed591)
  • only load plugins if their toolkitrc version matches the current version (65b3403)
  • overhaul help output for new abstractions & config structure (7d98205)
  • read list of files to hash from config (d386ced)
  • reduce hook installations based on logic from hook classes themselves (64b6c0a)
  • reïntroduce validating plugins when we load them (b2ebf87)
  • rename hooks in toolkitrc to commands (45baa66)
  • run init classes before install and runTasks (420749e)
  • run init classes before install and runTasks (be2d494)
  • split remaining bits of types into config and plugins packages (6cde9b9)
  • split schemas out into separate package (5d538cd)
  • validate task option conflicts and unused task options (977c92d)
  • various help formatting and working tweaks idk (77efbdb)
  • vault: remove references to Vault (3af9cf9)
Bug Fixes
  • allow multiple instances of task with different options (f50c14e)
  • allow tasks with schemas not to have options provided in the config (a10f04d)
  • check ids for resolved plugins not plugin options (f27e3f3)
  • cli: allow default option values to be read by YAML tags (f6fef04)
  • cli: avoid hook installation conflicts between niblings (1d70759)
  • cli: don't throw when command not declared (b0e047d)
  • cli: only override child options for hooks of the same class (e9ce8b5)
  • cli: pass through task options when no schema found (026048e)
  • cli: print something when hook installations are conflicting (50024c1)
  • cli: properly format Zod errors when parsing task options (2c2419a)
  • cli: resolve custom plugins successfully (10bbf24)
  • cli: store parsed options for Tasks, not Zod's parsing result (60840a5)
  • fix error message for conflicting tasks and hooks (073cecc)
  • look in config.commandTasks for defined commands, not config.hooks 😅 (cb00a5a)
  • make zod peerdeps of types and schema, and explicit deps of cli and create (bc252ca)
  • only load the tasks that are needed for the hooks that are running (3c30cec)
  • remove check for undefined commands (992b20f)
  • remove conflicts from task options in valid config type (5c8a1e0)
  • throw if there are task option conflicts (7162580)
  • undefined commands logging (8334ffb)
  • use resolve-from for entrypoints as resolve-pkg expects a package.json (957fc06)
Performance Improvements
  • core: selectively load core modules based on subcommand (20dd046)
  • rearchitect plugin loader to lazily load plugins (9779b83)
Miscellaneous Chores
  • drop support for Node 16 (ab95982)
  • remove legacy circleci postinstall backwards compatibility (d16d437)
Code Refactoring
  • instantiate a separate hook instance per hook installation request from configs (34f9a41)
  • pass task files in as part of a run context object (5aa7327)
  • rename Hook#check to Hook#isInstalled (c00691b)
  • rename SchemaOptions to PluginOptions (0ce24db)
Dependencies

v3.5.2: dotcom-tool-kit: v3.5.2

Compare Source

Dependencies

v3.5.1: dotcom-tool-kit: v3.5.1

Compare Source

Dependencies

v3.5.0

Compare Source

Features
  • exit running tasks early if the task threw an error with an exitCode (d98850a)
Dependencies

v3.4.5: dotcom-tool-kit: v3.4.5

Compare Source

Dependencies

v3.4.4

Compare Source

Bug Fixes
  • cli: make sure postInstall step isn't run when checks are passing (ef57f83)

v3.4.3: dotcom-tool-kit: v3.4.3

Compare Source

Dependencies

v3.4.2: dotcom-tool-kit: v3.4.2

Compare Source

Dependencies

v3.4.1: dotcom-tool-kit: v3.4.1

Compare Source

Dependencies

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner September 10, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants