Knowledge Base Display

آپدیت dependency های پروژه

جهت آپدیت تمامی dependency  های موجود در فایل package.json به صورت زیر عمل کنید

PS C:\Liferay7\commerce-theme-sain\commerce-theme-sain-impl> npm install -g npm-check-updates
C:\Program Files (x86)\Nodist\bin\npm-check-updates -> C:\Program Files (x86)\Nodist\bin\node_modules\npm-check-updates\bin\npm-check-updates
C:\Program Files (x86)\Nodist\bin\ncu -> C:\Program Files (x86)\Nodist\bin\node_modules\npm-check-updates\bin\ncu
+ npm-check-updates@3.1.9
added 154 packages from 80 contributors in 13.98s
PS C:\Liferay7\commerce-theme-sain\commerce-theme-sain-impl> ncu
Checking C:\Liferay7\commerce-theme-sain\commerce-theme-sain-impl\package.json
[====================] 18/18 100%

 clay                                     ^2.4.1  →  ^2.14.2
 clay-icon                                ^2.2.0  →  ^2.14.2
 clay-modal                               ^2.5.0  →  ^2.14.2
 clay-pagination-bar                      ^2.4.1  →  ^2.14.2
 clay-table                               ^2.4.1  →  ^2.14.2
 metal                                   ^2.13.2  →  ^2.16.8
 metal-component                         ^2.13.2  →  ^2.16.8
 metal-debounce                           ^2.0.0  →   ^2.0.1
 metal-soy                               ^2.13.2  →  ^2.16.8
 metal-state                             ^2.13.2  →  ^2.16.8
 check-source-formatting                  ^2.0.6  →  ^2.0.14
 liferay-npm-bundler                      ^2.5.1  →   ^2.6.2
 liferay-npm-bundler-preset-liferay-dev   ^1.1.0  →   ^1.1.7
 rimraf                                   ^2.6.2  →   ^2.6.3

Run ncu -u to upgrade package.json
PS C:\Liferay7\commerce-theme-sain\commerce-theme-sain-impl> ncu -u
Upgrading C:\Liferay7\commerce-theme-sain\commerce-theme-sain-impl\package.json
[====================] 18/18 100%

 clay                                     ^2.4.1  →  ^2.14.2
 clay-icon                                ^2.2.0  →  ^2.14.2
 clay-modal                               ^2.5.0  →  ^2.14.2
 clay-pagination-bar                      ^2.4.1  →  ^2.14.2
 clay-table                               ^2.4.1  →  ^2.14.2
 metal                                   ^2.13.2  →  ^2.16.8
 metal-component                         ^2.13.2  →  ^2.16.8
 metal-debounce                           ^2.0.0  →   ^2.0.1
 metal-soy                               ^2.13.2  →  ^2.16.8
 metal-state                             ^2.13.2  →  ^2.16.8
 check-source-formatting                  ^2.0.6  →  ^2.0.14
 liferay-npm-bundler                      ^2.5.1  →   ^2.6.2
 liferay-npm-bundler-preset-liferay-dev   ^1.1.0  →   ^1.1.7
 rimraf                                   ^2.6.2  →   ^2.6.3

Run npm install to install new versions.

PS C:\Liferay7\commerce-theme-sain\commerce-theme-sain-impl>
 

 

 

00
قبلی