Skip to content
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

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 coderbyheart moved this from To Do to Doing in nRF Asset Tracker PR dashboard 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.

@coderbyheart coderbyheart moved this from Doing to On hold in nRF Asset Tracker PR dashboard May 6, 2022
@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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
2 participants