@withstudiocms/component-registry 0.1.0-beta.3 → 0.1.0-beta.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @withstudiocms/component-registry
2
2
 
3
+ ## 0.1.0-beta.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`79286bf`](https://github.com/withstudiocms/studiocms/commit/79286bf1c914e9bcf4712c2165ccb978ad3118fe)]:
8
+ - @withstudiocms/effect@0.1.0-beta.5
9
+
10
+ ## 0.1.0-beta.4
11
+
12
+ ### Patch Changes
13
+
14
+ - [#956](https://github.com/withstudiocms/studiocms/pull/956) [`1d26adb`](https://github.com/withstudiocms/studiocms/commit/1d26adbce761f8856d4282d7d1b81d9570df32ac) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency ts-morph to ^27.0.2
15
+
16
+ - Updated dependencies [[`d3123fe`](https://github.com/withstudiocms/studiocms/commit/d3123febbb0acdfb8d79629e9c2b101dff8a2bc7), [`58e8d06`](https://github.com/withstudiocms/studiocms/commit/58e8d0629ce039be239f17ef616256f53570901f), [`0f924e7`](https://github.com/withstudiocms/studiocms/commit/0f924e7a27f0e7480afe4f58061451499a5f6913)]:
17
+ - @withstudiocms/effect@0.1.0-beta.4
18
+
3
19
  ## 0.1.0-beta.3
4
20
 
5
21
  ### Patch Changes
@@ -64,7 +64,7 @@ export type ComponentRegistryHandlerOptions = z.infer<typeof ComponentRegistryHa
64
64
  * const resolveEffect = resolver('/components');
65
65
  * const result = yield* resolveEffect((resolve) => resolve('Button'));
66
66
  */
67
- export declare const resolver: (base: string) => Effect.Effect<(fn: (resolve: (...path: Array<string>) => string) => string) => Effect.Effect.AsEffect<Effect.Effect<string, Error, never>>, never, never>;
67
+ export declare const resolver: (base: string) => Effect.Effect<(fn: (resolve: (...path: Array<string>) => string) => string) => Effect.Effect<string, Error, never>, never, never>;
68
68
  /**
69
69
  * Handles the setup and registration of components in the component registry during the Astro config setup phase.
70
70
  *
package/dist/utils.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const integrationLogger = async (opts, message) => {
2
- const { logLevel, logger, verbose } = opts;
2
+ const { logLevel, logger, verbose = false } = opts;
3
3
  switch (verbose) {
4
4
  case true:
5
5
  logger[logLevel](message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withstudiocms/component-registry",
3
- "version": "0.1.0-beta.3",
3
+ "version": "0.1.0-beta.5",
4
4
  "description": "Component Registry Utilities for Astro",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -69,14 +69,14 @@
69
69
  },
70
70
  "type": "module",
71
71
  "dependencies": {
72
- "astro-integration-kit": "^0.19.0",
73
- "ts-morph": "^27.0.0",
72
+ "astro-integration-kit": "^0.19.1",
73
+ "ts-morph": "^27.0.2",
74
74
  "ultrahtml": "1.6.0",
75
- "@withstudiocms/effect": "0.1.0-beta.3"
75
+ "@withstudiocms/effect": "0.1.0-beta.5"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@types/node": "^22.0.0",
79
- "typescript": "^5.9.2"
79
+ "typescript": "^5.9.3"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "astro": "^5.12.9"