@roastery/terroir 0.0.5 → 0.0.7

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
@@ -189,6 +189,7 @@ Automatically registered when importing `@roastery/terroir/schema`:
189
189
  ## Exports reference
190
190
 
191
191
  ```typescript
192
+ import { t } from '@roastery/terroir'; // TypeBox namespace (re-export)
192
193
  import { ... } from '@roastery/terroir/exceptions'; // internal exceptions (rare)
193
194
  import { ... } from '@roastery/terroir/exceptions/application'; // application layer
194
195
  import { ... } from '@roastery/terroir/exceptions/application/jwt'; // JWT exceptions
@@ -200,6 +201,19 @@ import type { ... } from '@roastery/terroir/exceptions/types'; // type utilitie
200
201
  import { ... } from '@roastery/terroir/schema'; // Schema + SchemaManager
201
202
  ```
202
203
 
204
+ ### TypeBox re-export
205
+
206
+ `t` is the full `@sinclair/typebox` namespace re-exported for convenience, so you don't need to import TypeBox separately:
207
+
208
+ ```typescript
209
+ import { t } from '@roastery/terroir';
210
+
211
+ const UserSchema = t.Object({
212
+ id: t.String({ format: 'uuid' }),
213
+ name: t.String(),
214
+ });
215
+ ```
216
+
203
217
  ---
204
218
 
205
219
  ## Development
package/dist/index.cjs CHANGED
@@ -30,11 +30,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
- t: () => t
33
+ t: () => t,
34
+ uuid: () => uuid
34
35
  });
35
36
  module.exports = __toCommonJS(index_exports);
36
37
  var t = __toESM(require("@sinclair/typebox"), 1);
38
+ var uuid = __toESM(require("uuid"), 1);
37
39
  // Annotate the CommonJS export names for ESM import in node:
38
40
  0 && (module.exports = {
39
- t
41
+ t,
42
+ uuid
40
43
  });
package/dist/index.d.cts CHANGED
@@ -1,2 +1,4 @@
1
1
  import * as typebox from '@sinclair/typebox';
2
2
  export { typebox as t };
3
+ import * as uuid from 'uuid';
4
+ export { uuid };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
1
  import * as typebox from '@sinclair/typebox';
2
2
  export { typebox as t };
3
+ import * as uuid from 'uuid';
4
+ export { uuid };
package/dist/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  // src/index.ts
2
2
  import * as t from "@sinclair/typebox";
3
+ import * as uuid from "uuid";
3
4
  export {
4
- t
5
+ t,
6
+ uuid
5
7
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@roastery/terroir",
3
3
  "description": "Layered exception hierarchy and runtime schema validation for the Roastery CMS ecosystem",
4
- "version": "0.0.5",
4
+ "version": "0.0.7",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "Alan Reis",