From 4157de4d46da5ab3dfdfe6338276e72239f150a9 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Thu, 7 Mar 2024 21:19:03 +0100 Subject: [PATCH 1/2] chore: eliminate .eslintignore --- .eslintignore | 1 - .eslintrc.cjs | 2 ++ package.json | 2 +- src/tsconfig.json | 8 ++++---- tsconfig.json | 5 +++-- 5 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index fc3321d..0000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -/.eslintrc.cjs diff --git a/.eslintrc.cjs b/.eslintrc.cjs index f240469..14c9ed2 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,7 +1,9 @@ // https://github.com/andreashuber69/verify-coldcard-dice-seed/blob/develop/README.md#----verify-coldcard-dice-seed +// eslint-disable-next-line import/unambiguous, import/no-commonjs module.exports = { env: { node: true, }, extends: ["@andreashuber69"], + ignorePatterns: ["/coverage/", "/dist/", "/github_pages/"], }; diff --git a/package.json b/package.json index 0f6d804..9713423 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "scripts": { "start": "npm run build && node .", "prelint": "cspell '**' && markdownlint '**/*.md'", - "lint": "eslint --report-unused-disable-directives '**/*.ts'", + "lint": "eslint --ext .cjs,.ts --report-unused-disable-directives .", "prebuild": "npm run lint", "build": "tsc -p ./src/tsconfig.json", "postbuild": "vite build", diff --git a/src/tsconfig.json b/src/tsconfig.json index 15241d8..747a82f 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -1,13 +1,13 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "lib": ["ESNext", "DOM"], "importHelpers": true, + "lib": ["ESNext", "DOM"], + "noEmit": false, "outDir": "../dist", - "sourceMap": true, - "noEmit": false + "sourceMap": true }, "include": [ - "./*.ts" + "./**/*.ts" ] } diff --git a/tsconfig.json b/tsconfig.json index 2cc6098..b0357ea 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,10 +5,11 @@ ], "compilerOptions": { "noEmit": true, - "verbatimModuleSyntax": true, - "resolveJsonModule": true + "resolveJsonModule": true, + "verbatimModuleSyntax": true }, "include": [ + ".eslintrc.cjs", "./*.ts" ] } From aa4f0a7f940b11c47e0f69f6ec97e033ced2cd19 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Thu, 7 Mar 2024 21:20:30 +0100 Subject: [PATCH 2/2] chore: start release v1.0.28 --- README.md | 4 ++-- index.html | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a1451b5..7ec900f 100644 --- a/README.md +++ b/README.md @@ -130,9 +130,9 @@ COLDCARD copy correctly derives the seed but then generates addresses from a dif ``` shell_session cSpell:disable $ npx verify-coldcard-dice-seed@latest Need to install the following packages: - verify-coldcard-dice-seed@1.0.27 + verify-coldcard-dice-seed@1.0.28 Ok to proceed? (y) y -*** Verify COLDCARD Dice Seed v1.0.27 *** +*** Verify COLDCARD Dice Seed v1.0.28 *** (tested with COLDCARD Mk4 firmware v5.2.2) This application guides you through verifying that your COLDCARD diff --git a/index.html b/index.html index ff20cc6..a49fc0b 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@

Verify COLDCARD Dice Seed

-

v1.0.27

+

v1.0.28

The COLDCARD manufacturer provides instructions diff --git a/package-lock.json b/package-lock.json index 069210e..20314bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "verify-coldcard-dice-seed", - "version": "1.0.27", + "version": "1.0.28", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "verify-coldcard-dice-seed", - "version": "1.0.27", + "version": "1.0.28", "license": "Unlicense", "dependencies": { "bech32": "^2.0.0", diff --git a/package.json b/package.json index 9713423..0c5d391 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "verify-coldcard-dice-seed", - "version": "1.0.27", + "version": "1.0.28", "description": "Verify whether your COLDCARD correctly generates seeds and addresses from dice rolls.", "keywords": [ "bitcoin",