Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

First-class JSR support

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

メンテナーはふだん 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

vercel-labs/scriptc のほかの issue

vercel-labs/scriptc の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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