mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 23:51:58 +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-google-analytics": "^1.8.2",
|
||||||
"@vuepress/plugin-pwa": "^1.8.2",
|
"@vuepress/plugin-pwa": "^1.8.2",
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
"eslint": "^7.28.0",
|
"eslint": "^7.32.0",
|
||||||
"eslint-config-vuepress": "^3.2.1",
|
"eslint-config-vuepress": "^3.2.1",
|
||||||
"eslint-plugin-markdown": "^2.2.0",
|
"eslint-plugin-markdown": "^2.2.0",
|
||||||
"eslint-plugin-vue": "^7.11.0",
|
"eslint-plugin-vue": "^7.15.0",
|
||||||
"node-sass": "^5.0.0",
|
"node-sass": "^5.0.0",
|
||||||
"prettier": "^2.3.1",
|
"prettier": "^2.3.2",
|
||||||
"sass-loader": "^10.1.1",
|
"sass-loader": "^10.1.1",
|
||||||
"vuepress": "^1.8.2",
|
"vuepress": "^1.8.2",
|
||||||
"vuepress-plugin-clean-urls": "^1.1.2",
|
"vuepress-plugin-clean-urls": "^1.1.2",
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
<ElButton type="success" icon="el-icon-download" @click="downloadStable" @keyup.enter="downloadStable">
|
<ElButton type="success" icon="el-icon-download" @click="downloadStable" @keyup.enter="downloadStable">
|
||||||
<span class="spacing">Stable</span>
|
<span class="spacing">Stable</span>
|
||||||
<br />
|
<br />
|
||||||
<span class="downloadTag">{{ this.$data.tagName }}</span>
|
<span class="downloadTag">{{ $data.tagName }}</span>
|
||||||
</ElButton>
|
</ElButton>
|
||||||
<ElButton type="warning" icon="el-icon-cpu" @click="downloadPreview" @keyup.enter="downloadPreview">
|
<ElButton type="warning" icon="el-icon-cpu" @click="downloadPreview" @keyup.enter="downloadPreview">
|
||||||
<span class="spacing">Preview</span>
|
<span class="spacing">Preview</span>
|
||||||
<br />
|
<br />
|
||||||
<span class="downloadTag">{{ this.$data.previewTagName }}</span>
|
<span class="downloadTag">{{ $data.previewTagName }}</span>
|
||||||
</ElButton>
|
</ElButton>
|
||||||
<span class="versionNotice">
|
<span class="versionNotice">
|
||||||
Requires
|
Requires
|
||||||
|
@ -29,9 +29,9 @@ export default {
|
|||||||
props: ["list", "totalCount"],
|
props: ["list", "totalCount"],
|
||||||
computed: {
|
computed: {
|
||||||
groupName: function () {
|
groupName: function () {
|
||||||
const firstItem = this.list[0]
|
const firstItem = this.list[0];
|
||||||
return firstItem.lang === "en" ? simpleLangName(firstItem.lang) : langName(firstItem.lang)
|
return firstItem.lang === "en" ? simpleLangName(firstItem.lang) : langName(firstItem.lang);
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
simpleLangName,
|
simpleLangName,
|
||||||
|
@ -25,17 +25,17 @@ export default {
|
|||||||
return this.item.pkg.replace("eu.kanade.tachiyomi.extension.", "");
|
return this.item.pkg.replace("eu.kanade.tachiyomi.extension.", "");
|
||||||
},
|
},
|
||||||
pkgName: function () {
|
pkgName: function () {
|
||||||
return this.item.name.split(": ")[1]
|
return this.item.name.split(": ")[1];
|
||||||
},
|
},
|
||||||
pkgVersion: function () {
|
pkgVersion: function () {
|
||||||
return 'v' + this.item.version;
|
return "v" + this.item.version;
|
||||||
},
|
},
|
||||||
iconUrl: function () {
|
iconUrl: function () {
|
||||||
const pkgName = this.item.apk.substring(0, this.item.apk.lastIndexOf("."));
|
const pkgName = this.item.apk.substring(0, this.item.apk.lastIndexOf("."));
|
||||||
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/icon/${pkgName}.png`;
|
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/icon/${pkgName}.png`;
|
||||||
},
|
},
|
||||||
apkUrl: function () {
|
apkUrl: function () {
|
||||||
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/apk/${this.item.apk}`
|
return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/apk/${this.item.apk}`;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -55,7 +55,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
simpleLangName,
|
simpleLangName,
|
||||||
langName
|
langName,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
<template>
|
<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">
|
<span v-else-if="fileName" class="fileNameContainer" title="File name">
|
||||||
<MaterialIcon class="fileNameIcon" icon="get_app" />
|
<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 />
|
<slot />
|
||||||
</span>
|
</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">
|
<span v-else-if="previewFileName" class="fileNameContainer" title="File name">
|
||||||
<MaterialIcon class="fileNameIcon" icon="get_app" />
|
<MaterialIcon class="fileNameIcon" icon="get_app" />
|
||||||
<span class="fileName">tachiyomi-{{ this.$data.previewTagName }}.apk</span>
|
<span class="fileName">tachiyomi-{{ $data.previewTagName }}.apk</span>
|
||||||
<slot />
|
<slot />
|
||||||
</span>
|
</span>
|
||||||
<span v-else>You need to specify props.</span>
|
<span v-else>You need to specify props.</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user