没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
下次更新 测试是否可以在不中断测试的情况下将模块的依赖项更新到较新版本 注意我不再维护Node 0.12 / 4兼容性。 请切换到节点6。 还要签出: 可以更新您的所有存储库 检查您的代码是否会破坏所有依赖它的人。 返回给定NPM软件包或两个标签之间的Github存储库的提交消息。 例 假设您的nodejs模块foo在package.json中列出了以下依赖项 "dependencies": { "lodash": "~1.2.0", "async": "~0.2.5" } 您想将lodash更新并异步更新到最新版本,以确定是否会破坏任何内容。 使用next-update很容易:在模块foo的文件夹中运行命令next-update 。 这是示例输出: next updates: lodash 1.2.1 PASS async 0.2.6 PASS 0.2.7 PASS 0.2.8 PASS package.json文件和node_modules文件夹都保持不变,现在您知道可以安全地将两个库都升级到更高版本了。 它甚至告诉您安装命
资源推荐
资源详情
资源评论
收起资源包目录
next-update-master.zip (90个子文件)
next-update-master
LICENSE-MIT 1KB
circle.yml 218B
.jshintrc 2KB
complexity.json 179B
Gruntfile.js 2KB
src
stats.js 4KB
moduleName.js 534B
module-install.js 2KB
dependencies.js 4KB
npm-test.js 2KB
registry-spec.js 1KB
report-install-command.js 4KB
next-update-as-module.js 736B
report.js 3KB
get-known-dependencies.js 1KB
stats-spec.js 662B
utils.js 2KB
registry.js 9KB
filter-allowed-spec.js 2KB
report-available.js 3KB
cli-options.js 3KB
test
exec-test.coffee 1KB
moduleName.coffee 2KB
report-available.coffee 575B
report-install-command.coffee 3KB
registry.js 5KB
git-url-deps.json 142B
report.coffee 759B
stats.coffee 575B
get-known-dependencies.coffee 892B
local-module-version.coffee 565B
npm-test.coffee 698B
all-local-deps.json 95B
node_modules
sample-module
package.json 55B
print-modules-table.js 1KB
revert.js 871B
next-update.js 6KB
local-module-version.js 569B
test-module-version.js 11KB
filter-allowed-updates.js 4KB
exec-test.js 2KB
examples
qunit
test.js 170B
README.md 97B
.dont-break 13B
.travis.yml 329B
test
scoped-packages-spec.js 1KB
as-parent.coffee 1KB
test-next-updater
__snapshots__
as-parent-spec.js.snap-shot 541B
.npmrc 36B
index.js 175B
package.json 485B
as-parent-spec.js 2KB
e2e.coffee 825B
single-module-check.coffee 355B
test-command-map
lodash-test.js 127B
__snapshots__
command-spec.js.snap-shot 816B
.npmrc 36B
package.json 637B
command-spec.js 2KB
test-scoped-names
.npmrc 36B
index.js 103B
package.json 255B
file-deps-spec.js 803B
revert-spec.js 1KB
test-file-deps
local-dependency
index.js 32B
package.json 230B
.npmrc 36B
index.js 26B
package.json 276B
time-limit-promise.js 871B
README.md 12KB
History.md 1KB
__snapshots__
filter-allowed-spec.js.snap-shot 2KB
stats-spec.js.snap-shot 245B
command-spec.js.snap-shot 794B
registry-spec.js.snap-shot 547B
.npmrc 36B
docs
footer.md 476B
api.md 578B
README.tmpl.md 509B
third-party.md 1KB
badges.md 1KB
dev.md 156B
related.md 216B
use.md 7KB
renovate.json 175B
.gitignore 130B
index.js 205B
bin
next-update.js 2KB
package.json 4KB
共 90 条
- 1
资源评论
ywnwx
- 粉丝: 26
- 资源: 4624
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功