Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use regex to update deps with ncu
In #420 we updated the arguments to `ncu` to update the aws-cdk libraries. Having run the command to try to update to @aws-cdk/* v 1.98.0, it is only updating the library "aws-cdk" rather than "@aws-cdk/*" and "aws-cdk". This change switches to a regex pattern rather than multiple inputs to `ncu` and things seem much happier. ```console ➜ ./script/update-aws-cdk > @guardian/[email protected] update-aws-cdk /Users/akash_askoolum/code/cdk > ncu "/^@?aws-cdk(/.*)?$/" --upgrade --deep && npm install Upgrading /Users/akash_askoolum/code/cdk/package.json [====================] 15/15 100% @aws-cdk/assert 1.97.0 → 1.98.0 @aws-cdk/aws-apigateway 1.97.0 → 1.98.0 @aws-cdk/aws-autoscaling 1.97.0 → 1.98.0 @aws-cdk/aws-cloudwatch-actions 1.97.0 → 1.98.0 @aws-cdk/aws-ec2 1.97.0 → 1.98.0 @aws-cdk/aws-elasticloadbalancing 1.97.0 → 1.98.0 @aws-cdk/aws-elasticloadbalancingv2 1.97.0 → 1.98.0 @aws-cdk/aws-events-targets 1.97.0 → 1.98.0 @aws-cdk/aws-iam 1.97.0 → 1.98.0 @aws-cdk/aws-kinesis 1.97.0 → 1.98.0 @aws-cdk/aws-lambda 1.97.0 → 1.98.0 @aws-cdk/aws-lambda-event-sources 1.97.0 → 1.98.0 @aws-cdk/aws-rds 1.97.0 → 1.98.0 @aws-cdk/aws-s3 1.97.0 → 1.98.0 @aws-cdk/core 1.97.0 → 1.98.0 Run npm install to install new versions. Upgrading /Users/akash_askoolum/code/cdk/eslint/package.json No dependencies. Upgrading /Users/akash_askoolum/code/cdk/integration-test/package.json [====================] 1/1 100% aws-cdk 1.97.0 → 1.98.0 Run npm install to install new versions. > @guardian/[email protected] prepare /Users/akash_askoolum/code/cdk > tsc npm WARN @guardian/[email protected] No license field. updated 24 packages and audited 1807 packages in 17.102s 96 packages are looking for funding run `npm fund` for details found 51 moderate severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details ```
- Loading branch information