Updates
This commit is contained in:
parent
43e98d1565
commit
7a485da667
@ -29,16 +29,17 @@ fi
|
||||
if [ -n "${NEXT_PUBLIC_DSQL_LOCAL}" ]; then
|
||||
if [[ "$DSQL_HOST_ENV" == *"dev_dev"* ]]; then
|
||||
echo "NEXT_PUBLIC_DSQL_LOCAL is set in dev environment."
|
||||
batchrun
|
||||
# batchrun
|
||||
bun dev
|
||||
else
|
||||
echo "NEXT_PUBLIC_DSQL_LOCAL is set. Running Local initialization ..."
|
||||
# bun /app/docker-root-user-init.ts
|
||||
if [[ $? == 0 ]]; then
|
||||
echo "First User Setup Complete"
|
||||
else
|
||||
echo "First User Setup Failed!. Exiting ..."
|
||||
exit 1
|
||||
fi
|
||||
# if [[ $? == 0 ]]; then
|
||||
# echo "First User Setup Complete"
|
||||
# else
|
||||
# echo "First User Setup Failed!. Exiting ..."
|
||||
# exit 1
|
||||
# fi
|
||||
# bun /app/package-shared/shell/mariadb-users/refreshUsersAndGrants.ts
|
||||
bun server.ts
|
||||
fi
|
||||
|
32
dsql-app/tsconfig.json
Normal file
32
dsql-app/tsconfig.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2017",
|
||||
"paths": {
|
||||
"@/*": ["./*"]
|
||||
},
|
||||
"maxNodeModuleJsDepth": 5,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"allowJs": true,
|
||||
"noEmit": true,
|
||||
"incremental": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
"moduleResolution": "node",
|
||||
"module": "ESNext"
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "next.config.js"],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"dump",
|
||||
".next",
|
||||
".tmp",
|
||||
"apiKeys",
|
||||
"less",
|
||||
"public"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user