Make Git a native feature with an off switch
- Add the native feature runtime in src/lib/features/: the catalog, the switches, the first-start migration, the loader, and the feature sessions. - Add Settings → Features and the features settings section. - Add features_legacy. It reads the old plugin packages and changes nothing. - Move Git from the plugin into src/lib/features/git/, on host internals. - Remove api.git, the git contribution key, and the SDK Git types. - Add pnpm check:features. It fails when a feature module loads at start. - Update the tests, the menu inventory, the docs, and UI-055.
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
RuneStone is a desktop workspace for Markdown notes, code, and project work in ordinary local files.
|
||||
A Tauri 2 host in Rust (`src-tauri/`) serves a Svelte 5 and TypeScript interface (`src/`).
|
||||
Optional features are plugins. Each plugin is a separate repository beside this one, for example `../RuneStone_Terminal`.
|
||||
Git is a native feature with an off switch in Settings → Features (`src/lib/features/`). It does not use the plugin API.
|
||||
Other optional features are plugins. Each plugin is a separate repository beside this one, for example `../RuneStone_Terminal`.
|
||||
The [development guide](docs/development.md#architecture) maps the source folders.
|
||||
|
||||
## Skills
|
||||
@@ -24,6 +25,7 @@ The [development guide](docs/development.md#architecture) maps the source folder
|
||||
| `pnpm test` | Unit tests (`tests/unit/`) |
|
||||
| `cargo test --manifest-path src-tauri/Cargo.toml --lib` | Rust tests |
|
||||
| `pnpm check:menus` | Menu surface inventory |
|
||||
| `pnpm check:features` | Build check: no native feature module loads at start |
|
||||
| `pnpm smoke [filter...]` | Browser smoke tests (`tests/smoke/`). See [Browser smoke tests](docs/development.md#browser-smoke-tests). |
|
||||
| `pnpm build:installer --version <version>` | Windows installer. See [Builds](docs/builds.md). |
|
||||
| `pnpm build:browser-engine --release-url <url> --version <version>` | Browser engine ZIP and its pin. See [Build the browser engine](docs/builds.md#build-the-browser-engine). |
|
||||
|
||||
Reference in New Issue
Block a user