diff --git a/assets/templates/npm/.package.json b/assets/templates/npm/.package.json index ebc943f..52cbb23 100644 --- a/assets/templates/npm/.package.json +++ b/assets/templates/npm/.package.json @@ -12,15 +12,17 @@ fileName: package.json "author": "{{module.author}}", "license": "{{module.license}}", "scripts": { - "test": "(tstest test/ --web)", + "test": "(tstest test/ --verbose --logfile --timeout 60)", "build": "(tsbuild --web --allowimplicitany)", "buildDocs": "(tsdoc)" }, "devDependencies": { - "@git.zone/tsbuild": "^3.1.2", - "@git.zone/tsrun": "^2.0.0", - "@git.zone/tstest": "^3.1.3", - "@types/node": "^24.10.1" + "@git.zone/tsbuild": "^4.1.2", + "@git.zone/tsrun": "^2.0.1", + "@git.zone/tstest": "^3.1.8", + "@types/node": "^25.2.0" }, - "dependencies": {} + "dependencies": { + "@push.rocks/smartpath": "^6.0.0" + } } diff --git a/assets/templates/npm/ts/index.ts b/assets/templates/npm/ts/index.ts index fb852ff..8f1f224 100644 --- a/assets/templates/npm/ts/index.ts +++ b/assets/templates/npm/ts/index.ts @@ -1,3 +1,3 @@ -import * as plugins from './{{module.name}}.plugins.js'; +import * as plugins from './plugins.js'; export let demoExport = 'Hi there! :) This is an exported string'; diff --git a/changelog.md b/changelog.md index ae336f6..3a2f8e2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,13 @@ # Changelog +## 2026-02-01 - 2.13.5 - fix(templates/npm) +update npm template: tweak test script, bump devDependencies, add smartpath dependency, and fix ts import path + +- test script updated: '(tstest test/ --web)' -> '(tstest test/ --verbose --logfile --timeout 60)' +- devDependencies bumped: @git.zone/tsbuild ^3.1.2 -> ^4.1.2, @git.zone/tsrun ^2.0.0 -> ^2.0.1, @git.zone/tstest ^3.1.3 -> ^3.1.8, @types/node ^24.10.1 -> ^25.2.0 +- dependencies: added @push.rocks/smartpath ^6.0.0 +- TypeScript template import fixed: './{{module.name}}.plugins.js' -> './plugins.js' + ## 2025-12-18 - 2.13.3 - fix(tsconfig) remove experimentalDecorators and useDefineForClassFields from TypeScript configuration files diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index a80a452..9532fd4 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/cli', - version: '2.13.3', + version: '2.13.5', description: 'A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.' }