fix(cli): don't include workspaces.nohoist in public NPM package (#22365)

This commit is contained in:
Zach Bloomquist
2022-06-17 11:09:01 -04:00
committed by GitHub
parent 4319daa7f4
commit b865fd4c2b
2 changed files with 3 additions and 3 deletions

View File

@@ -27,8 +27,7 @@ mainBuildFilters: &mainBuildFilters
branches:
only:
- develop
- 10.0-release
- linux-arm64
- issue-22147-nohoist
# usually we don't build Mac app - it takes a long time
# but sometimes we want to really confirm we are doing the right thing
@@ -129,7 +128,7 @@ commands:
- run:
name: Check current branch to persist artifacts
command: |
if [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "linux-arm64" ]]; then
if [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "issue-22147-nohoist" ]]; then
echo "Not uploading artifacts or posting install comment for this branch."
circleci-agent step halt
fi

View File

@@ -31,6 +31,7 @@ function preparePackageForNpmRelease (json) {
delete json['private']
// no need to include "nyc" code coverage settings
delete json.nyc
delete json.workspaces
_.extend(json, {
version,