jsrepo 2.5.0 → 3.0.0-beta.0

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,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Aidan Bleser
3
+ Copyright (c) 2025 jsrepo
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,31 +1,3 @@
1
- <p align="center">
2
- <a href="https://jsrepo.dev">
3
- <picture>
4
- <img src="https://github.com/user-attachments/assets/fb4b84c3-8f81-4e1d-a049-ed909c3dae68">
5
- </picture>
6
- <h1 align="center">jsrepo</h1>
7
- </a>
8
- </p>
1
+ # v3
9
2
 
10
- <p align="center">
11
- <a aria-label="jsrepo logo" href="https://jsrepo.dev">
12
- <img alt="" src="https://jsrepo.dev/badges/jsrepo.svg">
13
- </a>
14
- </p>
15
-
16
- **jsrepo** is a CLI to build and distribute your code. It takes inspiration from the way that [shadcn/ui](https://ui.shadcn.com/) allows you install portable blocks of code.
17
-
18
- The goal of jsrepo is to make this method of distributing code easier and more maintainable.
19
-
20
- It does this by unifying the tooling it takes to build a registry, with the tooling it takes to distribute it. As well as providing a rich feature set to make maintaining that code much easier.
21
-
22
- ## Getting Started
23
-
24
- - [Create a registry](https://jsrepo.dev/docs/registry)
25
- - [Download your blocks](https://jsrepo.dev/docs/setup)
26
-
27
- ## Demos
28
-
29
- - [Create your first registry](https://youtu.be/IyJQI3z8PWg)
30
- - [Build your own shadcn-style library with jsrepo](https://youtu.be/zWfBt1vKb84)
31
- - [Building the shadcn/ui registry with jsrepo](https://youtu.be/tj7BUE9V7fw)
3
+ A full rewrite of the jsrepo CLI.
@@ -0,0 +1,2 @@
1
+ import { a as RegistryConfig, c as TransformOptions, i as OptionallyInstalledRegistryTypes, l as defineConfig, n as RemoteDependency, o as RegistryItem, r as Config, s as Transform, t as loadConfigSearch } from "../config-Dhb_-BSU.js";
2
+ export { Config, OptionallyInstalledRegistryTypes, RegistryConfig, RegistryItem, RemoteDependency, Transform, TransformOptions, defineConfig, loadConfigSearch };
@@ -0,0 +1,4 @@
1
+ import { A as loadConfigSearch, M as defineConfig, j as OptionallyInstalledRegistryTypes } from "../providers-C29YhRpj.js";
2
+ import "../errors-BZZlbA2q.js";
3
+
4
+ export { OptionallyInstalledRegistryTypes, defineConfig, loadConfigSearch };
@@ -0,0 +1,2 @@
1
+ import { $ as BuildError, At as RegistryItemFetchError, Ct as NoOutputsError, Dt as NoRegistriesError, Et as NoProviderFoundError, Mt as RegistryNotProvidedError, Nt as SelfReferenceError, Ot as ProviderFetchError, Pt as ZodError, Q as AlreadyInitializedError, St as NoListedItemsError, Tt as NoPathProvidedError, _t as JsrepoError, at as DuplicateItemNameError, bt as NoFilesError, ct as FileNotResolvedError, dt as InvalidJSONError, et as CLIError, ft as InvalidKeyTypeError, gt as InvalidRegistryError, ht as InvalidRegistryDependencyError, it as DuplicateFileReferenceError, jt as RegistryItemNotFoundError, kt as RegistryFileFetchError, lt as IllegalBlockNameError, mt as InvalidPluginError, nt as ConfigObjectNotFoundError, ot as FailedToLoadConfigError, pt as InvalidOptionsError, rt as CouldNotFindJsrepoImportError, st as FileNotFoundError, tt as ConfigNotFoundError, ut as ImportedFileNotResolvedError, vt as ManifestFetchError, wt as NoPackageJsonFoundError, xt as NoItemsToUpdateError, yt as MultipleRegistriesError } from "../config-Dhb_-BSU.js";
2
+ export { AlreadyInitializedError, BuildError, CLIError, ConfigNotFoundError, ConfigObjectNotFoundError, CouldNotFindJsrepoImportError, DuplicateFileReferenceError, DuplicateItemNameError, FailedToLoadConfigError, FileNotFoundError, FileNotResolvedError, IllegalBlockNameError, ImportedFileNotResolvedError, InvalidJSONError, InvalidKeyTypeError, InvalidOptionsError, InvalidPluginError, InvalidRegistryDependencyError, InvalidRegistryError, JsrepoError, ManifestFetchError, MultipleRegistriesError, NoFilesError, NoItemsToUpdateError, NoListedItemsError, NoOutputsError, NoPackageJsonFoundError, NoPathProvidedError, NoProviderFoundError, NoRegistriesError, ProviderFetchError, RegistryFileFetchError, RegistryItemFetchError, RegistryItemNotFoundError, RegistryNotProvidedError, SelfReferenceError, ZodError };
@@ -0,0 +1,3 @@
1
+ import { A as ProviderFetchError, C as NoItemsToUpdateError, D as NoPathProvidedError, E as NoPackageJsonFoundError, F as SelfReferenceError, I as ZodError, M as RegistryItemFetchError, N as RegistryItemNotFoundError, O as NoProviderFoundError, P as RegistryNotProvidedError, S as NoFilesError, T as NoOutputsError, _ as InvalidRegistryDependencyError, a as CouldNotFindJsrepoImportError, b as ManifestFetchError, c as FailedToLoadConfigError, d as IllegalBlockNameError, f as ImportedFileNotResolvedError, g as InvalidPluginError, h as InvalidOptionsError, i as ConfigObjectNotFoundError, j as RegistryFileFetchError, k as NoRegistriesError, l as FileNotFoundError, m as InvalidKeyTypeError, n as BuildError, o as DuplicateFileReferenceError, p as InvalidJSONError, r as ConfigNotFoundError, s as DuplicateItemNameError, t as AlreadyInitializedError, u as FileNotResolvedError, v as InvalidRegistryError, w as NoListedItemsError, x as MultipleRegistriesError, y as JsrepoError } from "../errors-BZZlbA2q.js";
2
+
3
+ export { AlreadyInitializedError, BuildError, ConfigNotFoundError, ConfigObjectNotFoundError, CouldNotFindJsrepoImportError, DuplicateFileReferenceError, DuplicateItemNameError, FailedToLoadConfigError, FileNotFoundError, FileNotResolvedError, IllegalBlockNameError, ImportedFileNotResolvedError, InvalidJSONError, InvalidKeyTypeError, InvalidOptionsError, InvalidPluginError, InvalidRegistryDependencyError, InvalidRegistryError, JsrepoError, ManifestFetchError, MultipleRegistriesError, NoFilesError, NoItemsToUpdateError, NoListedItemsError, NoOutputsError, NoPackageJsonFoundError, NoPathProvidedError, NoProviderFoundError, NoRegistriesError, ProviderFetchError, RegistryFileFetchError, RegistryItemFetchError, RegistryItemNotFoundError, RegistryNotProvidedError, SelfReferenceError, ZodError };