Skip to content

Commit af6e505

Browse files
committed
fix icons
1 parent e5c0d2d commit af6e505

File tree

7 files changed

+9
-20
lines changed

7 files changed

+9
-20
lines changed

package.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@
77
"bin": {
88
"intentui": "dist/index.js"
99
},
10-
"files": [
11-
"dist",
12-
"src/resources",
13-
"LICENSE",
14-
"README.md",
15-
"package.json"
16-
],
10+
"files": ["dist", "src/resources", "LICENSE", "README.md", "package.json"],
1711
"repository": {
1812
"type": "git",
1913
"url": "git+https://github.com/intentuilabs/cli.git"
@@ -32,12 +26,7 @@
3226
"release": "export GITHUB_TOKEN=$(cat .github_token) && release-it",
3327
"typecheck": "tsc --noEmit"
3428
},
35-
"keywords": [
36-
"cli",
37-
"intentui cli",
38-
"Intent UI",
39-
"design-system"
40-
],
29+
"keywords": ["cli", "intentui cli", "Intent UI", "design-system"],
4130
"author": "Irsyad A. Panjaitan",
4231
"license": "MIT",
4332
"devDependencies": {

src/commands/add.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import { checkbox } from "@inquirer/prompts"
1010
import chalk from "chalk"
1111
import ora from "ora"
1212

13+
import { rename } from "@/commands/rename"
1314
import { writeCodeFile } from "@/utils"
1415
import { readUser } from "rc9"
1516
import { FILENAME } from "./blocks"
16-
import { rename } from "@/commands/rename"
1717

1818
const exceptions = ["field", "dropdown", "dialog"]
1919

src/commands/blocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import url from "node:url"
1010
import { customAlphabet } from "nanoid"
1111

1212
import path from "node:path"
13+
import { rename } from "@/commands/rename"
1314
import { writeCodeFile } from "@/utils"
1415
import { configManager } from "@/utils/config"
1516
import { getPackageManager } from "@/utils/get-package-manager"
@@ -20,7 +21,6 @@ import { listen } from "async-listen"
2021
import chalk from "chalk"
2122
import { readUser, updateUser } from "rc9"
2223
import { add } from "./add"
23-
import { rename } from "@/commands/rename"
2424

2525
export const FILENAME = ".intentui"
2626
const DOMAIN = "https://blocks.intentui.com"

src/commands/change-gray.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import fs, { writeFileSync } from "node:fs"
2+
import { rename } from "@/commands/rename"
23
import { getCSSPath } from "@/utils"
34
import { configManager } from "@/utils/config"
4-
import { isTailwind, intentuiConfigFile, possibilityCssPath } from "@/utils/helpers"
5+
import { intentuiConfigFile, isTailwind, possibilityCssPath } from "@/utils/helpers"
56
import { error, errorText, grayText, highlight } from "@/utils/logging"
67
import { getThemesRepoUrl } from "@/utils/repo"
78
import { confirm, select } from "@inquirer/prompts"
89
import ora from "ora"
9-
import { rename } from "@/commands/rename"
1010

1111
export const availableGrays = ["zinc", "gray", "slate", "neutral", "stone"]
1212

src/commands/diff.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import fs from "node:fs"
22
import path from "node:path"
33
import { add } from "@/commands/add"
4+
import { rename } from "@/commands/rename"
45
import { type Config, configManager } from "@/utils/config"
56
import { grayText, highlight, warningText } from "@/utils/logging"
67
import { getRepoUrlForComponent } from "@/utils/repo"
78
import { checkbox } from "@inquirer/prompts"
89
import chalk from "chalk"
910
import { diffLines } from "diff"
1011
import ora from "ora"
11-
import { rename } from "@/commands/rename"
1212

1313
/**
1414
* This function is used to sanitize the content of a component.

src/commands/help.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { rename } from "@/commands/rename"
12
import type { Command } from "commander"
23
import packageJson from "../../package.json"
3-
import { rename } from "@/commands/rename"
44

55
/**
66
* This variable is used to store the version of the CLI

src/utils/additional-deps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const additionalDeps = async (
1515
const dependencies: Record<string, string> = {
1616
toast: "sonner",
1717
drawer: "motion",
18-
disclosure: "intentui-icons",
18+
disclosure: "@intentui/icons",
1919
tabs: "motion",
2020
"progress-bar": "motion",
2121
navbar: "motion",

0 commit comments

Comments
 (0)