diff --git a/.github/workflows/figma-to-css-variables.yml b/.github/workflows/figma-to-css-variables.yml index 475f57de..3c719e21 100644 --- a/.github/workflows/figma-to-css-variables.yml +++ b/.github/workflows/figma-to-css-variables.yml @@ -28,7 +28,7 @@ jobs: - uses: ./.github/actions/pnpm-setup with: working-directory: ${{ env.working-directory }} - - run: pnpm --filter @packages/figma-to-css-variables gen --output '../../apps/service-site/src/styles' --filter-modes "Dark,Mode 1" + - run: pnpm --filter @packages/figma-to-css-variables sync --output '../../apps/service-site/src/styles' --filter-modes "Dark,Mode 1" env: FIGMA_FILE_KEY: ${{ secrets.FIGMA_FILE_KEY }} FIGMA_ACCESS_TOKEN: ${{ secrets.FIGMA_ACCESS_TOKEN }} diff --git a/frontend/packages/figma-to-css-variables/README.md b/frontend/packages/figma-to-css-variables/README.md index a9ce6f79..3ecf141e 100644 --- a/frontend/packages/figma-to-css-variables/README.md +++ b/frontend/packages/figma-to-css-variables/README.md @@ -28,5 +28,5 @@ If no specific argument is provided, the script defaults to running all steps in To run the script, use the following command: ```sh -FIGMA_FILE_KEY=FnK... FIGMA_ACCESS_TOKEN=figd_xxx pnpm --filter @packages/figma-to-css-variables gen --output '../../apps/service-site/src/styles' --filter-modes 'Dark,Mode 1' +FIGMA_FILE_KEY=FnK... FIGMA_ACCESS_TOKEN=figd_xxx pnpm --filter @packages/figma-to-css-variables sync --output '../../apps/service-site/src/styles' --filter-modes 'Dark,Mode 1' ``` diff --git a/frontend/packages/figma-to-css-variables/package.json b/frontend/packages/figma-to-css-variables/package.json index ee49d710..de9f0d11 100644 --- a/frontend/packages/figma-to-css-variables/package.json +++ b/frontend/packages/figma-to-css-variables/package.json @@ -2,7 +2,7 @@ "name": "@packages/figma-to-css-variables", "main": "bin/index.mjs", "scripts": { - "gen": "node bin/index.mjs", + "sync": "node bin/index.mjs", "lint": "conc -c auto pnpm:lint:*", "lint:biome": "biome check .", "fmt": "conc -c auto pnpm:fmt:*",