Skip to content

Commit

Permalink
chore: adjust names (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgarciadev authored Jan 9, 2025
1 parent 2ddf426 commit b2e0c37
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions packages/codemod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Output:
```bash
heroui Codemod v0.0.1

┌ Starting to migrate nextui to heroUI
┌ Starting to migrate nextui to heroui
◇ 1. Migrating "package.json"
Expand All @@ -164,7 +164,7 @@ heroui Codemod v0.0.1
◇ Migrated package.json
◇ 2. Migrating import "nextui" to "heroUI"
◇ 2. Migrating import "nextui" to "heroui"
◇ Do you want to migrate import nextui to heroui?
│ Yes
Expand Down
15 changes: 8 additions & 7 deletions packages/codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,30 @@
"private": false,
"type": "module",
"license": "MIT",
"version": "0.0.1",
"homepage": "https://github.com/nextui-org/nextui-cli#readme",
"version": "0.0.2",
"homepage": "https://github.com/frontio-ai/heroui-cli#readme",
"description": "A CLI tool that modifies your codebase to use the heroui",
"keywords": [
"UI",
"CLI",
"Tool",
"Frontio AI",
"NextUI",
"HeroUI",
"Integration",
"Modify Codebase"
],
"author": {
"name": "NextUI",
"email": "support@nextui.org",
"url": "https://github.com/nextui-org"
"name": "Frontio AI",
"email": "support@frontio.ai",
"url": "https://github.com/frontio-ai"
},
"repository": {
"type": "git",
"url": "https://github.com/nextui-org/nextui-cli.git"
"url": "https://github.com/frontio-ai/heroui-cli.git"
},
"bugs": {
"url": "https://github.com/nextui-org/nextui-cli/issues"
"url": "https://github.com/frontio-ai/heroui-cli/issues"
},
"publishConfig": {
"access": "public",
Expand Down
6 changes: 3 additions & 3 deletions packages/codemod/src/actions/migrate-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function migrateAction(projectPaths?: string[], options = {} as Mig
);
let step = 1;

p.intro(chalk.inverse(' Starting to migrate nextui to heroUI '));
p.intro(chalk.inverse(' Starting to migrate nextui to heroui '));
const spinner = p.spinner();

/** ======================== 1. Migrate package.json ======================== */
Expand All @@ -63,11 +63,11 @@ export async function migrateAction(projectPaths?: string[], options = {} as Mig
step++;
}

/** ======================== 2. Migrate import nextui to heroUI ======================== */
/** ======================== 2. Migrate import nextui to heroui ======================== */
const runMigrateImportNextui = getCanRunCodemod(codemod, 'import-heroui');

if (runMigrateImportNextui) {
p.log.step(`${step}. Migrating import "nextui" to "heroUI"`);
p.log.step(`${step}. Migrating import "nextui" to "heorui"`);
const selectMigrateNextui = await confirmClack({
message: 'Do you want to migrate import nextui to heroui?'
});
Expand Down

0 comments on commit b2e0c37

Please sign in to comment.