Skip to content

Commit

Permalink
chore: prep v5 (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrebodin authored Sep 18, 2024
1 parent 4902c7d commit 1b514b9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/cli/commands/plugin/init/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 1b514b9

Please sign in to comment.