Skip to content

Commit b865fd4

Browse files
authored
fix(cli): don't include workspaces.nohoist in public NPM package (#22365)
1 parent 4319daa commit b865fd4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

circle.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ mainBuildFilters: &mainBuildFilters
2727
branches:
2828
only:
2929
- develop
30-
- 10.0-release
31-
- linux-arm64
30+
- issue-22147-nohoist
3231

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

cli/scripts/build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function preparePackageForNpmRelease (json) {
3131
delete json['private']
3232
// no need to include "nyc" code coverage settings
3333
delete json.nyc
34+
delete json.workspaces
3435

3536
_.extend(json, {
3637
version,

0 commit comments

Comments
 (0)