-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a33b7f6
commit 1cdf05c
Showing
9 changed files
with
129 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This file contains the most common exclusions for all workspaces | ||
# Specific workspaces may have additional exclusions that are not listed here | ||
|
||
# Dependencies | ||
node_modules | ||
.pnp | ||
.pnp.js | ||
|
||
# Testing | ||
coverage | ||
|
||
# Turbo | ||
.turbo | ||
|
||
# Vercel | ||
.vercel | ||
|
||
# Next.js | ||
next-env.d.ts | ||
.env*local | ||
|
||
# Build Outputs | ||
.next/ | ||
out/ | ||
build | ||
dist | ||
|
||
|
||
# Debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# IDE & Editor | ||
.idea | ||
|
||
# Misc | ||
.DS_Store | ||
.cache | ||
.refs | ||
.tmp | ||
*.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
legacy-peer-deps=true | ||
enable-pre-post-scripts=true | ||
auto-install-peers=true | ||
node-linker=hoisted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package.json | ||
pnpm-lock.yaml | ||
node_modules | ||
pnpm-workspace.yaml | ||
static/** | ||
*.hbs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"arrowParens": "always", | ||
"bracketSpacing": true, | ||
"bracketSameLine": false, | ||
"printWidth": 80, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"tabWidth": 4, | ||
"useTabs": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# dev-docker-compose-template | ||
# pnpm-dev-docker-template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: change_my_name | ||
|
||
services: | ||
dev: | ||
build: | ||
dockerfile: docker/dev.dockerfile | ||
container_name: ${COMPOSE_PROJECT_NAME}-dev | ||
hostname: ${COMPOSE_PROJECT_NAME}-dev | ||
tty: true | ||
volumes: | ||
- ./:/app | ||
ports: | ||
- '3000:3000' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This file is used to build the local development image for the project | ||
|
||
FROM node:20-alpine | ||
|
||
ARG PNPM_HOME="/pnpm" | ||
|
||
ENV PNPM_HOME="${PNPM_HOME}" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0 | ||
|
||
RUN apk --no-cache add git libc6-compat | ||
RUN corepack enable pnpm && corepack prepare pnpm --activate | ||
RUN pnpm config set store-dir ${PNPM_HOME}/.pnpm-store | ||
|
||
WORKDIR /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"--- DEV-DOCKER ---": "SECTION", | ||
"dev-up": "docker compose -f compose.dev.yml up -d && npm run dev-exec", | ||
"dev-exec": "docker exec -it change_my_name-dev sh", | ||
"dev-down": "docker compose -f compose.dev.yml down --remove-orphans" | ||
}, | ||
"devDependencies": { | ||
"prettier": "^3.4.2" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.