Skip to content

Commit

Permalink
biatec wallet fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
scholtz committed Sep 7, 2024
1 parent 548c1e4 commit 1e441f4
Show file tree
Hide file tree
Showing 89 changed files with 19,100 additions and 19,098 deletions.
8 changes: 4 additions & 4 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
dist
.env
*.code-workspace
node_modules
dist
.env
*.code-workspace
23 changes: 12 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"root": true,
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
},
"ignorePatterns": ["node_modules/", "dist/", ".env"]
}
{
"root": true,
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"linebreak-style": ["error", "unix"]
},
"ignorePatterns": ["node_modules/", "dist/", ".env"]
}
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: [TxnLab]
github: [TxnLab]
104 changes: 52 additions & 52 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":pinAllExceptPeerDependencies",
":semanticCommitTypeAll(chore)",
"schedule:weekly"
],
"dependencyDashboard": true,
"configMigration": true,
"timezone": "America/New_York",
"assignees": ["drichar"],
"baseBranches": ["main"],
"ignorePaths": ["**/node_modules/**"],
"minimumReleaseAge": "3 days",
"lockFileMaintenance": {
"enabled": true,
"schedule": "before 4am on Tuesday"
},
"packageRules": [
{
"groupName": "non-major dependencies",
"matchPackageNames": ["!typescript", "!algosdk"],
"matchUpdateTypes": ["patch", "minor"]
},
{
"groupName": "Wallet dependencies",
"rangeStrategy": "bump",
"matchPackageNames": [
"/@agoralabs-sh/avm-web-provider/",
"/@blockshake/defly-connect/",
"/@magic-ext/algorand/",
"/magic-sdk/",
"/@perawallet/connect/",
"/lute-connect/",
"/walletconnect/"
]
},
{
"matchCategories": ["node"],
"enabled": false
},
{
"matchPackageNames": ["@types/node"],
"enabled": false
},
{
"matchDepTypes": ["engines"],
"enabled": false
}
]
}
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":pinAllExceptPeerDependencies",
":semanticCommitTypeAll(chore)",
"schedule:weekly"
],
"dependencyDashboard": true,
"configMigration": true,
"timezone": "America/New_York",
"assignees": ["drichar"],
"baseBranches": ["main"],
"ignorePaths": ["**/node_modules/**"],
"minimumReleaseAge": "3 days",
"lockFileMaintenance": {
"enabled": true,
"schedule": "before 4am on Tuesday"
},
"packageRules": [
{
"groupName": "non-major dependencies",
"matchPackageNames": ["!typescript", "!algosdk"],
"matchUpdateTypes": ["patch", "minor"]
},
{
"groupName": "Wallet dependencies",
"rangeStrategy": "bump",
"matchPackageNames": [
"/@agoralabs-sh/avm-web-provider/",
"/@blockshake/defly-connect/",
"/@magic-ext/algorand/",
"/magic-sdk/",
"/@perawallet/connect/",
"/lute-connect/",
"/walletconnect/"
]
},
{
"matchCategories": ["node"],
"enabled": false
},
{
"matchPackageNames": ["@types/node"],
"enabled": false
},
{
"matchDepTypes": ["engines"],
"enabled": false
}
]
}
124 changes: 62 additions & 62 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
name: CI

on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'

jobs:
run-ci:
name: Build, Lint, Typecheck, and Test
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9.9.0
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Lint
run: pnpm lint

- name: Prettier
run: pnpm prettier

- name: Typecheck
run: pnpm typecheck

- name: Run tests
run: pnpm test
name: CI

on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'

jobs:
run-ci:
name: Build, Lint, Typecheck, and Test
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9.9.0
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Lint
run: pnpm lint

- name: Prettier
run: pnpm prettier

- name: Typecheck
run: pnpm typecheck

- name: Run tests
run: pnpm test
30 changes: 15 additions & 15 deletions .github/workflows/github-releases-to-discord.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
on:
release:
types: [published]

jobs:
github-releases-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Github Releases To Discord
uses: SethCohen/github-releases-to-discord@v1.15.0
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
username: 'Use-Wallet Releases'
on:
release:
types: [published]

jobs:
github-releases-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Github Releases To Discord
uses: SethCohen/github-releases-to-discord@v1.15.0
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
username: 'Use-Wallet Releases'
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
node_modules
dist
.env
*.code-workspace
.nvmrc
coverage
node_modules
dist
.env
*.code-workspace
.nvmrc
coverage
16 changes: 8 additions & 8 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
**/node_modules
**/dist
**/.env
**/.next
**/.nuxt
**/.output
pnpm-lock.yaml
*.code-workspace
**/node_modules
**/dist
**/.env
**/.next
**/.nuxt
**/.output
pnpm-lock.yaml
*.code-workspace
12 changes: 6 additions & 6 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"semi": false,
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none"
}
{
"semi": false,
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none"
}
42 changes: 21 additions & 21 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"git.closeDiffOnOperation": true,
"javascript.validate.enable": true,
"eslint.workingDirectories": [
"./packages/use-wallet",
"./packages/use-wallet-react",
"./packages/use-wallet-solid",
"./packages/use-wallet-vue",
"./examples/nextjs",
"./examples/nuxt",
"./examples/react-ts",
"./examples/solid-ts",
"./examples/vanilla-ts",
"./examples/vue-ts"
],
"typescript.tsdk": "./packages/use-wallet/node_modules/typescript/lib"
}
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"git.closeDiffOnOperation": true,
"javascript.validate.enable": true,
"eslint.workingDirectories": [
"./packages/use-wallet",
"./packages/use-wallet-react",
"./packages/use-wallet-solid",
"./packages/use-wallet-vue",
"./examples/nextjs",
"./examples/nuxt",
"./examples/react-ts",
"./examples/solid-ts",
"./examples/vanilla-ts",
"./examples/vue-ts"
],
"typescript.tsdk": "./packages/use-wallet/node_modules/typescript/lib"
}
Loading

0 comments on commit 1e441f4

Please sign in to comment.