From 1a2c37ff325e816608ee0616bcfcf377d00b674c Mon Sep 17 00:00:00 2001 From: b-garbacz Date: Tue, 28 Apr 2026 15:25:25 +0200 Subject: [PATCH 1/2] fix: update ci:full script to include linting step --- package.json | 6 +++--- test/browser/package-lock.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1a5fae3..544a975 100644 --- a/package.json +++ b/package.json @@ -32,10 +32,10 @@ "test:all": "npm run test:node && npm run test:browser", "coverage": "c8 --all --include=constants.js --include=index.js --include=modules/**/*.js --exclude=test/** --exclude=dist/** --exclude=scripts/** --reporter=text --reporter=json-summary --reporter=lcov --reporter=html npm run test:node", "ci:clean": "node scripts/ci/clean.cjs && npm ci --cache ./.npm-cache", - "ci:full": "npm run ci:clean && npm run test:node && npm run test:bare && npm run build:browser && npm run test:browser && npm run build:rn", - "pack:test": "npm pack --pack-destination test/browser", "lint": "eslint .", - "lint:fix": "eslint . --fix" + "lint:fix": "eslint . --fix", + "ci:full": "npm run lint && npm run ci:clean && npm run test:node && npm run test:bare && npm run build:browser && npm run test:browser && npm run build:rn", + "pack:test": "npm pack --pack-destination test/browser" }, "keywords": [], "author": "", diff --git a/test/browser/package-lock.json b/test/browser/package-lock.json index a335ba6..90b822a 100644 --- a/test/browser/package-lock.json +++ b/test/browser/package-lock.json @@ -5275,7 +5275,7 @@ "node_modules/trac-crypto-api": { "version": "0.1.5", "resolved": "file:trac-crypto-api-0.1.5.tgz", - "integrity": "sha512-tQjEgn8jDDO/y1rucaxrbLa1F6sMiQT/l8NKg57pHuII3UtkZBavKxnbh0URSS7fWccyUE2gb7P8Gb5KINgiKg==", + "integrity": "sha512-g9zO9X6/MyBeRyGSXFg18LyX+xRJYXmUA8ZLLaKurBs44okLu55tn+bDexyxo+FmOewf96MmWTTQMaVxNaxLJQ==", "license": "ISC", "dependencies": { "@metamask/key-tree": "10.1.1", From ebc8d420bf7ab7df5b879da5fa307762714a43f2 Mon Sep 17 00:00:00 2001 From: b-garbacz Date: Tue, 28 Apr 2026 15:30:27 +0200 Subject: [PATCH 2/2] fix: reorder ci:full script to run linting before tests and builds --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 544a975..65374dd 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "ci:clean": "node scripts/ci/clean.cjs && npm ci --cache ./.npm-cache", "lint": "eslint .", "lint:fix": "eslint . --fix", - "ci:full": "npm run lint && npm run ci:clean && npm run test:node && npm run test:bare && npm run build:browser && npm run test:browser && npm run build:rn", + "ci:full": "npm run ci:clean && npm run lint && npm run test:node && npm run test:bare && npm run build:browser && npm run test:browser && npm run build:rn", "pack:test": "npm pack --pack-destination test/browser" }, "keywords": [],