Code Connect UI - Connect to NPM Package

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript

調査の方向性

Read the Code Connect UI setup documentation linked in the issue and trace how the UI currently connects a GitHub repository. Identify where the repository connection is implemented and how MCP integration uses component imports. Done means users can connect to an NPM package and use its imports for component mapping, including when published package contents differ from the GitHub source.

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

説明

feature request

Currently the new Code Connect UI only allows connecting to a Github repository:
https://developers.figma.com/docs/code-connect/code-connect-ui-setup/

Component Libraries are published though through NPM in a majority of cases, so connecting to the code base itself is not useful for consumers of a certain library, which use the components through npm imports i.e. import {Button} from 'component-library'. Also worth considering is that the src code in Github might not match what is actually built and published through NPM.

It would be ideal to support this more properly, since consumers of a component library will install the library as a NPM dependency and don't care about where in Github the component is located, but how it can be imported through NPM. This applies also for MCP integration, where AI can't import a component from Github in all cases.

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

環境構築

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

はじめの一歩

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

figma/code-connect のほかの issue

figma/code-connect の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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