Skip to content

Commit

Permalink
chore: private packages with dry run (#9410)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen authored Jul 27, 2023
1 parent 0d16e69 commit 63564c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ if [[ ! -z "${CORE_VERSION}" ]]; then
fi

# publish to npm
yarn run lerna publish --conventional-commits --conventional-graduate --no-private --dist-tag=latest --yes
# yarn run lerna publish --conventional-commits --conventional-graduate --no-private --dist-tag=latest --yes

# dry run
# yarn run lerna version --conventional-commits --conventional-graduate --no-private --yes --no-git-tag-version --no-push
yarn run lerna version --conventional-commits --conventional-graduate --no-private --yes --no-git-tag-version --no-push

# immediately after promote - set up repo for next prerelease
yarn run lerna version preminor --force-publish --conventional-commits --no-private --yes --preid prerelease
3 changes: 2 additions & 1 deletion scripts/build-single-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ async function createPackage(component) {
main: cjsRelative,
module: esmRelative,
typings: typesRelative,
version: packageJson.version
version: packageJson.version,
private: true
};

// use ensureFile to not having to create all the directories
Expand Down

0 comments on commit 63564c6

Please sign in to comment.