-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build): build executables with correct dependency versions (#654)
This commit modifies the create-binaries.sh script so that it removes the packages/validator/node_modules/@IBM-Cloud and packages/ruleset/node_modules/@IBM-Cloud directories prior to invoking pkg to build the executables. This fixes a problem where the executables would end up with the "old" versions of the openapi-ruleset and openapi-ruleset-utilities dependencies in situations where we're also publishing a new version of those dependencies in the same build. Removing the dependencies from packages/[validator,ruleset] means that pkg would end up using the dependencies in the project's top-level "node_modules" directory instead, which will have the correct versions of the dependencies, whether or not we've published a new version of them during the same build. Signed-off-by: Phil Adams <phil_adams@us.ibm.com>
- Loading branch information
Showing
7 changed files
with
1,945 additions
and
11,796 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters