Remove hard dependency on Jason

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
elixir
領域
backend

調査の方向性

Start with the Jason call in lib/esbuild/npm_registry.ex identified in the issue, then read how Phoenix and LiveView select a JSON library via :json_library. Decide whether to support configurable JSON modules with an optional Jason dependency or require Elixir 1.18+ and remove Jason. Done means esbuild handles JSON through the chosen approach and Phoenix apps can be generated without an unconditional Jason dependency.

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

説明

Support custom JSON module implementation via config :json_library as in Phoenix and LiveView, make the :jason dependency optional.
Alternatively, require Elixir 1.18+ and drop the dependency on Jason entirely.

See https://github.com/phoenixframework/phoenix/pull/6815.

This would enable future Phoenix apps to be generated without depending on Jason.

There is only a single call to Jason in the entire code base:

https://github.com/phoenixframework/esbuild/blob/86f43046c069df68702082f8376be3be38e89652/lib/esbuild/npm_registry.ex#L47

主要言語
Elixir
スター
276
フォーク
42
平均マージ
1分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

phoenixframework/esbuild のほかの issue

phoenixframework/esbuild の issue をすべて見る

似ている issue

Elixir の issue をもっと見る

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

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