From acd1ea1ccaf89c2d2a66075c999d0a195afaf1a4 Mon Sep 17 00:00:00 2001 From: Nicolas Merget Date: Thu, 9 Jan 2025 09:39:55 +0100 Subject: [PATCH] chore: change package name from db-ui to db-ux --- README.md | 6 +++--- docs/API.md | 2 +- package.json | 4 ++-- src/data.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6a9722a..97e5450 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ To check the complete CLI API goto [API](./docs/API.md). For icon font generation each icon should be a single path. To clean up your icons run: ```shell -npx @db-ui/icon-font-tools clean-icons --src ./my-path-to/icons +npx @db-ux/icon-font-tools clean-icons --src ./my-path-to/icons ``` We use [svg-fixer](https://github.com/oslllo/svg-fixer) to clean up the icons. This will slightly increase the file size but ensures that the icons are displayed correctly. @@ -21,7 +21,7 @@ We use [svg-fixer](https://github.com/oslllo/svg-fixer) to clean up the icons. T For this run: ```shell -npx @db-ui/icon-font-tools generate-icon-fonts --src ./my-path-to/icons --fontName my-name +npx @db-ux/icon-font-tools generate-icon-fonts --src ./my-path-to/icons --fontName my-name ``` We search for all `**/*.svg` files inside the `--src` directory and create a new icon font with the provided name. You can preview all generated icons here: `./my-path-to/icons/fonts/all/index.html`. @@ -31,7 +31,7 @@ We search for all `**/*.svg` files inside the `--src` directory and create a new For more information run: ```shell -npx @db-ui/icon-font-tools --help +npx @db-ux/icon-font-tools --help ``` ### How to use diff --git a/docs/API.md b/docs/API.md index 74193bb..286a0c0 100644 --- a/docs/API.md +++ b/docs/API.md @@ -1,4 +1,4 @@ -# API - @db-ui/icon-font-tools +# API - @db-ux/icon-font-tools CLI for generating or manipulating icon fonts from SVG files. diff --git a/package.json b/package.json index 5a8aca1..09f3f6f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@db-ui/icon-font-tools", + "name": "@db-ux/icon-font-tools", "version": "0.0.0", "description": "A toolset for generating or manipulating icon fonts from SVG files.", "type": "module", @@ -9,7 +9,7 @@ }, "license": "Apache-2.0", "bin": { - "@db-ui/icon-font-tools": "dist/index.js" + "@db-ux/icon-font-tools": "dist/index.js" }, "main": "dist/index.js", "files": [ diff --git a/src/data.ts b/src/data.ts index 31826d0..2a9c2c3 100644 --- a/src/data.ts +++ b/src/data.ts @@ -3,7 +3,7 @@ import { gifAction } from "./commands/generate-icon-fonts"; import {cleanIconsOptions} from "./commands/clean-icons/data"; import {cleanIconAction} from "./commands/clean-icons"; -export const programName = "@db-ui/icon-font-tools"; +export const programName = "@db-ux/icon-font-tools"; export const programDescription = "CLI for generating or manipulating icon fonts from SVG files.";