-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build script: npm removed bin command
Background ========== The build script used `npm bin` to fetch the local bin path for running `cdk` commands. See https://docs.npmjs.com/cli/v8/commands/npm-bin npm version 9 removed the `bin` command so it no longer works. See npm/cli#5459 Change ====== Changed the way the script gets the npm execution environment. Added some clean-up to the script to remove the CloudFormation template staging directory. Updated the "Copy Dist to S3" guard code so it does not try to copy to any of the reference buckets.
- Loading branch information
Showing
1 changed file
with
9 additions
and
5 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