@roastery/terroir 0.0.1 → 0.0.3
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 +21 -0
- package/README.md +226 -0
- package/dist/application-exception-Ck-CRA9W.d.cts +9 -0
- package/dist/application-exception-mi3iXk8r.d.ts +9 -0
- package/dist/chunk-EBPUXUYY.js +28 -0
- package/dist/chunk-N6MCTGZD.js +6 -0
- package/dist/chunk-UEZ4EF5Z.js +7 -0
- package/dist/chunk-WY3PDSMZ.js +27 -0
- package/dist/chunk-YBMFDZEW.js +53 -0
- package/dist/domain-exception-2mxDRlhr.d.ts +9 -0
- package/dist/domain-exception-BJknDTC7.d.cts +9 -0
- package/dist/exceptions/application/index.cjs +133 -0
- package/dist/exceptions/application/index.d.cts +6 -0
- package/dist/exceptions/application/index.d.ts +6 -0
- package/dist/exceptions/application/index.js +68 -0
- package/dist/exceptions/application/jwt/index.cjs +73 -0
- package/dist/exceptions/application/jwt/index.d.cts +20 -0
- package/dist/exceptions/application/jwt/index.d.ts +20 -0
- package/dist/exceptions/application/jwt/index.js +11 -0
- package/dist/{index.cjs → exceptions/core/index.cjs} +9 -8
- package/dist/exceptions/core/index.d.cts +11 -0
- package/dist/exceptions/core/index.d.ts +11 -0
- package/dist/exceptions/core/index.js +7 -0
- package/dist/exceptions/core/types/index.cjs +18 -0
- package/dist/exceptions/core/types/index.d.cts +3 -0
- package/dist/exceptions/core/types/index.d.ts +3 -0
- package/dist/exceptions/core/types/index.js +0 -0
- package/dist/exceptions/domain/index.cjs +86 -0
- package/dist/exceptions/domain/index.d.cts +5 -0
- package/dist/exceptions/domain/index.d.ts +5 -0
- package/dist/exceptions/domain/index.js +41 -0
- package/dist/exceptions/index.cjs +74 -0
- package/dist/exceptions/index.d.cts +4 -0
- package/dist/exceptions/index.d.ts +4 -0
- package/dist/exceptions/index.js +45 -0
- package/dist/exceptions/infra/index.cjs +158 -0
- package/dist/exceptions/infra/index.d.cts +5 -0
- package/dist/exceptions/infra/index.d.ts +5 -0
- package/dist/exceptions/infra/index.js +107 -0
- package/dist/exceptions/models/index.cjs +55 -0
- package/dist/exceptions/models/index.d.cts +6 -0
- package/dist/exceptions/models/index.d.ts +6 -0
- package/dist/exceptions/models/index.js +12 -0
- package/dist/exceptions/symbols/index.cjs +32 -0
- package/dist/exceptions/symbols/index.d.cts +3 -0
- package/dist/exceptions/symbols/index.d.ts +3 -0
- package/dist/exceptions/symbols/index.js +6 -0
- package/dist/exceptions/types/index.cjs +18 -0
- package/dist/exceptions/types/index.d.cts +30 -0
- package/dist/exceptions/types/index.d.ts +30 -0
- package/dist/exceptions/types/index.js +0 -0
- package/dist/index-0ZqtQ0BA.d.ts +89 -0
- package/dist/index-B_h1N1CO.d.cts +55 -0
- package/dist/index-C4-MCapS.d.ts +40 -0
- package/dist/index-CNApJ5kV.d.ts +35 -0
- package/dist/index-DaS_UsEv.d.cts +89 -0
- package/dist/index-E6KvVxtW.d.ts +55 -0
- package/dist/index-YFuBgYBS.d.cts +35 -0
- package/dist/index-g4_PChJX.d.cts +40 -0
- package/dist/infra-exception-1PUIDeP4.d.ts +9 -0
- package/dist/infra-exception-Dm1D9yrN.d.cts +9 -0
- package/dist/schema/formats/index.cjs +55 -0
- package/dist/schema/formats/index.d.cts +2 -0
- package/dist/schema/formats/index.d.ts +2 -0
- package/dist/schema/formats/index.js +1 -0
- package/dist/schema/index.cjs +193 -0
- package/dist/schema/index.d.cts +19 -0
- package/dist/schema/index.d.ts +19 -0
- package/dist/schema/index.js +113 -0
- package/package.json +61 -57
- package/dist/index.d.cts +0 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -5
package/package.json
CHANGED
|
@@ -1,59 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
2
|
+
"name": "@roastery/terroir",
|
|
3
|
+
"description": "Layered exception hierarchy and runtime schema validation for the Roastery CMS ecosystem",
|
|
4
|
+
"version": "0.0.3",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Alan Reis",
|
|
8
|
+
"email": "alanreisanjo@gmail.com",
|
|
9
|
+
"url": "https://github.com/Hoyasumii"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/roastery-cms/terroir"
|
|
14
|
+
},
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"main": "./dist/index.cjs",
|
|
17
|
+
"module": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"typesVersions": {
|
|
20
|
+
"*": {
|
|
21
|
+
"*": [
|
|
22
|
+
"./dist/*/index.d.ts"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js",
|
|
30
|
+
"require": "./dist/index.cjs"
|
|
31
|
+
},
|
|
32
|
+
"./*": {
|
|
33
|
+
"types": "./dist/*/index.d.ts",
|
|
34
|
+
"import": "./dist/*/index.js",
|
|
35
|
+
"require": "./dist/*/index.cjs"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"dist"
|
|
40
|
+
],
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "tsup 'src/**/index.ts' --format cjs,esm --dts --tsconfig tsconfig.build.json --clean",
|
|
43
|
+
"test:unit": "bun test --env-file=.env.testing",
|
|
44
|
+
"test:coverage": "bun test --env-file=.env.testing --coverage",
|
|
45
|
+
"setup": "bun run build && bun link",
|
|
46
|
+
"prepare": "husky || true",
|
|
47
|
+
"knip": "knip"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@commitlint/cli": "^20.4.1",
|
|
51
|
+
"@commitlint/config-conventional": "^20.4.1",
|
|
52
|
+
"husky": "^9.1.7",
|
|
53
|
+
"knip": "^5.85.0",
|
|
54
|
+
"tsup": "^8.5.1"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"typescript": "^5",
|
|
58
|
+
"@sinclair/typebox": ">= 0.34.0 < 1",
|
|
59
|
+
"@types/bun": "latest",
|
|
60
|
+
"uuid": "^13.0.0"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {}
|
|
59
63
|
}
|
package/dist/index.d.cts
DELETED
package/dist/index.d.ts
DELETED