From 0a834837e9f3dbe9be3111e21929c5e5832954c9 Mon Sep 17 00:00:00 2001 From: Alexandre Bodin Date: Mon, 16 Sep 2024 18:52:59 +0200 Subject: [PATCH] chore: prep v5 --- src/cli/commands/plugin/init/action.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/cli/commands/plugin/init/action.ts b/src/cli/commands/plugin/init/action.ts index 7da1687..504c909 100644 --- a/src/cli/commands/plugin/init/action.ts +++ b/src/cli/commands/plugin/init/action.ts @@ -20,12 +20,7 @@ import type { CLIContext, CommonCLIOptions } from '../../../../types'; import type { TemplateFile } from '@strapi/pack-up'; // TODO: remove these when release versions are available -const USE_RC_VERSIONS: string[] = [ - '@strapi/design-system', - '@strapi/icons', - '@strapi/strapi', - '@strapi/typescript-utils', -] as const; +const USE_RC_VERSIONS: string[] = ['@strapi/design-system', '@strapi/icons'] as const; // Store results of prompt answers (run by pack-up init) // This is a limitation of pack-up; we cannot run the prompt and pass the answers in @@ -310,8 +305,7 @@ const getPluginTemplate = ({ suggestedPackageName }: PluginTemplateOptions) => { prettier: '*', }, peerDependencies: { - // TODO: set this to 5.0.0 when Strapi 5 is released - '@strapi/strapi': '^5.0.0-rc', + '@strapi/strapi': '^5.0.0', '@strapi/sdk-plugin': '^5.0.0', }, strapi: {