Skip to content

Commit

Permalink
linting and yarn v3 migration update
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Jan 25, 2022
1 parent bc982ec commit 8add9d8
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 14 deletions.
2 changes: 2 additions & 0 deletions docs/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ yarn build
cd your_project
# or start new project with algob init
yarn link ~/path/to/algo-builder/packages/algob
yarn link ~/path/to/algo-builder/packages/web
yarn link ~/path/to/algo-builder/packages/runtime
```

#### Setting up the system $PATH
Expand Down
32 changes: 20 additions & 12 deletions examples/algob.config-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,40 @@ let accounts = mkAccounts([
addr: "WWYNX3TKQYVEREVSW6QQP3SXSFOCE3SKUSEIVJ7YAGUPEACNI5UGI4DZCE",
// To export a mnemonic you may use the following command:
// goal account export -a "your_account_address" -d $ALGORAND_DATA
mnemonic: "enforce drive foster uniform cradle tired win arrow wasp melt cattle chronic sport dinosaur announce shell correct shed amused dismiss mother jazz task above hospital"
mnemonic:
"enforce drive foster uniform cradle tired win arrow wasp melt cattle chronic sport dinosaur announce shell correct shed amused dismiss mother jazz task above hospital",
},
// Following accounts are generated using `algob gen-accounts`.
{
name: "elon-musk",
addr: "WHVQXVVCQAD7WX3HHFKNVUL3MOANX3BYXXMEEJEJWOZNRXJNTN7LTNPSTY",
mnemonic: "resist derive table space jealous person pink ankle hint venture manual spawn move harbor flip cigar copy throw swap night series hybrid chest absent art"
}, {
mnemonic:
"resist derive table space jealous person pink ankle hint venture manual spawn move harbor flip cigar copy throw swap night series hybrid chest absent art",
},
{
name: "john",
addr: "2UBZKFR6RCZL7R24ZG327VKPTPJUPFM6WTG7PJG2ZJLU234F5RGXFLTAKA",
mnemonic: "found empower message suit siege arrive dad reform museum cake evoke broom comfort fluid flower wheat gasp baby auction tuna sick case camera about flip"
}, {
mnemonic:
"found empower message suit siege arrive dad reform museum cake evoke broom comfort fluid flower wheat gasp baby auction tuna sick case camera about flip",
},
{
name: "alice",
addr: "EDXG4GGBEHFLNX6A7FGT3F6Z3TQGIU6WVVJNOXGYLVNTLWDOCEJJ35LWJY",
mnemonic: "brand globe reason guess allow wear roof leisure season coin own pen duck worth virus silk jazz pitch behave jazz leisure pave unveil absorb kick"
}, {
mnemonic:
"brand globe reason guess allow wear roof leisure season coin own pen duck worth virus silk jazz pitch behave jazz leisure pave unveil absorb kick",
},
{
name: "bob",
addr: "2ILRL5YU3FZ4JDQZQVXEZUYKEWF7IEIGRRCPCMI36VKSGDMAS6FHSBXZDQ",
mnemonic: "caution fuel omit buzz six unique method kiwi twist afraid monitor song leader mask bachelor siege what shiver fringe else mass hero deposit absorb tooth"
}
mnemonic:
"caution fuel omit buzz six unique method kiwi twist afraid monitor song leader mask bachelor siege what shiver fringe else mass hero deposit absorb tooth",
},
]);

const indexerCfg = {
host: "http://localhost",
port: 8980,
token: ""
token: "",
};

let defaultCfg = {
Expand All @@ -61,6 +69,6 @@ let defaultCfg = {

module.exports = {
networks: {
default: defaultCfg
}
default: defaultCfg,
},
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"engines": {
"node": ">=14.11.0",
"yarn": ">=1.22.4"
"yarn": ">=3.1.0"
},
"scripts": {
"cleanup": "./cleanup.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/algob/sample-project/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"license": "MIT",
"devDependencies": {
"mocha": "^9.1.3"
"mocha": "^9.2.0"
},
"scripts": {
"algob": "algob"
Expand Down

0 comments on commit 8add9d8

Please sign in to comment.