Skip to content

Commit

Permalink
chore: moved execa comment to check_dependencies from dependencies_va…
Browse files Browse the repository at this point in the history
…lidator
  • Loading branch information
Vieltojarvi committed Aug 29, 2024
1 parent 5d5439e commit 9a0f60b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions scripts/check_dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ await new DependenciesValidator(
[['aws-cdk', 'aws-cdk-lib']],
[
{
// @aws-amplify/plugin-types can depend on execa@^5.1.1 as a workaround for https://github.com/aws-amplify/amplify-backend/issues/962
// all other packages must depend on execa@^8.0.1
// this can be removed once execa is patched
dependencyName: 'execa',
globalDependencyVersion: '^8.0.1',
exceptions: [
Expand Down
3 changes: 0 additions & 3 deletions scripts/components/dependencies_validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,6 @@ export class DependenciesValidator {
(x) => x.dependencyName === packageName
);
if (inconsistentDependency) {
// @aws-amplify/plugin-types can depend on execa@^5.1.1 as a workaround for https://github.com/aws-amplify/amplify-backend/issues/962
// all other packages must depend on execa@^8.0.1
// this can be removed once execa is patched
return (declarations) => {
const validationResult = declarations.every(
({ dependentPackageName, version }) =>
Expand Down

0 comments on commit 9a0f60b

Please sign in to comment.