enablement-build-monorepo-version 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.mjs +4 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -152,7 +152,7 @@ async function main(options) {
152
152
  }
153
153
  previous=JSON.parse(data);
154
154
 
155
- if(options.changed || options.version) {
155
+ if(options.changed || options.version || options.tag) {
156
156
 
157
157
  let dependencies={};
158
158
  if(options.dependencies) {
@@ -206,8 +206,9 @@ async function main(options) {
206
206
  }));
207
207
  }
208
208
  }
209
- if(plist.length>0 && options.debug) {
210
- console.log(await Promise.allSettled(plist));
209
+ if(plist.length>0) {
210
+ let result = await Promise.allSettled(plist)
211
+ if(options.debug) console.log(result);
211
212
  }
212
213
  }
213
214
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enablement-build-monorepo-version",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "This detects changes in the children packages of a monorepo.",
5
5
  "type": "module",
6
6
  "module": "./index.mjs",