Skip to content

Commit

Permalink
Merge pull request #5957 from leather-io/release/bns-v2
Browse files Browse the repository at this point in the history
Release/bns v2
  • Loading branch information
kyranjamie authored Nov 11, 2024
2 parents 7605748 + 7ef1703 commit 979a629
Show file tree
Hide file tree
Showing 98 changed files with 3,161 additions and 2,256 deletions.
5 changes: 5 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ const config: StorybookConfig = {
},
webpackFinal: config => {
config.resolve ??= {};
config.resolve.fallback ??= {};
config.resolve.fallback = {
...config.resolve.fallback,
os: require.resolve('os-browserify/browser'),
};
config.resolve.plugins ??= [];
config.resolve.plugins.push(
new TsconfigPathsPlugin({
Expand Down
16 changes: 16 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Check TypeScript Errors",
"type": "shell",
"command": "npx tsc --noEmit",
"problemMatcher": ["$tsc"],
"group": "build",
"presentation": {
"reveal": "always",
"panel": "shared"
}
}
]
}
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ Unit tests can be run with vitest using:
pnpm test:unit
```

### Code checks

Code checks and unit tests can be run simultaneously:

```bash
pnpm checks
```

## Production

[See instructions on Leather.io to install from source](https://leather.io/install-extension)
Expand Down
40 changes: 23 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"build:test": "concurrently 'pnpm build:ext:test' 'pnpm build:test-app'",
"build:test-api": "concurrently 'pnpm build:ext:test' 'pnpm build:test-app'",
"build:test:watch": "cross-env WALLET_ENVIRONMENT=testing webpack --config webpack/webpack.config.prod.js",
"checks": "bash ./run-checks.sh",
"checks:install": "bash ./run-checks.sh --install-hook",
"checks:remove": "bash ./run-checks.sh --remove-hook",
"clean": "rm -rf ./dist",
"clean:all": "rm -rf ./dist && rm -rf ./coverage && rm -rf ./node_modules",
"lint": "concurrently -g 'pnpm lint:prettier' 'pnpm lint:unused-exports' 'pnpm lint:deps' 'pnpm lint:remote-wallet-config' 'pnpm lint:eslint' 'pnpm lint:filename'",
Expand Down Expand Up @@ -141,15 +144,17 @@
"@coinbase/cbpay-js": "2.1.0",
"@fungible-systems/zone-file": "2.0.0",
"@hirosystems/token-metadata-api-client": "1.2.0",
"@leather.io/bitcoin": "0.14.2",
"@leather.io/constants": "0.12.5",
"@leather.io/crypto": "1.6.6",
"@leather.io/models": "0.18.2",
"@leather.io/query": "2.17.0",
"@leather.io/stacks": "1.2.3",
"@leather.io/tokens": "0.9.1",
"@leather.io/ui": "1.30.0",
"@leather.io/utils": "0.16.6",
"@hookform/resolvers": "3.9.1",
"@leather.io/analytics": "2.0.0",
"@leather.io/bitcoin": "0.16.1",
"@leather.io/constants": "0.13.1",
"@leather.io/crypto": "1.6.8",
"@leather.io/models": "0.19.0",
"@leather.io/query": "2.20.0",
"@leather.io/stacks": "1.3.1",
"@leather.io/tokens": "0.10.0",
"@leather.io/ui": "1.32.2",
"@leather.io/utils": "0.17.0",
"@ledgerhq/hw-transport-webusb": "6.27.19",
"@noble/hashes": "1.5.0",
"@noble/secp256k1": "2.1.0",
Expand All @@ -176,15 +181,15 @@
"@stacks/profile": "6.15.0",
"@stacks/rpc-client": "1.0.3",
"@stacks/storage": "6.15.0",
"@stacks/transactions": "6.15.0",
"@stacks/transactions": "6.17.0",
"@stacks/wallet-sdk": "6.15.0",
"@stitches/react": "1.2.8",
"@storybook/addon-styling-webpack": "1.0.0",
"@styled-system/theme-get": "5.1.2",
"@tanstack/query-async-storage-persister": "5.51.21",
"@tanstack/react-query": "5.51.23",
"@tanstack/react-query-devtools": "5.51.23",
"@tanstack/react-query-persist-client": "5.51.23",
"@tanstack/query-async-storage-persister": "5.59.16",
"@tanstack/react-query": "5.59.16",
"@tanstack/react-query-devtools": "5.59.16",
"@tanstack/react-query-persist-client": "5.59.16",
"@types/lodash.uniqby": "4.7.7",
"@typescript-eslint/eslint-plugin": "7.5.0",
"@zondax/ledger-stacks": "1.0.4",
Expand Down Expand Up @@ -234,6 +239,7 @@
"react-dom": "18.3.1",
"react-dom-confetti": "0.2.0",
"react-head": "3.4.2",
"react-hook-form": "7.53.1",
"react-intersection-observer": "9.5.2",
"react-lottie": "1.2.4",
"react-qr-code": "2.0.12",
Expand Down Expand Up @@ -261,13 +267,13 @@
"@btckit/types": "0.0.19",
"@chromatic-com/storybook": "1.2.23",
"@leather.io/eslint-config": "0.7.0",
"@leather.io/panda-preset": "0.4.1",
"@leather.io/panda-preset": "0.4.3",
"@leather.io/prettier-config": "0.6.0",
"@leather.io/rpc": "2.1.13",
"@leather.io/rpc": "2.1.15",
"@ls-lint/ls-lint": "2.2.3",
"@mdx-js/loader": "3.0.0",
"@pandacss/dev": "0.46.1",
"@playwright/test": "1.44.0",
"@playwright/test": "1.48.2",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.13",
"@redux-devtools/cli": "4.0.0",
"@redux-devtools/remote": "0.9.3",
Expand Down
Loading

0 comments on commit 979a629

Please sign in to comment.