Skip to content

Commit 7e9ddca

Browse files
committed
replaced pnpm with just
1 parent 164cf9e commit 7e9ddca

File tree

9 files changed

+22
-22
lines changed

9 files changed

+22
-22
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ The Optimism Documentation team has created a complete style guide for you to ma
4646

4747
To set up the Nextra project on your machine, perform the following steps from a terminal instance:
4848

49-
1. Install pnpm [install pnpm](https://pnpm.io/installation).
50-
2. First, run `pnpm i` to install the dependencies.
51-
3. Then, run `pnpm dev` to start the development server and
49+
1. [Install just](https://github.com/casey/just)
50+
2. First, run `just i` to install the dependencies.
51+
3. Then, run `just dev` to start the development server and
5252
4. Visit [localhost:3000](http://localhost:3000) in your browser to view the website.
5353

5454
You can now start changing content and see the website updated live each time you save a new file. 🤓
@@ -57,13 +57,13 @@ You can now start changing content and see the website updated live each time yo
5757

5858
**Important prerequisite**
5959

60-
To prevent building issues upstream, you should build the content locally before submitting a pull request: stop or delete the terminal server if it's running, then run `pnpm dev`.
60+
To prevent building issues upstream, you should build the content locally before submitting a pull request: stop or delete the terminal server if it's running, then run `just dev`.
6161

6262
- Use the information reported by the terminal to fix any issues (e.g., broken links).
63-
- Run `pnpm fix` to automatically fix most linting issues (e.g., formatting and style guide).
64-
- Run `pnpm spellcheck:lint` to test your content against the dictionary. Add new words to the dictionary by appending them to `words.txt`.
65-
- Run `pnpm spellcheck:fix` to add new words to the dictionary automatically.
66-
- Try another `pnpm dev` and repeat until no issues are reported ("client" and "server compiled successfully").
63+
- Run `just fix` to automatically fix most linting issues (e.g., formatting and style guide).
64+
- Run `just spellcheck:lint` to test your content against the dictionary. Add new words to the dictionary by appending them to `words.txt`.
65+
- Run `just spellcheck:fix` to add new words to the dictionary automatically.
66+
- Try another `just dev` and repeat until no issues are reported ("client" and "server compiled successfully").
6767

6868

6969
Your pull request should usually target the `main` branch, though the Optimism Documentation team might sometimes ask you to target another branch.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ This repo houses the Optimism Docs located at [docs.optimism.io](https://docs.op
44

55
## Local Development
66

7-
How to [install pnpm](https://pnpm.io/installation)
7+
How to [Install just](https://github.com/casey/just)
88

9-
First, run `pnpm i` to install the dependencies.
9+
First, run `just i` to install the dependencies.
1010

11-
Then, run `pnpm dev` to start the development server and visit localhost:3000.
11+
Then, run `just dev` to start the development server and visit localhost:3000.
1212

1313
## Contributions
1414

notes/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Linting
44

55
The `lint.yml` workflow checks that all Markdown and JavaScript files conform to the linting standards we apply.
6-
Run `pnpm lint` to lint locally and run `pnpm fix` to fix issues that the linter can fix automatically.
6+
Run `just lint` to lint locally and run `just fix` to fix issues that the linter can fix automatically.
77
All PRs must pass this check.
88
Also includes spellchecking via [cspell](https://cspell.org/).
99

notes/algolia-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Indexes for Algolia can be generated and uploaded by running:
66

7-
`pnpm index:docs`
7+
`just index:docs`
88

99
This will generate the appropriate indexes based on the repo's content and upload them to Algolia.
1010

notes/remark.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Remark is a flexible Markdown processor with a [vibrant plugin ecosystem](https:
88

99
### Adding Rules
1010

11-
To add a linting rule, simply install your desired linting rule via `pnpm` and add the rule to the [`.remarkrc.mjs`](/.remarkrc.mjs) configuration file at the root of this repository.
11+
To add a linting rule, simply install your desired linting rule via `just` and add the rule to the [`.remarkrc.mjs`](/.remarkrc.mjs) configuration file at the root of this repository.
1212
You can find a list of rules maintained by the Remark team on the [`remark-lint`](https://github.com/remarkjs/remark-lint#rules) repository.
1313
If you need to write your own custom plugin, place the plugin inside of [`utils/plugins/remark`](/utils/plugins/remark/)
1414

pages/builders/app-developers/tutorials/cross-dom-solidity.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ cd op-sample-project
139139

140140
{<h3>Initialize the Project</h3>}
141141

142-
Set up the project as a basic Node.js project with `pnpm` or your favorite package manager.
142+
Set up the project as a basic Node.js project with `just` or your favorite package manager.
143143

144144
```bash
145145
pnpm init

pages/builders/chain-operators/deploy/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ communication and reconciliation between state changes.
7272
| [git](https://git-scm.com/) | `^2` | `git --version` |
7373
| [go](https://go.dev/) | `^1.21` | `go version` |
7474
| [node](https://nodejs.org/en/) | `^20` | `node --version` |
75-
| [pnpm](https://pnpm.io/installation) | `^8` | `pnpm --version` |
75+
| [just](https://github.com/casey/just) | `^1.34.0`| `just --version` |
7676
| [foundry](https://github.com/foundry-rs/foundry#installation) | `^0.2.0` | `forge --version` |
7777
| [make](https://linux.die.net/man/1/make) | `^3` | `make --version` |
7878
| [jq](https://github.com/jqlang/jq) | `^1.6` | `jq --version` |

pages/builders/chain-operators/tutorials/create-l2-rollup.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Make sure to check out the [Superchain Explainer](/stack/explainer) to learn mor
4040
| [git](https://git-scm.com/) | `^2` | `git --version` |
4141
| [go](https://go.dev/) | `^1.21` | `go version` |
4242
| [node](https://nodejs.org/en/) | `^20` | `node --version` |
43-
| [pnpm](https://pnpm.io/installation) | `^8` | `pnpm --version` |
43+
| [just](https://github.com/casey/just) | `^1.34.0`| `just --version` |
4444
| [foundry](https://github.com/foundry-rs/foundry#installation) | `^0.2.0` | `forge --version` |
4545
| [make](https://linux.die.net/man/1/make) | `^3` | `make --version` |
4646
| [jq](https://github.com/jqlang/jq) | `^1.6` | `jq --version` |
@@ -141,14 +141,14 @@ If you don't have the correct versions installed, you may run into unexpected er
141141
{<h3>Install dependencies</h3>}
142142

143143
```bash
144-
pnpm install
144+
just install
145145
```
146146

147147
{<h3>Build the various packages inside of the Optimism Monorepo</h3>}
148148

149149
```bash
150150
make op-node op-batcher op-proposer
151-
pnpm build
151+
just build
152152
```
153153

154154
</Steps>

pages/builders/node-operators/tutorials/node-from-source.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ In this tutorial you will build the `l2geth` implementation of Legacy Geth as fo
4646
| [git](https://git-scm.com/) | `^2` | `git --version` |
4747
| [go](https://go.dev/) | `^1.21` | `go version` |
4848
| [node](https://nodejs.org/en/) | `^20` | `node --version` |
49-
| [pnpm](https://pnpm.io/installation) | `^8` | `pnpm --version` |
49+
| [just](https://github.com/casey/just) | `^1.34.0`| `just --version` |
5050
| [foundry](https://github.com/foundry-rs/foundry#installation) | `^0.2.0` | `forge --version` |
5151
| [make](https://linux.die.net/man/1/make) | `^4` | `make --version` |
5252

@@ -85,15 +85,15 @@ Some releases may only be required for the OP Sepolia testnet.
8585
Install the Node.js dependencies for the Optimism Monorepo.
8686

8787
```bash
88-
pnpm install
88+
just install
8989
```
9090

9191
{<h3>Build Node.js packages</h3>}
9292

9393
Build the Node.js packages for the Optimism Monorepo.
9494

9595
```bash
96-
pnpm build
96+
just build
9797
```
9898

9999
{<h3>Build op-node</h3>}

0 commit comments

Comments
 (0)