Skip to content

Commit

Permalink
chore: lint create-lz-oapp changes
Browse files Browse the repository at this point in the history
  • Loading branch information
St0rmBr3w committed Nov 21, 2024
1 parent 0b0f06a commit 9773719
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
20 changes: 15 additions & 5 deletions packages/create-lz-oapp/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,18 @@ export const getExamples = (): Example[] => {
},
// ZK-Solc examples are feature flagged for the time being
...(process.env.LZ_ENABLE_ZKSOLC_EXAMPLE
? [
{ id: 'onft721-zksync', label: 'ONFT721 zksolc', repository, directory: 'examples/onft721-zksync', ref },
]
? [{ id: 'onft721-zksync', label: 'ONFT721 zksolc', repository, directory: 'examples/onft721-zksync', ref }]
: []),
// Upgradeable contract examples are feature flagged for the time being
...(process.env.LZ_ENABLE_UPGRADEABLE_EXAMPLE
? [
{ id: 'oft-upgradeable', label: 'UpgradeableOFT', repository, directory: 'examples/oft-upgradeable', ref },
{
id: 'oft-upgradeable',
label: 'UpgradeableOFT',
repository,
directory: 'examples/oft-upgradeable',
ref,
},
{
id: 'uniswap-read',
label: 'UniswapV3 Quote',
Expand All @@ -68,7 +72,13 @@ export const getExamples = (): Example[] => {
// Native OFT Adapter example is feature flagged for the time being
...(process.env.LZ_ENABLE_NATIVE_EXAMPLE
? [
{ id: 'native-oft-adapter', label: 'NativeOFTAdapter', repository, directory: 'examples/native-oft-adapter', ref },
{
id: 'native-oft-adapter',
label: 'NativeOFTAdapter',
repository,
directory: 'examples/native-oft-adapter',
ref,
},
{
id: 'uniswap-read',
label: 'UniswapV3 Quote',
Expand Down
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
"LZ_ENABLE_EXPERIMENTAL_SIMULATION",
"LZ_ENABLE_EXPERIMENTAL_SOLANA_OFT_EXAMPLE",
"LZ_ENABLE_READ_EXAMPLE",
"LZ_ENABLE_ZKSOLC_EXAMPLE",
"LZ_ENABLE_NATIVE_EXAMPLE",
"LZ_ENABLE_UPGRADEABLE_EXAMPLE",

"LAYERZERO_EXAMPLES_REPOSITORY_URL",
"LAYERZERO_EXAMPLES_REPOSITORY_REF",
Expand Down

0 comments on commit 9773719

Please sign in to comment.