Skip to content

Commit

Permalink
fix: change the script name
Browse files Browse the repository at this point in the history
  • Loading branch information
MH4GF committed Oct 15, 2024
1 parent 204cfb9 commit 2cbabae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/figma-to-css-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/figma-to-css-variables/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```
2 changes: 1 addition & 1 deletion frontend/packages/figma-to-css-variables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:*",
Expand Down

0 comments on commit 2cbabae

Please sign in to comment.