centoui-cli 0.0.1 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Favour Emeka
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Favour Emeka
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -4,13 +4,13 @@
4
4
  [![npm downloads](https://img.shields.io/npm/dm/centoui-cli.svg?style=flat-square)](https://www.npmjs.com/package/centoui-cli)
5
5
  [![license](https://img.shields.io/github/license/favorodera/centoui.svg?style=flat-square)](https://github.com/favorodera/centoui/blob/main/LICENSE)
6
6
 
7
- **CentoUI CLI: Manage your components with ease.**
7
+ **CentoUI CLI: Manage your CentoUI components with ease.**
8
8
 
9
9
  `centoui-cli` is the official command-line interface for [CentoUI](https://github.com/favorodera/centoui). It allows you to initialize CentoUI in your project, add new components, and manage their versions directly from your terminal.
10
10
 
11
11
  ## Commands
12
12
 
13
- - **`init`**: Set up a new CentoUI project (generates `centoui.config.ts` and `tokens.css`).
13
+ - **`init`**: Set up a new CentoUI project (generates `centoui.config.ts` and `centoui.css`).
14
14
  - **`add [component]`**: Add specific components to your project. Peer dependencies install automatically.
15
15
  - **`remove [component]`**: Cleanly remove components and their dependencies.
16
16
 
@@ -18,10 +18,10 @@
18
18
 
19
19
  ```bash
20
20
  # Initialize CentoUI in your project
21
- npx centoui init
21
+ pnpm dlx centoui init
22
22
 
23
23
  # Add components
24
- npx centoui add button dialog input select
24
+ pnpm dlx centoui add button dialog input select
25
25
  ```
26
26
 
27
27
  ## Configuration
@@ -34,15 +34,11 @@ import { defineConfig } from "centoui"
34
34
  export default defineConfig({
35
35
  version: "1.0.0",
36
36
  componentsDir: "./src/components/centoui",
37
- themeDir: "./src/assets/css/centoui.css",
37
+ themeFilePath: "./src/assets/css/centoui.css",
38
38
  icons: {
39
39
  check: "lucide:check",
40
40
  close: "lucide:x",
41
41
  menu: "lucide:menu",
42
42
  },
43
43
  })
44
- ```
45
-
46
- ## License
47
-
48
- [MIT](../../LICENSE) © [Favour Emeka](https://github.com/favorodera)
44
+ ```
package/dist/index.mjs CHANGED
@@ -7,13 +7,13 @@ import { addDependency } from "nypm";
7
7
  //#endregion
8
8
  //#region src/constants.ts
9
9
  /** CentoUI current package version */
10
- const VERSION = "0.0.1";
10
+ const VERSION = "0.1.1";
11
11
  /** CentoUI config file name */
12
12
  const CONFIG_FILE_NAME = "centoui.config.ts";
13
13
  /** CentoUI registry file name */
14
14
  const REGISTRY_FILE_NAME = "index.json";
15
15
  /** CentoUI core base API URL */
16
- const BASE_URL = `https://raw.githubusercontent.com/favorodera/centoui/refs/tags/v${VERSION}/packages/core/src`;
16
+ const BASE_URL = "https://raw.githubusercontent.com/favorodera/centoui/main/packages/core/src";
17
17
  /** CentoUI registry files URL */
18
18
  const REGISTRY_URL = `${BASE_URL}/registry`;
19
19
  /** CentoUI theme file URL */
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "centoui-cli",
3
3
  "type": "module",
4
- "version": "0.0.1",
4
+ "version": "0.1.1",
5
+ "private": false,
5
6
  "description": "Official CLI for CentoUI.",
6
7
  "author": "Favour Emeka <favorodera@gmail.com>",
7
8
  "license": "MIT",