Skip to content

Commit

Permalink
Merge pull request #3490 from tkiapril/fix/yarn-install
Browse files Browse the repository at this point in the history
Workaround for yarn install fail
  • Loading branch information
riemannulus authored Nov 27, 2023
2 parents 5435c25 + 5acda82 commit 83ce125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Libplanet.Tools"
],
"scripts": {
"build": "_libplanet_build=1 yarn workspaces foreach -p -A run build",
"build": "printf \"\\033[41;97mLibplanet note: currently, it is expected for `yarn build` to fail on the first run and succeed on the second run due to an unknown issue unrelated to the codebase (see issue #3492,) so the build phase runs twice. Whenever the culprit is specified please remove this message and the duplicate call.\\033[0m\n\" >&2 && _libplanet_build=1 yarn workspaces foreach -p -A run build || _libplanet_build=1 yarn workspaces foreach -p -A run build",
"pack-all": "yarn workspaces foreach -p -A --include @planetarium/\\* pack",
"postinstall": "env | grep -E '^_libplanet_build=1$' || yarn build && echo ran yarn build",
"prepack": "printf \"\\033[41;97mLibplanet note: `yarn pack` is not allowed on the project root level, as it produces useless empty package. use `yarn pack-all` instead.\\033[0m\n\" > /dev/stderr && false",
Expand Down

0 comments on commit 83ce125

Please sign in to comment.