mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 15:41:59 +01:00
Updating linting dependencies
This commit is contained in:
parent
12d3816a5f
commit
4b0c7d7b8f
2114
package-lock.json
generated
2114
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -26,12 +26,12 @@
|
||||
"@vuepress/plugin-google-analytics": "^1.8.2",
|
||||
"@vuepress/plugin-pwa": "^1.8.2",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eslint": "^7.28.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-vuepress": "^3.2.1",
|
||||
"eslint-plugin-markdown": "^2.2.0",
|
||||
"eslint-plugin-vue": "^7.11.0",
|
||||
"eslint-plugin-vue": "^7.15.0",
|
||||
"node-sass": "^5.0.0",
|
||||
"prettier": "^2.3.1",
|
||||
"prettier": "^2.3.2",
|
||||
"sass-loader": "^10.1.1",
|
||||
"vuepress": "^1.8.2",
|
||||
"vuepress-plugin-clean-urls": "^1.1.2",
|
||||
|
@ -3,12 +3,12 @@
|
||||
<ElButton type="success" icon="el-icon-download" @click="downloadStable" @keyup.enter="downloadStable">
|
||||
<span class="spacing">Stable</span>
|
||||
<br />
|
||||
<span class="downloadTag">{{ this.$data.tagName }}</span>
|
||||
<span class="downloadTag">{{ $data.tagName }}</span>
|
||||
</ElButton>
|
||||
<ElButton type="warning" icon="el-icon-cpu" @click="downloadPreview" @keyup.enter="downloadPreview">
|
||||
<span class="spacing">Preview</span>
|
||||
<br />
|
||||
<span class="downloadTag">{{ this.$data.previewTagName }}</span>
|
||||
<span class="downloadTag">{{ $data.previewTagName }}</span>
|
||||
</ElButton>
|
||||
<span class="versionNotice">
|
||||
Requires
|
||||
|
@ -28,10 +28,10 @@ export default {
|
||||
components: { ExtensionItem },
|
||||
props: ["list", "totalCount"],
|
||||
computed: {
|
||||
groupName: function() {
|
||||
const firstItem = this.list[0]
|
||||
return firstItem.lang === "en" ? simpleLangName(firstItem.lang) : langName(firstItem.lang)
|
||||
}
|
||||
groupName: function () {
|
||||
const firstItem = this.list[0];
|
||||
return firstItem.lang === "en" ? simpleLangName(firstItem.lang) : langName(firstItem.lang);
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
simpleLangName,
|
||||
|
@ -21,21 +21,21 @@
|
||||
export default {
|
||||
props: ["item"],
|
||||
computed: {
|
||||
pkgId: function() {
|
||||
pkgId: function () {
|
||||
return this.item.pkg.replace("eu.kanade.tachiyomi.extension.", "");
|
||||
},
|
||||
pkgName: function() {
|
||||
return this.item.name.split(": ")[1]
|
||||
pkgName: function () {
|
||||
return this.item.name.split(": ")[1];
|
||||
},
|
||||
pkgVersion: function() {
|
||||
return 'v' + this.item.version;
|
||||
pkgVersion: function () {
|
||||
return "v" + this.item.version;
|
||||
},
|
||||
iconUrl: function() {
|
||||
iconUrl: function () {
|
||||
const pkgName = this.item.apk.substring(0, this.item.apk.lastIndexOf("."));
|
||||
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/icon/${pkgName}.png`;
|
||||
},
|
||||
apkUrl: function() {
|
||||
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/apk/${this.item.apk}`
|
||||
apkUrl: function () {
|
||||
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/apk/${this.item.apk}`;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
@ -55,7 +55,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
simpleLangName,
|
||||
langName
|
||||
langName,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
@ -1,14 +1,14 @@
|
||||
<template>
|
||||
<span v-if="stable" class="downloadTag">{{ this.$data.tagName }}</span>
|
||||
<span v-if="stable" class="downloadTag">{{ $data.tagName }}</span>
|
||||
<span v-else-if="fileName" class="fileNameContainer" title="File name">
|
||||
<MaterialIcon class="fileNameIcon" icon="get_app" />
|
||||
<span class="fileName">tachiyomi-v{{ this.$data.tagName }}.apk</span>
|
||||
<span class="fileName">tachiyomi-v{{ $data.tagName }}.apk</span>
|
||||
<slot />
|
||||
</span>
|
||||
<span v-else-if="preview" class="downloadTag">{{ this.$data.previewTagName }}</span>
|
||||
<span v-else-if="preview" class="downloadTag">{{ $data.previewTagName }}</span>
|
||||
<span v-else-if="previewFileName" class="fileNameContainer" title="File name">
|
||||
<MaterialIcon class="fileNameIcon" icon="get_app" />
|
||||
<span class="fileName">tachiyomi-{{ this.$data.previewTagName }}.apk</span>
|
||||
<span class="fileName">tachiyomi-{{ $data.previewTagName }}.apk</span>
|
||||
<slot />
|
||||
</span>
|
||||
<span v-else>You need to specify props.</span>
|
||||
|
Loading…
Reference in New Issue
Block a user