Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Cloudflare deploy: one app, several environments

Đang mở
#468 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
cloud, devops

Hướng nghiên cứu

Start with the deploy reference and Cloudflare guide named in the issue, then trace how void deploy reads the root void.config.ts and selects a Worker and its resources. The issue does not identify the relevant source files or tests, so first locate the deploy configuration entry point. Done means one app directory can deploy to at least two environments, each with its own Worker and resources, selected at deploy time.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

What

On direct Cloudflare deploys, one app directory can deploy to only one environment.

The deploy reference marks named environments "Unavailable; use the top-level cloudflare config", and --project as unsupported (CLI: deploy).
The Cloudflare guide says "Named environments need separate Void project configs" (Cloudflare). But void.config.ts sits at the project root, void deploy has no flag to choose a different config, and no page explains how to do it.

Today we deploy one app directory to development, staging and production Workers, each with its own resources.

Done when

One app directory deploys to at least two environments, each with its own Worker and resources, chosen at deploy time.

Ngôn ngữ chính
TypeScript
Star
402
Fork
32
Merge trung bình
10 giờ 51 phút
Pull request đã merge (30 ngày)
100

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của voidzero-dev/void

Tất cả issue của voidzero-dev/void

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.