- 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.
11 lines
672 B
TypeScript
11 lines
672 B
TypeScript
// The public types and helpers of the RuneStone plugin API.
|
|
// The icon and tooltip helpers use the DOM. Import them from "@runestone/plugin-sdk/icons" and "@runestone/plugin-sdk/tooltip".
|
|
export type * from "./api.ts";
|
|
export type * from "./backgrounds.ts";
|
|
export type * from "./completion.ts";
|
|
export type * from "./contributions.ts";
|
|
export type * from "./menu.ts";
|
|
export type { ActionIcon } from "./icons.ts";
|
|
export { API_VERSION, type PluginManifest } from "./manifest.ts";
|
|
export { describeFeature, hasFeature, missingFeatures, MissingFeatureError, pluginFeatures, requireFeature, requireFeatures, type PluginFeature, type PluginFeatures } from "./features.ts";
|