From e0db740c7081b8d4750906ffbdc5bcaffa33f412 Mon Sep 17 00:00:00 2001 From: Dennis Sen Date: Mon, 5 Feb 2024 07:58:32 +0100 Subject: [PATCH] release: test --- packages/lib/idx/CHANGELOG.md | 2 ++ packages/lib/invisibleStyle/CHANGELOG.md | 2 ++ scripts/publishPackages.js | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/lib/idx/CHANGELOG.md b/packages/lib/idx/CHANGELOG.md index 385b843bb..ce58e27e6 100644 --- a/packages/lib/idx/CHANGELOG.md +++ b/packages/lib/idx/CHANGELOG.md @@ -1,5 +1,7 @@ # CHANGELOG +## 2.0.0-mock.0 + ## 1.0.0 Initial release. diff --git a/packages/lib/invisibleStyle/CHANGELOG.md b/packages/lib/invisibleStyle/CHANGELOG.md index 385b843bb..ce58e27e6 100644 --- a/packages/lib/invisibleStyle/CHANGELOG.md +++ b/packages/lib/invisibleStyle/CHANGELOG.md @@ -1,5 +1,7 @@ # CHANGELOG +## 2.0.0-mock.0 + ## 1.0.0 Initial release. diff --git a/scripts/publishPackages.js b/scripts/publishPackages.js index 25db8ff2d..1e4aa812b 100644 --- a/scripts/publishPackages.js +++ b/scripts/publishPackages.js @@ -32,6 +32,7 @@ for (const path of packages) { const nextVersion = checkForNewVersion(path) if (nextVersion) { const context = { cwd: path, stdio: 'inherit' } + /* cp.execSync('npm version ' + nextVersion, context) cp.execSync( 'npm set //registry.npmjs.org/:_authToken ' + @@ -39,6 +40,7 @@ for (const path of packages) { { cwd: path } ) cp.execSync('npm publish --access=public', context) + */ tags.push(`${getPackageName(path)}@${nextVersion}`) } } catch (e) { @@ -47,4 +49,4 @@ for (const path of packages) { } } -process.stdout.write(tags.join(' ')) +process.stdout.write(tags.map((tag) => tag.trim()).join(' '))