InfoQ Homepage TypeScript Content on InfoQ
-
New Deno Module Builds and Compiles Vue Applications
The vno Deno module, which self-describes as the first build tool for compiling and bundling Vue single-file components in a Deno runtime environment, recently released its first stable version. vno v1.0 features a parser, compiler, bundler, and an adapter. A server-side renderer is planned.
-
TypeScript 4.1 Adds Template Literal Types
The TypeScript team announced the release of TypeScript 4.1, which includes powerful template literal types, key remapping of mapped types, and recursive conditional types.
-
Server-Rendered Web Applications in Deno with Aleph.js
Aleph.js, a React framework for server-rendered applications in Deno, is now available through an alpha release. Aleph makes many of Next.js’ core features available in Deno environments: zero-config server-side rendering, static site generation, file-system and API routing, and more. Aleph uses the standard EcmaScript Modules (ESM) import syntax and does not need a bundler in development.
-
Deno 1.5 Sees 3x Bundling Performance Improvement Due to Rust-Based JavaScript/TypeScript Compiler
The team behind the Deno runtime for JavaScript and TypeScript recently released Deno 1.5. Deno 1.5 improved bundling time by using Rust-based JavaScript/TypeScript compiler swc. Deno further reduces bundle size with tree-shaking and implements the alert, confirm, and prompt web platform APIs. The latter may allow developers to write simple interactive applications in the terminal.
-
Bloomberg Engineering Share Experiences of Adopting TypeScript across a Large Codebase
Rob Palmer, JavaScript infrastructure and tooling lead at Bloomberg, recently shared a few learning points and insights from the adoption of TypeScript at scale at Bloomberg. While some learning points are specific to Bloomberg’s custom runtime, others may be valuable across any large codebase switching to TypeScript.
-
Cypress 5.x Adds Test Retries and Shadow DOM Support
Cypress, a browser-based test runner and dashboard, recently introduced native support for test retries in the Cypress 5.0 release, helping developers avoid intermittent test failures. Other recent Cypress advances include networking stubbing and shadow DOM support.
-
NativeScript 7 Moves from ES5 to ES2017+
NativeScript 7 aligns with modern JavaScript standards by targeting es2017+. Additionally, it streamlines app configuration by consolidating it in a single file and replaces JavaScriptCore with V8 for iOS apps.
-
Airbnb Releases Tool to Convert Large Codebases to Typescript
The Airbnb engineering team recently released ts-migrate, a tool to help migrate JavaScript code to TypeScript. While the resulting TypeScript code will compile, manual revision of a few annotations (e.g. any) will still be necessary. An automated process may however be more productive than starting from scratch. The Airbnb team reports converting projects with over 50,000 lines of code in a day.
-
TypeScript 4.0 Adds Long-Awaited Variadic Tuple Types
The TypeScript team announced the release of TypeScript 4.0, which includes long-awaited variadic tuple type support and other improvements without introducing any major breaking changes.
-
Next.js 9.5 Improves Static Site Regeneration Performance
Next.js, the open-source React-based framework from Vercel, adds several static site generation performance improvements in the Next.js 9.5 release. The release also allows developers to optionally opt-in to Webpack 5 beta for smaller and faster builds.
-
Svelte Adds Official TypeScript Support
The Svelte JavaScript framework leverages TypeScript, but until recently, it was challenging to use TypeScript to create Svelte web apps. The latest Svelte updates add official TypeScript support to Svelte.
-
Ionic Capacitor 2 Improves Mobile Authentication and Cross-Domain HTTPS
The recent Ionic Capacitor 2 release updates the underlying Swift, XCode, and Android versions, adds Face Unlock and Iris Unlock, improves the core Capacitor plugins, and simplifies cross-domain HTTPS requests.
-
Cloud Development Kit Can Now Generate Terraform Configurations Using TypeScript and Python
AWS, HashiCorp, and Terrastack collaborated to release a preview of the CDK for Terraform, or cdktf. Developers can use programming languages like Python or Typescript to manage infrastructure as code. cdktf generates a Terraform configuration in JSON. Also, cdktf supports any existing modules and providers from the Terraform registry to deploy resources to AWS, Azure, or Google Cloud.
-
Fastify 3.0 Improves Performance, Logging, Schema, and TypeScript Support
Fastify is an open-source, low-performance overhead Node.js web framework. Fastify version 3 introduces support for running Express applications inside Fastify, adds improvements to logging serialization and schema substitution, and provides better TypeScript definition support.
-
Esbuild JavaScript Bundler Claims 10-100x Faster Bundling Time
esbuild, a JavaScript bundler and minifier, seeks to bring order-of-magnitude speed improvements in the JavaScript bundling and minification process. esbuild achieves its speed by being written in Go compiled to native code, parallelizing tasks to leverage multi-core processors , and minimizing data transformations.