Skip to content

npmmirror.com 允许开启 unpkg 功能的白名单列表,避免被当作网盘滥用

License

Notifications You must be signed in to change notification settings

lisonge/unpkg-white-list

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unpkg-white-list

NPM version CI

npmmirror.com 允许开启 unpkg 功能的白名单列表,避免 https://x.com/fengmk2/status/1791498406923215020 类似问题

添加白名单方式

1、直接在线修改 package.json 中的 allowPackages 字段, 添加你想开启 unpkg 文件同步的 npm 包名和版本号,全量同步版本号可以设置为 *

以同步 urllib 为示例,配置如下:

"allowPackages": {
  ...
  "urllib": {
    "version": "*"
  }
  ...
}

当然你发布的是 scoped package,可以直接添加 scope 到白名单 allowScopes

"allowScopes": [
  ...
  "@eggjs",
  ...
]

2、修改完成后提交一个 Pull Request 合并到 master 分支,等待 Review,合并后会自动发布,预计最长 5 分钟后会全网生效。

License

MIT

Contributors


semantic-release-bot


fengmk2


ChenYFan


AIsouler


ydfzgyj


jiakun-zhao


BlackHole1


abuits


chilingling


122cygf


zsj9705


lisonge

This project follows the git-contributor spec, auto updated at Mon May 20 2024 13:39:03 GMT+0800.

About

npmmirror.com 允许开启 unpkg 功能的白名单列表,避免被当作网盘滥用

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%