This repository was archived by the owner on Aug 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 179
spm check #1159
Comments
检查啥? 想了想好想只有 package.json 的 name, version 和 spm 这些属性,代码层面的好像没什么硬性要求。 |
比如 main 是不是存在,是否有 require 而没有配依赖的,跑个基线的测试用例是否成功 exports 了 — On Fri, Jan 16, 2015 at 11:02 PM, chencheng (云谦) notifications@github.com
|
可以先作为独立的 bin 来提供,不要集成进来,感觉只是个非必需的辅助工具。 |
是的 |
不过对外部转进来的包很有用 |
包括可以提前列出要 publish 的包的内容和大小,方便 ignore 。 |
|
|
案例:name 不符合规范。 http://spmjs.io/package/tipper |
name publish 时的大小写校验的最好尽早搞掉。spmjs/spm-client#35 1154 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
提供一个工具可以校验包是否正确
The text was updated successfully, but these errors were encountered: