vertz 0.2.15 → 0.2.17

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 (79) hide show
  1. package/dist/cloudflare.d.ts +2 -0
  2. package/dist/cloudflare.d.ts.map +1 -0
  3. package/dist/cloudflare.js +2 -0
  4. package/dist/cloudflare.js.map +1 -0
  5. package/dist/db-sqlite.d.ts +2 -0
  6. package/dist/db-sqlite.d.ts.map +1 -0
  7. package/dist/db-sqlite.js +2 -0
  8. package/dist/db-sqlite.js.map +1 -0
  9. package/dist/db.d.ts +2 -0
  10. package/dist/db.d.ts.map +1 -0
  11. package/dist/db.js +2 -0
  12. package/dist/db.js.map +1 -0
  13. package/dist/errors.d.ts +2 -0
  14. package/dist/errors.d.ts.map +1 -0
  15. package/dist/errors.js +2 -0
  16. package/dist/errors.js.map +1 -0
  17. package/dist/fetch.d.ts +2 -0
  18. package/dist/fetch.d.ts.map +1 -0
  19. package/dist/fetch.js +2 -0
  20. package/dist/fetch.js.map +1 -0
  21. package/dist/schema.d.ts +2 -0
  22. package/dist/schema.d.ts.map +1 -0
  23. package/dist/schema.js +2 -0
  24. package/dist/schema.js.map +1 -0
  25. package/dist/server.d.ts +2 -0
  26. package/dist/server.d.ts.map +1 -0
  27. package/dist/server.js +2 -0
  28. package/dist/server.js.map +1 -0
  29. package/dist/testing.d.ts +2 -0
  30. package/dist/testing.d.ts.map +1 -0
  31. package/dist/testing.js +2 -0
  32. package/dist/testing.js.map +1 -0
  33. package/dist/tui.d.ts +2 -0
  34. package/dist/tui.d.ts.map +1 -0
  35. package/dist/tui.js +2 -0
  36. package/dist/tui.js.map +1 -0
  37. package/dist/ui-auth.d.ts +2 -0
  38. package/dist/ui-auth.d.ts.map +1 -0
  39. package/dist/ui-auth.js +2 -0
  40. package/dist/ui-auth.js.map +1 -0
  41. package/dist/ui-compiler.d.ts +2 -0
  42. package/dist/ui-compiler.d.ts.map +1 -0
  43. package/dist/ui-compiler.js +2 -0
  44. package/dist/ui-compiler.js.map +1 -0
  45. package/dist/ui-primitives.d.ts +2 -0
  46. package/dist/ui-primitives.d.ts.map +1 -0
  47. package/dist/ui-primitives.js +2 -0
  48. package/dist/ui-primitives.js.map +1 -0
  49. package/dist/ui-server-bun-plugin.d.ts +2 -0
  50. package/dist/ui-server-bun-plugin.d.ts.map +1 -0
  51. package/dist/ui-server-bun-plugin.js +2 -0
  52. package/dist/ui-server-bun-plugin.js.map +1 -0
  53. package/dist/ui-server.d.ts +2 -0
  54. package/dist/ui-server.d.ts.map +1 -0
  55. package/dist/ui-server.js +2 -0
  56. package/dist/ui-server.js.map +1 -0
  57. package/dist/ui.d.ts +2 -0
  58. package/dist/ui.d.ts.map +1 -0
  59. package/dist/ui.js +2 -0
  60. package/dist/ui.js.map +1 -0
  61. package/package.json +52 -43
  62. package/.turbo/turbo-build.log +0 -2
  63. package/CHANGELOG.md +0 -217
  64. package/__tests__/subpath-exports.test.ts +0 -101
  65. package/src/cloudflare.ts +0 -1
  66. package/src/db-sqlite.ts +0 -1
  67. package/src/db.ts +0 -1
  68. package/src/errors.ts +0 -1
  69. package/src/fetch.ts +0 -1
  70. package/src/schema.ts +0 -1
  71. package/src/server.ts +0 -1
  72. package/src/testing.ts +0 -1
  73. package/src/tui.ts +0 -1
  74. package/src/ui-compiler.ts +0 -1
  75. package/src/ui-primitives.ts +0 -1
  76. package/src/ui-server-bun-plugin.ts +0 -1
  77. package/src/ui-server.ts +0 -1
  78. package/src/ui.ts +0 -1
  79. package/tsconfig.json +0 -8
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/cloudflare';
2
+ //# sourceMappingURL=cloudflare.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudflare.d.ts","sourceRoot":"","sources":["../src/cloudflare.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/cloudflare';
2
+ //# sourceMappingURL=cloudflare.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudflare.js","sourceRoot":"","sources":["../src/cloudflare.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/db/sqlite';
2
+ //# sourceMappingURL=db-sqlite.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-sqlite.d.ts","sourceRoot":"","sources":["../src/db-sqlite.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/db/sqlite';
2
+ //# sourceMappingURL=db-sqlite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-sqlite.js","sourceRoot":"","sources":["../src/db-sqlite.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
package/dist/db.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/db';
2
+ //# sourceMappingURL=db.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../src/db.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
package/dist/db.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/db';
2
+ //# sourceMappingURL=db.js.map
package/dist/db.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db.js","sourceRoot":"","sources":["../src/db.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/errors';
2
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
package/dist/errors.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/errors';
2
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/fetch';
2
+ //# sourceMappingURL=fetch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../src/fetch.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
package/dist/fetch.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/fetch';
2
+ //# sourceMappingURL=fetch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch.js","sourceRoot":"","sources":["../src/fetch.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/schema';
2
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
package/dist/schema.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/schema';
2
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/server';
2
+ //# sourceMappingURL=server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
package/dist/server.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/server';
2
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/testing';
2
+ //# sourceMappingURL=testing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../src/testing.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/testing';
2
+ //# sourceMappingURL=testing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testing.js","sourceRoot":"","sources":["../src/testing.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
package/dist/tui.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/tui';
2
+ //# sourceMappingURL=tui.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tui.d.ts","sourceRoot":"","sources":["../src/tui.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
package/dist/tui.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/tui';
2
+ //# sourceMappingURL=tui.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tui.js","sourceRoot":"","sources":["../src/tui.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui-auth';
2
+ //# sourceMappingURL=ui-auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-auth.d.ts","sourceRoot":"","sources":["../src/ui-auth.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui-auth';
2
+ //# sourceMappingURL=ui-auth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-auth.js","sourceRoot":"","sources":["../src/ui-auth.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui-compiler';
2
+ //# sourceMappingURL=ui-compiler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-compiler.d.ts","sourceRoot":"","sources":["../src/ui-compiler.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui-compiler';
2
+ //# sourceMappingURL=ui-compiler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-compiler.js","sourceRoot":"","sources":["../src/ui-compiler.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui-primitives';
2
+ //# sourceMappingURL=ui-primitives.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-primitives.d.ts","sourceRoot":"","sources":["../src/ui-primitives.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui-primitives';
2
+ //# sourceMappingURL=ui-primitives.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-primitives.js","sourceRoot":"","sources":["../src/ui-primitives.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui-server/bun-plugin';
2
+ //# sourceMappingURL=ui-server-bun-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-server-bun-plugin.d.ts","sourceRoot":"","sources":["../src/ui-server-bun-plugin.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui-server/bun-plugin';
2
+ //# sourceMappingURL=ui-server-bun-plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-server-bun-plugin.js","sourceRoot":"","sources":["../src/ui-server-bun-plugin.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui-server';
2
+ //# sourceMappingURL=ui-server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-server.d.ts","sourceRoot":"","sources":["../src/ui-server.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui-server';
2
+ //# sourceMappingURL=ui-server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-server.js","sourceRoot":"","sources":["../src/ui-server.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
package/dist/ui.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui';
2
+ //# sourceMappingURL=ui.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
package/dist/ui.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@vertz/ui';
2
+ //# sourceMappingURL=ui.js.map
package/dist/ui.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui.js","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vertz",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "The first TypeScript stack built for LLMs",
@@ -14,81 +14,90 @@
14
14
  "provenance": true
15
15
  },
16
16
  "sideEffects": false,
17
+ "files": [
18
+ "dist"
19
+ ],
17
20
  "exports": {
18
21
  "./server": {
19
- "import": "./src/server.ts",
20
- "types": "./src/server.ts"
22
+ "import": "./dist/server.js",
23
+ "types": "./dist/server.d.ts"
21
24
  },
22
25
  "./schema": {
23
- "import": "./src/schema.ts",
24
- "types": "./src/schema.ts"
26
+ "import": "./dist/schema.js",
27
+ "types": "./dist/schema.d.ts"
25
28
  },
26
29
  "./db": {
27
- "import": "./src/db.ts",
28
- "types": "./src/db.ts"
30
+ "import": "./dist/db.js",
31
+ "types": "./dist/db.d.ts"
29
32
  },
30
33
  "./db/sqlite": {
31
- "import": "./src/db-sqlite.ts",
32
- "types": "./src/db-sqlite.ts"
34
+ "import": "./dist/db-sqlite.js",
35
+ "types": "./dist/db-sqlite.d.ts"
33
36
  },
34
37
  "./testing": {
35
- "import": "./src/testing.ts",
36
- "types": "./src/testing.ts"
38
+ "import": "./dist/testing.js",
39
+ "types": "./dist/testing.d.ts"
37
40
  },
38
41
  "./ui": {
39
- "import": "./src/ui.ts",
40
- "types": "./src/ui.ts"
42
+ "import": "./dist/ui.js",
43
+ "types": "./dist/ui.d.ts"
41
44
  },
42
45
  "./ui-compiler": {
43
- "import": "./src/ui-compiler.ts",
44
- "types": "./src/ui-compiler.ts"
46
+ "import": "./dist/ui-compiler.js",
47
+ "types": "./dist/ui-compiler.d.ts"
45
48
  },
46
49
  "./fetch": {
47
- "import": "./src/fetch.ts",
48
- "types": "./src/fetch.ts"
50
+ "import": "./dist/fetch.js",
51
+ "types": "./dist/fetch.d.ts"
49
52
  },
50
53
  "./errors": {
51
- "import": "./src/errors.ts",
52
- "types": "./src/errors.ts"
54
+ "import": "./dist/errors.js",
55
+ "types": "./dist/errors.d.ts"
53
56
  },
54
57
  "./cloudflare": {
55
- "import": "./src/cloudflare.ts",
56
- "types": "./src/cloudflare.ts"
58
+ "import": "./dist/cloudflare.js",
59
+ "types": "./dist/cloudflare.d.ts"
57
60
  },
58
61
  "./tui": {
59
- "import": "./src/tui.ts",
60
- "types": "./src/tui.ts"
62
+ "import": "./dist/tui.js",
63
+ "types": "./dist/tui.d.ts"
61
64
  },
62
65
  "./ui-primitives": {
63
- "import": "./src/ui-primitives.ts",
64
- "types": "./src/ui-primitives.ts"
66
+ "import": "./dist/ui-primitives.js",
67
+ "types": "./dist/ui-primitives.d.ts"
65
68
  },
66
69
  "./ui-server": {
67
- "import": "./src/ui-server.ts",
68
- "types": "./src/ui-server.ts"
70
+ "import": "./dist/ui-server.js",
71
+ "types": "./dist/ui-server.d.ts"
69
72
  },
70
73
  "./ui-server/bun-plugin": {
71
- "import": "./src/ui-server-bun-plugin.ts",
72
- "types": "./src/ui-server-bun-plugin.ts"
74
+ "import": "./dist/ui-server-bun-plugin.js",
75
+ "types": "./dist/ui-server-bun-plugin.d.ts"
76
+ },
77
+ "./ui-auth": {
78
+ "import": "./dist/ui-auth.js",
79
+ "types": "./dist/ui-auth.d.ts"
73
80
  }
74
81
  },
75
82
  "scripts": {
76
- "test": "bun test",
77
- "build": "echo 'meta-package: no build needed'"
83
+ "build": "tsc",
84
+ "typecheck": "tsc --noEmit",
85
+ "test": "tsc && bun test"
78
86
  },
79
87
  "dependencies": {
80
- "@vertz/server": "^0.2.14",
81
- "@vertz/schema": "^0.2.14",
82
- "@vertz/db": "^0.2.14",
83
- "@vertz/testing": "^0.2.14",
84
- "@vertz/ui": "^0.2.14",
85
- "@vertz/ui-compiler": "^0.2.14",
86
- "@vertz/fetch": "^0.2.14",
87
- "@vertz/errors": "^0.2.14",
88
- "@vertz/cloudflare": "^0.2.14",
89
- "@vertz/tui": "^0.2.14",
90
- "@vertz/ui-primitives": "^0.2.14",
91
- "@vertz/ui-server": "^0.2.14"
88
+ "@vertz/server": "^0.2.16",
89
+ "@vertz/schema": "^0.2.16",
90
+ "@vertz/db": "^0.2.16",
91
+ "@vertz/testing": "^0.2.16",
92
+ "@vertz/ui": "^0.2.16",
93
+ "@vertz/ui-compiler": "^0.2.16",
94
+ "@vertz/fetch": "^0.2.16",
95
+ "@vertz/errors": "^0.2.16",
96
+ "@vertz/cloudflare": "^0.2.16",
97
+ "@vertz/tui": "^0.2.16",
98
+ "@vertz/ui-primitives": "^0.2.16",
99
+ "@vertz/ui-auth": "^0.2.16",
100
+ "@vertz/ui-server": "^0.2.16"
92
101
  },
93
102
  "devDependencies": {}
94
103
  }
@@ -1,2 +0,0 @@
1
- $ echo 'meta-package: no build needed'
2
- meta-package: no build needed
package/CHANGELOG.md DELETED
@@ -1,217 +0,0 @@
1
- # vertz
2
-
3
- ## 0.2.15
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [[`4a2d5b5`](https://github.com/vertz-dev/vertz/commit/4a2d5b504791ee772396248789b9ad65bd078abf), [`4a2d5b5`](https://github.com/vertz-dev/vertz/commit/4a2d5b504791ee772396248789b9ad65bd078abf), [`d0f0941`](https://github.com/vertz-dev/vertz/commit/d0f09419950bd0d6d9229a11fa9bf07f632fb85d)]:
8
- - @vertz/server@0.2.15
9
- - @vertz/ui@0.2.15
10
- - @vertz/cloudflare@0.2.15
11
- - @vertz/db@0.2.15
12
- - @vertz/errors@0.2.15
13
- - @vertz/fetch@0.2.15
14
- - @vertz/schema@0.2.15
15
- - @vertz/testing@0.2.15
16
- - @vertz/tui@0.2.15
17
- - @vertz/ui-compiler@0.2.15
18
- - @vertz/ui-primitives@0.2.15
19
- - @vertz/ui-server@0.2.15
20
-
21
- ## 0.2.14
22
-
23
- ### Patch Changes
24
-
25
- - [#1089](https://github.com/vertz-dev/vertz/pull/1089) [`3254588`](https://github.com/vertz-dev/vertz/commit/3254588a2cfb3590eebda53a4648256cc4d51139) Thanks [@viniciusdacal](https://github.com/viniciusdacal)! - Use `vertz` meta-package in scaffolded apps and add missing subpath exports (`db/sqlite`, `ui-server/bun-plugin`, `theme-shadcn`). Compiler now recognizes `vertz/*` imports alongside `@vertz/*`.
26
-
27
- - Updated dependencies []:
28
- - @vertz/cloudflare@0.2.14
29
- - @vertz/db@0.2.14
30
- - @vertz/errors@0.2.14
31
- - @vertz/fetch@0.2.14
32
- - @vertz/schema@0.2.14
33
- - @vertz/server@0.2.14
34
- - @vertz/testing@0.2.14
35
- - @vertz/tui@0.2.14
36
- - @vertz/ui@0.2.14
37
- - @vertz/ui-compiler@0.2.14
38
- - @vertz/ui-primitives@0.2.14
39
- - @vertz/ui-server@0.2.14
40
-
41
- ## 0.2.13
42
-
43
- ### Patch Changes
44
-
45
- - [#961](https://github.com/vertz-dev/vertz/pull/961) [`4bcfa46`](https://github.com/vertz-dev/vertz/commit/4bcfa46b97623c8d42b174cf3ac3d627c4ef3491) Thanks [@viniciusdacal](https://github.com/viniciusdacal)! - Add `vertz/ui-server` subpath export to meta package
46
-
47
- - Updated dependencies [[`337e1b3`](https://github.com/vertz-dev/vertz/commit/337e1b3dfca6768575e57cf54069beb4f37366b7), [`2f6d58a`](https://github.com/vertz-dev/vertz/commit/2f6d58a818d0ecbbd7999b0bfc072e2424640f59), [`127df59`](https://github.com/vertz-dev/vertz/commit/127df59424102142ac1aee9dfcc31b22c2959343), [`a5ceec8`](https://github.com/vertz-dev/vertz/commit/a5ceec812613d92f7261407e86b1a39993687a7a), [`3a79c2f`](https://github.com/vertz-dev/vertz/commit/3a79c2fad5bfbaed61f252cf2b908592e12a82bd), [`58fffce`](https://github.com/vertz-dev/vertz/commit/58fffceb6c4e1660fb3d4d1891cd4ce662dca22b), [`efda760`](https://github.com/vertz-dev/vertz/commit/efda76032901138dca7a22acd60ad947a4bdf02a), [`a9211ca`](https://github.com/vertz-dev/vertz/commit/a9211ca751305f541987b93d493d349838cf4822), [`3d2799a`](https://github.com/vertz-dev/vertz/commit/3d2799ac4c3e0d8f65d864b4471e205a64db886a), [`7b125db`](https://github.com/vertz-dev/vertz/commit/7b125db968ba9157ce97932b392cb3be7fcc0344), [`d4af7d0`](https://github.com/vertz-dev/vertz/commit/d4af7d0fa0ff1f3cfc21625e9bd16621f833f9cd), [`a82b2ec`](https://github.com/vertz-dev/vertz/commit/a82b2ec1ccc94f278916796783c33d81ffead211), [`45e84cf`](https://github.com/vertz-dev/vertz/commit/45e84cf2f11123bf3ed66ae8cf311efc1393238c), [`1011e51`](https://github.com/vertz-dev/vertz/commit/1011e51fbfe528e35930e3dd5c32b76568b0684a), [`de34f8d`](https://github.com/vertz-dev/vertz/commit/de34f8dc9d3e69b507874f33d80bf7dc4420001d), [`4eac71c`](https://github.com/vertz-dev/vertz/commit/4eac71c98369d12a0cd7a3cbbeda60ea7cc5bd05), [`eab229b`](https://github.com/vertz-dev/vertz/commit/eab229bc63a08ae6877ff4905d99c364a8694358)]:
48
- - @vertz/server@0.2.13
49
- - @vertz/ui@0.2.13
50
- - @vertz/ui-compiler@0.2.13
51
- - @vertz/ui-server@0.2.13
52
- - @vertz/db@0.2.13
53
- - @vertz/fetch@0.2.13
54
- - @vertz/errors@0.2.13
55
- - @vertz/cloudflare@0.2.13
56
- - @vertz/schema@0.2.13
57
- - @vertz/testing@0.2.13
58
- - @vertz/tui@0.2.13
59
- - @vertz/ui-primitives@0.2.13
60
-
61
- ## 0.2.12
62
-
63
- ### Patch Changes
64
-
65
- - Updated dependencies [[`c7e3ec2`](https://github.com/vertz-dev/vertz/commit/c7e3ec2e926b0a2cd6d35f58124f3d7f50fc6fb9)]:
66
- - @vertz/ui@0.2.12
67
- - @vertz/cloudflare@0.2.12
68
- - @vertz/db@0.2.12
69
- - @vertz/errors@0.2.12
70
- - @vertz/fetch@0.2.12
71
- - @vertz/schema@0.2.12
72
- - @vertz/server@0.2.12
73
- - @vertz/testing@0.2.12
74
- - @vertz/tui@0.2.12
75
- - @vertz/ui-compiler@0.2.12
76
- - @vertz/ui-primitives@0.2.12
77
-
78
- ## 0.2.11
79
-
80
- ### Patch Changes
81
-
82
- - Updated dependencies [[`275e4c7`](https://github.com/vertz-dev/vertz/commit/275e4c770f55b9e75b44d90f2cb586fff3eaeede), [`5ed4c1a`](https://github.com/vertz-dev/vertz/commit/5ed4c1a4c5c9ea946e97b1636011251c6287eaf4), [`5607c59`](https://github.com/vertz-dev/vertz/commit/5607c598c1c55485222fa2da192d0e0321f8b14a), [`523bbcb`](https://github.com/vertz-dev/vertz/commit/523bbcb12c1866a8334d5dac278cb51b157a5c7b), [`5607c59`](https://github.com/vertz-dev/vertz/commit/5607c598c1c55485222fa2da192d0e0321f8b14a), [`859e3da`](https://github.com/vertz-dev/vertz/commit/859e3dae660629d5d4f1e13c305c9201ee1d738d)]:
83
- - @vertz/ui-compiler@0.2.11
84
- - @vertz/ui@0.2.11
85
- - @vertz/cloudflare@0.2.11
86
- - @vertz/db@0.2.11
87
- - @vertz/errors@0.2.11
88
- - @vertz/fetch@0.2.11
89
- - @vertz/schema@0.2.11
90
- - @vertz/server@0.2.11
91
- - @vertz/testing@0.2.11
92
- - @vertz/tui@0.2.11
93
- - @vertz/ui-primitives@0.2.11
94
-
95
- ## 0.2.8
96
-
97
- ### Patch Changes
98
-
99
- - Updated dependencies []:
100
- - @vertz/cloudflare@0.2.8
101
- - @vertz/db@0.2.8
102
- - @vertz/errors@0.2.8
103
- - @vertz/fetch@0.2.8
104
- - @vertz/schema@0.2.8
105
- - @vertz/server@0.2.8
106
- - @vertz/testing@0.2.8
107
- - @vertz/tui@0.2.8
108
- - @vertz/ui@0.2.8
109
- - @vertz/ui-compiler@0.2.8
110
- - @vertz/ui-primitives@0.2.8
111
-
112
- ## 0.2.7
113
-
114
- ### Patch Changes
115
-
116
- - Updated dependencies []:
117
- - @vertz/cloudflare@0.2.7
118
- - @vertz/db@0.2.7
119
- - @vertz/errors@0.2.7
120
- - @vertz/fetch@0.2.7
121
- - @vertz/schema@0.2.7
122
- - @vertz/server@0.2.7
123
- - @vertz/testing@0.2.7
124
- - @vertz/tui@0.2.7
125
- - @vertz/ui@0.2.7
126
- - @vertz/ui-compiler@0.2.7
127
- - @vertz/ui-primitives@0.2.7
128
-
129
- ## 0.2.6
130
-
131
- ### Patch Changes
132
-
133
- - Updated dependencies []:
134
- - @vertz/cloudflare@0.2.6
135
- - @vertz/db@0.2.6
136
- - @vertz/errors@0.2.6
137
- - @vertz/fetch@0.2.6
138
- - @vertz/schema@0.2.6
139
- - @vertz/server@0.2.6
140
- - @vertz/testing@0.2.6
141
- - @vertz/tui@0.2.6
142
- - @vertz/ui@0.2.6
143
- - @vertz/ui-compiler@0.2.6
144
- - @vertz/ui-primitives@0.2.6
145
-
146
- ## 0.2.5
147
-
148
- ### Patch Changes
149
-
150
- - Updated dependencies []:
151
- - @vertz/cloudflare@0.2.5
152
- - @vertz/db@0.2.5
153
- - @vertz/errors@0.2.5
154
- - @vertz/fetch@0.2.5
155
- - @vertz/schema@0.2.5
156
- - @vertz/server@0.2.5
157
- - @vertz/testing@0.2.5
158
- - @vertz/tui@0.2.5
159
- - @vertz/ui@0.2.5
160
- - @vertz/ui-compiler@0.2.5
161
- - @vertz/ui-primitives@0.2.5
162
-
163
- ## 0.2.4
164
-
165
- ### Patch Changes
166
-
167
- - Updated dependencies [[`a986d07`](https://github.com/vertz-dev/vertz/commit/a986d0788ca0210dfa4f624153d4bda72257a78c)]:
168
- - @vertz/ui-compiler@0.2.4
169
- - @vertz/ui-primitives@0.2.2
170
- - @vertz/cloudflare@0.2.4
171
- - @vertz/schema@0.2.4
172
- - @vertz/testing@0.2.4
173
- - @vertz/db@0.2.4
174
- - @vertz/ui@0.2.2
175
- - @vertz/server@0.2.4
176
-
177
- ## 0.2.3
178
-
179
- ### Patch Changes
180
-
181
- - Updated dependencies [[`62dddcb`](https://github.com/vertz-dev/vertz/commit/62dddcbcb4943b12a04bca8466b09ae21901070b), [`62dddcb`](https://github.com/vertz-dev/vertz/commit/62dddcbcb4943b12a04bca8466b09ae21901070b), [`b0b6115`](https://github.com/vertz-dev/vertz/commit/b0b6115e0389447ffb951e875b5ce224e4ace51c)]:
182
- - @vertz/tui@0.2.3
183
- - @vertz/ui-compiler@0.2.3
184
- - @vertz/server@0.2.3
185
- - @vertz/testing@0.2.3
186
- - @vertz/cloudflare@0.2.3
187
- - @vertz/ui-primitives@0.2.2
188
- - @vertz/schema@0.2.3
189
- - @vertz/db@0.2.3
190
- - @vertz/ui@0.2.2
191
-
192
- ## 0.2.2
193
-
194
- ### Patch Changes
195
-
196
- - Updated dependencies [[`b6cb0a0`](https://github.com/vertz-dev/vertz/commit/b6cb0a0e3de68974ce1747063288aef7a199f084)]:
197
- - @vertz/server@0.2.2
198
- - @vertz/ui@0.2.2
199
- - @vertz/schema@0.2.2
200
- - @vertz/testing@0.2.2
201
- - @vertz/tui@0.2.2
202
- - @vertz/ui-compiler@0.2.2
203
- - @vertz/ui-primitives@0.2.2
204
- - @vertz/db@0.2.2
205
- - @vertz/cloudflare@0.2.2
206
-
207
- ## 0.1.1
208
-
209
- ### Patch Changes
210
-
211
- - Updated dependencies [[`a207936`](https://github.com/vertz-dev/vertz/commit/a2079362c54a8b61ea2368039abcb08681448380), [`db53497`](https://github.com/vertz-dev/vertz/commit/db534979df714d51227a34b4d5b80960e34ec33c), [`b2d43d4`](https://github.com/vertz-dev/vertz/commit/b2d43d4f265e4b1a806b3e96f00721cc38cc07e8), [`2ec4dd3`](https://github.com/vertz-dev/vertz/commit/2ec4dd3be1ac13f74015e977a699cd59fd7291bc), [`259e250`](https://github.com/vertz-dev/vertz/commit/259e2501116f805fed49b95471aaeb4f80515256), [`6443339`](https://github.com/vertz-dev/vertz/commit/64433394142ddff76d8021b25259c9c901d62b1e), [`3407afd`](https://github.com/vertz-dev/vertz/commit/3407afdf543481cd559e550454144d16e6a26e06), [`f3b132a`](https://github.com/vertz-dev/vertz/commit/f3b132af4f6ff39e967d4ca3d33f7e6ee12eff84), [`4f780bb`](https://github.com/vertz-dev/vertz/commit/4f780bba6bee7a493c9a1e0b8463ea2126a7285b), [`c38def6`](https://github.com/vertz-dev/vertz/commit/c38def6b6e060f63afeaacd93afa85aae9154833), [`0a33c14`](https://github.com/vertz-dev/vertz/commit/0a33c142a12a54e0da61423701ca338118ab9c98), [`0f1c028`](https://github.com/vertz-dev/vertz/commit/0f1c028dd6bb90e37ac71f60e40ba0be774cca11), [`6814cd8`](https://github.com/vertz-dev/vertz/commit/6814cd8da818cd0b36deaea132ca589cf6a03a89), [`7207c4c`](https://github.com/vertz-dev/vertz/commit/7207c4c44c2fc83f67459cbcba8e6010b4d05145), [`a454791`](https://github.com/vertz-dev/vertz/commit/a454791e0c6866cbad1d0d96bc3c0688282b021b), [`e17ccb2`](https://github.com/vertz-dev/vertz/commit/e17ccb261ecebc1ca7d58b75365869cb29253a3c), [`948f127`](https://github.com/vertz-dev/vertz/commit/948f127bf4b752274800c045d010590f1cc266d8), [`9ee0308`](https://github.com/vertz-dev/vertz/commit/9ee03084f71803b04eef5f05ced2f90b52a9fa8e), [`63f074e`](https://github.com/vertz-dev/vertz/commit/63f074eefa96b49eb72724f8ec377a14a1f2c630)]:
212
- - @vertz/server@0.2.0
213
- - @vertz/testing@0.2.0
214
- - @vertz/db@0.2.0
215
- - @vertz/schema@0.2.0
216
- - @vertz/ui-compiler@1.0.0
217
- - @vertz/ui@0.2.0
@@ -1,101 +0,0 @@
1
- import { describe, expect, it } from 'bun:test';
2
-
3
- /**
4
- * Tests that each subpath export from the `vertz` meta-package
5
- * correctly re-exports from the underlying @vertz/* package.
6
- *
7
- * Tree-shaking: each subpath is a separate entry point with `sideEffects: false`,
8
- * so bundlers will only include the code actually imported.
9
- */
10
-
11
- describe('vertz meta-package subpath exports', () => {
12
- it('vertz/server re-exports @vertz/server', async () => {
13
- const mod = await import('vertz/server');
14
- // createServer is the primary export from @vertz/server
15
- expect(mod.createServer).toBeDefined();
16
- expect(typeof mod.createServer).toBe('function');
17
- });
18
-
19
- it('vertz/schema re-exports @vertz/schema', async () => {
20
- const mod = await import('vertz/schema');
21
- // s is the schema builder
22
- expect(mod.s).toBeDefined();
23
- expect(typeof mod.s).toBe('object');
24
- });
25
-
26
- it('vertz/db re-exports @vertz/db', async () => {
27
- const mod = await import('vertz/db');
28
- // Should have db-related exports
29
- expect(Object.keys(mod).length).toBeGreaterThan(0);
30
- });
31
-
32
- it('vertz/testing re-exports @vertz/testing', async () => {
33
- const mod = await import('vertz/testing');
34
- expect(Object.keys(mod).length).toBeGreaterThan(0);
35
- });
36
-
37
- it('vertz/ui re-exports @vertz/ui', async () => {
38
- const mod = await import('vertz/ui');
39
- expect(Object.keys(mod).length).toBeGreaterThan(0);
40
- });
41
-
42
- it('vertz/ui-compiler re-exports @vertz/ui-compiler', async () => {
43
- const mod = await import('vertz/ui-compiler');
44
- expect(Object.keys(mod).length).toBeGreaterThan(0);
45
- });
46
-
47
- it('vertz has no default/root export', async () => {
48
- // Verify package.json has no "." export
49
- const fs = await import('node:fs');
50
- const path = await import('node:path');
51
- const pkgPath = path.resolve(import.meta.dirname, '..', 'package.json');
52
- const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'));
53
- expect(pkg.exports['.']).toBeUndefined();
54
- expect(pkg.main).toBeUndefined();
55
- });
56
-
57
- it('vertz/fetch re-exports @vertz/fetch', async () => {
58
- const mod = await import('vertz/fetch');
59
- expect(Object.keys(mod).length).toBeGreaterThan(0);
60
- });
61
-
62
- it('vertz/errors re-exports @vertz/errors', async () => {
63
- const mod = await import('vertz/errors');
64
- expect(Object.keys(mod).length).toBeGreaterThan(0);
65
- });
66
-
67
- it('vertz/cloudflare re-exports @vertz/cloudflare', async () => {
68
- const mod = await import('vertz/cloudflare');
69
- expect(Object.keys(mod).length).toBeGreaterThan(0);
70
- });
71
-
72
- it('vertz/tui re-exports @vertz/tui', async () => {
73
- const mod = await import('vertz/tui');
74
- expect(Object.keys(mod).length).toBeGreaterThan(0);
75
- });
76
-
77
- it('vertz/ui-primitives re-exports @vertz/ui-primitives', async () => {
78
- const mod = await import('vertz/ui-primitives');
79
- expect(Object.keys(mod).length).toBeGreaterThan(0);
80
- });
81
- });
82
-
83
- describe('tree-shaking: subpaths are independent modules', () => {
84
- it('each subpath points to a separate source file', async () => {
85
- // Verify the package.json exports field has separate entry points
86
- const fs = await import('node:fs');
87
- const path = await import('node:path');
88
- const pkgPath = path.resolve(import.meta.dirname, '..', 'package.json');
89
- const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'));
90
-
91
- const exportPaths = Object.values(pkg.exports) as Array<{ import: string }>;
92
- const importPaths = exportPaths.map((e) => e.import);
93
-
94
- // All import paths should be unique (no shared entry point)
95
- const unique = new Set(importPaths);
96
- expect(unique.size).toBe(importPaths.length);
97
-
98
- // sideEffects must be false for tree-shaking
99
- expect(pkg.sideEffects).toBe(false);
100
- });
101
- });
package/src/cloudflare.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/cloudflare';
package/src/db-sqlite.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/db/sqlite';
package/src/db.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/db';
package/src/errors.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/errors';
package/src/fetch.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/fetch';
package/src/schema.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/schema';
package/src/server.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/server';
package/src/testing.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/testing';
package/src/tui.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/tui';
@@ -1 +0,0 @@
1
- export * from '@vertz/ui-compiler';
@@ -1 +0,0 @@
1
- export * from '@vertz/ui-primitives';
@@ -1 +0,0 @@
1
- export * from '@vertz/ui-server/bun-plugin';
package/src/ui-server.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/ui-server';
package/src/ui.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@vertz/ui';
package/tsconfig.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "dist",
4
- "rootDir": "src"
5
- },
6
- "extends": "../../tsconfig.json",
7
- "include": ["src"]
8
- }