Skip to content

Commit 8c02eb0

Browse files
committed
Add --if-present
1 parent f9960ef commit 8c02eb0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

samples/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"./06.recomposing-ui/e.extending-ui"
1515
],
1616
"scripts": {
17-
"build": "npm run build --workspaces",
17+
"build": "npm run build --if-present --workspaces",
1818
"bump": "npm run bump:workspaces && npm run bump:non-workspaces",
1919
"bump:non-workspaces": "find . -name package.json -not -path \"./package.json\" -and -not -path \"*/node_modules/*\" -not -path \"*/07.advanced-web-chat-apps/*\" $(jq -r '.workspaces | map(\"-and -not -path \" + . + \"/package.json\") | join(\" \")' ./package.json) | xargs dirname | xargs -I {} sh -c 'cd {} && npm run bump'",
20-
"bump:workspaces": "npm run bump --workspaces"
20+
"bump:workspaces": "npm run bump --if-present --workspaces"
2121
}
2222
}

0 commit comments

Comments
 (0)