Deno adds workspaces for managing monorepos

Published on:

The most recent replace to the Deno TypeScript /JavaScript and WebAssembly runtime options workspace assist 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 will be overridden by members. Builders can combine and match NPM and Deno workspaces, with an NPM bundle inside a Deno workspace or vice versa.

- Advertisement -

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

See also  Google adds Gemini to BigQuery, Looker to help with data engineering
- Advertisment -

Related

- Advertisment -

Leave a Reply

Please enter your comment!
Please enter your name here