Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Switch to ESM #572

Closed
2 of 4 tasks
coderbyheart opened this issue Sep 6, 2021 · 8 comments · Fixed by #1339
Closed
2 of 4 tasks

Switch to ESM #572

coderbyheart opened this issue Sep 6, 2021 · 8 comments · Fixed by #1339

Comments

@coderbyheart coderbyheart added the blocked Issue is blocked label Sep 6, 2021
@coderbyheart coderbyheart self-assigned this Jan 7, 2022
@coderbyheart coderbyheart removed the blocked Issue is blocked label Jan 7, 2022
coderbyheart added a commit to NordicSemiconductor/cloud-aws-package-layered-lambdas-js that referenced this issue Jan 7, 2022
coderbyheart added a commit to NordicSemiconductor/cloud-aws-package-layered-lambdas-js that referenced this issue Jan 7, 2022
coderbyheart added a commit to NordicSemiconductor/cloud-aws-package-layered-lambdas-js that referenced this issue Jan 7, 2022
* feat: switch to ESM and esbuild

ESM support is now available on AWS Lambda:
https://aws.amazon.com/de/blogs/compute/using-node-js-es-modules-and-top-level-await-in-aws-lambda/

See NordicSemiconductor/asset-tracker-cloud-aws-js#572

Closes #365

BREAKING CHANGE: this requires lambdas to be authored for ESM
coderbyheart added a commit that referenced this issue Jan 7, 2022
@github-actions
Copy link

github-actions bot commented Jan 7, 2022

🎉 This issue has been resolved in version 32.6.0-switch-to-esm.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

coderbyheart added a commit that referenced this issue Jan 7, 2022
@github-actions
Copy link

github-actions bot commented Jan 7, 2022

🎉 This issue has been resolved in version 33.0.0-switch-to-esm.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Jan 7, 2022

🎉 This issue has been resolved in version 33.1.0-switch-to-esm.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@coderbyheart coderbyheart added the blocked Issue is blocked label Jan 18, 2022
@coderbyheart
Copy link
Member Author

Blocked by ESM lambda not working with layers.

@pfried
Copy link

pfried commented Dec 14, 2022

Hi Markus, I guess you are also still stuck with this? I created an issue here: aws/aws-cdk#23333

@coderbyheart
Copy link
Member Author

A few days ago I started a new CDK TypeScript project and think we are now good to move to ESM: see #1185.

I have not observed the problem that you describe in your issue with having to maintain multiple tsconfig files.

@pfried
Copy link

pfried commented Dec 14, 2022

Great! I will take a look

@coderbyheart coderbyheart removed their assignment Jan 23, 2023
coderbyheart added a commit that referenced this issue Mar 20, 2023
- use [new protocol definitions from docs](NordicSemiconductor/asset-tracker-cloud-docs#665)
- switch to ES modules (Closes #572)
- get rid of fp-ts (makes code too complicated, no clear benefit)
@github-actions
Copy link

🎉 This issue has been resolved in version 40.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
2 participants