├── .changelogrc.js ├── .commitlintrc.js ├── .editorconfig ├── .eslintrc.js ├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .npmrc ├── .prettierignore ├── .prettierrc.js ├── .releaserc.js ├── .stylelintrc.js ├── CHANGELOG.md ├── LICENSE ├── README.md ├── codecov.yml ├── config └── config.ts ├── package.json ├── public └── logo │ ├── logo-dev.png │ ├── logo@128.png │ ├── logo@16.png │ ├── logo@32.png │ └── logo@48.png ├── scripts └── zip.ts ├── src ├── background │ └── index.ts ├── components │ ├── ThemeProvider.tsx │ └── index.ts ├── contentScripts │ ├── index.ts │ └── searchBar │ │ ├── app │ │ ├── SearchInput │ │ │ ├── components │ │ │ │ └── Options │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.ts │ │ │ └── index.tsx │ │ ├── SearchResult │ │ │ ├── AnimatedHeight │ │ │ │ └── index.tsx │ │ │ ├── RepoIcon │ │ │ │ ├── artboard.svg │ │ │ │ ├── book.svg │ │ │ │ ├── column.svg │ │ │ │ ├── design.svg │ │ │ │ ├── doc.svg │ │ │ │ ├── index.tsx │ │ │ │ ├── resource.svg │ │ │ │ └── topic.svg │ │ │ ├── index.tsx │ │ │ ├── style.ts │ │ │ └── useKeyboardResult.ts │ │ ├── index.tsx │ │ ├── style.less │ │ ├── useCheckTokenValidService.ts │ │ ├── useKeyboardService.ts │ │ ├── useSearchBarService.ts │ │ └── useSearchService.ts │ │ └── index.tsx ├── hooks │ ├── index.ts │ ├── useDarkTheme.ts │ └── useStyles.ts ├── layouts │ └── Layout.tsx ├── pages │ ├── options │ │ ├── Token │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── style.ts │ └── popup │ │ └── index.tsx ├── services │ ├── index.ts │ └── useYuqueTokenService.ts ├── store │ └── key.ts ├── theme │ ├── index.less │ ├── override.less │ ├── style │ │ ├── background.less │ │ ├── card.less │ │ ├── index.less │ │ ├── layout.less │ │ ├── search-bar.less │ │ └── text.less │ └── token │ │ ├── base.less │ │ ├── dark-mode.less │ │ ├── index.less │ │ ├── search-bar.less │ │ └── typographic.less └── utils │ ├── activityMap.ts │ ├── env.ts │ ├── getServiceToken.ts │ ├── index.ts │ └── request.ts ├── tailwind.config.js ├── tests └── utils │ ├── dataSource.test.ts │ └── testData.json ├── tsconfig-check.json ├── tsconfig.json └── types ├── SearchBar.d.ts ├── index.d.ts └── yuque ├── Doc.d.ts ├── Group.d.ts ├── Repo.d.ts ├── Resource.d.ts ├── Target.d.ts ├── User.d.ts └── Yueque.d.ts /.changelogrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.changelogrc.js -------------------------------------------------------------------------------- /.commitlintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['gitmoji'], 3 | }; 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require.resolve('@umijs/max/prettier'); 2 | -------------------------------------------------------------------------------- /.releaserc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/.releaserc.js -------------------------------------------------------------------------------- /.stylelintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('@umijs/max/stylelint'); 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- 1 | fixes: 2 | - '/home/runner/work/*/*/::' # 修正 github ci 路径问题 3 | -------------------------------------------------------------------------------- /config/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/config/config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/package.json -------------------------------------------------------------------------------- /public/logo/logo-dev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/public/logo/logo-dev.png -------------------------------------------------------------------------------- /public/logo/logo@128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/public/logo/logo@128.png -------------------------------------------------------------------------------- /public/logo/logo@16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/public/logo/logo@16.png -------------------------------------------------------------------------------- /public/logo/logo@32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/public/logo/logo@32.png -------------------------------------------------------------------------------- /public/logo/logo@48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/public/logo/logo@48.png -------------------------------------------------------------------------------- /scripts/zip.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/scripts/zip.ts -------------------------------------------------------------------------------- /src/background/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/background/index.ts -------------------------------------------------------------------------------- /src/components/ThemeProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/components/ThemeProvider.tsx -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ThemeProvider'; 2 | -------------------------------------------------------------------------------- /src/contentScripts/index.ts: -------------------------------------------------------------------------------- 1 | import './searchBar'; 2 | -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchInput/components/Options/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchInput/components/Options/index.tsx -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchInput/components/Options/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchInput/components/Options/style.ts -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchInput/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchInput/index.tsx -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/AnimatedHeight/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/AnimatedHeight/index.tsx -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/RepoIcon/artboard.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/RepoIcon/artboard.svg -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/RepoIcon/book.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/RepoIcon/book.svg -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/RepoIcon/column.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/RepoIcon/column.svg -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/RepoIcon/design.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/RepoIcon/design.svg -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/RepoIcon/doc.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/RepoIcon/doc.svg -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/RepoIcon/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/RepoIcon/index.tsx -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/RepoIcon/resource.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/RepoIcon/resource.svg -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/RepoIcon/topic.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/RepoIcon/topic.svg -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/index.tsx -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/style.ts -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/SearchResult/useKeyboardResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/SearchResult/useKeyboardResult.ts -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/index.tsx -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/style.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/style.less -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/useCheckTokenValidService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/useCheckTokenValidService.ts -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/useKeyboardService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/useKeyboardService.ts -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/useSearchBarService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/useSearchBarService.ts -------------------------------------------------------------------------------- /src/contentScripts/searchBar/app/useSearchService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/app/useSearchService.ts -------------------------------------------------------------------------------- /src/contentScripts/searchBar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/contentScripts/searchBar/index.tsx -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useDarkTheme'; 2 | -------------------------------------------------------------------------------- /src/hooks/useDarkTheme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/hooks/useDarkTheme.ts -------------------------------------------------------------------------------- /src/hooks/useStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/hooks/useStyles.ts -------------------------------------------------------------------------------- /src/layouts/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/layouts/Layout.tsx -------------------------------------------------------------------------------- /src/pages/options/Token/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/pages/options/Token/index.tsx -------------------------------------------------------------------------------- /src/pages/options/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/pages/options/index.tsx -------------------------------------------------------------------------------- /src/pages/options/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/pages/options/style.ts -------------------------------------------------------------------------------- /src/pages/popup/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/pages/popup/index.tsx -------------------------------------------------------------------------------- /src/services/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useYuqueTokenService'; 2 | -------------------------------------------------------------------------------- /src/services/useYuqueTokenService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/services/useYuqueTokenService.ts -------------------------------------------------------------------------------- /src/store/key.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/store/key.ts -------------------------------------------------------------------------------- /src/theme/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/index.less -------------------------------------------------------------------------------- /src/theme/override.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/override.less -------------------------------------------------------------------------------- /src/theme/style/background.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/style/background.less -------------------------------------------------------------------------------- /src/theme/style/card.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/style/card.less -------------------------------------------------------------------------------- /src/theme/style/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/style/index.less -------------------------------------------------------------------------------- /src/theme/style/layout.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/style/layout.less -------------------------------------------------------------------------------- /src/theme/style/search-bar.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/style/search-bar.less -------------------------------------------------------------------------------- /src/theme/style/text.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/style/text.less -------------------------------------------------------------------------------- /src/theme/token/base.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/token/base.less -------------------------------------------------------------------------------- /src/theme/token/dark-mode.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/token/dark-mode.less -------------------------------------------------------------------------------- /src/theme/token/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/token/index.less -------------------------------------------------------------------------------- /src/theme/token/search-bar.less: -------------------------------------------------------------------------------- 1 | @search-bar-options-tag-bg: hsv(0, 0, 94%); 2 | -------------------------------------------------------------------------------- /src/theme/token/typographic.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/theme/token/typographic.less -------------------------------------------------------------------------------- /src/utils/activityMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/utils/activityMap.ts -------------------------------------------------------------------------------- /src/utils/env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/utils/env.ts -------------------------------------------------------------------------------- /src/utils/getServiceToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/utils/getServiceToken.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/src/utils/request.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tests/utils/dataSource.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/tests/utils/dataSource.test.ts -------------------------------------------------------------------------------- /tests/utils/testData.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/tests/utils/testData.json -------------------------------------------------------------------------------- /tsconfig-check.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/tsconfig-check.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/SearchBar.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/types/SearchBar.d.ts -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /types/yuque/Doc.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/types/yuque/Doc.d.ts -------------------------------------------------------------------------------- /types/yuque/Group.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/types/yuque/Group.d.ts -------------------------------------------------------------------------------- /types/yuque/Repo.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/types/yuque/Repo.d.ts -------------------------------------------------------------------------------- /types/yuque/Resource.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/types/yuque/Resource.d.ts -------------------------------------------------------------------------------- /types/yuque/Target.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/types/yuque/Target.d.ts -------------------------------------------------------------------------------- /types/yuque/User.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/types/yuque/User.d.ts -------------------------------------------------------------------------------- /types/yuque/Yueque.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arvinxx/power-yuque/HEAD/types/yuque/Yueque.d.ts --------------------------------------------------------------------------------