File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ Inspired by tools like [T3 Env](https://env.t3.gg) but tailored specifically for
1212
1313``` ts
1414// @noErrors
15- import arkenv from " arkenv"
15+ import { createEnv } from " arkenv"
1616
17- const env = arkenv ({
17+ const env = createEnv ({
1818 HOST: " string.host" ,
1919 PORT: " number.port" ,
2020 NODE_ENV: " 'development' | 'production' | 'test' = 'development'"
Original file line number Diff line number Diff line change 11{
22 "title" : " Ecosystem" ,
3- "icon" : " New" ,
43 "pages" : [" [ArkEnv](/docs/ecosystem#arkenv)" ]
54}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { createElement } from "react"
66import { docs } from "../.source/index.ts"
77import { Badge } from "../components/Badge.tsx"
88
9- export type IconName = keyof typeof icons | "Advanced" | "New"
9+ export type IconName = keyof typeof icons | "Advanced"
1010
1111export const source = loader ( {
1212 baseUrl : "/docs" ,
@@ -29,20 +29,6 @@ export const source = loader({
2929 </ Badge >
3030 )
3131 }
32- if ( name === "New" ) {
33- return (
34- < Badge
35- style = { {
36- height : "1rem" ,
37- fontSize : 10 ,
38- padding : "0 0.2rem" ,
39- order : 1
40- } }
41- >
42- new
43- </ Badge >
44- )
45- }
4632
4733 throw new Error ( `${ name } is not a valid icon` )
4834 }
You can’t perform that action at this time.
0 commit comments