centoui-cli 1.0.0-alpha.13 → 1.0.0-alpha.15
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/dist/index.d.mts +1 -2
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -48,8 +48,7 @@ type Registry = {
|
|
|
48
48
|
* Generated by `centoui init` and consumed by every subsequent CLI command.
|
|
49
49
|
*/
|
|
50
50
|
type CentoUIConfig = {
|
|
51
|
-
/**
|
|
52
|
-
componentsDir: string; /** Relative path (from project root) to the CSS file that receives theme and component styles. */
|
|
51
|
+
/** Relative path (from project root) to the directory where components are installed. */componentsDir: string; /** Relative path (from project root) to the CSS file that receives theme and component styles. */
|
|
53
52
|
themeFilePath: string;
|
|
54
53
|
/**
|
|
55
54
|
* Maps internal CentoUI icon slot names to Iconify icon IDs.
|
package/dist/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { pathToFileURL } from "node:url";
|
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/constants.ts
|
|
10
10
|
/** CentoUI current package version, sourced directly from package.json. */
|
|
11
|
-
const VERSION = "1.0.0-alpha.
|
|
11
|
+
const VERSION = "1.0.0-alpha.15";
|
|
12
12
|
/** File name for the user-side CentoUI config (created by `centoui init`). */
|
|
13
13
|
const CONFIG_FILE_NAME = "centoui.config.ts";
|
|
14
14
|
/**
|
|
@@ -25,7 +25,7 @@ const REGISTRY_INDEX_URL = `${`${CORE_SRC_BASE_URL}/registry`}/index.json`;
|
|
|
25
25
|
* Full URL to the CentoUI CSS theme file.
|
|
26
26
|
* This file is written to the user's project during `centoui init`.
|
|
27
27
|
*/
|
|
28
|
-
const THEME_CSS_URL = `${CORE_SRC_BASE_URL}/
|
|
28
|
+
const THEME_CSS_URL = `${CORE_SRC_BASE_URL}/defaults/centoui.css`;
|
|
29
29
|
/**
|
|
30
30
|
* HTTP headers required when fetching raw content from the GitHub API.
|
|
31
31
|
* These ensure we get the raw file bytes, not GitHub's HTML wrapper.
|
|
@@ -219,7 +219,6 @@ function buildDefaultConfigFileContent(themeFilePath, componentsDir) {
|
|
|
219
219
|
return `import { defineConfig } from 'centoui'
|
|
220
220
|
|
|
221
221
|
export default defineConfig({
|
|
222
|
-
version: '${VERSION}',
|
|
223
222
|
componentsDir: '${componentsDir}',
|
|
224
223
|
themeFilePath: '${themeFilePath}',
|
|
225
224
|
icons: {
|