[CLI] Skip interactive mapping phase using the configuration file

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

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

評価

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

調査の方向性

Start by reading the connect command entry point and how it currently reads interactiveSetupFigmaFileUrl from the configuration. Trace the interactive discovery and mapping flow to identify which configuration shape could provide mapping decisions. Done means connect can use mappings from the config and skip the interactive mapping phase; the issue does not name specific files or tests.

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

説明

feature request

When using the connect command I'd like to be able to skip the interactive mapping phase and directly provide my mapping decisions from the config file.

Rationale:

Right now the only parameter used by the connect command is interactiveSetupFigmaFileUrl.
However, for the vast majority of my components, I already know which node will be mapped to which file in my repository and asking for the acutal mapping is more of a confirmation than anything else. In the end going through the interactive discovery / mapping phase is not really required.

I know the connect command is not supposed to be run again and again but selecting the components to connect is cumbersome, time-consuming and may lead to configuration errors due to its interactive nature.

主要言語
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 を短くまとめたダイジェスト。