[CLI] Support programatic configuration

Offen
#347 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript
Bereich
cli

Rechercherichtung

Start by reading the CLI's current figma.config.json loading path and its configuration types. Check how the CLI discovers and loads config files, then assess support for the listed JavaScript and TypeScript formats. Done means the CLI can load those formats and the documented configuration options remain usable.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

feature request

Currently the CLI is configured through the figma.config.json file.

It would be nice to support other config files formats like:

  • figma.config.js
  • figma.config.cjs
  • figma.config.mjs
  • figma.config.ts
  • figma.config.mts

Doing so could bring benefits like

  • Config validation by the IDE (if types are exposed)
  • Export node URL substitutions as constants and import them into the mapping files.
  • ...
Vorherrschende Sprache
TypeScript
Sterne
1.6k
Forks
126
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus figma/code-connect

Alle Issues in figma/code-connect

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.