Define the portable application deployment adapter contract

未关闭
#328 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript, vite

调研方向

首先追踪 issue 中描述的由 plugin 管理的应用模式、生成的虚拟模块、环境设置、构建顺序、输出目录、清单以及 prerender 行为。梳理现有的面向 provider 的假设,然后记录并测试一个稳定的契约;当部署适配器可以使用具名 API 或类型,而无需导入私有模块或复现内部行为时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Problem

The plugin-managed application mode can compose with provider Vite plugins, but the deployment-facing contract is currently spread across generated virtual modules, environment setup, build ordering, output directories, manifests, static output, and prerender behavior.

Provider integrations should not need to depend on undocumented implementation details to deploy a Solid application.

Proposed scope

Document and test the portable contract between @solidjs/vite-plugin and deployment adapters:

  • the production server service entry and Fetch handler shape
  • client and server environment names and required build ordering
  • client assets, manifests, and output locations
  • SSR, client-only, and server-function-only output differences
  • static shell and prerender output
  • which lifecycle steps the Solid plugin owns
  • which responsibilities remain with provider plugins

Where appropriate, expose named APIs or types instead of requiring adapters to import private virtual modules or reproduce internal assumptions.

Non-goals

  • implementing provider-specific deployment policy
  • replacing Cloudflare, Netlify, Nitro, or other Vite integrations
  • prescribing platform configuration

The goal is a stable composition boundary so provider plugins can remain thin adapters over a web-standard Solid application handler.

主要语言
TypeScript
星标
520
派生
70
平均合并
23 小时 35 分钟
30 天内合并 PR
39

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

solidjs/solid-vite-plugin 的其他 Issue

查看 solidjs/solid-vite-plugin 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。