Skip to content

TypeScript layer example #467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 23, 2024
Merged

TypeScript layer example #467

merged 3 commits into from
Oct 23, 2024

Conversation

AWSRoman
Copy link
Contributor

@AWSRoman AWSRoman commented Oct 1, 2024

Issue #, if available: N/A

Description of changes: Add a sample Typescript package that builds into a function that uses the Node.js example layer.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yualexan
Copy link
Contributor

yualexan commented Oct 1, 2024

As discussed offline: merge TS and JS layer content in the same directory (layer-nodejs), with clear sub-directories differentiating the JS example from the TS example. This is because layer packaging scripts for TS and JS are the same, since they both use the same underlying runtime Node.js.

The app itself worked properly upon testing.

@AWSRoman AWSRoman force-pushed the AWSRoman/layer-typescript branch from 8b0a928 to ad07fed Compare October 16, 2024 20:05
@AWSRoman AWSRoman merged commit d23c322 into main Oct 23, 2024
@AWSRoman AWSRoman deleted the AWSRoman/layer-typescript branch October 24, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants