Skip to content

Commit 0d4ba6a

Browse files
author
MRBadri
committed
refactor: rename project from Figmicon to IconSync; update documentation, CLI commands, and configuration files to reflect new branding and improve user guidance
1 parent beb68e1 commit 0d4ba6a

File tree

14 files changed

+52
-53
lines changed

14 files changed

+52
-53
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ export default iconConfig({
7171
```json
7272
{
7373
"scripts": {
74-
"icon:fetch": "figmicon fetch",
75-
"icon:cache:stats": "figmicon cache:stats",
76-
"icon:cache:clear": "figmicon cache:clear",
77-
"icon:generate": "figmicon generator"
74+
"icon:fetch": "iconsync fetch",
75+
"icon:cache:stats": "iconsync cache:stats",
76+
"icon:cache:clear": "iconsync cache:clear",
77+
"icon:generate": "iconsync generator"
7878
}
7979
}
8080
```
@@ -141,10 +141,10 @@ The main configuration function that accepts the following options:
141141

142142
## CLI Commands
143143

144-
- `figmicon fetch`: Fetch icons from Figma
145-
- `figmicon generator`: Generate React components from fetched icons
146-
- `figmicon cache:stats`: View cache statistics
147-
- `figmicon cache:clear`: Clear the cache
144+
- `iconsync fetch`: Fetch icons from Figma
145+
- `iconsync generator`: Generate React components from fetched icons
146+
- `iconsync cache:stats`: View cache statistics
147+
- `iconsync cache:clear`: Clear the cache
148148

149149
## License
150150

apps/docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Figmicon Documentation
1+
# IconSync Documentation
22

3-
This is the documentation site for Figmicon, built with [Nextra](https://nextra.site/) and [Next.js](https://nextjs.org/).
3+
This is the documentation site for IconSync, built with [Nextra](https://nextra.site/) and [Next.js](https://nextjs.org/).
44

55
## Development
66

apps/docs/pages/getting-started/installation.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ Add these scripts to your `package.json`:
4545
```json
4646
{
4747
"scripts": {
48-
"icon:fetch": "figmicon fetch",
49-
"icon:cache:stats": "figmicon cache:stats",
50-
"icon:cache:clear": "figmicon cache:clear",
51-
"icon:generate": "figmicon generator"
48+
"icon:fetch": "iconsync fetch",
49+
"icon:cache:stats": "iconsync cache:stats",
50+
"icon:cache:clear": "iconsync cache:clear",
51+
"icon:generate": "iconsync generator"
5252
}
5353
}
5454
```

apps/docs/pages/getting-started/usage.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Fetch icons from your Figma file:
1111
npm run icon:fetch
1212

1313
# Or directly with the CLI
14-
npx figmicon fetch
14+
npx iconsync fetch
1515
```
1616

1717
This will download SVG icons from your configured Figma file and store them in a local cache.
@@ -25,7 +25,7 @@ Generate React components from the fetched icons:
2525
npm run icon:generate
2626

2727
# Or directly with the CLI
28-
npx figmicon generator
28+
npx iconsync generator
2929
```
3030

3131
This will create React components in the output directory specified in your configuration.

apps/docs/pages/icons.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ After setting up your configuration file, you can fetch icons from Figma:
4141

4242
```bash
4343
# Using the CLI directly
44-
npx figmicon fetch
44+
npx iconsync fetch
4545

4646
# Or using a package.json script
4747
npm run icon:fetch
@@ -53,7 +53,7 @@ After fetching icons, you can generate React components:
5353

5454
```bash
5555
# Using the CLI directly
56-
npx figmicon generator
56+
npx iconsync generator
5757

5858
# Or using a package.json script
5959
npm run icon:generate

apps/docs/theme.config.jsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
export default {
2-
logo: <span>Figmicon Docs</span>,
2+
logo: <span>Iconsync Docs</span>,
33
project: {
4-
link: 'https://github.com/mrbadri/figmicon',
4+
link: 'https://github.com/mrbadri/iconsync',
55
},
6-
docsRepositoryBase: 'https://github.com/mrbadri/figmicon/tree/main/apps/docs-nextra',
6+
docsRepositoryBase: 'https://github.com/mrbadri/iconsync/tree/main/apps/docs-nextra',
77
footer: {
8-
text: ${new Date().getFullYear()} Figmicon. All rights reserved.`,
8+
text: ${new Date().getFullYear()} IconSync. All rights reserved.`,
99
},
1010
useNextSeoProps() {
1111
return {
12-
titleTemplate: '%s – Figmicon'
12+
titleTemplate: '%s – IconSync'
1313
}
1414
},
1515
head: (
1616
<>
1717
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
18-
<meta property="og:title" content="Figmicon" />
19-
<meta property="og:description" content="Figmicon documentation" />
18+
<meta property="og:title" content="IconSync" />
19+
<meta property="og:description" content="IconSync documentation" />
2020
</>
2121
),
2222
}

examples/next/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"dev": "next dev -p 3002",
99
"lint": "next lint",
1010
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
11-
"icon:fetch": "figmicon fetch",
12-
"icon:cache:stats": "figmicon cache:stats",
13-
"icon:cache:clear": "figmicon cache:clear",
14-
"icon:generate": "figmicon generator"
11+
"icon:fetch": "iconsync fetch",
12+
"icon:cache:stats": "iconsync cache:stats",
13+
"icon:cache:clear": "iconsync cache:clear",
14+
"icon:generate": "iconsync generator"
1515
},
1616
"dependencies": {
1717
"@iconsync/core": "workspace:*",

packages/core/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ export default iconConfig({
7171
```json
7272
{
7373
"scripts": {
74-
"icon:fetch": "figmicon fetch",
75-
"icon:cache:stats": "figmicon cache:stats",
76-
"icon:cache:clear": "figmicon cache:clear",
77-
"icon:generate": "figmicon generator"
74+
"icon:fetch": "iconsync fetch",
75+
"icon:cache:stats": "iconsync cache:stats",
76+
"icon:cache:clear": "iconsync cache:clear",
77+
"icon:generate": "iconsync generator"
7878
}
7979
}
8080
```
@@ -141,10 +141,10 @@ The main configuration function that accepts the following options:
141141

142142
## CLI Commands
143143

144-
- `figmicon fetch`: Fetch icons from Figma
145-
- `figmicon generator`: Generate React components from fetched icons
146-
- `figmicon cache:stats`: View cache statistics
147-
- `figmicon cache:clear`: Clear the cache
144+
- `iconsync fetch`: Fetch icons from Figma
145+
- `iconsync generator`: Generate React components from fetched icons
146+
- `iconsync cache:stats`: View cache statistics
147+
- `iconsync cache:clear`: Clear the cache
148148

149149
## License
150150

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"clean": "rm -rf .turbo node_modules dist"
1414
},
1515
"bin": {
16-
"figmicon": "dist/cli.js"
16+
"iconsync": "dist/cli.js"
1717
},
1818
"exports": {
1919
".": {

packages/core/src/cli/generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const generatorCommand = async (options: GeneratorOptions = {}) => {
6060
);
6161
console.log(
6262
generatorLogger(),
63-
"Run 'figmicon fetch' first to download SVG icons"
63+
"Run 'iconsync fetch' first to download SVG icons"
6464
);
6565
return;
6666
}

0 commit comments

Comments
 (0)