File tree Expand file tree Collapse file tree
infrastructure/terraform/components/examplecomponent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -euo pipefail
44
55rm -rf dist
66
7- npx esbuild \
7+ pnpm exec esbuild \
88 --bundle \
99 --minify \
1010 --sourcemap \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6767# Export for Terraform
6868export TF_VAR_container_image_tag_suffix=" ${CONTAINER_IMAGE_SUFFIX} "
6969
70- run_or_fail npm ci
71- run_or_fail npm run generate-dependencies --workspaces --if-present
72- run_or_fail npm run build:archive --workspaces -- if-present
70+ run_or_fail pnpm install --frozen-lockfile
71+ run_or_fail pnpm -r run --if-present generate-dependencies
72+ run_or_fail pnpm -r run -- if-present build:archive
7373run_or_fail env \
7474 CONTAINER_IMAGE_PREFIX=" ${CONTAINER_IMAGE_PREFIX} " \
7575 CONTAINER_IMAGE_SUFFIX=" ${CONTAINER_IMAGE_SUFFIX} " \
7676 AWS_ACCOUNT_ID=" ${AWS_ACCOUNT_ID} " \
7777 AWS_REGION=" ${REGION} " \
7878 PUBLISH_CONTAINER_IMAGE=" ${PUBLISH_CONTAINER_IMAGE} " \
79- npm run build:container --workspaces -- if-present
79+ pnpm -r run -- if-present build:container
8080
8181popd || exit 1 # Return to working directory
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -euo pipefail
44
55rm -rf dist
66
7- npx esbuild \
7+ pnpm exec esbuild \
88 --bundle \
99 --minify \
1010 --sourcemap \
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ cd "$(git rev-parse --show-toplevel)"
1111#
1212# rails test:unit
1313# python manage.py test
14- # npm run test
14+ # pnpm run test
1515#
1616# or whatever is appropriate to your project. You should *only* run your fast
1717# tests from here. If you want to run other test suites, see the predefined
You can’t perform that action at this time.
0 commit comments