11.9 C
New York
Sunday, April 6, 2025

Deno provides workspaces for managing monorepos



The most recent replace to the Deno TypeScript /JavaScript and WebAssembly runtime options workspace help together with Node.js compatibility enhancements.

Deno 1.45 was launched July 11. The discharge introduces workspaces for managing monorepos, simplifying dependency administration, configuration sharing, and module group throughout giant code bases, Deno Land stated. There are two types of supported workspaces: Deno-first workspaces outlined in deno.json and backwards-compatible NPM workspaces. International configuration for these workspaces is utilized to every member bundle however might be overridden by members. Builders can combine and match NPM and Deno workspaces, with an NPM bundle inside a Deno workspace or vice versa.

For Node.js compatibility, Node-API help has been revamped, fixing points with packages resembling prisma, sqlite3,  and  paper. Different Node.js compatibility enhancements embody engaged on help for dd.hint and help for fs.lutimes and fs.lutimesSync. Additionally, node:crypto and node:zlib had been added. The node:http module was up to date, with capabilities resembling Server#shut() now doing a sleek shutdown, permitting in-flight requests to complete. In one other enchancment, the node:vm will devour much less reminiscence. For NPM help, varieties shipped with the bundle are now most popular over varieties from @varieties scope.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles