Skip to content

Commit

Permalink
fix(cli): don't include workspaces.nohoist in public NPM package (cyp…
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig authored and BeijiYang committed Jun 23, 2022
1 parent 227bcda commit 13b59aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions circle.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions cli/scripts/build.js
Expand Up @@ -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,
Expand Down

0 comments on commit 13b59aa

Please sign in to comment.