diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d8eb1911..86cdc83d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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. diff --git a/package.json b/package.json index 072bbd0d..128c7ddf 100644 --- a/package.json +++ b/package.json @@ -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": {