Skip to content

Support for Deno 2.0 in Angular #28884

@nikl0n

Description

@nikl0n

Which @angular/* package(s) are relevant/related to the feature request?

core

Description

With the release of Deno 2.0, compatibility with Node.js and npm has been significantly enhanced, allowing frameworks like Angular to operate within the Deno environment. Integrating Angular with Deno 2.0 would provide developers with a modern, secure, and efficient runtime for building Angular applications.

Proposed solution

  • Update the Angular CLI to support Deno 2.0 for project scaffolding, building, and serving applications.
  • Ensure that @angular/core and related packages are compatible with Deno's module system and runtime APIs.
  • Provide documentation and examples demonstrating how to develop, build, and deploy Angular applications using Deno 2.0.

Implementing these changes would expand Angular's versatility and offer developers more choices in their development environments.

Alternatives considered

Before proposing official support for Deno 2.0 in Angular, I explored the following alternatives:

  1. Manual Configuration: Attempted to manually configure Angular projects to run on Deno by adjusting build scripts and dependencies. However, this approach proved complex and error-prone, leading to maintenance challenges.
  2. Community Plugins: Searched for community-developed plugins or tools that facilitate Angular's integration with Deno. While some experimental solutions exist, they lack comprehensive support and are not actively maintained.
  3. Alternative Frameworks: Considered using other frameworks that natively support Deno. However, this would require significant refactoring of existing Angular applications and retraining of development teams.

These alternatives highlighted the need for official support to ensure a seamless and reliable integration of Angular with Deno 2.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions