Skip to content

Commit

Permalink
chore(deps-dev): bump the chainfile group across 1 directory with 4 u…
Browse files Browse the repository at this point in the history
…pdates (#99)
  • Loading branch information
dependabot[bot] authored Jun 15, 2024
1 parent 1f1ea70 commit b656f92
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 22 deletions.
37 changes: 22 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions website/components/ChainfileDefinition.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ which will determine how the Chainfile is run.
You may override these values to customize the Chainfile for your specific needs.

{Object.entries(props.schema.values).map(([key, value]) => {
const defaultValue = typeof value === 'string' ? value : value.default;

const defaultValue = typeof value === 'string' ? value : typeof value.default === 'string' ? value.default : null;
const random = typeof value.default === 'object' ? value.default.random : null;
return (

<>
Expand All @@ -17,7 +17,7 @@ return (
{value.description && <p>{value.description}</p>}
{defaultValue && <p>Default: <code>{defaultValue}</code></p>}

{value.random?.type === 'bytes' && <p>Random: <code>randomBytes({value.random.length}).toString({value.random.encoding})</code></p>}
{random && <p>Random: <code>randomBytes({random.bytes}).toString({random.encoding})</code></p>}

</>
)})}
Expand Down
9 changes: 5 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@
"@types/react": "^18.3.3",
"@workspace/eslint-config-next": "workspace:*",
"autoprefixer": "^10.4.19",
"chainfile-bitcoin": "^0.1.0",
"chainfile-defichain": "^0.1.0",
"chainfile-ganache": "^0.1.0",
"chainfile-hardhat": "^0.4.3",
"chainfile-bitcoin": "^0.1.2",
"chainfile-defichain": "^0.1.2",
"chainfile-ganache": "^0.1.1",
"chainfile-hardhat": "^0.4.4",
"chainfile-ord": "^0.1.0",
"chainfile-solana": "^0.2.1",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.4"
Expand Down
8 changes: 8 additions & 0 deletions website/pages/definitions/ord.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import ChainfileDefinition from '@/components/ChainfileDefinition.mdx';
import regtest from 'chainfile-ord/bitcoind-regtest.json';

# Ord

## bitcoind-regtest/regtest.json

<ChainfileDefinition schema={regtest} />

0 comments on commit b656f92

Please sign in to comment.