Skip to content

Commit

Permalink
fix: Add dependsOn ^deploy for each package (#936)
Browse files Browse the repository at this point in the history
* Remove deploy target from defaultTargets.

* Add dependsOn ^deploy for to deploy dependencies first for each package.
  • Loading branch information
kujtimprenkuSQA authored Sep 20, 2023
1 parent ecc966f commit bc7a143
Show file tree
Hide file tree
Showing 26 changed files with 50 additions and 28 deletions.
3 changes: 0 additions & 3 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
},
"test": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
},
"deploy": {
"dependsOn": ["^deploy"]
}
},
"generators": {
Expand Down
3 changes: 2 additions & 1 deletion packages/account-export/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
3 changes: 2 additions & 1 deletion packages/coin98-wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": []
Expand Down
3 changes: 2 additions & 1 deletion packages/core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": []
Expand Down
3 changes: 2 additions & 1 deletion packages/finer-wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["browser-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/here-wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["browser-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/ledger/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["hardware-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/math-wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/meteor-wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/modal-ui-js/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": []
Expand Down
3 changes: 2 additions & 1 deletion packages/modal-ui/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": []
Expand Down
3 changes: 2 additions & 1 deletion packages/my-near-wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["browser-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/narwallets/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/near-snap/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/near-wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["browser-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/nearfi/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/neth/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/nightly-connect/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["bridge-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/nightly/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/opto-wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["browser-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/ramper-wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/sender/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/wallet-connect/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["bridge-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/wallet-utils/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": []
Expand Down
3 changes: 2 additions & 1 deletion packages/welldone-wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down
3 changes: 2 additions & 1 deletion packages/xdefi/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"dependsOn": ["^deploy"]
}
},
"tags": ["injected-wallet"]
Expand Down

0 comments on commit bc7a143

Please sign in to comment.