diff --git a/dsql-app/docker-entrypoint.sh b/dsql-app/docker-entrypoint.sh index 1b540e7..871393f 100755 --- a/dsql-app/docker-entrypoint.sh +++ b/dsql-app/docker-entrypoint.sh @@ -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 diff --git a/dsql-app/tsconfig.json b/dsql-app/tsconfig.json new file mode 100644 index 0000000..b8dde2f --- /dev/null +++ b/dsql-app/tsconfig.json @@ -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" + ] +}