Skip to content

Commit

Permalink
docs: Syntax highlight with jsonc in the README so that GitHub doesn'…
Browse files Browse the repository at this point in the history
…t show it ugly (#95)

* Syntax highlight with jsonc in the README so that GitHub doesn't show it ugly

* chore: apply automated updates

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
steveluscher and autofix-ci[bot] authored Nov 13, 2024
1 parent e08c7e7 commit 35b9b70
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ Template authors can add an init script to the `package.json` file to help set u
Use this script to return instructions to the user, check the `anchor` and `solana` versions, and replace text and files
in the project.

```json
```jsonc
{
"name": "your-template",
"create-solana-dapp": {
// These instructions will be returned to the user after installation
"instructions": [
"Run Anchor commands:",
// Adding a '+' will make the line bold and '{pm}' is replaced with the package manager
"+{pm} run anchor build | test | localnet | deploy"
"+{pm} run anchor build | test | localnet | deploy",
],
// Rename is a map of terms to rename
"rename": {
Expand All @@ -58,15 +58,15 @@ in the project.
// With the name of the project
"to": "{{name}}",
// In the following paths
"paths": ["anchor", "src"]
}
"paths": ["anchor", "src"],
},
},
// Check versions and give a warning if it's not installed or the version is lower
"versions": {
"anchor": "0.30.1",
"solana": "1.18.0"
}
}
"solana": "1.18.0",
},
},
}
```

Expand Down

0 comments on commit 35b9b70

Please sign in to comment.