fix(build): remove allowimplicitany from build scripts and add explicit dependency map typing
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# 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)
|
## 2026-03-24 - 1.11.5 - fix(readme)
|
||||||
clarify usage examples and API documentation
|
clarify usage examples and API documentation
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(tstest test/ --verbose --testlog --timeout 30)",
|
"test": "(tstest test/ --verbose --testlog --timeout 30)",
|
||||||
"build": "(tsbuild --web --allowimplicitany)",
|
"build": "(tsbuild --web)",
|
||||||
"buildDocs": "(tsdoc)"
|
"buildDocs": "(tsdoc)"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tspublish',
|
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.'
|
description: 'A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ export class PublishModule {
|
|||||||
this.options.dependencies = {
|
this.options.dependencies = {
|
||||||
...this.options.dependencies,
|
...this.options.dependencies,
|
||||||
...(() => {
|
...(() => {
|
||||||
const resultDependencies = {};
|
const resultDependencies: Record<string, string> = {};
|
||||||
for (const dependency of this.options.tsPublishJson!.dependencies) {
|
for (const dependency of this.options.tsPublishJson!.dependencies) {
|
||||||
if (monoRepoPackageJson.dependencies[dependency]) {
|
if (monoRepoPackageJson.dependencies[dependency]) {
|
||||||
resultDependencies[dependency] = monoRepoPackageJson.dependencies[dependency];
|
resultDependencies[dependency] = monoRepoPackageJson.dependencies[dependency];
|
||||||
@@ -137,7 +137,7 @@ export class PublishModule {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
scripts: {
|
scripts: {
|
||||||
build: 'tsbuild tsfolders --allowimplicitany',
|
build: 'tsbuild tsfolders',
|
||||||
},
|
},
|
||||||
dependencies: this.options.dependencies,
|
dependencies: this.options.dependencies,
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
|
|||||||
Reference in New Issue
Block a user