项目:更新插件
This commit is contained in:
parent
58cdf32a01
commit
1b77f6f584
20
.obsidian/plugins/obsidian-git/main.js
vendored
20
.obsidian/plugins/obsidian-git/main.js
vendored
@ -25739,7 +25739,7 @@ var import_obsidian4 = require("obsidian");
|
|||||||
var path = __toESM(require("path"));
|
var path = __toESM(require("path"));
|
||||||
var import_path = require("path");
|
var import_path = require("path");
|
||||||
|
|
||||||
// node_modules/.pnpm/github.com+Vinzent03+git-js@6b9a2d899bc8256e38a1d6f0b8a88116ba2bf56a_supports-color@9.4.0_rdkutdaeyye3o67thmklazfzta/node_modules/simple-git/dist/esm/index.js
|
// node_modules/.pnpm/simple-git@https+++codeload.github.com+Vinzent03+git-js+tar.gz+6b9a2d899bc8256e38a1d6f0b8a881_rku6lxlylrt42756swupwur2wa/node_modules/simple-git/dist/esm/index.js
|
||||||
init_polyfill_buffer();
|
init_polyfill_buffer();
|
||||||
var import_file_exists = __toESM(require_dist(), 1);
|
var import_file_exists = __toESM(require_dist(), 1);
|
||||||
var import_debug = __toESM(require_browser(), 1);
|
var import_debug = __toESM(require_browser(), 1);
|
||||||
@ -30269,6 +30269,9 @@ var SimpleGit = class extends GitManager {
|
|||||||
const status2 = await this.git.status((err) => this.onError(err));
|
const status2 = await this.git.status((err) => this.onError(err));
|
||||||
const trackingBranch = status2.tracking;
|
const trackingBranch = status2.tracking;
|
||||||
const currentBranch2 = status2.current;
|
const currentBranch2 = status2.current;
|
||||||
|
if (!trackingBranch) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
const remoteChangedFiles = (await this.git.diffSummary([currentBranch2, trackingBranch, "--"])).changed;
|
const remoteChangedFiles = (await this.git.diffSummary([currentBranch2, trackingBranch, "--"])).changed;
|
||||||
return remoteChangedFiles !== 0;
|
return remoteChangedFiles !== 0;
|
||||||
}
|
}
|
||||||
@ -39896,10 +39899,10 @@ var DiscardModal = class extends import_obsidian24.Modal {
|
|||||||
init_polyfill_buffer();
|
init_polyfill_buffer();
|
||||||
var import_obsidian26 = require("obsidian");
|
var import_obsidian26 = require("obsidian");
|
||||||
|
|
||||||
// node_modules/.pnpm/github.com+Vinzent03+obsidian-community-lib@e663de4f95c879b40613090da78ea599ff621d24_@codemir_xyncsguozhhawq25qkwtwp76my/node_modules/obsidian-community-lib/dist/index.js
|
// node_modules/.pnpm/obsidian-community-lib@https+++codeload.github.com+Vinzent03+obsidian-community-lib+tar.gz+e6_dmashd4lm54vdqd2gnfngnqe2m/node_modules/obsidian-community-lib/dist/index.js
|
||||||
init_polyfill_buffer();
|
init_polyfill_buffer();
|
||||||
|
|
||||||
// node_modules/.pnpm/github.com+Vinzent03+obsidian-community-lib@e663de4f95c879b40613090da78ea599ff621d24_@codemir_xyncsguozhhawq25qkwtwp76my/node_modules/obsidian-community-lib/dist/utils.js
|
// node_modules/.pnpm/obsidian-community-lib@https+++codeload.github.com+Vinzent03+obsidian-community-lib+tar.gz+e6_dmashd4lm54vdqd2gnfngnqe2m/node_modules/obsidian-community-lib/dist/utils.js
|
||||||
init_polyfill_buffer();
|
init_polyfill_buffer();
|
||||||
var feather = __toESM(require_feather());
|
var feather = __toESM(require_feather());
|
||||||
var import_obsidian25 = require("obsidian");
|
var import_obsidian25 = require("obsidian");
|
||||||
@ -44105,7 +44108,7 @@ var ObsidianGit = class extends import_obsidian31.Plugin {
|
|||||||
this.addCommand({
|
this.addCommand({
|
||||||
id: "set-upstream-branch",
|
id: "set-upstream-branch",
|
||||||
name: "Set upstream branch",
|
name: "Set upstream branch",
|
||||||
callback: async () => this.setUpsreamBranch()
|
callback: async () => this.setUpstreamBranch()
|
||||||
});
|
});
|
||||||
this.addCommand({
|
this.addCommand({
|
||||||
id: "delete-repo",
|
id: "delete-repo",
|
||||||
@ -44586,10 +44589,11 @@ var ObsidianGit = class extends import_obsidian31.Plugin {
|
|||||||
fromAutoBackup,
|
fromAutoBackup,
|
||||||
requestCustomMessage,
|
requestCustomMessage,
|
||||||
commitMessage
|
commitMessage
|
||||||
}))
|
})) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
if (!this.settings.disablePush) {
|
if (!this.settings.disablePush) {
|
||||||
if (await this.gitManager.canPush()) {
|
if (await this.remotesAreSet() && await this.gitManager.canPush()) {
|
||||||
if (this.settings.syncMethod != "reset" && this.settings.pullBeforePush) {
|
if (this.settings.syncMethod != "reset" && this.settings.pullBeforePush) {
|
||||||
await this.pull();
|
await this.pull();
|
||||||
}
|
}
|
||||||
@ -44917,11 +44921,11 @@ var ObsidianGit = class extends import_obsidian31.Plugin {
|
|||||||
}
|
}
|
||||||
if (!(await this.gitManager.branchInfo()).tracking) {
|
if (!(await this.gitManager.branchInfo()).tracking) {
|
||||||
new import_obsidian31.Notice("No upstream branch is set. Please select one.");
|
new import_obsidian31.Notice("No upstream branch is set. Please select one.");
|
||||||
return await this.setUpsreamBranch();
|
return await this.setUpstreamBranch();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
async setUpsreamBranch() {
|
async setUpstreamBranch() {
|
||||||
const remoteBranch = await this.selectRemoteBranch();
|
const remoteBranch = await this.selectRemoteBranch();
|
||||||
if (remoteBranch == void 0) {
|
if (remoteBranch == void 0) {
|
||||||
this.displayError("Aborted. No upstream-branch is set!", 1e4);
|
this.displayError("Aborted. No upstream-branch is set!", 1e4);
|
||||||
|
2
.obsidian/plugins/obsidian-git/manifest.json
vendored
2
.obsidian/plugins/obsidian-git/manifest.json
vendored
@ -5,5 +5,5 @@
|
|||||||
"isDesktopOnly": false,
|
"isDesktopOnly": false,
|
||||||
"fundingUrl": "https://ko-fi.com/vinzent",
|
"fundingUrl": "https://ko-fi.com/vinzent",
|
||||||
"js": "main.js",
|
"js": "main.js",
|
||||||
"version": "2.24.1"
|
"version": "2.24.2"
|
||||||
}
|
}
|
||||||
|
7
.obsidian/plugins/obsidian-git/styles.css
vendored
7
.obsidian/plugins/obsidian-git/styles.css
vendored
@ -549,3 +549,10 @@
|
|||||||
padding: 0px 6px 0px 6px;
|
padding: 0px 6px 0px 6px;
|
||||||
white-space: pre; /* Keep spaces and do not collapse them. */
|
white-space: pre; /* Keep spaces and do not collapse them. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media(max-width:800px){
|
||||||
|
/* hide git blame gutter not to superpose text */
|
||||||
|
.cm-gutterElement.obs-git-blame-gutter {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
90
.obsidian/plugins/obsidian-hider/main.js
vendored
90
.obsidian/plugins/obsidian-hider/main.js
vendored
File diff suppressed because one or more lines are too long
20
.obsidian/plugins/obsidian-hider/manifest.json
vendored
20
.obsidian/plugins/obsidian-hider/manifest.json
vendored
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-hider",
|
"id": "obsidian-hider",
|
||||||
"name": "Hider",
|
"name": "Hider",
|
||||||
"version": "1.3.1",
|
"version": "1.4.0",
|
||||||
"minAppVersion": "1.4.0",
|
"minAppVersion": "1.6.0",
|
||||||
"description": "Hide UI elements such as tooltips, status, titlebar and more",
|
"description": "Hide UI elements such as tooltips, status, titlebar and more",
|
||||||
"author": "@kepano",
|
"author": "@kepano",
|
||||||
"authorUrl": "https://www.twitter.com/kepano",
|
"authorUrl": "https://www.twitter.com/kepano",
|
||||||
"fundingUrl": "https://www.buymeacoffee.com/kepano",
|
"fundingUrl": "https://www.buymeacoffee.com/kepano",
|
||||||
"isDesktopOnly": false
|
"isDesktopOnly": false
|
||||||
}
|
}
|
22
.obsidian/plugins/obsidian-hider/styles.css
vendored
22
.obsidian/plugins/obsidian-hider/styles.css
vendored
@ -1,5 +1,6 @@
|
|||||||
/* Hides vault name */
|
/* Hides vault name */
|
||||||
.hider-vault .nav-folder.mod-root > .nav-folder-title .nav-folder-title-content {
|
.hider-vault .workspace-sidedock-vault-profile,
|
||||||
|
body.hider-vault:not(.is-mobile) .workspace-split.mod-left-split .workspace-sidedock-vault-profile {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -17,25 +18,6 @@
|
|||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide ribbon */
|
|
||||||
.hider-ribbon.mod-macos.is-hidden-frameless:not(.is-fullscreen):not(.is-popout-window) .workspace-tabs.mod-top-left-space .workspace-tab-header-container {
|
|
||||||
padding-left: calc(var(--frame-left-space) + var(--ribbon-width));
|
|
||||||
}
|
|
||||||
|
|
||||||
.hider-ribbon .workspace-ribbon.mod-left {
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
.hider-ribbon .workspace-ribbon.mod-right {
|
|
||||||
visibility:hidden;
|
|
||||||
position:absolute;
|
|
||||||
}
|
|
||||||
.hider-ribbon .workspace-split.mod-right-split {
|
|
||||||
margin-right:0;
|
|
||||||
}
|
|
||||||
.hider-ribbon .workspace-split.mod-left-split {
|
|
||||||
margin-left:0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide meta */
|
/* Hide meta */
|
||||||
.hider-meta .markdown-reading-view .metadata-container {
|
.hider-meta .markdown-reading-view .metadata-container {
|
||||||
display:none;
|
display:none;
|
||||||
|
635
.obsidian/plugins/obsidian-linter/main.js
vendored
635
.obsidian/plugins/obsidian-linter/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-linter",
|
"id": "obsidian-linter",
|
||||||
"name": "Linter",
|
"name": "Linter",
|
||||||
"version": "1.23.2",
|
"version": "1.24.0",
|
||||||
"minAppVersion": "1.4.16",
|
"minAppVersion": "1.4.16",
|
||||||
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
|
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
|
||||||
"author": "Victor Tao",
|
"author": "Victor Tao",
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-minimal-settings",
|
"id": "obsidian-minimal-settings",
|
||||||
"name": "Minimal Theme Settings",
|
"name": "Minimal Theme Settings",
|
||||||
"version": "7.5.0",
|
"version": "8.0.2",
|
||||||
"minAppVersion": "1.1.9",
|
"minAppVersion": "1.1.9",
|
||||||
"description": "Change the colors, fonts and features of Minimal Theme.",
|
"description": "Change the colors, fonts and features of Minimal Theme.",
|
||||||
"author": "@kepano",
|
"author": "@kepano",
|
||||||
|
Loading…
Reference in New Issue
Block a user