-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(): update lambdas to node20/arm64 (#1263)
<!--- Please provide a general summary of your changes in the title above --> # Pull Request type <!-- Please try to limit your pull request to one type; submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ] Code style update (formatting, renaming) - [x] Refactoring (no functional changes, no API changes) - [x] Build-related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior? <!-- Please describe the current behavior that you are modifying, or link to a relevant issue. --> Issue Number: N/A ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - - - ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this does introduce a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR, such as screenshots of how the component looks before and after the change. --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced Lambda functions for Cognito messaging and user migration with updated runtime and architecture. - Improved error handling in user verification to address specific known request errors. - **Refactor** - Streamlined build scripts and modified TypeScript configuration across several Lambda functions. - Adjusted database generation commands and paths to reflect new directory structures. - **Documentation** - Updated build methods and metadata in Lambda configuration files. - **Chore** - Introduced new build targets in Makefiles for better management of Lambda deployments. - **Bug Fixes** - Removed outdated ESLint disable comments to maintain code quality standards. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Showing
14 changed files
with
70 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.PHONY: build-cognitomessaging | ||
build-cognitomessaging: | ||
pnpm clean:dist | ||
pnpm install --ignore-scripts | ||
pnpm bundle | ||
cp package.json "$(ARTIFACTS_DIR)/" | ||
mv dist "$(ARTIFACTS_DIR)/" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
# .PHONY: build-usermigrate | ||
|
||
# build-usermigrate: | ||
# # turbo prune --scope=@weareinreach/aws-user-migrate --out-dir "$(ARTIFACTS_DIR)" | ||
# cd packages/aws-user-migrate | ||
# pnpm install --ignore-scripts | ||
# rm -fr dist | ||
# pnpm aws:db:generate --filter @weareinreach/aws-user-migrate | ||
# pnpm bundle --filter @weareinreach/aws-user-migrate | ||
# pnpm prune-clients --filter @weareinreach/aws-user-migrate | ||
# cp -r dist "$(ARTIFACTS_DIR)/" | ||
|
||
# build-RuntimeDependenciesLayer: | ||
# mkdir -p "$(ARTIFACTS_DIR)/nodejs" | ||
# cp package.json package-lock.json "$(ARTIFACTS_DIR)/nodejs/" | ||
# npm install --production --prefix "$(ARTIFACTS_DIR)/nodejs/" | ||
# rm "$(ARTIFACTS_DIR)/nodejs/package.json" # to avoid rebuilding when changes aren't related to dependencies | ||
.PHONY: build-usermigrate | ||
build-usermigrate: | ||
pnpm clean:dist | ||
pnpm install --ignore-scripts | ||
pnpm aws:db:generate | ||
pnpm bundle | ||
pnpm prune-clients | ||
cp package.json "$(ARTIFACTS_DIR)/" | ||
mv dist/client/* dist/ | ||
rm -fr dist/client | ||
mv dist "$(ARTIFACTS_DIR)/" | ||
turbo db:generate --filter=@weareinreach/db |
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 was deleted.
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
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