diff --git a/.changeset/plenty-cats-hang.md b/.changeset/plenty-cats-hang.md new file mode 100644 index 0000000..bebbdc4 --- /dev/null +++ b/.changeset/plenty-cats-hang.md @@ -0,0 +1,5 @@ +--- +"@zcloak/dev": patch +--- + +fix zcloak-dev-version diff --git a/packages/dev/scripts/zcloak-dev-version.mjs b/packages/dev/scripts/zcloak-dev-version.mjs index 1bfe951..b0b1866 100755 --- a/packages/dev/scripts/zcloak-dev-version.mjs +++ b/packages/dev/scripts/zcloak-dev-version.mjs @@ -22,7 +22,8 @@ if (!TYPES.includes(type)) { console.log('$ zcloak-dev-version', process.argv.slice(2).join(' ')); -[packages, rootPackage] +packages + .concat(rootPackage) .map((pkg) => { const newVer = semver.inc(pkg.packageJson.version, type);