---
title: "Deno 1.45: Workspace and Monorepo Support"
description: "Deno 1.45 adds workspace support for monorepos, configured via a \"workspace\" array in deno.json."
url: "https://swe.quest/articles/deno-1-45-workspace-and-monorepo-support-dcf6c24db7aa3c2a"
canonical: "https://deno.com/blog/v1.45"
source: "Deno"
published: "2024-07-11"
difficulty: "medium"
kind: "Release"
reading_minutes: 11
tags: ["javascript","typescript","build-systems","developer-tools"]
---

# Deno 1.45: Workspace and Monorepo Support

A post on [Deno](https://swe.quest/sources/deno.md), published 2024-07-11, 11 min read, Release. Original: [https://deno.com/blog/v1.45](https://deno.com/blog/v1.45)

## Summary

Deno 1.45 adds workspace support for monorepos, configured via a "workspace" array in deno.json. Global config applies to members with per-member overrides, and Deno and npm workspaces can be mixed. The release also revamps Node-API and many node:http/fs/crypto compat details, adds a --frozen lockfile flag for CI (replacing --lock-write), opt-in npm lifecycle scripts via --allow-scripts, npm-like deno install behind DENO\_FUTURE=1, and deno init --lib. It deprecates deno vendor in favor of the vendor option, discovers \_\_tests\_\_ directories, adds Blob.bytes(), bakes .env values into deno compile binaries, and gives the language server per-deno.json scopes. It ships V8 12.7 and TypeScript 5.5.2.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- Deno basics
- npm package management ([easy posts on Engineering management](https://swe.quest/tags/engineering-management.md?difficulty=easy))

## Keywords

Deno, JSR, npm workspaces, Node-API, V8, TypeScript 5.5

## Related posts

- [Deno 1.34: deno compile supports npm packages](https://swe.quest/articles/deno-1-34-deno-compile-supports-npm-packages-6066648b7bf9ee04.md): Deno · 2023-05-25 · Medium · 6 min read · JavaScript, Runtimes & VMs, Developer tools, TypeScript
  Deno 1.34 lets \`deno compile\` bundle npm packages and their dependencies into a single self-contained executable.
- [Deno 1.29: Custom npm registry support](https://swe.quest/articles/deno-1-29-custom-npm-registry-support-bb900a99a83ddca1.md): Deno · 2022-12-14 · Medium · 11 min read · JavaScript, TypeScript, Runtimes & VMs, Developer tools
  Deno 1.29 adds custom npm registry support via the NPM\_CONFIG\_REGISTRY environment variable, lets npm specifiers work with \`deno install\` (with an auto-generated lockfile), and enables npm imports in the REPL. \`deno repl\` now starts with no permissions by default.
- [Deno 1.42: Better dependency management with JSR](https://swe.quest/articles/deno-1-42-better-dependency-management-with-jsr-c869439ba578c752.md): Deno · 2024-03-28 · Medium · 9 min read · JavaScript, TypeScript, Runtimes & VMs, Build systems, Developer tools
  Deno 1.42 adds first-class JSR support through new \`deno publish\` and \`deno add\` subcommands, which install packages from JSR and npm and write import map entries.
- [Deno 1.28: Featuring 1.3 Million New Modules](https://swe.quest/articles/deno-1-28-featuring-1-3-million-new-modules-2730b24ac8878c7c.md): Deno · 2022-11-14 · Medium · 6 min read · JavaScript, Supply chain security, Runtimes & VMs
  Deno 1.28 stabilizes npm compatibility, letting programs import any of npm's 1.3 million packages via \`npm:\` specifiers in imports or import maps, and run npm CLIs with \`deno run npm:\<pkg\>\`, with no package.json, install step or node\_modules folder by default.
- [Announcing Deno 2](https://swe.quest/articles/announcing-deno-2-5e607a5c7027789d.md): Deno · 2024-10-09 · Easy · 12 min read · JavaScript, TypeScript, Runtimes & VMs, Developer tools, Build systems
  Deno 2 adds backwards compatibility with Node.js and npm, so it runs existing Node projects using package.json, node\_modules and npm workspaces, and supports npm: import specifiers without a manifest.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
