@aamini/lib 0.0.1 → 0.0.4
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 +17 -0
- package/package.json +2 -1
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @aamini/lib
|
|
2
|
+
|
|
3
|
+
Runtime utilities for aamini apps.
|
|
4
|
+
|
|
5
|
+
## Modules
|
|
6
|
+
|
|
7
|
+
| Import | Description |
|
|
8
|
+
| --------------------------- | ------------------------------------------------- |
|
|
9
|
+
| `@aamini/lib/env` | Zod-validated environment variables from `dotenv` |
|
|
10
|
+
| `@aamini/lib/posthog-proxy` | PostHog proxy endpoint builder |
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
import { env } from '@aamini/lib/env'
|
|
16
|
+
// validates process.env against your schema
|
|
17
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aamini/lib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
+
"build": "vp pack",
|
|
35
36
|
"pack": "vp pack",
|
|
36
37
|
"prepublishOnly": "vp pack",
|
|
37
38
|
"check": "vp check"
|