Skip to content

Commit

Permalink
chore: require latest cli version for all plugins
Browse files Browse the repository at this point in the history
The latest version of @dotcom-tool-kit/cli adds support for zod schemas.
In doing so, we moved the handling of default values for options from
a line in the Task constructor to using zod's built-in support for
default values during parsing. This means that if we do not use zod's
options parsing then we are no longer setting default values for
options. To avoid this we need to bump the range that plugins allow for
the dotcom-tool-kit package peer dependency to make sure we're
definitely installing a version with support for zod. I wouldn't
consider this a breaking change any more than bumping any Tool Kit
dependency is.
  • Loading branch information
ivomurrell committed Mar 7, 2023
1 parent 6b5353e commit c63fe57
Show file tree
Hide file tree
Showing 30 changed files with 58 additions and 58 deletions.
58 changes: 29 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
},
"peerDependencies": {
"@babel/core": "7.x",
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/backend-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"bugs": "https://github.com/financial-times/dotcom-tool-kit/issues",
"homepage": "https://github.com/financial-times/dotcom-tool-kit/tree/main/plugins/backend-app",
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/backend-heroku-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"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": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/circleci-deploy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"extends": "../../package.json"
},
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
},
"devDependencies": {
"type-fest": "^3.6.0"
Expand Down
2 changes: 1 addition & 1 deletion plugins/circleci-heroku/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"extends": "../../package.json"
},
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/circleci-npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
".toolkitrc.yml"
],
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/circleci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"extends": "../../package.json"
},
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
".toolkitrc.yml"
],
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
},
"dependencies": {
"@dotcom-tool-kit/circleci-npm": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion plugins/cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
".toolkitrc.yml"
],
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"extends": "../../package.json"
},
"peerDependencies": {
"dotcom-tool-kit": "2.x",
"dotcom-tool-kit": "^2.6.0",
"eslint": "7.x || 8.x"
}
}
2 changes: 1 addition & 1 deletion plugins/frontend-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"extends": "../../package.json"
},
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/heroku/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"extends": "../../package.json"
},
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/husky-npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"peerDependencies": {
"husky": "4.x",
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion plugins/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"peerDependencies": {
"jest-cli": "27.x",
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion plugins/lint-staged-npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"extends": "../../package.json"
},
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/lint-staged/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"extends": "../../package.json"
},
"peerDependencies": {
"dotcom-tool-kit": "2.x"
"dotcom-tool-kit": "^2.6.0"
}
}
Loading

0 comments on commit c63fe57

Please sign in to comment.