@zenginui/registry 0.1.0 → 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/README.md CHANGED
@@ -27,7 +27,7 @@ The generator runs the engine on the result before it returns. A fresh project r
27
27
 
28
28
  ## The registry
29
29
 
30
- A directory of static JSON, so it can be served from anywhere: `index.json` lists every item without file contents; `items/<name>.json` carries the files. The marketing site serves the public one at `https://zengin-marketing-site.vercel.app/r`, rebuilt on every deploy. `ZENGIN_REGISTRY` or `--registry <dir|url>` points the CLI elsewhere, which is how a private registry of paid templates works later: same shape, a different URL, a token on the request.
30
+ A directory of static JSON, so it can be served from anywhere: `index.json` lists every item without file contents; `items/<name>.json` carries the files. The marketing site serves the public one at `https://zengin.timurtek.com/r`, rebuilt on every deploy. `ZENGIN_REGISTRY` or `--registry <dir|url>` points the CLI elsewhere, which is how a private registry of paid templates works later: same shape, a different URL, a token on the request.
31
31
 
32
32
  ```bash
33
33
  zengin registry build --out public/r # from a Zengin repository checkout
package/dist/load.d.ts CHANGED
@@ -5,7 +5,7 @@ export interface RegistrySource {
5
5
  index(): Promise<RegistryIndex>;
6
6
  item(name: string): Promise<RegistryItem>;
7
7
  }
8
- export declare const DEFAULT_REGISTRY = "https://zengin-marketing-site.vercel.app/r";
8
+ export declare const DEFAULT_REGISTRY = "https://zengin.timurtek.com/r";
9
9
  /** `source` is a directory written by writeRegistry, or the base URL such a directory is served from. */
10
10
  export declare function openRegistry(source?: string): RegistrySource;
11
11
  export declare function registryFromMemory(registry: Registry): RegistrySource;
package/dist/load.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { existsSync, readFileSync } from "node:fs";
2
2
  import { join } from "node:path";
3
3
  import { isRegistryIndex } from "./schema.js";
4
- export const DEFAULT_REGISTRY = "https://zengin-marketing-site.vercel.app/r";
4
+ export const DEFAULT_REGISTRY = "https://zengin.timurtek.com/r";
5
5
  /** `source` is a directory written by writeRegistry, or the base URL such a directory is served from. */
6
6
  export function openRegistry(source = process.env["ZENGIN_REGISTRY"] ?? DEFAULT_REGISTRY) {
7
7
  if (/^https?:\/\//.test(source))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenginui/registry",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "The Zengin registry: components, templates and definitions as installable items, plus the project generator behind `zengin create` and `zengin add`.",
5
5
  "license": "MIT",
6
6
  "type": "module",