Skip to content

Commit

Permalink
chore(cli-args-gen): update Typewriter (#32672)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
rix0rrr authored Dec 27, 2024
1 parent c2bd634 commit 9c69648
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tools/@aws-cdk/cli-args-gen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions tools/@aws-cdk/cli-args-gen/test/cli-type-gen.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
/**
Expand Down Expand Up @@ -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';
/**
Expand Down
6 changes: 3 additions & 3 deletions tools/@aws-cdk/cli-args-gen/test/yargs-gen.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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';
Expand Down Expand Up @@ -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';
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9c69648

Please sign in to comment.