Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '24'
cache: 'npm'

- name: Install Dependencies
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
# FigGit

[![CI Status](https://github.com/findyourexit/figgit/workflows/CI/badge.svg)](https://github.com/findyourexit/figgit/actions)
[![Test Coverage](https://img.shields.io/badge/coverage-94.51%25-brightgreen)](https://github.com/findyourexit/figgit)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.4-blue)](https://www.typescriptlang.org/)
![Node](https://img.shields.io/badge/node-%3E%3D20-brightgreen)
![Node](https://img.shields.io/badge/node-%3E%3D24-brightgreen)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
<!-- ![Version](https://img.shields.io/github/v/release/findyourexit/figgit) -->

Expand Down Expand Up @@ -125,7 +124,7 @@ Example DTCG export:
"com.figma": {
"exportedAt": "2025-01-15T10:30:00.000Z",
"fileName": "Design System",
"pluginVersion": "0.2.0",
"pluginVersion": "0.3.1",
"collectionsCount": 3,
"variablesCount": 42,
"contentHash": "sha256:a1b2c3..."
Expand Down Expand Up @@ -174,7 +173,7 @@ Example Figma-native export (per collection):
"contentHash": "c19f6a...",
"exportedAt": "2025-12-03T23:21:11.219Z",
"fileName": "Katalyst Design System",
"pluginVersion": "0.2.0",
"pluginVersion": "0.3.1",
"exportFormat": "figma-native",
"exportType": "perCollection",
"collectionId": "889:34",
Expand Down Expand Up @@ -231,7 +230,7 @@ Use **single-file** export when you want one consolidated JSON, or switch to **p
### Requirements

- **Figma Desktop** (plugin API not available in browser version)
- **Node.js 20+** (for building the plugin)
- **Node.js 24+** (for building the plugin)
- **GitHub Repository** with write access
- **GitHub Personal Access Token** (fine-grained or classic with `repo` scope)

Expand Down Expand Up @@ -357,7 +356,6 @@ Enable dry run to:
- Test configuration without committing
- Preview what would be committed
- Verify diff calculation
- Preserve last known hash state

### Automatic Branch Creation

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"description": "A Figma plugin for exporting variables to GitHub.",
"author": "Tom Larcher <tom.larcher@gmail.com>",
"license": "MIT",
"engines": {
"node": ">=24"
},
"keywords": [
"figma",
"figma-plugin",
Expand Down
78 changes: 0 additions & 78 deletions scripts/build.mjs

This file was deleted.

4 changes: 1 addition & 3 deletions src/export/buildDtcgJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ import {
import { stableStringify } from '../util/stableStringify';
import { sha256 } from './hash';
import { normalizeModeValue } from './valueNormalization';

/** Plugin version - can be replaced during build via define if desired */
const PLUGIN_VERSION = '0.2.0';
import { PLUGIN_VERSION } from '../constants';

/**
* Minimal shape for a collection mode to avoid implicit any.
Expand Down
Loading
Loading