Skip to content

Commit

Permalink
feat(app): new squid api (#395)
Browse files Browse the repository at this point in the history
* add biome

* feat(app): new squid api

* fix biome problems

* remove chainbridge

* fix charts
  • Loading branch information
kingsleydon authored Feb 24, 2024
1 parent 9c5263d commit 4f7e01d
Show file tree
Hide file tree
Showing 266 changed files with 2,190 additions and 26,812 deletions.
28 changes: 4 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,7 @@ jobs:
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2

- run: corepack enable

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'

- name: Install dependencies
run: yarn --immutable

- name: Linter
run: npm run lint

- name: Typecheck
run: yarn check

# - name: Build all apps
# run: npm run build
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: bun install --frozen-lockfile
- run: bunx biome ci .
259 changes: 226 additions & 33 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,63 +1,256 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# and https://github.com/github/gitignore for examples
# Created by https://www.toptal.com/developers/gitignore/api/node,linux,macos,nextjs,svelte,visualstudiocode,turbo
# Edit at https://www.toptal.com/developers/gitignore?templates=node,linux,macos,nextjs,svelte,visualstudiocode,turbo

# local env files (followinf dotenv-flow / nextjs convention)
### Linux ###
*~

.env.local
.env.*.local
.env.development
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# security: atlassian/changeset
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

**/.netrc
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### macOS Patch ###
# iCloud generated files
*.icloud

### NextJS ###
# dependencies
node_modules
.yarn
.pnp.*
/node_modules
/.pnp
.pnp.js

# testing
/coverage
.out/

# Cache
**/tsconfig.tsbuildinfo
**/.eslintcache
.cache
.turbo
# next.js
/.next/
/out/

# Misc
.DS_Store
# production
/build

# misc
*.pem

# Debug
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

### Node ###
# Logs
logs
*.log
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache

# IDE
# Optional npm cache directory
.npm

.idea
.project
.classpath
*.launch
*.sublime-workspace
# Optional eslint cache
.eslintcache

.vscode/
# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

### Node Patch ###
# Serverless Webpack directories
.webpack/

# Optional stylelint cache

# SvelteKit build / generate output
.svelte-kit

### Svelte ###
# gitignore template for the SvelteKit, frontend web component framework
# website: https://kit.svelte.dev/

.svelte-kit/
package

### Turbo ###
# Turborepo task cache
.turbo

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

# Docker overrides
# Local History for Visual Studio Code
.history/

./docker-compose.override.yml
# Built Visual Studio Code Extensions
*.vsix

# Deployment platforms
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide

.vercel
# End of https://www.toptal.com/developers/gitignore/api/node,linux,macos,nextjs,svelte,visualstudiocode,turbo

# Local config files
# Sentry Config File
.sentryclirc

.unimportedrc.json
.husky
6 changes: 0 additions & 6 deletions .husky/pre-commit

This file was deleted.

5 changes: 0 additions & 5 deletions .prettierrc

This file was deleted.

55 changes: 51 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,59 @@
{
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"cSpell.words": [
"biomejs",
"bunx",
"fontawesome",
"fortawesome",
"karura",
"khala",
"moonbase",
"moonriver",
"movr",
"orml",
"parachain",
"phala",
"polkadot",
"readystate",
"roboto",
"staker",
"stakers",
"subbridge",
"subsquid",
"svgs",
"sygma",
"talismn",
"tanstack",
"tokenomic",
"unsub",
"xtokens"
],
"editor.codeActionsOnSave": {
"source.addMissingImports": "explicit",
"source.fixAll.eslint": "explicit",
"source.organizeImports": "explicit"
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"editor.formatOnSave": true,
"eslint.workingDirectories": [{"mode": "auto"}],
"files.associations": {"*.css": "tailwindcss"},
"files.associations": {
"*.css": "tailwindcss"
},
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
Expand Down
Loading

0 comments on commit 4f7e01d

Please sign in to comment.