Skip to content

Commit 8d3dcc7

Browse files
authored
feat: 播放器点播功能实现 (#3)
* feat: 播放器点播功能实现 * fix: 子目录添加 .npmrc * feat: 播放器增加非活跃状态 & 支持直播
1 parent 25f0cf4 commit 8d3dcc7

File tree

16 files changed

+24469
-23811
lines changed

16 files changed

+24469
-23811
lines changed

Diff for: .eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module.exports = {
1414
'no-console': 'warn',
1515
'react/jsx-sort-props': 'error',
1616
'react/prop-types': 0,
17+
'react/jsx-boolean-value': 'error',
1718
'@typescript-eslint/strict-boolean-expressions': 0,
1819
// https://github.com/typescript-eslint/typescript-eslint/blob/ef88a696a157f617d38ce6d49207a4a4a089a19b/packages/eslint-plugin/docs/rules/naming-convention.md#enforce-that-interface-names-do-not-begin-with-an-i
1920
'@typescript-eslint/naming-convention': [

Diff for: .github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
npm i
2727
lerna bootstrap
2828
lerna run build
29+
cd frontend
30+
npm run build-storybook
31+
cd ..
2932
3033
- uses: amondnet/vercel-action@v20
3134
with:

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ node_modules/
77
.eslintcache
88
yarn-error.log
99
build
10-
10+
storybook-static
1111
.vercel

Diff for: .vscode/settings.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@
2121
"immer",
2222
"standardjs",
2323
"techtrainingcamp"
24-
]
24+
],
25+
"[less]": {
26+
"editor.formatOnSave": true,
27+
"editor.defaultFormatter": "esbenp.prettier-vscode"
28+
},
29+
"editor.formatOnSave": true,
30+
"editor.defaultFormatter": "esbenp.prettier-vscode"
2531
}

Diff for: backend/.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry = 'https://registry.npm.taobao.org/'

Diff for: backend/package-lock.json

+476-482
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: frontend/.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry = 'https://registry.npm.taobao.org/'

0 commit comments

Comments
 (0)