From bc7a14340277b10b018ba2f58a5c9fca6de8a69a Mon Sep 17 00:00:00 2001 From: kujtimprenkuSQA <95851345+kujtimprenkuSQA@users.noreply.github.com> Date: Wed, 20 Sep 2023 16:42:20 +0200 Subject: [PATCH] fix: Add dependsOn ^deploy for each package (#936) * Remove deploy target from defaultTargets. * Add dependsOn ^deploy for to deploy dependencies first for each package. --- nx.json | 3 --- packages/account-export/project.json | 3 ++- packages/coin98-wallet/project.json | 3 ++- packages/core/project.json | 3 ++- packages/finer-wallet/project.json | 3 ++- packages/here-wallet/project.json | 3 ++- packages/ledger/project.json | 3 ++- packages/math-wallet/project.json | 3 ++- packages/meteor-wallet/project.json | 3 ++- packages/modal-ui-js/project.json | 3 ++- packages/modal-ui/project.json | 3 ++- packages/my-near-wallet/project.json | 3 ++- packages/narwallets/project.json | 3 ++- packages/near-snap/project.json | 3 ++- packages/near-wallet/project.json | 3 ++- packages/nearfi/project.json | 3 ++- packages/neth/project.json | 3 ++- packages/nightly-connect/project.json | 3 ++- packages/nightly/project.json | 3 ++- packages/opto-wallet/project.json | 3 ++- packages/ramper-wallet/project.json | 3 ++- packages/sender/project.json | 3 ++- packages/wallet-connect/project.json | 3 ++- packages/wallet-utils/project.json | 3 ++- packages/welldone-wallet/project.json | 3 ++- packages/xdefi/project.json | 3 ++- 26 files changed, 50 insertions(+), 28 deletions(-) diff --git a/nx.json b/nx.json index a6264874b..5b342c001 100644 --- a/nx.json +++ b/nx.json @@ -27,9 +27,6 @@ }, "test": { "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"] - }, - "deploy": { - "dependsOn": ["^deploy"] } }, "generators": { diff --git a/packages/account-export/project.json b/packages/account-export/project.json index 90357c74a..63d4e6021 100644 --- a/packages/account-export/project.json +++ b/packages/account-export/project.json @@ -46,7 +46,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] }, "test": { "executor": "@nx/jest:jest", diff --git a/packages/coin98-wallet/project.json b/packages/coin98-wallet/project.json index e2fe7160e..93b47c735 100644 --- a/packages/coin98-wallet/project.json +++ b/packages/coin98-wallet/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": [] diff --git a/packages/core/project.json b/packages/core/project.json index a2a6a9867..ca0aea2c3 100644 --- a/packages/core/project.json +++ b/packages/core/project.json @@ -63,7 +63,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": [] diff --git a/packages/finer-wallet/project.json b/packages/finer-wallet/project.json index 605fad3e2..8b0154e5c 100644 --- a/packages/finer-wallet/project.json +++ b/packages/finer-wallet/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["browser-wallet"] diff --git a/packages/here-wallet/project.json b/packages/here-wallet/project.json index 2b3478956..a0fd86432 100644 --- a/packages/here-wallet/project.json +++ b/packages/here-wallet/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["browser-wallet"] diff --git a/packages/ledger/project.json b/packages/ledger/project.json index e77531f73..1916dcc6a 100644 --- a/packages/ledger/project.json +++ b/packages/ledger/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["hardware-wallet"] diff --git a/packages/math-wallet/project.json b/packages/math-wallet/project.json index 9eca0270f..e771c2667 100644 --- a/packages/math-wallet/project.json +++ b/packages/math-wallet/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"] diff --git a/packages/meteor-wallet/project.json b/packages/meteor-wallet/project.json index 7ead1ba94..ecae24ad3 100644 --- a/packages/meteor-wallet/project.json +++ b/packages/meteor-wallet/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"] diff --git a/packages/modal-ui-js/project.json b/packages/modal-ui-js/project.json index cfd746694..eef7fb3be 100644 --- a/packages/modal-ui-js/project.json +++ b/packages/modal-ui-js/project.json @@ -59,7 +59,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": [] diff --git a/packages/modal-ui/project.json b/packages/modal-ui/project.json index 14b14e1da..e113e0af4 100644 --- a/packages/modal-ui/project.json +++ b/packages/modal-ui/project.json @@ -68,7 +68,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": [] diff --git a/packages/my-near-wallet/project.json b/packages/my-near-wallet/project.json index 282b8263a..563dc4869 100644 --- a/packages/my-near-wallet/project.json +++ b/packages/my-near-wallet/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["browser-wallet"] diff --git a/packages/narwallets/project.json b/packages/narwallets/project.json index 7b04e632b..584a00ac4 100644 --- a/packages/narwallets/project.json +++ b/packages/narwallets/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"] diff --git a/packages/near-snap/project.json b/packages/near-snap/project.json index 75789f622..d62d53fb1 100644 --- a/packages/near-snap/project.json +++ b/packages/near-snap/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"] diff --git a/packages/near-wallet/project.json b/packages/near-wallet/project.json index 71d719c96..84eacf628 100644 --- a/packages/near-wallet/project.json +++ b/packages/near-wallet/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["browser-wallet"] diff --git a/packages/nearfi/project.json b/packages/nearfi/project.json index e6c33b412..d61ae4cd8 100644 --- a/packages/nearfi/project.json +++ b/packages/nearfi/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"] diff --git a/packages/neth/project.json b/packages/neth/project.json index 93c044bc5..74d643dde 100644 --- a/packages/neth/project.json +++ b/packages/neth/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"] diff --git a/packages/nightly-connect/project.json b/packages/nightly-connect/project.json index 313610074..aa90d64ea 100644 --- a/packages/nightly-connect/project.json +++ b/packages/nightly-connect/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["bridge-wallet"] diff --git a/packages/nightly/project.json b/packages/nightly/project.json index 8a95073df..b66d7aca6 100644 --- a/packages/nightly/project.json +++ b/packages/nightly/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"] diff --git a/packages/opto-wallet/project.json b/packages/opto-wallet/project.json index be4c0d2fa..61489a20d 100644 --- a/packages/opto-wallet/project.json +++ b/packages/opto-wallet/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["browser-wallet"] diff --git a/packages/ramper-wallet/project.json b/packages/ramper-wallet/project.json index 50cc49e7c..389c55a10 100644 --- a/packages/ramper-wallet/project.json +++ b/packages/ramper-wallet/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"] diff --git a/packages/sender/project.json b/packages/sender/project.json index 63670b308..51e2b729c 100644 --- a/packages/sender/project.json +++ b/packages/sender/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"] diff --git a/packages/wallet-connect/project.json b/packages/wallet-connect/project.json index d66a4387a..dc67f04b8 100644 --- a/packages/wallet-connect/project.json +++ b/packages/wallet-connect/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["bridge-wallet"] diff --git a/packages/wallet-utils/project.json b/packages/wallet-utils/project.json index 4d4eba324..8387d57d1 100644 --- a/packages/wallet-utils/project.json +++ b/packages/wallet-utils/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": [] diff --git a/packages/welldone-wallet/project.json b/packages/welldone-wallet/project.json index ce4674836..40e2a629e 100644 --- a/packages/welldone-wallet/project.json +++ b/packages/welldone-wallet/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"] diff --git a/packages/xdefi/project.json b/packages/xdefi/project.json index 9216eafb5..f9f12b085 100644 --- a/packages/xdefi/project.json +++ b/packages/xdefi/project.json @@ -48,7 +48,8 @@ "executor": "ngx-deploy-npm:deploy", "options": { "access": "public" - } + }, + "dependsOn": ["^deploy"] } }, "tags": ["injected-wallet"]