From 9c696487585f09bc811c94d87dacb9a0d1b03411 Mon Sep 17 00:00:00 2001 From: Rico Hermans Date: Fri, 27 Dec 2024 21:24:52 +0100 Subject: [PATCH] chore(cli-args-gen): update Typewriter (#32672) We need the linter rules to be from `@stylistic`. This is the new default in the latest `@cdklabs/typewriter`, so upgrade. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- tools/@aws-cdk/cli-args-gen/package.json | 2 +- tools/@aws-cdk/cli-args-gen/test/cli-type-gen.test.ts | 4 ++-- tools/@aws-cdk/cli-args-gen/test/yargs-gen.test.ts | 6 +++--- yarn.lock | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/@aws-cdk/cli-args-gen/package.json b/tools/@aws-cdk/cli-args-gen/package.json index b290bfc3b7fcd..29a15729acc0c 100644 --- a/tools/@aws-cdk/cli-args-gen/package.json +++ b/tools/@aws-cdk/cli-args-gen/package.json @@ -28,7 +28,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@cdklabs/typewriter": "^0.0.4", + "@cdklabs/typewriter": "^0.0.5", "lodash.clonedeep": "^4.5.0", "prettier": "^2.8.8" }, diff --git a/tools/@aws-cdk/cli-args-gen/test/cli-type-gen.test.ts b/tools/@aws-cdk/cli-args-gen/test/cli-type-gen.test.ts index 74d21f47ecb43..621b8e060b088 100644 --- a/tools/@aws-cdk/cli-args-gen/test/cli-type-gen.test.ts +++ b/tools/@aws-cdk/cli-args-gen/test/cli-type-gen.test.ts @@ -43,7 +43,7 @@ describe('render', () => { // GENERATED FROM packages/aws-cdk/lib/config.ts. // Do not edit by hand; all changes will be overwritten at build time from the config file. // ------------------------------------------------------------------------------------------- - /* eslint-disable max-len */ + /* eslint-disable @stylistic/max-len */ import { Command } from './settings'; /** @@ -145,7 +145,7 @@ describe('render', () => { // GENERATED FROM packages/aws-cdk/lib/config.ts. // Do not edit by hand; all changes will be overwritten at build time from the config file. // ------------------------------------------------------------------------------------------- - /* eslint-disable max-len */ + /* eslint-disable @stylistic/max-len */ import { Command } from './settings'; /** diff --git a/tools/@aws-cdk/cli-args-gen/test/yargs-gen.test.ts b/tools/@aws-cdk/cli-args-gen/test/yargs-gen.test.ts index 722d7d7807225..75540361fcc3a 100644 --- a/tools/@aws-cdk/cli-args-gen/test/yargs-gen.test.ts +++ b/tools/@aws-cdk/cli-args-gen/test/yargs-gen.test.ts @@ -28,7 +28,7 @@ describe('render', () => { // GENERATED FROM packages/aws-cdk/lib/config.ts. // Do not edit by hand; all changes will be overwritten at build time from the config file. // ------------------------------------------------------------------------------------------- - /* eslint-disable max-len */ + /* eslint-disable @stylistic/max-len */ import { Argv } from 'yargs'; import * as helpers from './util/yargs-helpers'; @@ -95,7 +95,7 @@ describe('render', () => { // GENERATED FROM packages/aws-cdk/lib/config.ts. // Do not edit by hand; all changes will be overwritten at build time from the config file. // ------------------------------------------------------------------------------------------- - /* eslint-disable max-len */ + /* eslint-disable @stylistic/max-len */ import { Argv } from 'yargs'; import * as helpers from './util/yargs-helpers'; @@ -180,7 +180,7 @@ describe('render', () => { // GENERATED FROM packages/aws-cdk/lib/config.ts. // Do not edit by hand; all changes will be overwritten at build time from the config file. // ------------------------------------------------------------------------------------------- - /* eslint-disable max-len */ + /* eslint-disable @stylistic/max-len */ import { Argv } from 'yargs'; import * as helpers from './util/yargs-helpers'; diff --git a/yarn.lock b/yarn.lock index 087c8e04423ac..679dd0d5e7354 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5111,10 +5111,10 @@ resolved "https://registry.npmjs.org/@cdklabs/typewriter/-/typewriter-0.0.3.tgz#37143d4cf004085bce7d1bbc9139bbf4bf4403a8" integrity sha512-dymXkqVKZLLQJGxZGvmCn9ZIDCiPM5hC1P7dABob8C0m5P0bf91W7HsPUu3yHomdFxoHAWFaXAZ9i3Q+uVeJ5g== -"@cdklabs/typewriter@^0.0.4": - version "0.0.4" - resolved "https://registry.npmjs.org/@cdklabs/typewriter/-/typewriter-0.0.4.tgz#4c2ae97c05eec921131549de08e37e5ecda80e43" - integrity sha512-FAcF8k0nNo3VmlGP3UHi4h2K5sohY/7Gcv4p7epMGwT4U3PbAsc3xWL42IAD1a/1g/rvrtIaRHbuGUp1O1VNvw== +"@cdklabs/typewriter@^0.0.5": + version "0.0.5" + resolved "https://registry.npmjs.org/@cdklabs/typewriter/-/typewriter-0.0.5.tgz#edbec5c2e6dd45c803154d7e521ca38746a08d89" + integrity sha512-gLp7s9bhHOIN9SN6jhdVi3cLp0YisMkvn4Ct3KeqySR7H1Q5nytKvV0NWUC1FrdNsPoKvulUFIGtqbwCFZt9NQ== "@colors/colors@1.5.0": version "1.5.0"