From 923cd6fe2fa5bde07a240bae1de91745ded3d7d7 Mon Sep 17 00:00:00 2001 From: Amadou Ada DIENE Date: Fri, 6 Aug 2021 11:37:36 +0200 Subject: [PATCH] docs: improving README regarding how to update deps --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 714fc83..6a4c7a6 100644 --- a/README.md +++ b/README.md @@ -99,13 +99,37 @@ This project architecture is based on [npm workspaces](https://docs.npmjs.com/cl - shared-lib `npm install --save -w shared-lib` +### Listing outdated dependencies + +- electron-app + `npm run outdated-deps:electron-app` +- angular-app + `npm run outdated-deps:angular-app` +- shared-lib + `npm run outdated-deps:shared-lib` +- all of them + `npm run outdated-deps` + +### Updating dependencies + +- electron-app + `npm run update-deps:electron-app` +- angular-app + `npm run update-deps:angular-app` +- shared-lib + `npm run update-deps:shared-lib` +- all of them + `npm run update-deps` + +**NB**: Be sure your `electron` and `spectron` dependencies are matching according to this [version mapping table](https://github.com/electron-userland/spectron#version-map). + ### Customizing app icons ```bash # Install the icon generator globally npm i -g electron-icon-maker -# Run following command from anywhere you have your input file (1024px à least) to generate platforms icons +# Run following command from anywhere you have your input file (1024px at least) to generate platforms icons electron-icon-maker --input=icon.png --output=./out ```