Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Update 2015-02-15-npm-weekly-5.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Feb 15, 2015
1 parent a7d1e7b commit 7472574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/_posts/2015-02-15-npm-weekly-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ categories: npm 週報

我們將會在 npm@3 的時候移除 `engineStrict` 這個 package.json 設定,所以你在 npm@2.6.0 之後就會看到關於這個變更的警告訊息。你仍然可以在你的 .npmrc 中設定 engine,因為在套件中設定 engine 的限制從來就沒有正常的運行,所以我們決定把它移除。

我們也會在 npm@3 改變 peerDependencies 的行為。我們將不再自動下載 peer dependency,取而代之的是,我會將會顯示警告訊息提醒你 peer dependency 沒有被安裝。所以你必須要自行處理 peerDependencies 的衝突,從長遠來看,這個改變將會減少套件相依性造成的棘手問題。
我們也會在 npm@3 改變 peerDependencies 的行為。我們將不再自動下載 peer dependency,取而代之的是,顯示警告訊息提醒你 peer dependency 沒有被安裝。所以你必須要自行處理 peerDependencies 的衝突,從長遠來看,這個改變將會減少套件相依性造成的棘手問題。

### npm@3 將會有什麼新改變

Expand Down

0 comments on commit 7472574

Please sign in to comment.