forked from mechanismHQ/bns-x
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathClarigen.toml
27 lines (24 loc) · 1.01 KB
/
Clarigen.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Set to your project's Clarinet config file
clarinet = "./Clarinet.toml"
# Set where you'd like Deno types output.
# Comment or remove section to skip Deno types
[deno]
# `output` can be a directory or a folder.
output = "tests/clarigen-types.ts"
helper = "tests/clarigen.ts"
# Set where you'd like ESM types output.
# Comment or remove section to skip ESM types
[esm]
# `output` can be a directory or a folder.
outputs = ["web/common/clarigen.ts", "indexer/src/contracts/clarigen.ts", "packages/client/src/clarigen.ts"]
after = "pnpm prettier --write web/common/clarigen.ts indexer/src/contracts/clarigen.ts packages/client/src/clarigen.ts"
# `esm.after` - script to run after ESM types are generated.
# examples:
# after = "yarn prettier ./esm/index.ts"
# after = "echo 'yay'"
# Set where you'd like generated contract docs
# Generate docs by running `clarigen docs`
[docs]
# `output` should be a folder
output = "docs"
exclude = ["bns-v1", "extension-trait", "test-utils", "nft-trait", "managed-namespaces", "proposal-trait"]