diff --git a/.gitignore b/.gitignore index 4379e3e0b..bfcb39cc6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,8 @@ dist .turbo .vercel .next/ +.fleet +.vscode out/ .DS_Store *.d.ts diff --git a/packages/core/src/raw-svgs/networks/mono/algorand.svg b/packages/core/src/raw-svgs/networks/mono/algorand.svg new file mode 100644 index 000000000..7eec36a93 --- /dev/null +++ b/packages/core/src/raw-svgs/networks/mono/algorand.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/utils/src/scripts/update-metadata.ts b/packages/utils/src/scripts/update-metadata.ts index 9fd6fb88c..b262540f4 100644 --- a/packages/utils/src/scripts/update-metadata.ts +++ b/packages/utils/src/scripts/update-metadata.ts @@ -4,7 +4,8 @@ import prettier from 'prettier' import { INetworkMetadata, ITokenMetadata } from '../types' import getCoinByID from './gecko/get-coin-by-id' -const normalizeName = (name: string): string => { +const normalizeName = +(name: string): string => { return name .toLowerCase() .replace(/[^a-z0-9]+/g, '-') @@ -152,14 +153,14 @@ const main = async () => { return } - files[0]?.split(',').forEach(async (filePath) => { + files[0]?.split(',').map(async (filePath) => { const type = filePath.includes('/tokens/') ? 'token' : 'network' - processSVGFile(filePath, type) + await processSVGFile(filePath, type) }) } try { - main() + await main() } catch (error) { console.error('Failed to update metadata:', error) process.exit(1)