ts-migrate
sls-test-tools
Our great sponsors
ts-migrate | sls-test-tools | |
---|---|---|
15 | 6 | |
5,301 | 187 | |
0.4% | 0.0% | |
4.6 | 0.0 | |
6 months ago | about 1 year ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ts-migrate
-
How to Do a TypeScript Conversion: an opinionated take on gradual conversions
Airbnb converted many millions of lines gradually using automation and wrote about it:
https://medium.com/airbnb-engineering/ts-migrate-a-tool-for-...
And also open sourced the tooling:
https://github.com/airbnb/ts-migrate
-
Declaring static json imported "as const"
Are you migrating with ts-migrate?
-
A Comparison of Node.js Environment Managers
When you migrate your entire project over to TypeScript, errors like "undefined is not a function", syntax errors, or reference errors should no longer exist in your codebase. Thankfully, this is not as daunting as it sounds. Migrating your entire Node.js application to TypeScript can be done incrementally so that you can start reaping the rewards immediately in crucial parts of the codebase. You can also adopt a tool like ts-migrate if you intend to perform the migration in one go.
-
How We Migrated from Javascript and Flow to TypeScript at Osome
Flow to ts β helps to produce raw migration from Flow to TS files and reduces monkey job. TS migrate β helps convert JS files to Typescript files. A great introduction can be found here.
- Should a team of one (me) with some TS experience attempt to refactor a mid-size fullstack app (React & Node) to TypeScript?
-
The Best Integration Testing Library for Serverless Projects Now Supports Typescript!
π‘ I typed it using ts-migrate ts-migrate is a tool I strongly recommend. It's been developed by Airbnb to help to migrate easily JavaScript projects to TypeScript.
-
Should I migrate to TS?
When you decide to migrate, I recommend checking https://github.com/airbnb/ts-migrate may speed few migration steps (but it wont solve missing types/interfaces)
-
How to Overcome Your TypeScriptoPhobia
You can use AirBnb's ts-migrate tool or try a more direct tactic following the Migrating from JavaScript guide.
-
[AskJS] Would a Javascript to Typescript Converter Be Useful?
Take a look at https://github.com/airbnb/ts-migrate
-
A Comprehensive Guide To Error Handling In Node.js
When you migrate your entire project over to TypeScript, errors like "undefined is not a function", syntax errors, or reference errors should no longer exist in your codebase. Thankfully, this is not as daunting as it sounds. Migrating your entire Node.js application to TypeScript can be done incrementally so that you can start reaping the rewards immediately in crucial parts of the codebase. You can also adopt a tool like ts-migrate if you intend to perform the migration in one go.
sls-test-tools
-
Easy Integration Tests for Event-Driven AWS Architectures with EventScout π¨π
Creating an EventBridge target to dump events to SQS. This approach was proposed in several articles (here and here) and implemented in the sls-test-tools library
-
The Best Integration Testing Library for Serverless Projects Now Supports Typescript!
How can you achieve that? π€ Using sls-test-tools π
-
Testing AWS Step Functions flows
Check out the sls-test-tools as well. It is a great library. I'm using aws-testing-library because I'm used to it.
-
Integration testing tool for DynamoDB
Integration testing in serverless architectures can be challenging. Testing specific outcomes within managed services is cumbersome. sls-test-tools provides a range of utilities, setup, teardown and assertions to make it easier to write effective and high quality integration tests for Serverless Architectures on AWS.
-
Cloud Driven Development - Episode #001
sls-test-tools
-
Testing the Async Cloud with AWS CDK
When writing tests using something like aws-testing-library or sls-test-tools, we must have credentials to an AWS account that at least lets us send a few events and subscribe to or query the results in order to perform assertions. Depending on the stance of our organization about cloud access, this could be completely fine or it could be a never-gonna-happen dealbreaker. Often this kind of approach will be OK for a development environment, but it could be unlikely to fly in production.
What are some alternatives?
TypeStat - Converts JavaScript to TypeScript and TypeScript to better TypeScript. π§«
super-serverless-sample - Backend serverless que simula o sistema de votação do BBB
jscodeshift - A JavaScript codemod toolkit.
websocat - Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
flow-to-typescript-codemod - Codemod Stripe used to migrate 6.5m+ lines of code from Flow to TypeScript
aws-testing-library - Chai (https://chaijs.com) and Jest (https://jestjs.io/) assertions for testing services built with aws
dependency-cruiser - Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
eventbridge-atlas - Open-source tool to document, discover, and share your Amazon EventBridge schemas.
mocha - βοΈ simple, flexible, fun javascript test framework for node.js & the browser
aws-cdk-rfcs - RFCs for the AWS CDK
astx - Super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring
s3-to-lambda-patterns - Example applications for the S3-to-Lambda patterns series in the AWS Compute Blog and learning path. Questions? @jbesw.