Skip to content

Commit 81698aa

Browse files
committed
📝 doc: fix contributing.md to restructuring
1 parent 40e5e1f commit 81698aa

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ To make changes locally, follow these steps:
4949

5050
To quickly run only the desktop app after `prep`, you can use:
5151

52-
- `pnpm dev`
52+
- `pnpm desktop dev`
5353

5454
If necessary, the webview devtools can be opened by pressing `Ctrl + Shift + I` (Linux and Windows) or `Command + Option + I` (macOS) in the desktop app.
5555

5656
If you encounter any issues, ensure that you are using the following versions (or later) of Rust, Node and Pnpm:
5757

58-
- Rust version: **1.79**
59-
- Node version: **18.18**
60-
- Pnpm version: **9.4.0**
58+
- `rustc` version: **1.80**
59+
- `node` version: **20.15**
60+
- `pnpm` version: **9.6.0**
6161

6262
After cleaning out your build artifacts using `pnpm clean`, `git clean`, or `cargo clean`, it is necessary to re-run the `setup` script.
6363

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,18 @@
2121
"scripts": {
2222
"frontend": "pnpm --filter @onelauncher/frontend -- ",
2323
"client": "pnpm --filter @onelauncher/client -- ",
24+
"desktop": "pnpm --filter @onelauncher/desktop -- ",
25+
2426
"core": "cd packages/core && cargo",
2527
"testing": "cd apps/testing && cargo",
26-
"desktop": "cd apps/desktop && cargo",
27-
"format": "pnpm lint:es:fix && pnpm lint:rust:fix",
28-
"lint": "pnpm lint:es && pnpm lint:rust",
28+
"tauri": "cd apps/desktop && cargo",
29+
"format": "pnpm format:es && pnpm format:rs",
30+
"lint": "pnpm lint:es && pnpm lint:rs",
2931

3032
"lint:es": "pnpm eslint . --cache",
31-
"lint:es:fix": "pnpm lint:es --fix",
32-
"lint:rust": "cargo +nightly fmt --check && cargo clippy -- -D warnings",
33-
"lint:rust:fix": "cargo +nightly fmt && cargo clippy --fix",
33+
"format:es": "pnpm lint:es --fix",
34+
"lint:rs": "cargo +nightly fmt --check && cargo clippy -- -D warnings",
35+
"format:rs": "cargo +nightly fmt && cargo clippy --fix",
3436
"release:node": "pnpm bumpp -r"
3537
},
3638
"devDependencies": {

0 commit comments

Comments
 (0)