fix: build errors and version
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "harmony-club",
|
"name": "harmony-club",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "1.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -4,10 +4,7 @@ import { useRef, useState, type ChangeEvent, type Dispatch } from 'react';
|
|||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { AuthenticationCard } from '../AuthenticationCard';
|
import { AuthenticationCard } from '../AuthenticationCard';
|
||||||
import { CountryCodeSelector } from '../../../../components/CountryCodeSelector';
|
import { CountryCodeSelector } from '../../../../components/CountryCodeSelector';
|
||||||
import {
|
import { sendSmsCodeCompleteUserInforamation } from '../../api/authorizationAPI';
|
||||||
sendSmsCodeCompleteUserInforamation,
|
|
||||||
sendSmsOtp,
|
|
||||||
} from '../../api/authorizationAPI';
|
|
||||||
import type { CountryCode } from '@/types/commonTypes';
|
import type { CountryCode } from '@/types/commonTypes';
|
||||||
import { useApi } from '@/hooks/useApi';
|
import { useApi } from '@/hooks/useApi';
|
||||||
import { replacePersianWithRealNumbers } from '@/utils/replacePersianWithRealNumbers';
|
import { replacePersianWithRealNumbers } from '@/utils/replacePersianWithRealNumbers';
|
||||||
|
|||||||
2
vite.config.d.ts
vendored
2
vite.config.d.ts
vendored
@@ -1,2 +1,2 @@
|
|||||||
declare const _default: import('vite').UserConfig;
|
declare const _default: import("vite").UserConfig;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|||||||
@@ -3,10 +3,10 @@ import react from '@vitejs/plugin-react';
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
// https://vite.dev/config/
|
// https://vite.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'@': path.resolve(__dirname, './src'),
|
'@': path.resolve(__dirname, './src'),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user