40 lines
2.4 KiB
Markdown
40 lines
2.4 KiB
Markdown
# Plugin names and source folders
|
|
|
|
Use these names in Settings, plugin manifests, help, and problem reports.
|
|
Use names without spaces for source folders and package metadata.
|
|
|
|
| Plugin name | Source folder after manual rename | Current source folder | npm package name | Stable plugin ID |
|
|
| --- | --- | --- | --- | --- |
|
|
| Browser | `RuneStone_Browser` | `RuneStone_WebViewer` | `runestone-browser` | `runestone.browser` |
|
|
| Local Autocomplete | `RuneStone_LocalAutocomplete` | `RuneStone_LocalModel` | `runestone-local-autocomplete` | `runestone.local-autocomplete` |
|
|
| Project Management | `RuneStone_ProjectManagement` | `RuneStone_PM` | `runestone-project-management` | `runestone.pm` |
|
|
|
|
## Manual source folder changes
|
|
|
|
The team must rename the three source folders because local tools and saved project paths can depend on them.
|
|
These changes remain pending. The current folders and repository URLs still use their earlier names.
|
|
|
|
1. Close development servers and tools that use the three source folders.
|
|
2. Rename each current source folder to its matching name in the table.
|
|
3. Update saved editor projects, shortcuts, task paths, and local scripts that contain the old absolute paths.
|
|
4. Update cross-project documentation links after the folders move.
|
|
5. Run the documented checks from each renamed checkout before the next build.
|
|
|
|
Keep each plugin beside the `RuneStone` host checkout, or set `RUNESTONE_ROOT` to the host path.
|
|
The plugin build and package scripts use their own checkout or working directory and the host path.
|
|
They support both the current and intended folder names.
|
|
A local folder rename does not rename a remote repository. Keep existing remote URLs until the team changes them.
|
|
|
|
## Stable package and data names
|
|
|
|
Display names describe the plugins. Stable IDs connect installed packages to their settings and saved data.
|
|
The packager uses each stable plugin ID and version for the ZIP filename.
|
|
For example, Project Management keeps `runestone.pm-<version>.zip`.
|
|
Do not rename published ZIP files or change plugin IDs as part of a display-name change.
|
|
|
|
Project Management retains `.runestone/pm/`, `runestone_pm`, and its existing preview storage key.
|
|
Existing view IDs, setting keys, and document IDs also stay unchanged.
|
|
These technical names preserve access to existing data and are not alternate product names.
|
|
|
|
The [plugin package reference](plugins.md) explains packaging and installation.
|