mirror of
https://github.com/lqtmcstudio/QZMusic_PC.git
synced 2026-06-20 23:35:06 +08:00
fork(fix): Clone AMLL 并修复 BUG
- 将AMLL Clone到本以地进行修复和优化(emm虽然这很不优雅但是暂时无时间做子模块和Fork) - 修复在当前播放歌词行不可见的视口Seek会出现滚动偏移的问题
This commit is contained in:
51
amll-local/tsconfig.base.json
Normal file
51
amll-local/tsconfig.base.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
// Environment setup & latest features
|
||||
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
||||
"target": "ESNext",
|
||||
"module": "Preserve",
|
||||
"moduleDetection": "force",
|
||||
"jsx": "react-jsx",
|
||||
"allowJs": false,
|
||||
|
||||
// Bundler mode
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"noEmit": true,
|
||||
"isolatedModules": true,
|
||||
"incremental": true,
|
||||
"declaration": true,
|
||||
"isolatedDeclarations": true,
|
||||
|
||||
// Best practices
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noImplicitOverride": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
|
||||
// Some stricter flags
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noPropertyAccessFromIndexSignature": false,
|
||||
"noUncheckedIndexedAccess": false,
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noImplicitReturns": true,
|
||||
|
||||
// 映射各个子包的路径以便让 IDE 可以跳转到实际的源码而不是 dist 目录
|
||||
"paths": {
|
||||
"@applemusic-like-lyrics/core": ["./packages/core/src/index.ts"],
|
||||
"@applemusic-like-lyrics/core/style.css": [
|
||||
"./packages/core/src/styles/index.css"
|
||||
],
|
||||
"@applemusic-like-lyrics/react": ["./packages/react/src/index.ts"],
|
||||
"@applemusic-like-lyrics/vue": ["./packages/vue/src/index.ts"],
|
||||
"@applemusic-like-lyrics/react-full": [
|
||||
"./packages/react-full/src/index.ts"
|
||||
],
|
||||
"@applemusic-like-lyrics/lyric": ["./packages/lyric/src/index.ts"],
|
||||
"@applemusic-like-lyrics/ttml": ["./packages/ttml/src/index.ts"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user