From e89aaa7d8c9d685d80f391d00cddcc660c12abfb Mon Sep 17 00:00:00 2001 From: Ioan Lucut Date: Fri, 29 Sep 2023 15:13:44 +0300 Subject: [PATCH] Add "npm run format" to the "meta:ci" script. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d0dca4240..a60774dfb 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ }, "type": "module", "scripts": { - "format": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./node_modules/.bin/prettier --log-level error --write \"./verified/**/*.txt\" {src,bin}/**/*.ts README.md \"./LaTeX/**/*.tex\"", + "format": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./node_modules/.bin/prettier --log-level error --write \"./verified/**/*.txt\" \"./candidates/**/*.txt\" {src,bin,mocks,temp-runners}/**/*.ts README.md \"./LaTeX/**/*.tex\"", "test:ci": "NODE_ENV=test jest --runInBand --no-cache", "test:watch": "NODE_ENV=test TZ='Europe/Berlin' jest --watch --logHeapUsage --no-cache", "test": "is-ci-cli test:ci test:watch", @@ -63,7 +63,7 @@ "import:rc:by-authors": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./temp-runners/importSongsFromRcByAuthors.ts", "import:rc:by-ids": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./temp-runners/importSongsFromRcByIds.ts", "build:ci": "npm run lint && npm run test && npm run verify", - "meta:ci": "npm run reprocess:filename && npm run reprocess:content && npm run verify" + "meta:ci": "npm run reprocess:filename && npm run reprocess:content && npm run verify && npm run format" }, "author": "Ioan LucuČ›", "license": "ISC"