fix(build): remove allowimplicitany from build scripts and add explicit dependency map typing

This commit is contained in:
2026-04-30 12:55:52 +00:00
parent c89a917122
commit 0e84bb4b6e
4 changed files with 10 additions and 4 deletions
+6
View File
@@ -1,5 +1,11 @@
# Changelog
## 2026-04-30 - 1.11.6 - fix(build)
remove allowimplicitany from build scripts and add explicit dependency map typing
- drops the --allowimplicitany flag from both root and generated package build commands
- adds an explicit Record<string, string> type for resolved dependency entries in PublishModule
## 2026-03-24 - 1.11.5 - fix(readme)
clarify usage examples and API documentation
+1 -1
View File
@@ -10,7 +10,7 @@
"license": "MIT",
"scripts": {
"test": "(tstest test/ --verbose --testlog --timeout 30)",
"build": "(tsbuild --web --allowimplicitany)",
"build": "(tsbuild --web)",
"buildDocs": "(tsdoc)"
},
"bin": {
+1 -1
View File
@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tspublish',
version: '1.11.5',
version: '1.11.6',
description: 'A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.'
}
+2 -2
View File
@@ -51,7 +51,7 @@ export class PublishModule {
this.options.dependencies = {
...this.options.dependencies,
...(() => {
const resultDependencies = {};
const resultDependencies: Record<string, string> = {};
for (const dependency of this.options.tsPublishJson!.dependencies) {
if (monoRepoPackageJson.dependencies[dependency]) {
resultDependencies[dependency] = monoRepoPackageJson.dependencies[dependency];
@@ -137,7 +137,7 @@ export class PublishModule {
},
},
scripts: {
build: 'tsbuild tsfolders --allowimplicitany',
build: 'tsbuild tsfolders',
},
dependencies: this.options.dependencies,
devDependencies: {