@nikala-ui/cli 0.6.0 ā 0.6.2
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/README.md +2 -2
- package/dist/index.js +2 -2
- package/dist/utils/init/configure-alias.js +2 -1
- package/dist/utils/registry.d.ts +1 -1
- package/dist/utils/registry.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,8 +32,8 @@ npx @nikala-ui/cli init
|
|
|
32
32
|
|
|
33
33
|
## Documentation
|
|
34
34
|
|
|
35
|
-
For full documentation, component lists, and theming guides, visit the official repository at [github.com/
|
|
35
|
+
For full documentation, component lists, and theming guides, visit the official repository at [github.com/nikala-ui/ui](https://github.com/nikala-ui/ui).
|
|
36
36
|
|
|
37
37
|
## License
|
|
38
38
|
|
|
39
|
-
[MIT](https://github.com/
|
|
39
|
+
[MIT](https://github.com/nikala-ui/ui/blob/main/LICENSE)
|
package/dist/index.js
CHANGED
|
@@ -6,14 +6,14 @@ import { add } from "./commands/add.js";
|
|
|
6
6
|
import { themeCommand } from "./commands/theme.js";
|
|
7
7
|
import { validateCommand } from "./commands/validate.js";
|
|
8
8
|
import { diffCommand } from "./commands/diff.js";
|
|
9
|
-
console.log(`\nšØ ${pc.bold(pc.red("Nikala UI"))} ${pc.dim("v0.6.
|
|
9
|
+
console.log(`\nšØ ${pc.bold(pc.red("Nikala UI"))} ${pc.dim("v0.6.2")} ā SolidJS + Tailwind v4 components`);
|
|
10
10
|
console.log(` ${pc.italic(pc.dim("Honoring Niko Pirosmani (Nikala)"))}\n`);
|
|
11
11
|
console.log(` ${pc.dim("Docs:")} ${pc.underline(pc.cyan("https://nikala.magradze.dev"))}\n`);
|
|
12
12
|
const program = new Command();
|
|
13
13
|
program
|
|
14
14
|
.name("nikala")
|
|
15
15
|
.description("Nikala UI ā SolidJS + Tailwind v4 components")
|
|
16
|
-
.version("0.6.
|
|
16
|
+
.version("0.6.2");
|
|
17
17
|
program
|
|
18
18
|
.command("init")
|
|
19
19
|
.description("Initialize Nikala UI in your project")
|
|
@@ -43,7 +43,8 @@ export async function configureAliases(cwd) {
|
|
|
43
43
|
tsconfig.compilerOptions = tsconfig.compilerOptions || {};
|
|
44
44
|
tsconfig.compilerOptions.baseUrl = ".";
|
|
45
45
|
tsconfig.compilerOptions.paths = tsconfig.compilerOptions.paths || {};
|
|
46
|
-
|
|
46
|
+
// Correct path mapping with leading relative dot ./src/*
|
|
47
|
+
tsconfig.compilerOptions.paths["@/*"] = ["./src/*"];
|
|
47
48
|
await fs.writeFile(tsconfigPath, JSON.stringify(tsconfig, null, 2), "utf-8");
|
|
48
49
|
console.log(pc.green("ā Configured path alias (@/*) in tsconfig.json"));
|
|
49
50
|
}
|
package/dist/utils/registry.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RegistryIndex, RegistryItem } from "../types/registry.js";
|
|
2
2
|
/** Official remote registry CDN URL hosted on GitHub main branch */
|
|
3
|
-
export declare const OFFICIAL_REGISTRY_URL = "https://raw.githubusercontent.com/
|
|
3
|
+
export declare const OFFICIAL_REGISTRY_URL = "https://raw.githubusercontent.com/nikala-ui/ui/main/packages/core/registry";
|
|
4
4
|
/**
|
|
5
5
|
* Reads and parses the central registry index manifest.
|
|
6
6
|
* Bypasses GitHub Raw CDN caching using timestamps and fetches fresh index files.
|
package/dist/utils/registry.js
CHANGED
|
@@ -2,7 +2,7 @@ import fs from "fs-extra";
|
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
/** Official remote registry CDN URL hosted on GitHub main branch */
|
|
5
|
-
export const OFFICIAL_REGISTRY_URL = "https://raw.githubusercontent.com/
|
|
5
|
+
export const OFFICIAL_REGISTRY_URL = "https://raw.githubusercontent.com/nikala-ui/ui/main/packages/core/registry";
|
|
6
6
|
/**
|
|
7
7
|
* Resolves the absolute path to the local fallback registry directory inside the Nikala UI package.
|
|
8
8
|
*/
|