Skip to content

Commit

Permalink
docs(pnpm): update yarn mentions to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
EsdrasAmora committed Jul 16, 2023
1 parent 6721f81 commit 52ffdd4
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 25 deletions.
13 changes: 6 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You can find instructions on how to do that [here](https://devblogs.microsoft.co

- [Git](https://git-scm.com/)
- [NodeJS](https://nodejs.org/en/)
- [Yarn](https://yarnpkg.com/)
- [PNPM](https://pnpm.io/)
- [Docker](https://www.docker.com/)
- [Docker Compose V2](https://docs.docker.com/compose/install)
- [Rust](https://www.rust-lang.org/tools/install)
Expand All @@ -44,13 +44,12 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Configuring apt to find nodejs
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -

# Configuring apt to find yarn
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list > /dev/null
# install pnpm
curl -fsSL https://get.pnpm.io/install.sh | sh -

# Running the install for nodejs, yarn, make, docker and git
# Running the install for nodejs, make, docker and git
sudo apt-get update
sudo apt-get install build-essential pkg-config libssl-dev nodejs yarn docker.io git gnupg software-properties-common
sudo apt-get install build-essential pkg-config libssl-dev nodejs docker.io git gnupg software-properties-common

# Add Hashicorp's GPG key
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg > /dev/null
Expand Down Expand Up @@ -83,7 +82,7 @@ You should add the following to your `~/.bashrc` or `~/.zshrc` file.

```bash
source $HOME/.cargo/env
export PATH="$HOME/.cargo/bin:$HOME/.yarn/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
```

Installing Mask
Expand Down
4 changes: 1 addition & 3 deletions frontend/player/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ node_modules
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
# Ignore files for PNPM
pnpm-lock.yaml
package-lock.json
yarn.lock
pkg/
target/
dist/
Expand Down
4 changes: 0 additions & 4 deletions frontend/player/.gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
Expand Down
4 changes: 1 addition & 3 deletions frontend/player/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ node_modules
src/gql
schema.graphql

# Ignore files for PNPM, NPM and YARN
# Ignore files for PNPM
pnpm-lock.yaml
package-lock.json
yarn.lock
wasm.d.ts
target/
dist/
Expand Down
4 changes: 1 addition & 3 deletions frontend/website/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@ node_modules
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
# Ignore files for PNPM
pnpm-lock.yaml
package-lock.json
yarn.lock
4 changes: 1 addition & 3 deletions frontend/website/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ node_modules
src/gql
schema.graphql

# Ignore files for PNPM, NPM and YARN
# Ignore files for PNPM
pnpm-lock.yaml
package-lock.json
yarn.lock
wasm.d.ts
2 changes: 1 addition & 1 deletion frontend/website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ npm create svelte@latest my-app

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
Once you've created a project and installed dependencies with `pnpm install`, start a development server:

```bash
npm run dev
Expand Down
2 changes: 1 addition & 1 deletion maskfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ if [[ "$verbose" == "true" ]]; then
fi

if [ ! -f .env ]; then
echo "DATABASE_URL=postgres://postgres:postgres@localhost:5432/scuffle_dev" > .env
echo "DATABASE_URL=postgres://root@localhost:5432/scuffle_dev" > .env
echo "RMQ_URL=amqp://rabbitmq:rabbitmq@localhost:5672/scuffle" >> .env
echo "REDIS_URL=redis://localhost:6379/0" >> .env
fi
Expand Down

0 comments on commit 52ffdd4

Please sign in to comment.