Skip to content

Commit

Permalink
chore!: remove deprecated verbose option from ts:generate-types
Browse files Browse the repository at this point in the history
  • Loading branch information
innerdvations committed Apr 29, 2024
1 parent 672727c commit 4300e8f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/core/strapi/src/cli/commands/ts/generate-types.ts
Expand Up @@ -27,8 +27,7 @@ const action = async ({ debug, silent, verbose, outDir }: CmdOptions) => {
rootDir: outDir ?? undefined,
logger: {
silent,
// TODO V5: verbose is deprecated and should be removed
debug: debug || verbose,
debug,
},
artifacts: { contentTypes: true, components: true },
});
Expand All @@ -42,7 +41,6 @@ const action = async ({ debug, silent, verbose, outDir }: CmdOptions) => {
const command: StrapiCommand = () => {
return createCommand('ts:generate-types')
.description(`Generate TypeScript typings for your schemas`)
.option('--verbose', `[DEPRECATED] The verbose option has been replaced by debug`, false)
.option('-d, --debug', `Run the generation with debug messages`, false)
.option('-s, --silent', `Run the generation silently, without any output`, false)
.option(
Expand Down

0 comments on commit 4300e8f

Please sign in to comment.