First-class JSR support
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- typescript
- 領域
- compilers
調査の方向性
この issue には、まず取りかかるべきファイル、テスト、エントリーポイントが記載されていません。まず、意図する JSR 解決の動作とアーキテクチャ上の制約を明確にし、その後、変更が必要になるコンパイラと依存関係解決の領域を特定してください。完了の条件は、実装範囲について合意し、TypeScript の JSR 依存関係を同じコンパイルおよび型チェックのグラフに組み込めることを検証することです。
索引モデルが issue の本文から書いたものです。
説明
JSR packages can publish TypeScript source directly, rather than the usual npm model of shipping transpiled JS alongside .d.ts files.
It feels like that could be a really good fit for scriptc. Given something like:
import { something } from "jsr:@scope/package";
could scriptc resolve the package's TypeScript source and include it in the same compilation/type-checking graph as the application code?
My assumption is that, provided the package only uses constructs supported by scriptc's static tier, this could allow the dependency itself to be compiled to native code rather than requiring the dynamic runtime. It would also make JSR a potentially interesting ecosystem for libraries intentionally written to remain statically compilable.
I'm mainly curious whether this is something you've thought about, and whether there are architectural reasons why resolving JSR/TypeScript dependencies this way wouldn't work.
I realize npm compatibility is probably the more immediately useful target given the size of that ecosystem, but first-class JSR support seems like it could complement that nicely, especially for people interested in building mostly or entirely static scriptc applications.
- 主要言語
- TypeScript
- スター
- 5.1k
- フォーク
- 130
- 平均マージ
- 1時間 13分
- マージ済み PR(30日)
- 245
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vercel-labs/scriptc のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
vercel-labs/scriptc#522 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
vercel-labs/scriptc#293 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
vercel-labs/scriptc#265 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
vercel-labs/scriptc#260 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
vercel-labs/scriptc#250 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
vercel-labs/scriptc の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
openedx/frontend-app-authoring#3274 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
area/documentation status/need-triage
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
google-gemini/gemini-cli#29548 ·
メンテナーはふだん 1 日以内に返信
-
sdk-typescript vector-store
難易度 2/5 半日 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信