Installations
npm install umi-plugin-gh-pages-test
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
12.18.0
NPM Version
6.14.4
Score
36.9
Supply Chain
76.1
Quality
67
Maintenance
25
Vulnerability
95.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (90.52%)
JavaScript (8.59%)
CSS (0.88%)
Developer
umijs
Download Statistics
Total Downloads
1,553
Last Day
3
Last Week
3
Last Month
15
Last Year
166
GitHub Statistics
16 Stars
24 Commits
2 Forks
5 Watching
1 Branches
6 Contributors
Package Meta Information
Latest Version
1.1.6
Package Id
umi-plugin-gh-pages-test@1.1.6
Unpacked Size
12.78 kB
Size
4.60 kB
File Count
5
NPM Version
6.14.4
Node Version
12.18.0
Total Downloads
Cumulative downloads
Total Downloads
1,553
Last day
0%
3
Compared to previous day
Last week
-72.7%
3
Compared to previous week
Last month
7.1%
15
Compared to previous month
Last year
-36.2%
166
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
4
Peer Dependencies
1
umi-plugin-gh-pages
umi plugin to publish to Github Pages.
Usage
Configure in .umirc.js
,
1export default { 2 ghPages:{ 3 dir:'dist', 4 useCDN: false, 5 getCDNUrl:(gitInfo)=>{return 'url'} 6 ...gh-pages#PublishOptions 7 } 8}
ghPages
dir
exclude dir
(default umi config outputPath
), other options please checkout https://github.com/tschaub/gh-pages#options
useCDN
use CDN in publicPath ,default use jsdelivr - A free CDN for Open Source.
getCDNUrl
Custom CDN url.
Deploy in GitHub pages
config/config.ts
1{ 2 ghPages: { 3 useCDN: true, 4 }, 5}
1umi build
or
1$GH_PAGES_USE_CDN=true umi build
Deploy in vercel (now)
config/config.ts
1{ 2 ghPages: { 3 branch: 'gh-pages', 4 silent: true, 5 repo: `https://${process.env.GH_TOKEN}@github.com/alitajs/alita-docs.git`, 6 }, 7}
set the environment variables in vercel, with Production.
GH_TOKEN=[tokens](
https://github.com/settings/tokens)
GH_PAGES_USE_CDN=true
run the command
1$ umi build
Examples
- https://github.com/sorrycc/test-gh-pages
- https://sorrycc.github.io/test-gh-pages/
- https://github.com/alitajs/alita-docs
LICENSE
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
0 existing vulnerabilities detected
Reason
Found 2/10 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 20 are checked with a SAST tool
Score
3.3
/10
Last Scanned on 2025-01-20
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More