From 6c6ec3c0a84b466185e8e512c92068b9b924277e Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 1 Oct 2026 20:29:30 +0000 Subject: [PATCH] fix(examples): regenerate stale index.js for core/create-asset and fungibles/create The Examples drift check has failed on main since #542. The CLI source files for these two examples were updated without regenerating their generated index.js, so CI's build-examples run produces a diff. Ran node scripts/build-examples.js; only these two files change. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01NNz9JwDB9mhCzMU4Xbs45F --- src/examples/core/create-asset/index.js | 2 +- src/examples/token-metadata/fungibles/create/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/examples/core/create-asset/index.js b/src/examples/core/create-asset/index.js index 2402b9244..688fe5862 100644 --- a/src/examples/core/create-asset/index.js +++ b/src/examples/core/create-asset/index.js @@ -36,7 +36,7 @@ const cliSections = { "setup": "", "main": "", "output": "", - "full": "# Create an NFT using the Metaplex CLI\n\n# Interactive wizard mode (recommended)\nmplx core asset create --wizard\n\n# Simple creation with name and URI\nmplx core asset create --name \"My NFT\" --uri \"https://example.com/metadata.json\"\n\n# Create with files (image + metadata)\nmplx core asset create --files --image \"./my-nft.png\" --json \"./metadata.json\"\n" + "full": "# Create an NFT using the Metaplex CLI\n\n# Interactive wizard mode (recommended)\nmplx core asset create --wizard\n\n# Simple creation with name and URI\nmplx core asset create --name \"My NFT\" --uri \"https://example.com/metadata.json\"\n\n# Create with files (image + metadata)\nmplx core asset create --files --image \"./my-nft.png\" --offchain \"./metadata.json\"\n\n# Create with a vanity asset address\nmplx core asset create \\\n --name \"My NFT\" \\\n --uri \"https://example.com/metadata.json\" \\\n --mint-keypair ./vanity-asset.json\n" } export const metadata = { diff --git a/src/examples/token-metadata/fungibles/create/index.js b/src/examples/token-metadata/fungibles/create/index.js index 668f98413..8599a501c 100644 --- a/src/examples/token-metadata/fungibles/create/index.js +++ b/src/examples/token-metadata/fungibles/create/index.js @@ -36,7 +36,7 @@ const cliSections = { "setup": "", "main": "", "output": "", - "full": "# Create a Fungible Token using the Metaplex CLI\n\n# Interactive wizard mode (recommended for beginners)\nmplx toolbox token create --wizard\n\n# Basic token creation (required: --name, --symbol, --mint-amount)\nmplx toolbox token create \\\n --name \"My Token\" \\\n --symbol \"MYT\" \\\n --mint-amount 1000000\n\n# Full token creation with all options\nmplx toolbox token create \\\n --name \"My Token\" \\\n --symbol \"MYT\" \\\n --description \"A fungible token on Solana\" \\\n --image ./token-image.png \\\n --decimals 9 \\\n --mint-amount 1000000000000000\n\n# Note: mint-amount is in smallest units\n# With --decimals 9, to mint 1,000,000 tokens: --mint-amount 1000000000000000\n# With --decimals 0 (default), to mint 1,000,000 tokens: --mint-amount 1000000\n" + "full": "# Create a Fungible Token using the Metaplex CLI\n\n# Interactive wizard mode (recommended for beginners)\nmplx toolbox token create --wizard\n\n# Basic token creation (required: --name, --symbol, --mint-amount)\nmplx toolbox token create \\\n --name \"My Token\" \\\n --symbol \"MYT\" \\\n --mint-amount 1000000\n\n# Full token creation with all options\nmplx toolbox token create \\\n --name \"My Token\" \\\n --symbol \"MYT\" \\\n --description \"A fungible token on Solana\" \\\n --image ./token-image.png \\\n --decimals 9 \\\n --mint-amount 1000000000000000\n\n# Create with a vanity mint address\nmplx toolbox token create \\\n --name \"Cool Token\" \\\n --symbol \"COOL\" \\\n --mint-amount 1000000 \\\n --mint-keypair ./vanity-mint.json\n\n# Note: mint-amount is in smallest units\n# With --decimals 9, to mint 1,000,000 tokens: --mint-amount 1000000000000000\n# With --decimals 0 (default), to mint 1,000,000 tokens: --mint-amount 1000000\n" } export const metadata = {