mirror of
https://github.com/LittleQuartZ/addmon.git
synced 2026-02-07 02:45:28 +07:00
initial commit
This commit is contained in:
commit
43dd3ce0e9
64 changed files with 7783 additions and 0 deletions
18
packages/env/package.json
vendored
Normal file
18
packages/env/package.json
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "@addmon/env",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./web": "./src/web.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@t3-oss/env-core": "^0.13.1",
|
||||
"dotenv": "catalog:",
|
||||
"zod": "catalog:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@addmon/config": "workspace:*",
|
||||
"typescript": "catalog:"
|
||||
}
|
||||
}
|
||||
6
packages/env/src/web.ts
vendored
Normal file
6
packages/env/src/web.ts
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { createEnv } from "@t3-oss/env-core";
|
||||
import { z } from "zod";
|
||||
|
||||
export const env = createEnv({
|
||||
emptyStringAsUndefined: true,
|
||||
});
|
||||
3
packages/env/tsconfig.json
vendored
Normal file
3
packages/env/tsconfig.json
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "@addmon/config/tsconfig.base.json"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue