From ef9cca00500f422591e63b4c1a60ab121aeab18d Mon Sep 17 00:00:00 2001 From: "John L. Armstrong IV" <20903247+jlarmstrongiv@users.noreply.github.com> Date: Sat, 18 May 2024 16:52:58 -0400 Subject: [PATCH 1/7] chore: Upgrade peer dependency ink --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 11a5e46..23d3066 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "zod": "^3.21.4" }, "peerDependencies": { - "ink": "^4.2.0", + "ink": "^4.2.0 || ^5.0.0", "react": "^18.2.0", "zod": "^3.21.4" }, From d039367a9ad94f9b61fd1ed34b2465f54e6003f0 Mon Sep 17 00:00:00 2001 From: "John L. Armstrong IV" <20903247+jlarmstrongiv@users.noreply.github.com> Date: Thu, 23 May 2024 11:12:32 -0400 Subject: [PATCH 2/7] chore: fix xo errors --- test/fixtures/all-optional-options/commands/index.tsx | 2 +- test/fixtures/array-option/alias/commands/index.tsx | 2 +- .../array-option/default-value-description/commands/index.tsx | 2 +- test/fixtures/array-option/default-value/commands/index.tsx | 2 +- test/fixtures/array-option/description/commands/index.tsx | 2 +- test/fixtures/array-option/optional/commands/index.tsx | 2 +- test/fixtures/array-option/required/commands/index.tsx | 2 +- test/fixtures/array-option/value-description/commands/index.tsx | 2 +- test/fixtures/boolean-option/alias/commands/index.tsx | 2 +- test/fixtures/boolean-option/default-value/commands/index.tsx | 2 +- test/fixtures/boolean-option/default/commands/index.tsx | 2 +- test/fixtures/boolean-option/description/commands/index.tsx | 2 +- test/fixtures/boolean-option/negated/commands/index.tsx | 2 +- test/fixtures/camelcase-argument/commands/index.tsx | 2 +- test/fixtures/camelcase-option/commands/index.tsx | 2 +- .../array-default-value-description/commands/index.tsx | 2 +- .../enum-argument/array-default-value/commands/index.tsx | 2 +- .../fixtures/enum-argument/array-description/commands/index.tsx | 2 +- test/fixtures/enum-argument/array-name/commands/index.tsx | 2 +- test/fixtures/enum-argument/array/commands/index.tsx | 2 +- .../enum-argument/default-value-description/commands/index.tsx | 2 +- test/fixtures/enum-argument/default-value/commands/index.tsx | 2 +- test/fixtures/enum-argument/description/commands/index.tsx | 2 +- test/fixtures/enum-argument/optional-array/commands/index.tsx | 2 +- test/fixtures/enum-argument/optional/commands/index.tsx | 2 +- test/fixtures/enum-argument/required/commands/index.tsx | 2 +- test/fixtures/enum-argument/variadic/commands/index.tsx | 2 +- test/fixtures/enum-option/alias/commands/index.tsx | 2 +- .../enum-option/default-value-description/commands/index.tsx | 2 +- test/fixtures/enum-option/default-value/commands/index.tsx | 2 +- test/fixtures/enum-option/description/commands/index.tsx | 2 +- test/fixtures/enum-option/optional/commands/index.tsx | 2 +- test/fixtures/enum-option/required/commands/index.tsx | 2 +- test/fixtures/enum-option/value-description/commands/index.tsx | 2 +- .../array-default-value-description/commands/index.tsx | 2 +- .../number-argument/array-default-value/commands/index.tsx | 2 +- .../number-argument/array-description/commands/index.tsx | 2 +- test/fixtures/number-argument/array-name/commands/index.tsx | 2 +- test/fixtures/number-argument/array/commands/index.tsx | 2 +- .../default-value-description/commands/index.tsx | 2 +- test/fixtures/number-argument/default-value/commands/index.tsx | 2 +- test/fixtures/number-argument/description/commands/index.tsx | 2 +- test/fixtures/number-argument/optional-array/commands/index.tsx | 2 +- test/fixtures/number-argument/optional/commands/index.tsx | 2 +- test/fixtures/number-argument/required/commands/index.tsx | 2 +- test/fixtures/number-argument/variadic/commands/index.tsx | 2 +- test/fixtures/number-option/alias/commands/index.tsx | 2 +- .../number-option/default-value-description/commands/index.tsx | 2 +- test/fixtures/number-option/default-value/commands/index.tsx | 2 +- test/fixtures/number-option/description/commands/index.tsx | 2 +- test/fixtures/number-option/optional/commands/index.tsx | 2 +- test/fixtures/number-option/required/commands/index.tsx | 2 +- .../fixtures/number-option/value-description/commands/index.tsx | 2 +- test/fixtures/set-option/alias/commands/index.tsx | 2 +- .../set-option/default-value-description/commands/index.tsx | 2 +- test/fixtures/set-option/default-value/commands/index.tsx | 2 +- test/fixtures/set-option/description/commands/index.tsx | 2 +- test/fixtures/set-option/optional/commands/index.tsx | 2 +- test/fixtures/set-option/required/commands/index.tsx | 2 +- test/fixtures/set-option/value-description/commands/index.tsx | 2 +- test/fixtures/single-command-custom-app/commands/deploy.tsx | 2 +- .../array-default-value-description/commands/index.tsx | 2 +- .../string-argument/array-default-value/commands/index.tsx | 2 +- .../string-argument/array-description/commands/index.tsx | 2 +- test/fixtures/string-argument/array-name/commands/index.tsx | 2 +- test/fixtures/string-argument/array/commands/index.tsx | 2 +- .../default-value-description/commands/index.tsx | 2 +- test/fixtures/string-argument/default-value/commands/index.tsx | 2 +- test/fixtures/string-argument/description/commands/index.tsx | 2 +- test/fixtures/string-argument/optional-array/commands/index.tsx | 2 +- test/fixtures/string-argument/optional/commands/index.tsx | 2 +- test/fixtures/string-argument/required/commands/index.tsx | 2 +- test/fixtures/string-argument/variadic/commands/index.tsx | 2 +- test/fixtures/string-option/alias/commands/index.tsx | 2 +- .../string-option/default-value-description/commands/index.tsx | 2 +- test/fixtures/string-option/default-value/commands/index.tsx | 2 +- test/fixtures/string-option/description/commands/index.tsx | 2 +- test/fixtures/string-option/optional/commands/index.tsx | 2 +- test/fixtures/string-option/required/commands/index.tsx | 2 +- .../fixtures/string-option/value-description/commands/index.tsx | 2 +- 80 files changed, 80 insertions(+), 80 deletions(-) diff --git a/test/fixtures/all-optional-options/commands/index.tsx b/test/fixtures/all-optional-options/commands/index.tsx index e4acd48..172d468 100644 --- a/test/fixtures/all-optional-options/commands/index.tsx +++ b/test/fixtures/all-optional-options/commands/index.tsx @@ -9,7 +9,7 @@ export const options = zod .partial(); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/array-option/alias/commands/index.tsx b/test/fixtures/array-option/alias/commands/index.tsx index 921188b..11c8b11 100644 --- a/test/fixtures/array-option/alias/commands/index.tsx +++ b/test/fixtures/array-option/alias/commands/index.tsx @@ -13,7 +13,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/array-option/default-value-description/commands/index.tsx b/test/fixtures/array-option/default-value-description/commands/index.tsx index 65c2156..58cda72 100644 --- a/test/fixtures/array-option/default-value-description/commands/index.tsx +++ b/test/fixtures/array-option/default-value-description/commands/index.tsx @@ -16,7 +16,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/array-option/default-value/commands/index.tsx b/test/fixtures/array-option/default-value/commands/index.tsx index 88b0b61..0c6abbd 100644 --- a/test/fixtures/array-option/default-value/commands/index.tsx +++ b/test/fixtures/array-option/default-value/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/array-option/description/commands/index.tsx b/test/fixtures/array-option/description/commands/index.tsx index 80d3d99..b2f50e1 100644 --- a/test/fixtures/array-option/description/commands/index.tsx +++ b/test/fixtures/array-option/description/commands/index.tsx @@ -12,7 +12,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/array-option/optional/commands/index.tsx b/test/fixtures/array-option/optional/commands/index.tsx index f9a8f12..88850ef 100644 --- a/test/fixtures/array-option/optional/commands/index.tsx +++ b/test/fixtures/array-option/optional/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/array-option/required/commands/index.tsx b/test/fixtures/array-option/required/commands/index.tsx index 2fe8fdc..0a6cbea 100644 --- a/test/fixtures/array-option/required/commands/index.tsx +++ b/test/fixtures/array-option/required/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/array-option/value-description/commands/index.tsx b/test/fixtures/array-option/value-description/commands/index.tsx index 6a154f4..2412eaf 100644 --- a/test/fixtures/array-option/value-description/commands/index.tsx +++ b/test/fixtures/array-option/value-description/commands/index.tsx @@ -13,7 +13,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/boolean-option/alias/commands/index.tsx b/test/fixtures/boolean-option/alias/commands/index.tsx index 68f1089..8bb1f71 100644 --- a/test/fixtures/boolean-option/alias/commands/index.tsx +++ b/test/fixtures/boolean-option/alias/commands/index.tsx @@ -13,7 +13,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/boolean-option/default-value/commands/index.tsx b/test/fixtures/boolean-option/default-value/commands/index.tsx index 3092852..a4a21eb 100644 --- a/test/fixtures/boolean-option/default-value/commands/index.tsx +++ b/test/fixtures/boolean-option/default-value/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/boolean-option/default/commands/index.tsx b/test/fixtures/boolean-option/default/commands/index.tsx index 1470be2..549b2cd 100644 --- a/test/fixtures/boolean-option/default/commands/index.tsx +++ b/test/fixtures/boolean-option/default/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/boolean-option/description/commands/index.tsx b/test/fixtures/boolean-option/description/commands/index.tsx index 3562b9b..3579175 100644 --- a/test/fixtures/boolean-option/description/commands/index.tsx +++ b/test/fixtures/boolean-option/description/commands/index.tsx @@ -12,7 +12,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/boolean-option/negated/commands/index.tsx b/test/fixtures/boolean-option/negated/commands/index.tsx index 9e40a53..4a06fcb 100644 --- a/test/fixtures/boolean-option/negated/commands/index.tsx +++ b/test/fixtures/boolean-option/negated/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/camelcase-argument/commands/index.tsx b/test/fixtures/camelcase-argument/commands/index.tsx index 4bf6e9d..3854386 100644 --- a/test/fixtures/camelcase-argument/commands/index.tsx +++ b/test/fixtures/camelcase-argument/commands/index.tsx @@ -5,7 +5,7 @@ import zod from 'zod'; export const args = zod.tuple([zod.string().describe('firstName')]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/camelcase-option/commands/index.tsx b/test/fixtures/camelcase-option/commands/index.tsx index 66b4a41..2933eaf 100644 --- a/test/fixtures/camelcase-option/commands/index.tsx +++ b/test/fixtures/camelcase-option/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/enum-argument/array-default-value-description/commands/index.tsx b/test/fixtures/enum-argument/array-default-value-description/commands/index.tsx index 1b25a2c..1a31bbc 100644 --- a/test/fixtures/enum-argument/array-default-value-description/commands/index.tsx +++ b/test/fixtures/enum-argument/array-default-value-description/commands/index.tsx @@ -15,7 +15,7 @@ export const args = zod ); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/array-default-value/commands/index.tsx b/test/fixtures/enum-argument/array-default-value/commands/index.tsx index 0ba8b1d..e293eb5 100644 --- a/test/fixtures/enum-argument/array-default-value/commands/index.tsx +++ b/test/fixtures/enum-argument/array-default-value/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod .describe('os'); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/array-description/commands/index.tsx b/test/fixtures/enum-argument/array-description/commands/index.tsx index 29e0df3..a56b702 100644 --- a/test/fixtures/enum-argument/array-description/commands/index.tsx +++ b/test/fixtures/enum-argument/array-description/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod .describe(argument({name: 'os', description: 'Operating systems'})); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/array-name/commands/index.tsx b/test/fixtures/enum-argument/array-name/commands/index.tsx index 5c3c897..190de8d 100644 --- a/test/fixtures/enum-argument/array-name/commands/index.tsx +++ b/test/fixtures/enum-argument/array-name/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod .describe(argument({name: 'os'})); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/array/commands/index.tsx b/test/fixtures/enum-argument/array/commands/index.tsx index 7fec0aa..650f14b 100644 --- a/test/fixtures/enum-argument/array/commands/index.tsx +++ b/test/fixtures/enum-argument/array/commands/index.tsx @@ -5,7 +5,7 @@ import zod from 'zod'; export const args = zod.array(zod.enum(['Ubuntu', 'Debian'])).describe('os'); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/default-value-description/commands/index.tsx b/test/fixtures/enum-argument/default-value-description/commands/index.tsx index 797963f..eaf05d4 100644 --- a/test/fixtures/enum-argument/default-value-description/commands/index.tsx +++ b/test/fixtures/enum-argument/default-value-description/commands/index.tsx @@ -22,7 +22,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/default-value/commands/index.tsx b/test/fixtures/enum-argument/default-value/commands/index.tsx index 0f3bda0..b6679f3 100644 --- a/test/fixtures/enum-argument/default-value/commands/index.tsx +++ b/test/fixtures/enum-argument/default-value/commands/index.tsx @@ -10,7 +10,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/description/commands/index.tsx b/test/fixtures/enum-argument/description/commands/index.tsx index 894cf26..7fb42f5 100644 --- a/test/fixtures/enum-argument/description/commands/index.tsx +++ b/test/fixtures/enum-argument/description/commands/index.tsx @@ -21,7 +21,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/optional-array/commands/index.tsx b/test/fixtures/enum-argument/optional-array/commands/index.tsx index 80887c6..0fe16e1 100644 --- a/test/fixtures/enum-argument/optional-array/commands/index.tsx +++ b/test/fixtures/enum-argument/optional-array/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod .describe('os'); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/optional/commands/index.tsx b/test/fixtures/enum-argument/optional/commands/index.tsx index e56c5a9..afbb3b5 100644 --- a/test/fixtures/enum-argument/optional/commands/index.tsx +++ b/test/fixtures/enum-argument/optional/commands/index.tsx @@ -7,7 +7,7 @@ const os = zod.enum(['Ubuntu', 'Debian']).optional(); export const args = zod.tuple([os.describe('first'), os.describe('second')]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/required/commands/index.tsx b/test/fixtures/enum-argument/required/commands/index.tsx index 4e7fca7..be03903 100644 --- a/test/fixtures/enum-argument/required/commands/index.tsx +++ b/test/fixtures/enum-argument/required/commands/index.tsx @@ -15,7 +15,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-argument/variadic/commands/index.tsx b/test/fixtures/enum-argument/variadic/commands/index.tsx index 069b471..eb46496 100644 --- a/test/fixtures/enum-argument/variadic/commands/index.tsx +++ b/test/fixtures/enum-argument/variadic/commands/index.tsx @@ -9,7 +9,7 @@ export const args = zod .rest(os.describe('rest')); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/enum-option/alias/commands/index.tsx b/test/fixtures/enum-option/alias/commands/index.tsx index d5e0af3..5592d88 100644 --- a/test/fixtures/enum-option/alias/commands/index.tsx +++ b/test/fixtures/enum-option/alias/commands/index.tsx @@ -13,7 +13,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/enum-option/default-value-description/commands/index.tsx b/test/fixtures/enum-option/default-value-description/commands/index.tsx index 856ad60..9b26b68 100644 --- a/test/fixtures/enum-option/default-value-description/commands/index.tsx +++ b/test/fixtures/enum-option/default-value-description/commands/index.tsx @@ -16,7 +16,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/enum-option/default-value/commands/index.tsx b/test/fixtures/enum-option/default-value/commands/index.tsx index 58114ce..efd7c0d 100644 --- a/test/fixtures/enum-option/default-value/commands/index.tsx +++ b/test/fixtures/enum-option/default-value/commands/index.tsx @@ -10,7 +10,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/enum-option/description/commands/index.tsx b/test/fixtures/enum-option/description/commands/index.tsx index af69f83..eb3d213 100644 --- a/test/fixtures/enum-option/description/commands/index.tsx +++ b/test/fixtures/enum-option/description/commands/index.tsx @@ -12,7 +12,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/enum-option/optional/commands/index.tsx b/test/fixtures/enum-option/optional/commands/index.tsx index 07a9a8a..a496851 100644 --- a/test/fixtures/enum-option/optional/commands/index.tsx +++ b/test/fixtures/enum-option/optional/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/enum-option/required/commands/index.tsx b/test/fixtures/enum-option/required/commands/index.tsx index abc35ac..06fad6e 100644 --- a/test/fixtures/enum-option/required/commands/index.tsx +++ b/test/fixtures/enum-option/required/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/enum-option/value-description/commands/index.tsx b/test/fixtures/enum-option/value-description/commands/index.tsx index 2becd60..245d139 100644 --- a/test/fixtures/enum-option/value-description/commands/index.tsx +++ b/test/fixtures/enum-option/value-description/commands/index.tsx @@ -13,7 +13,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/number-argument/array-default-value-description/commands/index.tsx b/test/fixtures/number-argument/array-default-value-description/commands/index.tsx index d6b273a..fd0c4d1 100644 --- a/test/fixtures/number-argument/array-default-value-description/commands/index.tsx +++ b/test/fixtures/number-argument/array-default-value-description/commands/index.tsx @@ -15,7 +15,7 @@ export const args = zod ); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/array-default-value/commands/index.tsx b/test/fixtures/number-argument/array-default-value/commands/index.tsx index e04c201..986b420 100644 --- a/test/fixtures/number-argument/array-default-value/commands/index.tsx +++ b/test/fixtures/number-argument/array-default-value/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod .describe('number'); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/array-description/commands/index.tsx b/test/fixtures/number-argument/array-description/commands/index.tsx index 0e99d10..13ff854 100644 --- a/test/fixtures/number-argument/array-description/commands/index.tsx +++ b/test/fixtures/number-argument/array-description/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod .describe(argument({name: 'number', description: 'Numbers'})); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/array-name/commands/index.tsx b/test/fixtures/number-argument/array-name/commands/index.tsx index dcda47d..248608f 100644 --- a/test/fixtures/number-argument/array-name/commands/index.tsx +++ b/test/fixtures/number-argument/array-name/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod .describe(argument({name: 'number'})); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/array/commands/index.tsx b/test/fixtures/number-argument/array/commands/index.tsx index 31dd574..88a0d9c 100644 --- a/test/fixtures/number-argument/array/commands/index.tsx +++ b/test/fixtures/number-argument/array/commands/index.tsx @@ -5,7 +5,7 @@ import zod from 'zod'; export const args = zod.array(zod.number()).describe('number'); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/default-value-description/commands/index.tsx b/test/fixtures/number-argument/default-value-description/commands/index.tsx index dc36990..f17e8b1 100644 --- a/test/fixtures/number-argument/default-value-description/commands/index.tsx +++ b/test/fixtures/number-argument/default-value-description/commands/index.tsx @@ -26,7 +26,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/default-value/commands/index.tsx b/test/fixtures/number-argument/default-value/commands/index.tsx index 6563763..63b3b7b 100644 --- a/test/fixtures/number-argument/default-value/commands/index.tsx +++ b/test/fixtures/number-argument/default-value/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/description/commands/index.tsx b/test/fixtures/number-argument/description/commands/index.tsx index 8d76aaa..93dbf1c 100644 --- a/test/fixtures/number-argument/description/commands/index.tsx +++ b/test/fixtures/number-argument/description/commands/index.tsx @@ -19,7 +19,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/optional-array/commands/index.tsx b/test/fixtures/number-argument/optional-array/commands/index.tsx index eeeb554..4020dbd 100644 --- a/test/fixtures/number-argument/optional-array/commands/index.tsx +++ b/test/fixtures/number-argument/optional-array/commands/index.tsx @@ -5,7 +5,7 @@ import zod from 'zod'; export const args = zod.array(zod.number()).optional().describe('number'); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/optional/commands/index.tsx b/test/fixtures/number-argument/optional/commands/index.tsx index dbb569c..0d554db 100644 --- a/test/fixtures/number-argument/optional/commands/index.tsx +++ b/test/fixtures/number-argument/optional/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/required/commands/index.tsx b/test/fixtures/number-argument/required/commands/index.tsx index 9cc878e..f47834b 100644 --- a/test/fixtures/number-argument/required/commands/index.tsx +++ b/test/fixtures/number-argument/required/commands/index.tsx @@ -13,7 +13,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-argument/variadic/commands/index.tsx b/test/fixtures/number-argument/variadic/commands/index.tsx index f46631c..6240d30 100644 --- a/test/fixtures/number-argument/variadic/commands/index.tsx +++ b/test/fixtures/number-argument/variadic/commands/index.tsx @@ -7,7 +7,7 @@ export const args = zod .rest(zod.number().describe('rest')); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/number-option/alias/commands/index.tsx b/test/fixtures/number-option/alias/commands/index.tsx index 98e2593..85b8578 100644 --- a/test/fixtures/number-option/alias/commands/index.tsx +++ b/test/fixtures/number-option/alias/commands/index.tsx @@ -13,7 +13,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/number-option/default-value-description/commands/index.tsx b/test/fixtures/number-option/default-value-description/commands/index.tsx index 2174022..5716ac1 100644 --- a/test/fixtures/number-option/default-value-description/commands/index.tsx +++ b/test/fixtures/number-option/default-value-description/commands/index.tsx @@ -16,7 +16,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/number-option/default-value/commands/index.tsx b/test/fixtures/number-option/default-value/commands/index.tsx index 556cbe6..759454d 100644 --- a/test/fixtures/number-option/default-value/commands/index.tsx +++ b/test/fixtures/number-option/default-value/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/number-option/description/commands/index.tsx b/test/fixtures/number-option/description/commands/index.tsx index 6d3523f..a19757d 100644 --- a/test/fixtures/number-option/description/commands/index.tsx +++ b/test/fixtures/number-option/description/commands/index.tsx @@ -12,7 +12,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/number-option/optional/commands/index.tsx b/test/fixtures/number-option/optional/commands/index.tsx index 561af07..db57ec1 100644 --- a/test/fixtures/number-option/optional/commands/index.tsx +++ b/test/fixtures/number-option/optional/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/number-option/required/commands/index.tsx b/test/fixtures/number-option/required/commands/index.tsx index 4679ad8..3e0d6ab 100644 --- a/test/fixtures/number-option/required/commands/index.tsx +++ b/test/fixtures/number-option/required/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/number-option/value-description/commands/index.tsx b/test/fixtures/number-option/value-description/commands/index.tsx index 787f34f..1cc90f9 100644 --- a/test/fixtures/number-option/value-description/commands/index.tsx +++ b/test/fixtures/number-option/value-description/commands/index.tsx @@ -13,7 +13,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/set-option/alias/commands/index.tsx b/test/fixtures/set-option/alias/commands/index.tsx index 6fb64f2..4fb977e 100644 --- a/test/fixtures/set-option/alias/commands/index.tsx +++ b/test/fixtures/set-option/alias/commands/index.tsx @@ -13,7 +13,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/set-option/default-value-description/commands/index.tsx b/test/fixtures/set-option/default-value-description/commands/index.tsx index 2bcd384..8f3e384 100644 --- a/test/fixtures/set-option/default-value-description/commands/index.tsx +++ b/test/fixtures/set-option/default-value-description/commands/index.tsx @@ -16,7 +16,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/set-option/default-value/commands/index.tsx b/test/fixtures/set-option/default-value/commands/index.tsx index b378cf1..b825a25 100644 --- a/test/fixtures/set-option/default-value/commands/index.tsx +++ b/test/fixtures/set-option/default-value/commands/index.tsx @@ -10,7 +10,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/set-option/description/commands/index.tsx b/test/fixtures/set-option/description/commands/index.tsx index fb28a04..f8e6872 100644 --- a/test/fixtures/set-option/description/commands/index.tsx +++ b/test/fixtures/set-option/description/commands/index.tsx @@ -12,7 +12,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/set-option/optional/commands/index.tsx b/test/fixtures/set-option/optional/commands/index.tsx index 4b11284..a284eb3 100644 --- a/test/fixtures/set-option/optional/commands/index.tsx +++ b/test/fixtures/set-option/optional/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/set-option/required/commands/index.tsx b/test/fixtures/set-option/required/commands/index.tsx index 9d719fd..4d52071 100644 --- a/test/fixtures/set-option/required/commands/index.tsx +++ b/test/fixtures/set-option/required/commands/index.tsx @@ -7,7 +7,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/set-option/value-description/commands/index.tsx b/test/fixtures/set-option/value-description/commands/index.tsx index 1b2a34c..e6ab880 100644 --- a/test/fixtures/set-option/value-description/commands/index.tsx +++ b/test/fixtures/set-option/value-description/commands/index.tsx @@ -13,7 +13,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/single-command-custom-app/commands/deploy.tsx b/test/fixtures/single-command-custom-app/commands/deploy.tsx index a4a5ac5..9c3d817 100644 --- a/test/fixtures/single-command-custom-app/commands/deploy.tsx +++ b/test/fixtures/single-command-custom-app/commands/deploy.tsx @@ -10,7 +10,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Deploy({options}: Props) { diff --git a/test/fixtures/string-argument/array-default-value-description/commands/index.tsx b/test/fixtures/string-argument/array-default-value-description/commands/index.tsx index 8c38d1c..b757635 100644 --- a/test/fixtures/string-argument/array-default-value-description/commands/index.tsx +++ b/test/fixtures/string-argument/array-default-value-description/commands/index.tsx @@ -15,7 +15,7 @@ export const args = zod ); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/array-default-value/commands/index.tsx b/test/fixtures/string-argument/array-default-value/commands/index.tsx index 5bd844b..5e695d9 100644 --- a/test/fixtures/string-argument/array-default-value/commands/index.tsx +++ b/test/fixtures/string-argument/array-default-value/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod .describe('traits'); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/array-description/commands/index.tsx b/test/fixtures/string-argument/array-description/commands/index.tsx index d5f24da..058ae26 100644 --- a/test/fixtures/string-argument/array-description/commands/index.tsx +++ b/test/fixtures/string-argument/array-description/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod .describe(argument({name: 'traits', description: 'Traits'})); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/array-name/commands/index.tsx b/test/fixtures/string-argument/array-name/commands/index.tsx index 058ce86..d06e17d 100644 --- a/test/fixtures/string-argument/array-name/commands/index.tsx +++ b/test/fixtures/string-argument/array-name/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod .describe(argument({name: 'traits'})); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/array/commands/index.tsx b/test/fixtures/string-argument/array/commands/index.tsx index d0e0a15..6a81b6f 100644 --- a/test/fixtures/string-argument/array/commands/index.tsx +++ b/test/fixtures/string-argument/array/commands/index.tsx @@ -5,7 +5,7 @@ import zod from 'zod'; export const args = zod.array(zod.string()).describe('traits'); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/default-value-description/commands/index.tsx b/test/fixtures/string-argument/default-value-description/commands/index.tsx index 66cbf3f..bf816d9 100644 --- a/test/fixtures/string-argument/default-value-description/commands/index.tsx +++ b/test/fixtures/string-argument/default-value-description/commands/index.tsx @@ -26,7 +26,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/default-value/commands/index.tsx b/test/fixtures/string-argument/default-value/commands/index.tsx index 04ef5de..80259af 100644 --- a/test/fixtures/string-argument/default-value/commands/index.tsx +++ b/test/fixtures/string-argument/default-value/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/description/commands/index.tsx b/test/fixtures/string-argument/description/commands/index.tsx index 72fdc5c..67945af 100644 --- a/test/fixtures/string-argument/description/commands/index.tsx +++ b/test/fixtures/string-argument/description/commands/index.tsx @@ -19,7 +19,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/optional-array/commands/index.tsx b/test/fixtures/string-argument/optional-array/commands/index.tsx index f406d81..932f23b 100644 --- a/test/fixtures/string-argument/optional-array/commands/index.tsx +++ b/test/fixtures/string-argument/optional-array/commands/index.tsx @@ -5,7 +5,7 @@ import zod from 'zod'; export const args = zod.array(zod.string()).optional().describe('traits'); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/optional/commands/index.tsx b/test/fixtures/string-argument/optional/commands/index.tsx index 3e9505d..c79b092 100644 --- a/test/fixtures/string-argument/optional/commands/index.tsx +++ b/test/fixtures/string-argument/optional/commands/index.tsx @@ -8,7 +8,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/required/commands/index.tsx b/test/fixtures/string-argument/required/commands/index.tsx index d73aaa8..321c696 100644 --- a/test/fixtures/string-argument/required/commands/index.tsx +++ b/test/fixtures/string-argument/required/commands/index.tsx @@ -13,7 +13,7 @@ export const args = zod.tuple([ ]); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-argument/variadic/commands/index.tsx b/test/fixtures/string-argument/variadic/commands/index.tsx index 609ddf4..a7bf64c 100644 --- a/test/fixtures/string-argument/variadic/commands/index.tsx +++ b/test/fixtures/string-argument/variadic/commands/index.tsx @@ -7,7 +7,7 @@ export const args = zod .rest(zod.string().describe('traits')); type Props = { - args: zod.infer; + readonly args: zod.infer; }; export default function Index({args}: Props) { diff --git a/test/fixtures/string-option/alias/commands/index.tsx b/test/fixtures/string-option/alias/commands/index.tsx index b0c75ba..91b715d 100644 --- a/test/fixtures/string-option/alias/commands/index.tsx +++ b/test/fixtures/string-option/alias/commands/index.tsx @@ -18,7 +18,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/string-option/default-value-description/commands/index.tsx b/test/fixtures/string-option/default-value-description/commands/index.tsx index 8867862..a7d7fe1 100644 --- a/test/fixtures/string-option/default-value-description/commands/index.tsx +++ b/test/fixtures/string-option/default-value-description/commands/index.tsx @@ -20,7 +20,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/string-option/default-value/commands/index.tsx b/test/fixtures/string-option/default-value/commands/index.tsx index 25d75c5..fb09b9c 100644 --- a/test/fixtures/string-option/default-value/commands/index.tsx +++ b/test/fixtures/string-option/default-value/commands/index.tsx @@ -14,7 +14,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/string-option/description/commands/index.tsx b/test/fixtures/string-option/description/commands/index.tsx index c17609b..4a3dbcf 100644 --- a/test/fixtures/string-option/description/commands/index.tsx +++ b/test/fixtures/string-option/description/commands/index.tsx @@ -17,7 +17,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/string-option/optional/commands/index.tsx b/test/fixtures/string-option/optional/commands/index.tsx index c334833..af18b2b 100644 --- a/test/fixtures/string-option/optional/commands/index.tsx +++ b/test/fixtures/string-option/optional/commands/index.tsx @@ -13,7 +13,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/string-option/required/commands/index.tsx b/test/fixtures/string-option/required/commands/index.tsx index fa9ded2..db2485e 100644 --- a/test/fixtures/string-option/required/commands/index.tsx +++ b/test/fixtures/string-option/required/commands/index.tsx @@ -12,7 +12,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { diff --git a/test/fixtures/string-option/value-description/commands/index.tsx b/test/fixtures/string-option/value-description/commands/index.tsx index c51ef9b..f575f61 100644 --- a/test/fixtures/string-option/value-description/commands/index.tsx +++ b/test/fixtures/string-option/value-description/commands/index.tsx @@ -18,7 +18,7 @@ export const options = zod.object({ }); type Props = { - options: zod.infer; + readonly options: zod.infer; }; export default function Index({options}: Props) { From 6929acf962c519da816f236c537e1c2d3ce01861 Mon Sep 17 00:00:00 2001 From: "John L. Armstrong IV" <20903247+jlarmstrongiv@users.noreply.github.com> Date: Mon, 27 May 2024 16:48:47 -0400 Subject: [PATCH 3/7] chore: set NODE_OPTIONS directly --- package.json | 5 +---- test/helpers/run.ts | 6 +++++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 23d3066..93d43e2 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "scripts": { "build": "tsc", "dev": "tsc --watch", - "test": "tsc --noEmit && xo && ava", + "test": "tsc --noEmit && xo && NODE_OPTIONS='--loader=ts-node/esm --experimental-specifier-resolution=node --no-warnings' ava", "prepare": "tsc" }, "files": [ @@ -70,9 +70,6 @@ "ts": "module", "tsx": "module" }, - "nodeArguments": [ - "--loader=ts-node/esm" - ], "environmentVariables": { "NODE_NO_WARNINGS": "1" } diff --git a/test/helpers/run.ts b/test/helpers/run.ts index 339e8fb..d049dab 100644 --- a/test/helpers/run.ts +++ b/test/helpers/run.ts @@ -11,7 +11,11 @@ export default async function run( ); return execaNode(cliPath, args, { - nodeOptions: ['--loader', 'ts-node/esm'], + env: { + // eslint-disable-next-line @typescript-eslint/naming-convention + NODE_OPTIONS: + '--loader=ts-node/esm --experimental-specifier-resolution=node --no-warnings', + }, ...options, }); } From a2efd3b33d360b7e569c0a2629f5eb408d362fd2 Mon Sep 17 00:00:00 2001 From: "John L. Armstrong IV" <20903247+jlarmstrongiv@users.noreply.github.com> Date: Wed, 5 Jun 2024 16:31:58 -0600 Subject: [PATCH 4/7] chore: require latest version of node and ink --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 93d43e2..0646b4f 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "default": "./build/index.js" }, "engines": { - "node": ">=16" + "node": ">=18" }, "scripts": { "build": "tsc", @@ -60,7 +60,7 @@ "zod": "^3.21.4" }, "peerDependencies": { - "ink": "^4.2.0 || ^5.0.0", + "ink": "^5.0.1", "react": "^18.2.0", "zod": "^3.21.4" }, From 9019cb8e17a150f7b4d48699ccaaf6e784ee9e4a Mon Sep 17 00:00:00 2001 From: "John L. Armstrong IV" <20903247+jlarmstrongiv@users.noreply.github.com> Date: Wed, 5 Jun 2024 16:32:27 -0600 Subject: [PATCH 5/7] 3.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0646b4f..1131380 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pastel", - "version": "2.0.2", + "version": "3.0.0", "description": "Framework for effortlessly building Ink apps", "license": "MIT", "repository": "vadimdemedes/pastel", From 0cb2d19fcddb16b7dbc581c924582c0e5bc9fd31 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 6 Jun 2024 02:05:04 +0200 Subject: [PATCH 6/7] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1131380..0646b4f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pastel", - "version": "3.0.0", + "version": "2.0.2", "description": "Framework for effortlessly building Ink apps", "license": "MIT", "repository": "vadimdemedes/pastel", From 7758ff35ee2f7e74c178d10c9553f5e115bec0a3 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 6 Jun 2024 02:06:08 +0200 Subject: [PATCH 7/7] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0646b4f..d7de773 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "zod": "^3.21.4" }, "peerDependencies": { - "ink": "^5.0.1", + "ink": ">=5.0.0", "react": "^18.2.0", "zod": "^3.21.4" },