Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cra command #405

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/features/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,28 @@ Authentication is a critical part of most web applications. Here are some resour
});
},
},
{
words: ["!cra", "!create-react-app"],
help: "Provides a list of popular backend- and meta-frameworks",
category: "Web",
handleMessage: (msg) => {
msg.channel.send({
embeds: [
{
title: "create-react-app is deprecated",
type: EmbedType.Rich,
description: `
create-react-app is deprecated and no longer recommended for use. It is not maintained and has a large number of security vulnerabilities. Please use Vite or Next.js instead.

Vite: https://vitejs.dev/
Next.js: https://nextjs.org/
`,
color: EMBED_COLOR,
},
],
});
},
},
];

const createCommandsMessage = () => {
Expand Down
Loading