fly-apps / fly-apps/dockerfile-node

Handle SvelteKit adapters properly

オープン
#60 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
187
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

  • with SvelteKit using bun as the package manager and builder does not mean to use bun as the runner
  • the runner language is determined by the adapter, not the runtime used to build
  • I can use bun to build a nodejs output, and vice versa
  • and also: with adapter-static, it should use the nginx thing it does for astro

Stories:

  • Right now, if I launch a SvelteKit app that uses bun as its package manager but adapter-node as its runtime, it tries to run the node bundle with bun which won't work properly
  • Right now, if I launch a SvelteKit app that uses adapter-static, it assumes it's node/bun and runs it with that
  • Right now, the deno adapter and anything else probably is broken in a similar way

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、生成されたアプリケーションの起動時に使用される SvelteKit のアダプターとランタイム検出を追跡し、静的出力に対する既存の Astro の nginx 処理と比較します。完了条件は、adapter-node がパッケージマネージャーや builder に関係なく Node を使用し、adapter-static が nginx を使用し、他のアダプターが誤って Bun や Node で実行されないことです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
devops
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。