Skip to content

Commit

Permalink
feat: 🎸 token contract paired root bucket (pre-release) (#42)
Browse files Browse the repository at this point in the history
* refactor: 💡 renamed field as cap root (#32)

* chore: 🤖 checkout CAP and CAP-JS to latest commits

* chore: 🤖 add development dashboard dev and prod scripts (#33)

* chore: 🤖 add pkg json development dashboard dev and prod; also docs

* chore: 🤖 use latest dab-js

* chore: 🤖 set latest cap-js commit

* feat: 🎸 token contracts paired roots on overview (#34)

* chore: 🤖 token contract paired roots mock

* chore: 🤖 token contract to root mapping (WIP)

* refactor: 💡 root paired token contract handling and mapping

* test: 💍 amend utils account tests

* chore: 🤖 set lerna stream output flag

* chore: 🤖 moves to generate principal id dependencies scope (#36)

* fix: 🐛 lerna bootstrap prod dependencies (#38)

* chore: 🤖 moves to generate principal id dependencies scope

* chore: 🤖 --stream lerna, to debug, trace fleek.co stuck on build prod

* chore: 🤖 move from devdepencies

* chore: 🤖 lock files

* fix: 🐛 workspace package.json to avoid conflict with main branch version

* refactor: 💡 move typescript global install from cloud runner to local script

* chore: 🤖 put back scripts dashboard-prod

* refactor: 💡 dab metadata (pre-release) (#40)

* refactor: 💡 dab metadata for overview table

* chore: 🤖 show dab metadata in transactions page
  • Loading branch information
heldrida authored Nov 15, 2021
1 parent b6bdb2a commit 323af40
Show file tree
Hide file tree
Showing 18 changed files with 50,271 additions and 183 deletions.
3 changes: 2 additions & 1 deletion .scripts/cloud-build-dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ source "${BASH_SOURCE%/*}/utils.sh"

verifyDependency PAT

npm install -g typescript
npm install -g lerna

npm set //npm.pkg.github.com/:_authToken "$PAT"
Expand All @@ -17,7 +18,7 @@ lerna bootstrap
# the generate random principal source code lives
# in the cap-explorer project at the moment
# so we are interested in building it before usage
lerna run build --scope=@psychedelic/generate-random-principal
lerna run build --stream --scope=@psychedelic/generate-random-principal

if [[ "$NODE_ENV" == "production" ]]; then
yarn build:production
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,16 @@ lerna bootstrap
To launch the main `Dashboard` UI development is quite simple:

```sh
yarn dev:dashboard
yarn dev:dashboard-dev
```

Although, for local development the `CAP Service` is required, unless running in E2E environment, which skips the Service by providing mock data.
Although, for local development the `CAP Service` is required, unless running in MOCKUP environment, which skips the Service by providing mock data.

Optionally, you might want to dev with mainnet data:

```sh
yarn dev:dashboard-prod
```

### The CAP Service

Expand Down
2 changes: 1 addition & 1 deletion cap
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
]
},
"scripts": {
"build:production": "lerna run --scope dashboard build:production",
"build:production": "lerna run --stream --scope dashboard build:production",
"build:staging": "lerna run --scope dashboard build:staging",
"build:local": "lerna run --scope dashboard build:local",
"dev:dashboard": "lerna run --scope dashboard start",
"dev:dashboard-dev": "lerna run --stream --scope dashboard dev:development",
"dev:dashboard-prod": "lerna run --stream --scope dashboard dev:production",
"test:dashboard-unit": "lerna run --scope dashboard test:unit",
"cap:init": "git submodule update --init --recursive",
"cap:update": "git submodule update --remote --merge",
Expand Down
2 changes: 1 addition & 1 deletion packages/cap-js
Submodule cap-js updated 0 files
Loading

0 comments on commit 323af40

Please sign in to comment.