cronus-ui 0.7.3 → 0.7.4
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/compose/gold-path.d.ts +1 -1
- package/dist/compose/gold-path.js +3 -1
- package/dist/config.d.ts +2 -2
- package/dist/config.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ Notes that match the commander surface:
|
|
|
49
49
|
`packages/cli/scripts/build-registry.ts` — each item carries its source, its npm
|
|
50
50
|
`dependencies`, and its `registryDependencies` (other components it imports),
|
|
51
51
|
derived by parsing imports.
|
|
52
|
-
- The default registry is pinned to the CLI package version (`v0.7.
|
|
52
|
+
- The default registry is pinned to the CLI package version (`v0.7.4` here), not
|
|
53
53
|
mutable `main`, so a published CLI reads the registry snapshot it was released
|
|
54
54
|
with. Use `-r, --registry ./registry` when testing local registry changes before
|
|
55
55
|
a release tag exists.
|
|
@@ -80,7 +80,7 @@ Notes that match the commander surface:
|
|
|
80
80
|
"lib": "lib",
|
|
81
81
|
"blocks": "components/blocks"
|
|
82
82
|
},
|
|
83
|
-
"registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.7.
|
|
83
|
+
"registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.7.4/registry"
|
|
84
84
|
}
|
|
85
85
|
```
|
|
86
86
|
|
|
@@ -13,7 +13,7 @@ export declare function isGoldPathTemplate(name: string): boolean;
|
|
|
13
13
|
*/
|
|
14
14
|
export declare function goldPatchAppShellChrome(source: string): string | undefined;
|
|
15
15
|
/** Installed split-auth copies compose writes for saas/admin. */
|
|
16
|
-
export declare const GOLD_PATH_AUTH_SPLIT_FILES: readonly ["login-split.tsx", "signup-split.tsx", "forgot-password-split.tsx", "otp-split.tsx"];
|
|
16
|
+
export declare const GOLD_PATH_AUTH_SPLIT_FILES: readonly ["login-split.tsx", "signup-split.tsx", "forgot-password-split.tsx", "otp-split.tsx", "magic-link-split.tsx"];
|
|
17
17
|
/**
|
|
18
18
|
* Re-apply the session gate onto a catalog shell layout.
|
|
19
19
|
* Idempotent. Used by add-page (new shell group) and upgrade.
|
|
@@ -34,6 +34,7 @@ export const GOLD_PATH_AUTH_SPLIT_FILES = [
|
|
|
34
34
|
"signup-split.tsx",
|
|
35
35
|
"forgot-password-split.tsx",
|
|
36
36
|
"otp-split.tsx",
|
|
37
|
+
"magic-link-split.tsx",
|
|
37
38
|
];
|
|
38
39
|
/**
|
|
39
40
|
* Re-apply the session gate onto a catalog shell layout.
|
|
@@ -1147,7 +1148,8 @@ export function patchGoldPathAuthSplit(source) {
|
|
|
1147
1148
|
source.includes("Create your Cronus workspace") ||
|
|
1148
1149
|
source.includes("Join the workspace") ||
|
|
1149
1150
|
source.includes("Check your inbox") ||
|
|
1150
|
-
source.includes("Enter the code to continue in your Cronus workspace")
|
|
1151
|
+
source.includes("Enter the code to continue in your Cronus workspace") ||
|
|
1152
|
+
source.includes("Email a link to your Cronus workspace")) {
|
|
1151
1153
|
return source;
|
|
1152
1154
|
}
|
|
1153
1155
|
return undefined;
|
package/dist/config.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const CONFIG_FILE = "cronus-ui.json";
|
|
2
|
-
export declare const CLI_VERSION = "0.7.
|
|
3
|
-
export declare const DEFAULT_REGISTRY = "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.7.
|
|
2
|
+
export declare const CLI_VERSION = "0.7.4";
|
|
3
|
+
export declare const DEFAULT_REGISTRY = "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.7.4/registry";
|
|
4
4
|
/** Manifest entry `add`/`upgrade` record per installed registry item. */
|
|
5
5
|
export interface InstalledRecord {
|
|
6
6
|
/** Registry release the files came from (git tag without the leading "v"). */
|
package/dist/config.js
CHANGED
|
@@ -2,7 +2,7 @@ import { existsSync } from "node:fs";
|
|
|
2
2
|
import { readFile, writeFile } from "node:fs/promises";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
export const CONFIG_FILE = "cronus-ui.json";
|
|
5
|
-
export const CLI_VERSION = "0.7.
|
|
5
|
+
export const CLI_VERSION = "0.7.4";
|
|
6
6
|
export const DEFAULT_REGISTRY = `https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v${CLI_VERSION}/registry`;
|
|
7
7
|
export const DEFAULT_CONFIG = {
|
|
8
8
|
aliases: { ui: "@/components/ui", lib: "@/lib", blocks: "@/components/blocks" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cronus-ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "cronus-ui — add Cronus UI components to your project, shadcn-style (copy-paste registry).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"registry:check": "bun run scripts/check-registry.ts"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@cronus-ui/ai-kit": "0.7.
|
|
57
|
+
"@cronus-ui/ai-kit": "0.7.4",
|
|
58
58
|
"commander": "^15.0.0",
|
|
59
59
|
"picocolors": "^1.1.1"
|
|
60
60
|
},
|