-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
vclass
committed
Apr 27, 2024
0 parents
commit 232fcdf
Showing
38 changed files
with
5,468 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* eslint-env node */ | ||
require('@rushstack/eslint-patch/modern-module-resolution') | ||
|
||
module.exports = { | ||
root: true, | ||
'extends': [ | ||
'plugin:vue/vue3-essential', | ||
'eslint:recommended', | ||
'@vue/eslint-config-typescript', | ||
'@vue/eslint-config-prettier/skip-formatting' | ||
], | ||
parserOptions: { | ||
ecmaVersion: 'latest' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Auto Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
|
||
jobs: | ||
release: | ||
strategy: | ||
matrix: | ||
platform: [ubuntu-latest] | ||
name: Release | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- name: 检查master分支 | ||
uses: actions/checkout@v4 | ||
|
||
- name: 设置Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Build | ||
run: | | ||
sed -i -e "s/0.0.0/$(git describe --abbrev=0 --tags)/g" package.json | ||
npm instal | ||
npm run build | ||
tar -czvf dist.tar.gz dist/* | ||
zip -r dist.zip dist/* | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: | | ||
dist.tar.gz | ||
dist.zip | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
|
||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
*.tsbuildinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/prettierrc", | ||
"semi": false, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"printWidth": 100, | ||
"trailingComma": "none" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"Vue.volar", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# bilibo-web | ||
|
||
bilibo项目的web前端 | ||
|
||
# 感谢 | ||
|
||
- [Vue Starter](https://github.com/BlueSgler/vue-starter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* eslint-disable */ | ||
/* prettier-ignore */ | ||
// @ts-nocheck | ||
// noinspection JSUnusedGlobalSymbols | ||
// Generated by unplugin-auto-import | ||
export {} | ||
declare global { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* eslint-disable */ | ||
/* prettier-ignore */ | ||
// @ts-nocheck | ||
// Generated by unplugin-vue-components | ||
// Read more: https://github.com/vuejs/core/pull/3399 | ||
export {} | ||
|
||
declare module 'vue' { | ||
export interface GlobalComponents { | ||
AccountList: typeof import('./src/components/account/AccountList.vue')['default'] | ||
AccountSave: typeof import('./src/components/account/AccountSave.vue')['default'] | ||
ElAffix: typeof import('element-plus/es')['ElAffix'] | ||
ElAside: typeof import('element-plus/es')['ElAside'] | ||
ElAvatar: typeof import('element-plus/es')['ElAvatar'] | ||
ElButton: typeof import('element-plus/es')['ElButton'] | ||
ElCard: typeof import('element-plus/es')['ElCard'] | ||
ElCol: typeof import('element-plus/es')['ElCol'] | ||
ElContainer: typeof import('element-plus/es')['ElContainer'] | ||
ElDialog: typeof import('element-plus/es')['ElDialog'] | ||
ElHeader: typeof import('element-plus/es')['ElHeader'] | ||
ElIcon: typeof import('element-plus/es')['ElIcon'] | ||
ElImage: typeof import('element-plus/es')['ElImage'] | ||
ElLink: typeof import('element-plus/es')['ElLink'] | ||
ElMain: typeof import('element-plus/es')['ElMain'] | ||
ElMenu: typeof import('element-plus/es')['ElMenu'] | ||
ElPagination: typeof import('element-plus/es')['ElPagination'] | ||
ElRow: typeof import('element-plus/es')['ElRow'] | ||
ElSwitch: typeof import('element-plus/es')['ElSwitch'] | ||
ElTable: typeof import('element-plus/es')['ElTable'] | ||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] | ||
ElTabPane: typeof import('element-plus/es')['ElTabPane'] | ||
ElTabs: typeof import('element-plus/es')['ElTabs'] | ||
ElText: typeof import('element-plus/es')['ElText'] | ||
FavourExplorer: typeof import('./src/components/favour/FavourExplorer.vue')['default'] | ||
FavourList: typeof import('./src/components/favour/FavourList.vue')['default'] | ||
HeaderLayout: typeof import('./src/components/layout/HeaderLayout.vue')['default'] | ||
MenuLayout: typeof import('./src/components/layout/MenuLayout.vue')['default'] | ||
RouterLink: typeof import('vue-router')['RouterLink'] | ||
RouterView: typeof import('vue-router')['RouterView'] | ||
VideoList: typeof import('./src/components/video/VideoList.vue')['default'] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/// <reference types="vite/client" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>BiliBo</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.