Skip to content
Open
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
2 changes: 0 additions & 2 deletions .github/workflows/code-quality-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v6
with:
version: 10.28.0

- uses: actions/setup-node@v4
with:
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN corepack enable
# Stage 1: Build the application
FROM base AS build
ENV NODE_ENV=development
ENV CI=true

ARG NUXT_PUBLIC_RECAPTCHA_SITE_KEY
ARG NUXT_PUBLIC_DM_WS_URL
Expand All @@ -17,7 +18,7 @@ ENV NUXT_PUBLIC_DM_WS_URL=$NUXT_PUBLIC_DM_WS_URL
ENV RAVEN_TENOR_KEY=$RAVEN_TENOR_KEY

# Install dependencies
COPY package.json pnpm-lock.yaml ./
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \
pnpm install --frozen-lockfile

Expand All @@ -40,7 +41,7 @@ FROM base
# Copy build output and necessary files
ENV NODE_ENV=production
COPY --from=build /app/.output /app/.output
COPY package.json ./
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./

EXPOSE 3000
CMD ["pnpm", "start"]
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production') require('child_process').execSync('husky', {stdio: 'inherit'})\"",
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production' && process.env.CI !== 'true') require('child_process').execSync('husky', {stdio: 'inherit'})\"",
"lint": "eslint . --ext .js,.ts,.vue --fix",
"lint:check": "eslint . --ext .js,.ts,.vue",
"format": "prettier --write .",
Expand Down Expand Up @@ -107,6 +107,13 @@
"engines": {
"node": ">=22.0.0"
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "10.28.0",
"onFail": "download"
}
},
"msw": {
"workerDirectory": [
"public"
Expand Down
1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ignoredBuiltDependencies:
- cypress
- msw
- unrs-resolver
- vue-demi
Expand Down