Skip to content

Commit

Permalink
fix: disable type check for build
Browse files Browse the repository at this point in the history
  • Loading branch information
CorrectRoadH committed Aug 4, 2023
1 parent 090a174 commit 87561b0
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
3 changes: 1 addition & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
"private": false,
"scripts": {
"dev": "vite",
"build": "run-p type-check build-only",
"build": "run-p build-only",
"test": "jest",
"preview": "vite preview",
"test:unit": "vitest",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/"
},
Expand Down
40 changes: 40 additions & 0 deletions web/src/views/DownloadView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,46 @@ const store = useDownloadStore()
</div>
<DownloadDialog />
</div>
<div class="m-2">
FAQ:
<div class="flex gap-2 flex-wrap">
<HelpModel
label="How to Feedback"
:title="t('help.download-help.title')"
:content="t('help.download-help.content')"
/>
<HelpModel
label="What website is supported"
:title="t('help.download-help.title')"
:content="t('help.download-help.content')"
/>
<HelpModel
label="How to upgrade the Version"
:title="t('help.download-help.title')"
:content="t('help.download-help.content')"
/>
<HelpModel
label="How to develop this project"
:title="t('help.download-help.title')"
:content="t('help.download-help.content')"
/>
<HelpModel
label="How to require new website support"
:title="t('help.download-help.title')"
:content="t('help.download-help.content')"
/>
<HelpModel
label="How to require new language support"
:title="t('help.download-help.title')"
:content="t('help.download-help.content')"
/>
<HelpModel
label="How to download high quality video"
:title="t('help.download-help.title')"
:content="t('help.download-help.content')"
/>
</div>
</div>
<NetworkStatus />
</main>
</template>
10 changes: 10 additions & 0 deletions web/tsconfig.vitest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "./tsconfig.app.json",
"exclude": [],
"compilerOptions": {
"composite": true,
"lib": [],
"types": ["node", "jsdom","naive-ui/volar", "jest"]
}
}

0 comments on commit 87561b0

Please sign in to comment.