From da41d33aabd14732aa120e7994b61a6fbe4ce5f3 Mon Sep 17 00:00:00 2001 From: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Date: Thu, 23 Apr 2026 10:25:36 +0200 Subject: [PATCH] Change leftover yarn mentions to pnpm --- development/building-from-source.md | 4 ++-- development/getting-started.md | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/development/building-from-source.md b/development/building-from-source.md index 21363e93..d02c5b14 100644 --- a/development/building-from-source.md +++ b/development/building-from-source.md @@ -18,7 +18,7 @@ Open `_scripts/build.js` in your favorite text editor and edit the line containi Open up your terminal in the root of the project and run the following command: ``` -yarn run build +pnpm run build ``` Once the command has finished, a new `build/` folder will be created in the project. This folder will contain any and every binary that the command has created. It will only create binaries for the OS you are running (ex: Windows can only create Windows binaries). @@ -28,7 +28,7 @@ Once the command has finished, a new `build/` folder will be created in the proj If you are running a 64 bit Linux OS, you will also be able to create ARM64 binaries. To do so, run the following command: ``` -yarn run build:arm +pnpm run build:arm ``` Binaries will be located in the same location as the other command. diff --git a/development/getting-started.md b/development/getting-started.md index daa55baf..5a9875ea 100644 --- a/development/getting-started.md +++ b/development/getting-started.md @@ -5,7 +5,7 @@ parent: Development permalink: /development/getting-started/ --- -Getting a development environment setup for FreeTube is very simple. You must have [Git](https://git-scm.com), [Node.js](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com) installed on your system in order to set up your environment. +Getting a development environment setup for FreeTube is very simple. You must have [Git](https://git-scm.com), [Node.js](https://nodejs.org/en/) and [pnpm](https://pnpm.io) installed on your system in order to set up your environment. Once installed, open a Terminal in a folder that you'd like to store your repository. Then, clone the repository. @@ -22,15 +22,15 @@ cd FreeTube Install Dependencies: ``` -yarn +pnpm # or -yarn install +pnpm install ``` Run the application: ``` -yarn run dev +pnpm run dev ``` And you're done! After a couple of seconds, FreeTube will open up and you are ready to make changes to the project. @@ -46,7 +46,7 @@ To keep your code up to par with the rest of the application, we enforce a linte In the root of your directory, run the following command: ``` -yarn run lint +pnpm run lint ``` This command will then display all of the errors that the linter found in your project. If nothing is displayed after you run the command, then no errors were found. @@ -54,7 +54,7 @@ This command will then display all of the errors that the linter found in your p In some cases, the issues that the linter finds are simple enough that they may be able to be fixed automatically. If this happens, you can run the following command to fix them: ``` -yarn run lint-fix +pnpm run lint-fix ``` This command will also show any errors that the linter still finds and cannot fix.