1
- /* eslint-disable no-restricted-imports */
2
1
import * as cryptolib from "crypto" ;
3
2
import dotenv from "dotenv" ;
4
3
import fs from "fs" ;
@@ -7,31 +6,31 @@ import path from "path";
7
6
import type { ExecException } from "child_process" ;
8
7
import { exec , spawn , execSync } from "child_process" ;
9
8
import { MongoClient } from "mongodb" ;
10
- import { MAXIMUM_IMAGE_SIZE_LIMIT_KB } from "./src/ constants" ;
9
+ import { MAXIMUM_IMAGE_SIZE_LIMIT_KB } from "@ constants" ;
11
10
import {
12
11
askForMongoDBUrl ,
13
12
checkConnection ,
14
13
checkExistingMongoDB ,
15
- } from "./src/ setup/MongoDB" ;
16
- import { askToKeepValues } from "./src/ setup/askToKeepValues" ;
17
- import { getNodeEnvironment } from "./src/ setup/getNodeEnvironment" ;
18
- import { isValidEmail } from "./src/ setup/isValidEmail" ;
19
- import { validateRecaptcha } from "./src/ setup/reCaptcha" ;
14
+ } from "@ setup/MongoDB" ;
15
+ import { askToKeepValues } from "@ setup/askToKeepValues" ;
16
+ import { getNodeEnvironment } from "@ setup/getNodeEnvironment" ;
17
+ import { isValidEmail } from "@ setup/isValidEmail" ;
18
+ import { validateRecaptcha } from "@ setup/reCaptcha" ;
20
19
import {
21
20
askForRedisUrl ,
22
21
checkExistingRedis ,
23
22
checkRedisConnection ,
24
- } from "./src/ setup/redisConfiguration" ;
23
+ } from "@ setup/redisConfiguration" ;
25
24
import {
26
25
setImageUploadSize ,
27
26
validateImageFileSize ,
28
- } from "./src/ setup/setImageUploadSize" ;
29
- import { askForSuperAdminEmail } from "./src/ setup/superAdmin" ;
30
- import { updateEnvVariable } from "./src/ setup/updateEnvVariable" ;
31
- import { verifySmtpConnection } from "./src/ setup/verifySmtpConnection" ;
32
- import { loadDefaultOrganiation } from "./src/ utilities/loadDefaultOrg" ;
33
- import { isMinioInstalled } from "./src/ setup/isMinioInstalled" ;
34
- import { installMinio } from "./src/ setup/installMinio" ;
27
+ } from "@ setup/setImageUploadSize" ;
28
+ import { askForSuperAdminEmail } from "@ setup/superAdmin" ;
29
+ import { updateEnvVariable } from "@ setup/updateEnvVariable" ;
30
+ import { verifySmtpConnection } from "@ setup/verifySmtpConnection" ;
31
+ import { loadDefaultOrganiation } from "@ utilities/loadDefaultOrg" ;
32
+ import { isMinioInstalled } from "@ setup/isMinioInstalled" ;
33
+ import { installMinio } from "@ setup/installMinio" ;
35
34
36
35
dotenv . config ( ) ;
37
36
0 commit comments