fix: some grammar errors and dir structure

This commit is contained in:
2023-09-05 21:47:21 +02:00
parent 09a451f6c4
commit 93201cc42d
5 changed files with 46 additions and 70 deletions

View File

@@ -1,6 +1,10 @@
# What is sern?
---
title: What is sern?
---
We're a discord bot framework. The lack of tooling in the discord.js community is apparent, and is also monolithic. You can make botseasily with our suite of tools, and with conciseness. We're also a community. PLS join [here](https://sern.dev/discord) 😼.
<!-- Rephrasing and title done by Ethan -->
We're a discord bot framework. The lack of tooling in the discord.js community is apparent, and is also monolithic. You can make bots easily and concisely with our suite of tools. We're also a community. Please join [here](https://sern.dev/discord)!
### Problem
@@ -9,7 +13,7 @@ We're a discord bot framework. The lack of tooling in the discord.js community i
- **lack of wholesome community in discord.js**
- **lack of modularity**
sern tries to solve all these problems. This tutorial is for anyone and everyone, beginners and advanced a like.
sern tries to solve all these problems. This tutorial is for anyone and everyone, beginners and advanced alike.
## Solution

View File

@@ -0,0 +1,20 @@
---
title: Choosing a package manager
---
<!-- Rephrasing and title done by Ethan -->
A package manager is like a helper for your programs. It brings all the tools for your projects and makes sure they fit and work well together. It's like having someone organize things so you can work without problems.
Some examples are
- [npm](https://www.npmjs.com)
- [Yarn](https://yarnpkg.com)
- [pnpm](https://pnpm.io/)
For this tutorial, we'll be using **[Yarn](https://yarnpkg.com)**. It's made by Facebook.
**Advantages of Yarn:**
1. **Performance:** Yarn is fast and has efficient dependency management.
2. **Lockfile:** Yarn's `yarn.lock` file ensures deterministic builds, crucial for collaboration.
3. **Offline Mode:** Yarn offers a reliable offline mode, ideal for environments with limited internet access.
4. **Plug-n-play:** Yarn Berry (2) introduces "plug-n-play" (PnP), reducing disk space usage.

View File

@@ -0,0 +1,6 @@
# Welcome!
Choose your language:
- [en](./en/intro/whats-sern)
- [es (WIP)](./es)
- [tr (WIP)](./tr)

View File

@@ -1,18 +0,0 @@
A package manager is like a helper for your programs. It brings all the tools for your projects and makes sure they fit and work well together. It's like having someone organize things so you can work without problems.
Some examples are
- [npm](https://www.npmjs.com)
- [Yarn](https://yarnpkg.com)
- [pnpm](https://pnpm.io/)
For this tutorial, we'll be using **[Yarn](https://yarnpkg.com)**. It's made by Facebook.
**Advantages of Yarn:**
1. **Performance:** Yarn is fast enough and has efficient dependency management.
2. **Lockfile:** Yarn's `yarn.lock` file ensures deterministic builds, crucial for collaboration.
4. **Offline Mode:** Yarn offers a reliable offline mode, ideal for environments with limited internet access.
5. **Selective Installs:** You can choose to install specific packages without affecting the entire dependency tree.
6. **Plug-n-play:** Yarn 2 introduces "plug-n-play" (PnP), reducing disk space usage.
**Choice of Package Manager:**
For this tutorial, we will use Yarn as the package manager. Yarn offers several advantages like above and it's a great choice to streamline development and ensure consistency, especially in collaborative environments. Both npm and Yarn are excellent package managers, and your choice will depend on your specific project requirements and personal preferences. Regardless of which package manager you choose, make sure to document your choice and ensure that your team members are on the same page to avoid potential issues during development.