@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.
Files changed (73) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +226 -0
  3. package/dist/application-exception-Ck-CRA9W.d.cts +9 -0
  4. package/dist/application-exception-mi3iXk8r.d.ts +9 -0
  5. package/dist/chunk-EBPUXUYY.js +28 -0
  6. package/dist/chunk-N6MCTGZD.js +6 -0
  7. package/dist/chunk-UEZ4EF5Z.js +7 -0
  8. package/dist/chunk-WY3PDSMZ.js +27 -0
  9. package/dist/chunk-YBMFDZEW.js +53 -0
  10. package/dist/domain-exception-2mxDRlhr.d.ts +9 -0
  11. package/dist/domain-exception-BJknDTC7.d.cts +9 -0
  12. package/dist/exceptions/application/index.cjs +133 -0
  13. package/dist/exceptions/application/index.d.cts +6 -0
  14. package/dist/exceptions/application/index.d.ts +6 -0
  15. package/dist/exceptions/application/index.js +68 -0
  16. package/dist/exceptions/application/jwt/index.cjs +73 -0
  17. package/dist/exceptions/application/jwt/index.d.cts +20 -0
  18. package/dist/exceptions/application/jwt/index.d.ts +20 -0
  19. package/dist/exceptions/application/jwt/index.js +11 -0
  20. package/dist/{index.cjs → exceptions/core/index.cjs} +9 -8
  21. package/dist/exceptions/core/index.d.cts +11 -0
  22. package/dist/exceptions/core/index.d.ts +11 -0
  23. package/dist/exceptions/core/index.js +7 -0
  24. package/dist/exceptions/core/types/index.cjs +18 -0
  25. package/dist/exceptions/core/types/index.d.cts +3 -0
  26. package/dist/exceptions/core/types/index.d.ts +3 -0
  27. package/dist/exceptions/core/types/index.js +0 -0
  28. package/dist/exceptions/domain/index.cjs +86 -0
  29. package/dist/exceptions/domain/index.d.cts +5 -0
  30. package/dist/exceptions/domain/index.d.ts +5 -0
  31. package/dist/exceptions/domain/index.js +41 -0
  32. package/dist/exceptions/index.cjs +74 -0
  33. package/dist/exceptions/index.d.cts +4 -0
  34. package/dist/exceptions/index.d.ts +4 -0
  35. package/dist/exceptions/index.js +45 -0
  36. package/dist/exceptions/infra/index.cjs +158 -0
  37. package/dist/exceptions/infra/index.d.cts +5 -0
  38. package/dist/exceptions/infra/index.d.ts +5 -0
  39. package/dist/exceptions/infra/index.js +107 -0
  40. package/dist/exceptions/models/index.cjs +55 -0
  41. package/dist/exceptions/models/index.d.cts +6 -0
  42. package/dist/exceptions/models/index.d.ts +6 -0
  43. package/dist/exceptions/models/index.js +12 -0
  44. package/dist/exceptions/symbols/index.cjs +32 -0
  45. package/dist/exceptions/symbols/index.d.cts +3 -0
  46. package/dist/exceptions/symbols/index.d.ts +3 -0
  47. package/dist/exceptions/symbols/index.js +6 -0
  48. package/dist/exceptions/types/index.cjs +18 -0
  49. package/dist/exceptions/types/index.d.cts +30 -0
  50. package/dist/exceptions/types/index.d.ts +30 -0
  51. package/dist/exceptions/types/index.js +0 -0
  52. package/dist/index-0ZqtQ0BA.d.ts +89 -0
  53. package/dist/index-B_h1N1CO.d.cts +55 -0
  54. package/dist/index-C4-MCapS.d.ts +40 -0
  55. package/dist/index-CNApJ5kV.d.ts +35 -0
  56. package/dist/index-DaS_UsEv.d.cts +89 -0
  57. package/dist/index-E6KvVxtW.d.ts +55 -0
  58. package/dist/index-YFuBgYBS.d.cts +35 -0
  59. package/dist/index-g4_PChJX.d.cts +40 -0
  60. package/dist/infra-exception-1PUIDeP4.d.ts +9 -0
  61. package/dist/infra-exception-Dm1D9yrN.d.cts +9 -0
  62. package/dist/schema/formats/index.cjs +55 -0
  63. package/dist/schema/formats/index.d.cts +2 -0
  64. package/dist/schema/formats/index.d.ts +2 -0
  65. package/dist/schema/formats/index.js +1 -0
  66. package/dist/schema/index.cjs +193 -0
  67. package/dist/schema/index.d.cts +19 -0
  68. package/dist/schema/index.d.ts +19 -0
  69. package/dist/schema/index.js +113 -0
  70. package/package.json +61 -57
  71. package/dist/index.d.cts +0 -3
  72. package/dist/index.d.ts +0 -3
  73. package/dist/index.js +0 -5
package/package.json CHANGED
@@ -1,59 +1,63 @@
1
1
  {
2
- "name": "@roastery/terroir",
3
- "version": "0.0.1",
4
- "type": "module",
5
- "author": {
6
- "name": "Alan Reis",
7
- "email": "alanreisanjo@gmail.com",
8
- "url": "https://hoyasumii.dev"
9
- },
10
- "main": "./dist/index.cjs",
11
- "module": "./dist/index.js",
12
- "types": "./dist/index.d.ts",
13
- "typesVersions": {
14
- "*": {
15
- "*": [
16
- "./dist/*/index.d.ts"
17
- ]
18
- }
19
- },
20
- "exports": {
21
- ".": {
22
- "types": "./dist/index.d.ts",
23
- "import": "./dist/index.js",
24
- "require": "./dist/index.cjs"
25
- },
26
- "./*": {
27
- "types": "./dist/*/index.d.ts",
28
- "import": "./dist/*/index.js",
29
- "require": "./dist/*/index.cjs"
30
- }
31
- },
32
- "files": [
33
- "dist"
34
- ],
35
- "scripts": {
36
- "build": "tsup 'src/**/index.ts' --format cjs,esm --dts --tsconfig tsconfig.build.json --clean",
37
- "test:unit": "vitest run",
38
- "test:ui": "vitest --ui",
39
- "test:coverage": "vitest run --coverage",
40
- "setup": "bun run build && bun link",
41
- "prepare": "husky || true"
42
- },
43
- "devDependencies": {
44
- "@faker-js/faker": "^10.2.0",
45
- "@types/bun": "latest",
46
- "@vitest/coverage-v8": "^4.0.18",
47
- "@vitest/ui": "^4.0.18",
48
- "tsup": "^8.5.1",
49
- "vite-tsconfig-paths": "^6.0.5",
50
- "vitest": "^4.0.18",
51
- "@commitlint/cli": "^20.4.1",
52
- "@commitlint/config-conventional": "^20.4.1",
53
- "husky": "^9.1.7"
54
- },
55
- "peerDependencies": {
56
- "typescript": "^5"
57
- },
58
- "dependencies": {}
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
@@ -1,3 +0,0 @@
1
- declare const hello = "world";
2
-
3
- export { hello };
package/dist/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- declare const hello = "world";
2
-
3
- export { hello };
package/dist/index.js DELETED
@@ -1,5 +0,0 @@
1
- // src/hello.ts
2
- var hello = "world";
3
- export {
4
- hello
5
- };