mirror of
https://github.com/sandsaber/mdMenu.git
synced 2026-07-22 07:45:30 +00:00
fix: avoid unsupported settings API
This commit is contained in:
parent
1b1e37831d
commit
b5b02c197f
6 changed files with 13 additions and 13 deletions
|
|
@ -173,8 +173,8 @@ dist/mdmenu/LICENSE
|
|||
GitHub releases are created from semver tags without a `v` prefix:
|
||||
|
||||
```bash
|
||||
git tag 1.0.1
|
||||
git push origin 1.0.1
|
||||
git tag 1.0.2
|
||||
git push origin 1.0.2
|
||||
```
|
||||
|
||||
The release workflow runs on tags matching `x.y.z`. It installs dependencies with `npm ci`, runs `npm audit --omit=dev`, lints, typechecks, runs tests, builds `dist/mdmenu`, checks that the tag matches `package.json` and `manifest.json`, verifies release assets, creates GitHub artifact attestations, and publishes `main.js`, `manifest.json`, and `styles.css`.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "mdmenu",
|
||||
"name": "mdMenu",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"minAppVersion": "1.5.0",
|
||||
"description": "A mini WYSIWYG-style Markdown formatting toolbar.",
|
||||
"author": "Michael Makarov",
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "mdmenu",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mdmenu",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@types/node": "^25.9.3",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mdmenu",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "A mini WYSIWYG-style Markdown formatting toolbar for Obsidian.",
|
||||
"main": "main.js",
|
||||
"type": "module",
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ export class MdMenuSettingTab extends PluginSettingTab {
|
|||
}
|
||||
await this.plugin.saveSettings();
|
||||
this.plugin.refreshToolbar();
|
||||
this.update();
|
||||
this.display();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -134,7 +134,7 @@ export class MdMenuSettingTab extends PluginSettingTab {
|
|||
];
|
||||
await this.plugin.saveSettings();
|
||||
this.plugin.refreshToolbar();
|
||||
this.update();
|
||||
this.display();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -148,7 +148,7 @@ export class MdMenuSettingTab extends PluginSettingTab {
|
|||
);
|
||||
await this.plugin.saveSettings();
|
||||
this.plugin.refreshToolbar();
|
||||
this.update();
|
||||
this.display();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -206,7 +206,7 @@ export class MdMenuSettingTab extends PluginSettingTab {
|
|||
];
|
||||
await this.plugin.saveSettings();
|
||||
this.plugin.refreshToolbar();
|
||||
this.update();
|
||||
this.display();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
@ -280,7 +280,7 @@ export class MdMenuSettingTab extends PluginSettingTab {
|
|||
);
|
||||
await this.plugin.saveSettings();
|
||||
this.plugin.refreshToolbar();
|
||||
this.update();
|
||||
this.display();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
@ -304,7 +304,7 @@ export class MdMenuSettingTab extends PluginSettingTab {
|
|||
this.plugin.settings.toolbarItems = items;
|
||||
await this.plugin.saveSettings();
|
||||
this.plugin.refreshToolbar();
|
||||
this.update();
|
||||
this.display();
|
||||
}
|
||||
|
||||
private nextSeparatorId(): string {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"1.0.1": "1.5.0"
|
||||
"1.0.2": "1.5.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue