📝 doc: fix contributing.md to restructuring

This commit is contained in:
Pauline 2024-07-26 08:08:53 +02:00
parent 40e5e1f6ba
commit 81698aafd7
No known key found for this signature in database
GPG key ID: 722BB181973296AE
2 changed files with 12 additions and 10 deletions

View file

@ -49,15 +49,15 @@ To make changes locally, follow these steps:
To quickly run only the desktop app after `prep`, you can use:
- `pnpm dev`
- `pnpm desktop dev`
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.
If you encounter any issues, ensure that you are using the following versions (or later) of Rust, Node and Pnpm:
- Rust version: **1.79**
- Node version: **18.18**
- Pnpm version: **9.4.0**
- `rustc` version: **1.80**
- `node` version: **20.15**
- `pnpm` version: **9.6.0**
After cleaning out your build artifacts using `pnpm clean`, `git clean`, or `cargo clean`, it is necessary to re-run the `setup` script.

View file

@ -21,16 +21,18 @@
"scripts": {
"frontend": "pnpm --filter @onelauncher/frontend -- ",
"client": "pnpm --filter @onelauncher/client -- ",
"desktop": "pnpm --filter @onelauncher/desktop -- ",
"core": "cd packages/core && cargo",
"testing": "cd apps/testing && cargo",
"desktop": "cd apps/desktop && cargo",
"format": "pnpm lint:es:fix && pnpm lint:rust:fix",
"lint": "pnpm lint:es && pnpm lint:rust",
"tauri": "cd apps/desktop && cargo",
"format": "pnpm format:es && pnpm format:rs",
"lint": "pnpm lint:es && pnpm lint:rs",
"lint:es": "pnpm eslint . --cache",
"lint:es:fix": "pnpm lint:es --fix",
"lint:rust": "cargo +nightly fmt --check && cargo clippy -- -D warnings",
"lint:rust:fix": "cargo +nightly fmt && cargo clippy --fix",
"format:es": "pnpm lint:es --fix",
"lint:rs": "cargo +nightly fmt --check && cargo clippy -- -D warnings",
"format:rs": "cargo +nightly fmt && cargo clippy --fix",
"release:node": "pnpm bumpp -r"
},
"devDependencies": {