zerotal 1.0.0
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 +27 -0
- package/LICENSE +21 -0
- package/README.md +38 -0
- package/package.json +89 -0
- package/src/assets.ts +1 -0
- package/src/auth.ts +1 -0
- package/src/build.ts +1 -0
- package/src/cache.ts +1 -0
- package/src/carbon.ts +1 -0
- package/src/client.ts +1 -0
- package/src/commands.ts +1 -0
- package/src/config-reexport.ts +1 -0
- package/src/contracts.ts +1 -0
- package/src/dev.ts +1 -0
- package/src/env.ts +1 -0
- package/src/facades.ts +1 -0
- package/src/health.ts +1 -0
- package/src/helpers.ts +1 -0
- package/src/http.ts +1 -0
- package/src/index.ts +8 -0
- package/src/jsx-dev-runtime.ts +1 -0
- package/src/jsx-runtime.ts +1 -0
- package/src/lock.ts +1 -0
- package/src/logger.ts +1 -0
- package/src/metrics.ts +1 -0
- package/src/orm.ts +1 -0
- package/src/queue.ts +1 -0
- package/src/scheduler.ts +1 -0
- package/src/security.ts +1 -0
- package/src/session.ts +1 -0
- package/src/storage.ts +1 -0
- package/src/testing.ts +1 -0
- package/src/validator.ts +1 -0
- package/src/view.ts +1 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Changelog — zerotal
|
|
2
|
+
|
|
3
|
+
All notable changes to this package are documented here. The format is
|
|
4
|
+
based on [Keep a Changelog](https://keepachangelog.com/); this package
|
|
5
|
+
follows the Zerotal monorepo's unified versioning.
|
|
6
|
+
|
|
7
|
+
**Maturity: `stable`**
|
|
8
|
+
|
|
9
|
+
## [Unreleased]
|
|
10
|
+
|
|
11
|
+
## [1.0.0] — 2026-08-05
|
|
12
|
+
|
|
13
|
+
_First public release._
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **Initial meta package.** `bun add zerotal` installs the stable set in one
|
|
18
|
+
dependency: the root import re-exports `@zerotal/core`, and each stable
|
|
19
|
+
package is available as a subpath (`zerotal/orm`, `zerotal/auth`,
|
|
20
|
+
`zerotal/cache`, `zerotal/client`, `zerotal/queue`, `zerotal/scheduler`,
|
|
21
|
+
`zerotal/session`, `zerotal/testing`, `zerotal/validator`).
|
|
22
|
+
- **Core subpaths mirrored 1:1.** `zerotal/logger`, `zerotal/lock`,
|
|
23
|
+
`zerotal/storage`, `zerotal/config`, `zerotal/view` and the rest of
|
|
24
|
+
`@zerotal/core`'s export map resolve through the meta package, including
|
|
25
|
+
`jsx-runtime` so `"jsxImportSource": "zerotal"` works. Only the
|
|
26
|
+
`macros/config` Bun macro stays core-only. The `create-zerotal` templates
|
|
27
|
+
and the docs app now scaffold and import from `zerotal`.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Zerotal
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# zerotal
|
|
2
|
+
|
|
3
|
+
> Zerotal, one install — the meta package for the stable set.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
bun add zerotal
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
`zerotal` is a thin re-export layer over the [`@zerotal/*`](https://github.com/zerotaldev/zerotal) scope. The root import is `@zerotal/core`; each stable package is one subpath away:
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import { Application, Router } from "zerotal";
|
|
13
|
+
import { Model } from "zerotal/orm";
|
|
14
|
+
import { Auth } from "zerotal/auth";
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
| Subpath | Re-exports |
|
|
18
|
+
| ------------------- | -------------------- |
|
|
19
|
+
| `zerotal` | `@zerotal/core` |
|
|
20
|
+
| `zerotal/auth` | `@zerotal/auth` |
|
|
21
|
+
| `zerotal/cache` | `@zerotal/cache` |
|
|
22
|
+
| `zerotal/client` | `@zerotal/client` |
|
|
23
|
+
| `zerotal/orm` | `@zerotal/orm` |
|
|
24
|
+
| `zerotal/queue` | `@zerotal/queue` |
|
|
25
|
+
| `zerotal/scheduler` | `@zerotal/scheduler` |
|
|
26
|
+
| `zerotal/session` | `@zerotal/session` |
|
|
27
|
+
| `zerotal/testing` | `@zerotal/testing` |
|
|
28
|
+
| `zerotal/validator` | `@zerotal/validator` |
|
|
29
|
+
|
|
30
|
+
Core's own subpaths are mirrored 1:1, so `zerotal` is a full drop-in for `@zerotal/core`: `zerotal/logger`, `zerotal/lock`, `zerotal/storage`, `zerotal/config`, `zerotal/view`, `zerotal/helpers`, `zerotal/facades`, `zerotal/http`, `zerotal/env`, `zerotal/carbon`, `zerotal/contracts`, `zerotal/commands`, `zerotal/assets`, `zerotal/security`, `zerotal/health`, `zerotal/metrics`, `zerotal/dev`, `zerotal/build` — and `jsx-runtime`, so `"jsxImportSource": "zerotal"` works for server JSX views. The one exception is `@zerotal/core/macros/config` (a Bun macro): import it from core directly.
|
|
31
|
+
|
|
32
|
+
There is no behaviour here and no version skew: the meta package pins the same monorepo version as every `@zerotal/*` package it re-exports. Installing a scoped package directly is always equivalent — this package exists so a new app needs exactly one dependency to start.
|
|
33
|
+
|
|
34
|
+
Beta and experimental packages (`@zerotal/flow`, `@zerotal/flow-ui`, `@zerotal/admin`, `@zerotal/devtools`, ...) are not bundled; install them individually while they harden.
|
|
35
|
+
|
|
36
|
+
Scaffolding a new app? Use `bun create zerotal my-app` instead — it wires an application skeleton, not just dependencies.
|
|
37
|
+
|
|
38
|
+
Part of the [Zerotal](../../README.md) framework. Requires **Bun ≥ 1.3.14**.
|
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "zerotal",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"maturity": "stable",
|
|
6
|
+
"private": false,
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./src/index.ts",
|
|
9
|
+
"types": "./src/index.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./src/index.ts",
|
|
12
|
+
"./assets": "./src/assets.ts",
|
|
13
|
+
"./auth": "./src/auth.ts",
|
|
14
|
+
"./build": "./src/build.ts",
|
|
15
|
+
"./cache": "./src/cache.ts",
|
|
16
|
+
"./carbon": "./src/carbon.ts",
|
|
17
|
+
"./client": "./src/client.ts",
|
|
18
|
+
"./commands": "./src/commands.ts",
|
|
19
|
+
"./config": "./src/config-reexport.ts",
|
|
20
|
+
"./contracts": "./src/contracts.ts",
|
|
21
|
+
"./dev": "./src/dev.ts",
|
|
22
|
+
"./env": "./src/env.ts",
|
|
23
|
+
"./facades": "./src/facades.ts",
|
|
24
|
+
"./health": "./src/health.ts",
|
|
25
|
+
"./helpers": "./src/helpers.ts",
|
|
26
|
+
"./http": "./src/http.ts",
|
|
27
|
+
"./jsx-dev-runtime": "./src/jsx-dev-runtime.ts",
|
|
28
|
+
"./jsx-runtime": "./src/jsx-runtime.ts",
|
|
29
|
+
"./lock": "./src/lock.ts",
|
|
30
|
+
"./logger": "./src/logger.ts",
|
|
31
|
+
"./metrics": "./src/metrics.ts",
|
|
32
|
+
"./orm": "./src/orm.ts",
|
|
33
|
+
"./queue": "./src/queue.ts",
|
|
34
|
+
"./scheduler": "./src/scheduler.ts",
|
|
35
|
+
"./security": "./src/security.ts",
|
|
36
|
+
"./session": "./src/session.ts",
|
|
37
|
+
"./storage": "./src/storage.ts",
|
|
38
|
+
"./testing": "./src/testing.ts",
|
|
39
|
+
"./validator": "./src/validator.ts",
|
|
40
|
+
"./view": "./src/view.ts"
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"CHANGELOG.md",
|
|
44
|
+
"src",
|
|
45
|
+
"!src/**/*.test.ts",
|
|
46
|
+
"!src/**/*.test.tsx",
|
|
47
|
+
"!src/**/*.spec.ts",
|
|
48
|
+
"!src/**/__fixtures__/**"
|
|
49
|
+
],
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"access": "public"
|
|
52
|
+
},
|
|
53
|
+
"engines": {
|
|
54
|
+
"bun": ">=1.3.14"
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"test": "bun test",
|
|
58
|
+
"typecheck": "tsc --noEmit"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@zerotal/auth": "1.0.0",
|
|
62
|
+
"@zerotal/cache": "1.0.0",
|
|
63
|
+
"@zerotal/client": "1.0.0",
|
|
64
|
+
"@zerotal/core": "1.0.0",
|
|
65
|
+
"@zerotal/orm": "1.0.0",
|
|
66
|
+
"@zerotal/queue": "1.0.0",
|
|
67
|
+
"@zerotal/scheduler": "1.0.0",
|
|
68
|
+
"@zerotal/session": "1.0.0",
|
|
69
|
+
"@zerotal/testing": "1.0.0",
|
|
70
|
+
"@zerotal/validator": "1.0.0"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"typescript": "^5.8.0"
|
|
74
|
+
},
|
|
75
|
+
"description": "Zerotal, one install — the meta package re-exporting @zerotal/core and the stable set.",
|
|
76
|
+
"keywords": [
|
|
77
|
+
"zerotal",
|
|
78
|
+
"bun",
|
|
79
|
+
"typescript",
|
|
80
|
+
"framework"
|
|
81
|
+
],
|
|
82
|
+
"repository": {
|
|
83
|
+
"type": "git",
|
|
84
|
+
"url": "git+https://github.com/zerotaldev/zerotal.git",
|
|
85
|
+
"directory": "packages/zerotal"
|
|
86
|
+
},
|
|
87
|
+
"homepage": "https://github.com/zerotaldev/zerotal/tree/main/packages/zerotal#readme",
|
|
88
|
+
"bugs": "https://github.com/zerotaldev/zerotal/issues"
|
|
89
|
+
}
|
package/src/assets.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/assets";
|
package/src/auth.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/auth";
|
package/src/build.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/build";
|
package/src/cache.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/cache";
|
package/src/carbon.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/carbon";
|
package/src/client.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/client";
|
package/src/commands.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/commands";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/config";
|
package/src/contracts.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/contracts";
|
package/src/dev.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/dev";
|
package/src/env.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/env";
|
package/src/facades.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/facades";
|
package/src/health.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/health";
|
package/src/helpers.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/helpers";
|
package/src/http.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/http";
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `zerotal` meta package.
|
|
3
|
+
*
|
|
4
|
+
* `import { ... } from "zerotal"` is `@zerotal/core`; the rest of the stable
|
|
5
|
+
* set is one subpath away (`zerotal/orm`, `zerotal/auth`, ...). Beta and
|
|
6
|
+
* experimental packages are installed individually under their own names.
|
|
7
|
+
*/
|
|
8
|
+
export * from "@zerotal/core";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/jsx-runtime";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/jsx-runtime";
|
package/src/lock.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/lock";
|
package/src/logger.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/logger";
|
package/src/metrics.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/metrics";
|
package/src/orm.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/orm";
|
package/src/queue.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/queue";
|
package/src/scheduler.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/scheduler";
|
package/src/security.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/security";
|
package/src/session.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/session";
|
package/src/storage.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/storage";
|
package/src/testing.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/testing";
|
package/src/validator.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/validator";
|
package/src/view.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@zerotal/core/view";
|