cnpmcore icon indicating copy to clipboard operation
cnpmcore copied to clipboard

Private NPM Registry for Enterprise

Results 82 cnpmcore issues
Sort by recently updated
recently updated
newest added

impl idempotent save for task Refs: - https://github.com/cnpm/cnpmcore/issues/282

1. 初始化 Registry 和 Scope 模型及接口 2. Registry 和 Scope 为一等公民,单独用接口来处理增啥改查和关联关系信息 3. 仅管理员可作修改,所有人可以进行查询 4. Registry 查询 VO 模型内,返回 scopes 信息 5. 新增 @Middleware AdminAccess 中间件处理管理员鉴权

Refs: - https://github.com/cnpm/cnpmcore/issues/282 - https://github.com/npm/registry/blob/master/docs/hooks/endpoints.md

# api 文档 https://github.com/npm/registry/blob/master/docs/hooks/endpoints.md # hooks 流程 ```mermaid graph TD; change[触发变更记录]--> create_hook_task[创建 hooks 执行任务]; create_hook_task --> scope_hooks[按照 scope 遍历订阅记录]; scope_hooks --> create_push_task[创建 hooks 推送任务]; create_hook_task --> name_hooks[按照 name 遍历订阅记录]; name_hooks...

enhancement

添加`syncMode: exist`的支持,参考:https://github.com/cnpm/cnpmjs.org/blob/master/sync/sync_exist.js 的实现,定时自动同步所有存量的包,默认值为每周日凌晨1点整开始同步 注意事项:建议企业内部使用时,关闭 `enableChangesStream`,同时也关闭 `enableCheckRecentlyUpdated`。手工同步一些常见的包后,再启用 `syncMode: exist`,这样包的数量可控,也能保障包的状态是最新的

这个版本是7月18号发布的 官方地址:https://prisma-builds.s3-eu-west-1.amazonaws.com/?delimiter=/&prefix=all_commits/8d8414deb360336e4698a65aa45a1fbaf1ce13d8/ Mirror对应地址为空:https://registry.npmmirror.com/binary.html?path=prisma/all_commits/8d8414deb360336e4698a65aa45a1fbaf1ce13d8/ 另外4.0版本da41d2bb3406da22087b849f0e911199ba4fbf11也没有同步过来看上去 同步每一个commit感觉数据量太高,也没必要,最好是只同步Prisma发布版本的commit ![image](https://user-images.githubusercontent.com/1321817/180629843-4bfd2ec5-5140-433a-a115-769f3f917320.png) 这个不知道能不能做到

[WebAuthn](https://webauthn.guide/)