diff --git a/.gitignore b/.gitignore index add8286e..3781e718 100644 --- a/.gitignore +++ b/.gitignore @@ -186,6 +186,8 @@ apps/mobile/assets/fonts/satoshi-variable.woff2 apps/mobile/assets/fonts/satoshi-variable-italic.woff2 apps/mobile/assets/fonts/antonio.ttf +apps/server/data/ + .expo web-build/ expo-env.d.ts diff --git a/apps/server/src/lib/config/storage.ts b/apps/server/src/lib/config/storage.ts index ed073a27..4658497c 100644 --- a/apps/server/src/lib/config/storage.ts +++ b/apps/server/src/lib/config/storage.ts @@ -24,7 +24,7 @@ const fileStorageProviderConfigSchema = z.object({ type: z.literal('file'), directory: z .string({ error: 'Storage file directory is required' }) - .default('./colanode') + .default('./data') .transform(resolveConfigReference), }); diff --git a/package-lock.json b/package-lock.json index 722b88a1..565b3b8a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10329,21 +10329,6 @@ "node": ">= 20.19.4" } }, - "node_modules/@react-native/community-cli-plugin/node_modules/utf-8-validate": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", - "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">=6.14.2" - } - }, "node_modules/@react-native/community-cli-plugin/node_modules/ws": { "version": "7.5.10", "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", @@ -23544,21 +23529,6 @@ "node": ">=0.10.0" } }, - "node_modules/metro/node_modules/utf-8-validate": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", - "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">=6.14.2" - } - }, "node_modules/metro/node_modules/ws": { "version": "7.5.10", "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", @@ -26014,21 +25984,6 @@ "ws": "^7" } }, - "node_modules/react-devtools-core/node_modules/utf-8-validate": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", - "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">=6.14.2" - } - }, "node_modules/react-devtools-core/node_modules/ws": { "version": "7.5.10", "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", @@ -26328,21 +26283,6 @@ "node": ">=0.10.0" } }, - "node_modules/react-native/node_modules/utf-8-validate": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", - "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">=6.14.2" - } - }, "node_modules/react-native/node_modules/ws": { "version": "7.5.10", "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", diff --git a/packages/ui/src/components/auth/email-login-form.tsx b/packages/ui/src/components/auth/email-login-form.tsx index d377cfdc..5428e359 100644 --- a/packages/ui/src/components/auth/email-login-form.tsx +++ b/packages/ui/src/components/auth/email-login-form.tsx @@ -7,7 +7,6 @@ import { Button } from '@colanode/ui/components/ui/button'; import { Field, FieldError, - FieldGroup, FieldLabel, } from '@colanode/ui/components/ui/field'; import { Input } from '@colanode/ui/components/ui/input'; @@ -46,65 +45,63 @@ export const LoginForm = ({ isPending, onSubmit }: LoginFormProps) => { }} className="space-y-4" > - - { - const isInvalid = - field.state.meta.isTouched && !field.state.meta.isValid; - return ( - - Email - field.handleChange(e.target.value)} - aria-invalid={isInvalid} - placeholder="hi@example.com" - autoComplete="email" - /> - {isInvalid && } - - ); - }} - /> - { - const isInvalid = - field.state.meta.isTouched && !field.state.meta.isValid; - return ( - -
- Password -

{ - navigate({ to: '/auth/reset' }); - }} - > - Forgot password? -

-
- field.handleChange(e.target.value)} - aria-invalid={isInvalid} - autoComplete="current-password" - placeholder="********" - /> - {isInvalid && } -
- ); - }} - /> -
+ { + const isInvalid = + field.state.meta.isTouched && !field.state.meta.isValid; + return ( + + Email + field.handleChange(e.target.value)} + aria-invalid={isInvalid} + placeholder="hi@example.com" + autoComplete="email" + /> + {isInvalid && } + + ); + }} + /> + { + const isInvalid = + field.state.meta.isTouched && !field.state.meta.isValid; + return ( + +
+ Password +

{ + navigate({ to: '/auth/reset' }); + }} + > + Forgot password? +

+
+ field.handleChange(e.target.value)} + aria-invalid={isInvalid} + autoComplete="current-password" + placeholder="********" + /> + {isInvalid && } +
+ ); + }} + />