From 0f35750aaa2b6e799b8f50b51155c471df48b7c2 Mon Sep 17 00:00:00 2001 From: Andrew Taran Date: Fri, 10 Jul 2026 14:16:46 +0200 Subject: [PATCH] chore: replace config files --- .../bitcoin-wallet-snap/{jest.config.js => jest.config.mjs} | 0 ...est.integration.config.js => jest.integration.config.mjs} | 0 merged-packages/bitcoin-wallet-snap/tsconfig.json | 5 +++++ packages/sample-snap/tsconfig.json | 4 ++-- 4 files changed, 7 insertions(+), 2 deletions(-) rename merged-packages/bitcoin-wallet-snap/{jest.config.js => jest.config.mjs} (100%) rename merged-packages/bitcoin-wallet-snap/{jest.integration.config.js => jest.integration.config.mjs} (100%) diff --git a/merged-packages/bitcoin-wallet-snap/jest.config.js b/merged-packages/bitcoin-wallet-snap/jest.config.mjs similarity index 100% rename from merged-packages/bitcoin-wallet-snap/jest.config.js rename to merged-packages/bitcoin-wallet-snap/jest.config.mjs diff --git a/merged-packages/bitcoin-wallet-snap/jest.integration.config.js b/merged-packages/bitcoin-wallet-snap/jest.integration.config.mjs similarity index 100% rename from merged-packages/bitcoin-wallet-snap/jest.integration.config.js rename to merged-packages/bitcoin-wallet-snap/jest.integration.config.mjs diff --git a/merged-packages/bitcoin-wallet-snap/tsconfig.json b/merged-packages/bitcoin-wallet-snap/tsconfig.json index 99b45e34..6fcdfe6b 100644 --- a/merged-packages/bitcoin-wallet-snap/tsconfig.json +++ b/merged-packages/bitcoin-wallet-snap/tsconfig.json @@ -1,10 +1,15 @@ { "extends": "../../tsconfig.packages.json", "compilerOptions": { + "baseUrl": "./", "resolveJsonModule": true /* lets us import JSON modules from within TypeScript modules. */, "jsx": "react-jsx", "jsxImportSource": "@metamask/snaps-sdk", "exactOptionalPropertyTypes": false, + "forceConsistentCasingInFileNames": true, + "noErrorTruncation": true, + "noUncheckedIndexedAccess": true, + "skipLibCheck": true, "types": ["jest"] }, "include": ["**/*.ts", "**/*.tsx", "locales/*.json"] diff --git a/packages/sample-snap/tsconfig.json b/packages/sample-snap/tsconfig.json index 9db7529d..5028bf34 100644 --- a/packages/sample-snap/tsconfig.json +++ b/packages/sample-snap/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../tsconfig.json", + "extends": "../../tsconfig.packages.json", "compilerOptions": { "baseUrl": "./", "jsx": "react-jsx", "jsxImportSource": "@metamask/snaps-sdk", "types": ["jest"] }, - "include": ["**/*.ts", "**/*.tsx"] + "include": ["**/*.ts", "**/*.tsx", "locales/*.json"] }