Skip to content

Commit

Permalink
Fix README graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Gudahtt committed Jun 24, 2024
1 parent b8e6b4e commit 2225395
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This repository contains the following packages [^fn1]:

<!-- start package list -->

- [`@metamask/accounts-controller`](packages/accounts-controller)
- [`@metamask/address-book-controller`](packages/address-book-controller)
- [`@metamask/announcement-controller`](packages/announcement-controller)
- [`@metamask/approval-controller`](packages/approval-controller)
Expand Down Expand Up @@ -53,6 +54,7 @@ Or, in graph form [^fn1]:
%%{ init: { 'flowchart': { 'curve': 'bumpX' } } }%%
graph LR;
linkStyle default opacity:0.5
accounts_controller(["@metamask/accounts-controller"]);
address_book_controller(["@metamask/address-book-controller"]);
announcement_controller(["@metamask/announcement-controller"]);
approval_controller(["@metamask/approval-controller"]);
Expand Down Expand Up @@ -87,6 +89,8 @@ linkStyle default opacity:0.5
transaction_controller(["@metamask/transaction-controller"]);
user_operation_controller(["@metamask/user-operation-controller"]);
wallet_framework(["@metamask/wallet-framework"]);
accounts_controller --> base_controller;
accounts_controller --> keyring_controller;
address_book_controller --> base_controller;
address_book_controller --> controller_utils;
announcement_controller --> base_controller;
Expand Down
5 changes: 1 addition & 4 deletions scripts/update-readme-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ async function retrieveWorkspaces(): Promise<Workspace[]> {
'--verbose',
]);

return stdout
.split('\n')
.map((line) => JSON.parse(line))
.slice(1);
return stdout.split('\n').map((line) => JSON.parse(line));
}

/**
Expand Down

0 comments on commit 2225395

Please sign in to comment.