Skip to content

Commit 44e7674

Browse files
committed
Add code from Vixen renderer
1 parent caff186 commit 44e7674

File tree

285 files changed

+73177
-6936
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

285 files changed

+73177
-6936
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
33
"changelog": [
44
"@changesets/changelog-github",
5-
{ "repo": "codama-idl/renderers-demo" }
5+
{ "repo": "codama-idl/renderers-vixen-parser" }
66
],
77
"commit": false,
88
"access": "public",

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ env:
99
# Among other things, opts out of Turborepo telemetry. See https://consoledonottrack.com/.
1010
DO_NOT_TRACK: '1'
1111
NODE_VERSION: 20
12+
SOLANA_VERSION: 2.1.9
1213

1314
jobs:
1415
lint:
@@ -43,6 +44,11 @@ jobs:
4344
- name: Git checkout
4445
uses: actions/checkout@v4
4546

47+
- name: Install Solana ${{ env.SOLANA_VERSION }}
48+
uses: solana-program/actions/install-solana@v1
49+
with:
50+
version: ${{ env.SOLANA_VERSION }}
51+
4652
- name: Install pnpm
4753
uses: pnpm/action-setup@v3
4854

@@ -102,7 +108,7 @@ jobs:
102108

103109
dependabot:
104110
runs-on: ubuntu-latest
105-
if: github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'codama-idl/renderers-demo'
111+
if: github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'codama-idl/renderers-vixen-parser'
106112
needs: [lint, tests]
107113
permissions:
108114
contents: write

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
test/e2e/
1+
e2e/
22

33
.changeset/
44
.github/workflows/PULL_REQUEST_TEMPLATE.md

CHANGELOG.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# Codama ➤ Renderers ➤ Demo
1+
# Codama ➤ Renderers ➤ Vixen Parser
22

33
[![npm][npm-image]][npm-url]
44
[![npm-downloads][npm-downloads-image]][npm-url]
55

6-
[npm-downloads-image]: https://img.shields.io/npm/dm/@codama/renderers-demo.svg?style=flat
7-
[npm-image]: https://img.shields.io/npm/v/@codama/renderers-demo.svg?style=flat&label=%40codama%2Frenderers-demo
8-
[npm-url]: https://www.npmjs.com/package/@codama/renderers-demo
6+
[npm-downloads-image]: https://img.shields.io/npm/dm/@codama/renderers-vixen-parser.svg?style=flat
7+
[npm-image]: https://img.shields.io/npm/v/@codama/renderers-vixen-parser.svg?style=flat&label=%40codama%2Frenderers-vixen-parser
8+
[npm-url]: https://www.npmjs.com/package/@codama/renderers-vixen-parser
99

10-
This package provides a demo implementation of a Codama renderer to help developers create their own.
10+
This package renders Yellowstone account and instruction parsers.
1111

1212
## Installation
1313

1414
```sh
15-
pnpm install @codama/renderers-demo
15+
pnpm install @codama/renderers-vixen-parser
1616
```
1717

1818
## Usage
@@ -23,8 +23,13 @@ Add the following script to your Codama configuration file.
2323
{
2424
"scripts": {
2525
"demo": {
26-
"from": "@codama/renderers-demo",
27-
"args": ["docs"]
26+
"from": "@codama/renderers-vixen-parser",
27+
"args": [
28+
{
29+
"projectFolder": ".",
30+
"projectName": "myProgram"
31+
}
32+
]
2833
}
2934
}
3035
}

0 commit comments

Comments
 (0)