Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TG-1074 Maintenance - Reorganize core project files to use the src folder pattern #34

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions {{cookiecutter.project_dirname}}/docker-compose/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ services:
dockerfile: ${SERVICE_DOCKER_FILE:-docker/test.Dockerfile}
volumes:
- ./__tests__:/app/__tests__:ro
- ./components:/app/components:ro
- ./declarations:/app/declarations:ro
- ./models:/app/models:ro
- ./pages:/app/pages:ro
- ./public:/app/public:ro
- ./store:/app/store:ro
- ./styles:/app/styles:ro
- ./utils:/app/utils:ro
- ./src:/app/src:ro
user: ${USER:-nextjs}
7 changes: 1 addition & 6 deletions {{cookiecutter.project_dirname}}/docker/remote.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@ RUN \
elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i; \
else echo "Lockfile not found." && exit 1; \
fi
COPY components ./components
COPY declarations ./declarations
COPY models ./models
COPY pages ./pages
COPY public ./public
COPY store ./store
COPY styles ./styles
COPY utils ./utils
COPY src ./src
COPY tsconfig.json next.config.js sentry.client.config.js sentry.server.config.js middleware.ts ./
ARG SENTRY_AUTH_TOKEN \
SENTRY_ORG \
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_dirname}}/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"allowJs": true,
"baseUrl": ".",
"baseUrl": "./src",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
Expand Down