Skip to content

Commit c4b6790

Browse files
committed
chore: rename project scope from @rumaui to @ruma-org across registry and configuration files
1 parent abbe5fe commit c4b6790

75 files changed

Lines changed: 258 additions & 481 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
33
"changelog": ["@changesets/changelog-github", { "repo": "ruma-ui/ui" }],
44
"commit": false,
5-
"fixed": [["@rumaui/ui", "@rumaui/cli"]],
5+
"fixed": [["@ruma-org/ui", "@ruma-org/cli"]],
66
"linked": [],
77
"access": "public",
88
"baseBranch": "dev",

CHANGELOG.md

Lines changed: 0 additions & 234 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ BREAKING CHANGE: The old \`color\` prop has been replaced with \`variant\`"
439439
```tsx
440440
// ComponentName.tsx
441441
import React from "react";
442-
import { cn } from "@rumaui/ui";
442+
import { cn } from "@ruma-org/ui";
443443

444444
export interface ComponentNameProps {
445445
/**

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
built with TypeScript, Tailwind CSS v4, and enterprise CI/CD.
99

1010
[![CI](https://img.shields.io/github/actions/workflow/status/ruma-ui/ui/ci.yml?branch=dev&style=flat-square&label=CI)](https://github.com/ruma-ui/ui/actions/workflows/ci.yml)
11-
[![npm version](https://img.shields.io/npm/v/@rumaui/ui?style=flat-square&color=6366f1&label=%40rumaui%2Fui)](https://www.npmjs.com/package/@rumaui/ui)
12-
[![CLI version](https://img.shields.io/npm/v/@rumaui/cli?style=flat-square&color=8b5cf6&label=%40rumaui%2Fcli)](https://www.npmjs.com/package/@rumaui/cli)
11+
[![npm version](https://img.shields.io/npm/v/@ruma-org/ui?style=flat-square&color=6366f1&label=%40rumaui%2Fui)](https://www.npmjs.com/package/@ruma-org/ui)
12+
[![CLI version](https://img.shields.io/npm/v/@ruma-org/cli?style=flat-square&color=8b5cf6&label=%40rumaui%2Fcli)](https://www.npmjs.com/package/@ruma-org/cli)
1313
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)
1414
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](CONTRIBUTING.md)
1515

16-
[Documentation](https://ruma.5dev.in) · [Storybook](https://ruma-ui.github.io/ui/storybook/) · [npm](https://www.npmjs.com/package/@rumaui/ui) · [Changelog](CHANGELOG.md)
16+
[Documentation](https://ruma.5dev.in) · [Storybook](https://ruma-ui.github.io/ui/storybook/) · [npm](https://www.npmjs.com/package/@ruma-org/ui) · [Changelog](CHANGELOG.md)
1717

1818
</div>
1919

@@ -23,17 +23,17 @@ built with TypeScript, Tailwind CSS v4, and enterprise CI/CD.
2323

2424
This is an [Nx](https://nx.dev)-managed monorepo. It contains two published packages:
2525

26-
| Package | Version | Description |
27-
| -------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
28-
| [`@rumaui/ui`](./ui/) | [![npm](https://img.shields.io/npm/v/@rumaui/ui?style=flat-square)](https://npmjs.com/package/@rumaui/ui) | Pre-built, tree-shakeable React component library (49 components) |
29-
| [`@rumaui/cli`](./packages/cli/) | [![npm](https://img.shields.io/npm/v/@rumaui/cli?style=flat-square)](https://npmjs.com/package/@rumaui/cli) | CLI to initialise and add components to your project |
26+
| Package | Version | Description |
27+
| ---------------------------------- | --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
28+
| [`@ruma-org/ui`](./ui/) | [![npm](https://img.shields.io/npm/v/@ruma-org/ui?style=flat-square)](https://npmjs.com/package/@ruma-org/ui) | Pre-built, tree-shakeable React component library (49 components) |
29+
| [`@ruma-org/cli`](./packages/cli/) | [![npm](https://img.shields.io/npm/v/@ruma-org/cli?style=flat-square)](https://npmjs.com/package/@ruma-org/cli) | CLI to initialise and add components to your project |
3030

3131
### Which should I use?
3232

33-
| Approach | Package | Best for |
34-
| --------------------- | ------------- | -------------------------------------------------- |
35-
| **Import from npm** | `@rumaui/ui` | Quick integration, auto-updates, minimal setup |
36-
| **Copy into project** | `@rumaui/cli` | Full control, customisation, shadcn-style workflow |
33+
| Approach | Package | Best for |
34+
| --------------------- | --------------- | -------------------------------------------------- |
35+
| **Import from npm** | `@ruma-org/ui` | Quick integration, auto-updates, minimal setup |
36+
| **Copy into project** | `@ruma-org/cli` | Full control, customisation, shadcn-style workflow |
3737

3838
Both approaches can be used together.
3939

@@ -44,12 +44,12 @@ Both approaches can be used together.
4444
### Option A — Import from npm
4545

4646
```bash
47-
npm install @rumaui/ui
47+
npm install @ruma-org/ui
4848
```
4949

5050
```tsx
51-
import { Button } from "@rumaui/ui";
52-
import "@rumaui/ui/ui.css";
51+
import { Button } from "@ruma-org/ui";
52+
import "@ruma-org/ui/ui.css";
5353

5454
export default function App() {
5555
return <Button size="lg">Hello Ruma UI</Button>;
@@ -59,8 +59,8 @@ export default function App() {
5959
### Option B — Add components via CLI
6060

6161
```bash
62-
npx @rumaui/cli init
63-
npx @rumaui/cli add button modal toast
62+
npx @ruma-org/cli init
63+
npx @ruma-org/cli add button modal toast
6464
```
6565

6666
---
@@ -69,7 +69,7 @@ npx @rumaui/cli add button modal toast
6969

7070
```text
7171
ruma-ui/ui
72-
├── ui/ # @rumaui/ui — main component library
72+
├── ui/ # @ruma-org/ui — main component library
7373
│ ├── src/
7474
│ │ ├── components/ # 49 React components
7575
│ │ ├── lib/ # Shared utilities (cn, etc.)
@@ -78,7 +78,7 @@ ruma-ui/ui
7878
│ └── .storybook/ # Storybook configuration
7979
8080
├── packages/
81-
│ └── cli/ # @rumaui/cli — CLI tool
81+
│ └── cli/ # @ruma-org/cli — CLI tool
8282
│ └── src/
8383
│ ├── commands/ # init.ts, add.ts
8484
│ └── index.ts

graph.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -715,18 +715,18 @@
715715
"implicitDependencies": []
716716
}
717717
},
718-
"@rumaui/source": {
719-
"name": "@rumaui/source",
718+
"@ruma-org/source": {
719+
"name": "@ruma-org/source",
720720
"type": "app",
721721
"data": {
722722
"root": ".",
723-
"name": "@rumaui/source",
723+
"name": "@ruma-org/source",
724724
"includedScripts": [],
725725
"tags": ["npm:private"],
726726
"metadata": {
727727
"targetGroups": {},
728728
"js": {
729-
"packageName": "@rumaui/source",
729+
"packageName": "@ruma-org/source",
730730
"isInPackageManagerWorkspaces": true
731731
}
732732
},
@@ -752,7 +752,7 @@
752752
"demo": [],
753753
"www": [],
754754
"ui": [],
755-
"@rumaui/source": []
755+
"@ruma-org/source": []
756756
}
757757
}
758758
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@rumaui/source",
2+
"name": "@ruma-org/source",
33
"version": "0.1.0-dev.0",
44
"private": true,
55
"description": "A modern, production-ready React UI component library built with TypeScript, Tailwind CSS, and Nx.",

packages/cli/README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<div align="center">
22

3-
# @rumaui/cli
3+
# @ruma-org/cli
44

55
**The official CLI for Ruma UI** — scaffold projects, initialise configuration, and add components to your React application in one command.
66

7-
[![npm version](https://img.shields.io/npm/v/@rumaui/cli?style=flat-square&color=6366f1)](https://www.npmjs.com/package/@rumaui/cli)
8-
[![npm downloads](https://img.shields.io/npm/dm/@rumaui/cli?style=flat-square&color=6366f1)](https://www.npmjs.com/package/@rumaui/cli)
7+
[![npm version](https://img.shields.io/npm/v/@ruma-org/cli?style=flat-square&color=6366f1)](https://www.npmjs.com/package/@ruma-org/cli)
8+
[![npm downloads](https://img.shields.io/npm/dm/@ruma-org/cli?style=flat-square&color=6366f1)](https://www.npmjs.com/package/@ruma-org/cli)
99
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)
1010

11-
[Documentation](https://ruma.5dev.in/docs/cli) · [npm](https://www.npmjs.com/package/@rumaui/cli) · [GitHub](https://github.com/ruma-ui/ui)
11+
[Documentation](https://ruma.5dev.in/docs/cli) · [npm](https://www.npmjs.com/package/@ruma-org/cli) · [GitHub](https://github.com/ruma-ui/ui)
1212

1313
</div>
1414

@@ -31,14 +31,14 @@
3131

3232
## Overview
3333

34-
`@rumaui/cli` is a zero-config CLI that brings the Ruma UI component library into any React project:
34+
`@ruma-org/cli` is a zero-config CLI that brings the Ruma UI component library into any React project:
3535

3636
1. **`init`** — detect your framework, configure aliases, create `components.json`, install utilities
3737
2. **`add`** — pull individual components from the Ruma registry directly into your source tree
3838

3939
Components are copied as source files (not imported from npm), giving you full ownership and customisability — similar to [shadcn/ui](https://ui.shadcn.com/).
4040

41-
> The npm package `@rumaui/ui` contains the pre-built, tree-shakeable version of the library. The CLI is the alternative "copy-into-your-project" approach — use whichever fits your workflow.
41+
> The npm package `@ruma-org/ui` contains the pre-built, tree-shakeable version of the library. The CLI is the alternative "copy-into-your-project" approach — use whichever fits your workflow.
4242
4343
---
4444

@@ -47,13 +47,13 @@ Components are copied as source files (not imported from npm), giving you full o
4747
Run without installing using `npx`:
4848

4949
```bash
50-
npx @rumaui/cli <command> [options]
50+
npx @ruma-org/cli <command> [options]
5151
```
5252

5353
Or install globally:
5454

5555
```bash
56-
npm install -g @rumaui/cli
56+
npm install -g @ruma-org/cli
5757
ruma-ui <command> [options]
5858
```
5959

@@ -66,7 +66,7 @@ ruma-ui <command> [options]
6666
Initialises Ruma UI in your project. Run this once per project.
6767

6868
```bash
69-
npx @rumaui/cli init [options]
69+
npx @ruma-org/cli init [options]
7070
```
7171

7272
#### What it does
@@ -91,16 +91,16 @@ npx @rumaui/cli init [options]
9191

9292
```bash
9393
# Interactive — asks alias and CSS file questions
94-
npx @rumaui/cli init
94+
npx @ruma-org/cli init
9595

9696
# Non-interactive — uses all defaults instantly
97-
npx @rumaui/cli init --yes
97+
npx @ruma-org/cli init --yes
9898

9999
# Scaffold a brand-new Next.js app called "my-dashboard" and initialise
100-
npx @rumaui/cli init --template next --name my-dashboard --yes
100+
npx @ruma-org/cli init --template next --name my-dashboard --yes
101101

102102
# Initialise inside a specific directory
103-
npx @rumaui/cli init --cwd ./apps/web
103+
npx @ruma-org/cli init --cwd ./apps/web
104104
```
105105

106106
#### Interactive Prompts
@@ -122,7 +122,7 @@ When run without `--yes`, `init` asks:
122122
✔ Dependencies installed successfully.
123123
124124
🎉 ruma-ui initialized! You can now add components using:
125-
npx @rumaui/cli add button
125+
npx @ruma-org/cli add button
126126
```
127127

128128
---
@@ -132,7 +132,7 @@ When run without `--yes`, `init` asks:
132132
Adds one or more Ruma UI components to your project by fetching them from the registry.
133133

134134
```bash
135-
npx @rumaui/cli add [components...] [options]
135+
npx @ruma-org/cli add [components...] [options]
136136
```
137137

138138
#### What it does
@@ -160,21 +160,21 @@ npx @rumaui/cli add [components...] [options]
160160

161161
```bash
162162
# Add a single component
163-
npx @rumaui/cli add button
163+
npx @ruma-org/cli add button
164164

165165
# Add multiple components at once
166-
npx @rumaui/cli add button card modal toast
166+
npx @ruma-org/cli add button card modal toast
167167

168168
# Overwrite existing files
169-
npx @rumaui/cli add button --overwrite
169+
npx @ruma-org/cli add button --overwrite
170170

171171
# Add components to a specific directory
172-
npx @rumaui/cli add table --cwd ./apps/dashboard
172+
npx @ruma-org/cli add table --cwd ./apps/dashboard
173173
```
174174

175175
#### Available Components
176176

177-
All 49 components from `@rumaui/ui` are available via `add`:
177+
All 49 components from `@ruma-org/ui` are available via `add`:
178178

179179
```
180180
accordion alert avatar badge breadcrumb

packages/cli/package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
{
2-
"name": "@rumaui/cli",
2+
"name": "@ruma-org/cli",
33
"version": "0.1.0-dev.0",
44
"description": "CLI for adding ruma-ui components to your React project",
55
"bin": {
66
"ruma-ui": "dist/index.js"
77
},
8+
"license": "MIT",
9+
"author": "Ruma UI",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/ruma-ui/ui.git",
13+
"directory": "packages/cli"
14+
},
15+
"publishConfig": {
16+
"access": "public"
17+
},
818
"type": "module",
919
"scripts": {
1020
"build": "tsup src/index.ts --format esm --dts --clean",

packages/cli/src/commands/add.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export async function runAdd(components: string[], options: AddOptions) {
1818
const configPath = path.join(cwd, "components.json");
1919

2020
if (!fs.existsSync(configPath)) {
21-
console.error("❌ components.json not found. Please run `npx @rumaui/cli init` first.");
21+
console.error("❌ components.json not found. Please run `npx @ruma-org/cli init` first.");
2222
process.exit(1);
2323
}
2424

packages/cli/src/commands/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,5 +275,5 @@ export async function runInit(options: InitOptions) {
275275
}
276276

277277
console.log("\n🎉 ruma-ui initialized! You can now add components using:");
278-
console.log(" npx @rumaui/cli add button\n");
278+
console.log(" npx @ruma-org/cli add button\n");
279279
}

0 commit comments

Comments
 (0)