From 0911e76e19e26145e486eee4abe7016375012f90 Mon Sep 17 00:00:00 2001 From: Bala Date: Tue, 17 May 2022 17:48:31 +0800 Subject: [PATCH 1/4] log npm version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4d46d155a19f..08823fa26f61 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "stylelint-webpack-plugin": "^2.1.1" }, "scripts": { - "bootstrap": "f () { npm ci && lerna link && lerna bootstrap --ci --hoist --strict && lerna link && npm run build:travis ;}; f", + "bootstrap": "f () { npm -v && npm ci && lerna link && lerna bootstrap --ci --hoist --strict && lerna link && npm run build:travis ;}; f", "build": "f () { lerna exec --scope=@deriv/${1:-'*'} -- npm run build $2 ;}; f", "build:publish": "f () { lerna exec --scope=@deriv/${1:-'*'} -- npm run build:publish $2 ;}; f", "build:local": "f () { lerna exec --scope @deriv/trader --scope @deriv/bot-web-ui --parallel -- npm run build $1 ;}; f", From 2f73cb9c93146eac02b6383b39da8fe3f335eec0 Mon Sep 17 00:00:00 2001 From: Bala Date: Wed, 18 May 2022 10:10:58 +0800 Subject: [PATCH 2/4] replace github with https --- package.json | 2 +- packages/account/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 08823fa26f61..4d46d155a19f 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "stylelint-webpack-plugin": "^2.1.1" }, "scripts": { - "bootstrap": "f () { npm -v && npm ci && lerna link && lerna bootstrap --ci --hoist --strict && lerna link && npm run build:travis ;}; f", + "bootstrap": "f () { npm ci && lerna link && lerna bootstrap --ci --hoist --strict && lerna link && npm run build:travis ;}; f", "build": "f () { lerna exec --scope=@deriv/${1:-'*'} -- npm run build $2 ;}; f", "build:publish": "f () { lerna exec --scope=@deriv/${1:-'*'} -- npm run build:publish $2 ;}; f", "build:local": "f () { lerna exec --scope @deriv/trader --scope @deriv/bot-web-ui --parallel -- npm run build $1 ;}; f", diff --git a/packages/account/package.json b/packages/account/package.json index 372ea891b947..f6002d25582c 100644 --- a/packages/account/package.json +++ b/packages/account/package.json @@ -27,7 +27,7 @@ "deploy:production": "echo \"No deploy:production specified\"" }, "dependencies": { - "@binary-com/binary-document-uploader": "github:binary-com/binary-document-uploader", + "@binary-com/binary-document-uploader": "https://github.com/binary-com/binary-document-uploader", "@deriv/components": "^1.0.0", "@deriv/shared": "^1.0.0", "@deriv/translations": "^1.0.0", From 4dfd8dc8c9b8757efabe4a03b4c8929aa6694e04 Mon Sep 17 00:00:00 2001 From: Bala Date: Wed, 18 May 2022 10:34:46 +0800 Subject: [PATCH 3/4] remove bootstrap timeout --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f8d11743bd53..9db6bbf5616d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,7 +44,6 @@ commands: - node-v{{ .Environment.CACHE_VERSION }}-{{ checksum "CACHE_KEY1" }} - run: name: "Install npm packages" - no_output_timeout: 30m command: | npm run bootstrap # if [ -d "./node_modules" ]; then From b976329aaab3ee221420c0fe69b4d8802f311aa3 Mon Sep 17 00:00:00 2001 From: Bala Date: Wed, 18 May 2022 14:10:26 +0800 Subject: [PATCH 4/4] update with npm package --- packages/account/package.json | 2 +- packages/core/package-lock.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/account/package.json b/packages/account/package.json index f6002d25582c..717f9104b244 100644 --- a/packages/account/package.json +++ b/packages/account/package.json @@ -27,7 +27,7 @@ "deploy:production": "echo \"No deploy:production specified\"" }, "dependencies": { - "@binary-com/binary-document-uploader": "https://github.com/binary-com/binary-document-uploader", + "@binary-com/binary-document-uploader": "^2.4.6", "@deriv/components": "^1.0.0", "@deriv/shared": "^1.0.0", "@deriv/translations": "^1.0.0", diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 7a3405ac068e..b52ac9a10d73 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -120,7 +120,7 @@ "version": "1.0.0", "license": "Apache-2.0", "dependencies": { - "@binary-com/binary-document-uploader": "github:binary-com/binary-document-uploader", + "@binary-com/binary-document-uploader": "^2.4.6", "@deriv/components": "^1.0.0", "@deriv/shared": "^1.0.0", "@deriv/translations": "^1.0.0", @@ -23722,7 +23722,7 @@ "@deriv/account": { "version": "file:../account", "requires": { - "@binary-com/binary-document-uploader": "github:binary-com/binary-document-uploader", + "@binary-com/binary-document-uploader": "^2.4.6", "@deriv/components": "^1.0.0", "@deriv/shared": "^1.0.0", "@deriv/translations": "^1.0.0", @@ -23927,7 +23927,7 @@ "@deriv/account": { "version": "file:../account", "requires": { - "@binary-com/binary-document-uploader": "github:binary-com/binary-document-uploader", + "@binary-com/binary-document-uploader": "^2.4.6", "@deriv/components": "^1.0.0", "@deriv/shared": "^1.0.0", "@deriv/translations": "^1.0.0", @@ -24270,7 +24270,7 @@ "@deriv/account": { "version": "file:../account", "requires": { - "@binary-com/binary-document-uploader": "github:binary-com/binary-document-uploader", + "@binary-com/binary-document-uploader": "^2.4.6", "@deriv/components": "^1.0.0", "@deriv/shared": "^1.0.0", "@deriv/translations": "^1.0.0", @@ -25508,7 +25508,7 @@ "@deriv/account": { "version": "file:../account", "requires": { - "@binary-com/binary-document-uploader": "github:binary-com/binary-document-uploader", + "@binary-com/binary-document-uploader": "^2.4.6", "@deriv/components": "^1.0.0", "@deriv/shared": "^1.0.0", "@deriv/translations": "^1.0.0",