Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
9fdbf7f154 | |||
50456fc004 |
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 2024-11-05 - 1.7.7 - fix(core)
|
||||
Fix dependency resolution in package initialization
|
||||
|
||||
- Corrected the resolution of dependencies from tspublish.json against monorepo's package.json.
|
||||
- Ensures unlisted dependencies in monorepo's package.json default to its version.
|
||||
|
||||
## 2024-11-05 - 1.7.6 - fix(tspublish)
|
||||
Fix the logging of the number of found publish modules
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@git.zone/tspublish",
|
||||
"version": "1.7.6",
|
||||
"version": "1.7.7",
|
||||
"private": false,
|
||||
"description": "A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.",
|
||||
"main": "dist_ts/index.js",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tspublish',
|
||||
version: '1.7.6',
|
||||
version: '1.7.7',
|
||||
description: 'A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.'
|
||||
}
|
||||
|
@ -48,7 +48,11 @@ export class PublishModule {
|
||||
...(() => {
|
||||
const resultDependencies = {};
|
||||
for (const dependency of this.options.tsPublishJson.dependencies) {
|
||||
resultDependencies[dependency] = monoRepoPackageJson.dependencies[dependency];
|
||||
if (monoRepoPackageJson.dependencies[dependency]) {
|
||||
resultDependencies[dependency] = monoRepoPackageJson.dependencies[dependency];
|
||||
} else {
|
||||
resultDependencies[dependency] = monoRepoPackageJson.version;
|
||||
}
|
||||
}
|
||||
return resultDependencies;
|
||||
})(),
|
||||
|
Reference in New Issue
Block a user