From 9995b9cfca8004d0966c4e156ae4604381df2819 Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Thu, 30 Apr 2026 12:56:43 +0000 Subject: [PATCH] fix(scripts): update test and build scripts for pnpm usage and stricter tsbuild defaults --- changelog.md | 6 ++++++ package.json | 4 ++-- ts/00_commitinfo_data.ts | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index f0037d5..5b5ccae 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-04-30 - 2.0.3 - fix(scripts) +update test and build scripts for pnpm usage and stricter tsbuild defaults + +- switch the test script to run testCli via pnpm +- remove the --allowimplicitany flag from the build script + ## 2026-03-24 - 2.0.2 - fix(smartconfig) migrate project metadata and config handling to .smartconfig.json diff --git a/package.json b/package.json index 1094855..91883b0 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "tsdoc": "cli.js" }, "scripts": { - "test": "(tstest test/ --verbose --logfile --timeout 600) && npm run testCli", + "test": "(tstest test/ --verbose --logfile --timeout 600) && pnpm run testCli", "testCli": "(node ./cli.ts.js) && (node ./cli.ts.js aidocs)", - "build": "(tsbuild --web --allowimplicitany)", + "build": "(tsbuild --web)", "buildDocs": "tsdoc" }, "devDependencies": { diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index c0d38e4..565dd0e 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tsdoc', - version: '2.0.2', + version: '2.0.3', description: 'A comprehensive TypeScript documentation tool that leverages AI to generate and enhance project documentation, including dynamic README creation, API docs via TypeDoc, and smart commit message generation.' }