Skip to content

Commit

Permalink
always install nx
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Jan 24, 2025
1 parent 21cd6fb commit 8de12fe
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 589 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FROM node:18.19.1-bookworm-slim AS frontend-build
WORKDIR /code
SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]

COPY package.json pnpm-lock.yaml project.json nx.json ./
COPY package.json pnpm-lock.yaml ./
COPY patches/ patches/
RUN corepack enable && pnpm --version && \
mkdir /tmp/pnpm-store && \
Expand All @@ -36,8 +36,8 @@ COPY frontend/ frontend/
COPY products/ products/
COPY ee/frontend/ ee/frontend/
COPY ./bin/ ./bin/
COPY babel.config.js tsconfig.json webpack.config.js tailwind.config.js ./
RUN npx nx build frontend
COPY babel.config.js tsconfig.json webpack.config.js tailwind.config.js nx.json project.json ./
RUN npx nx build posthog-frontend

#
# ---------------------------------------------------------
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@
"@microlink/react-json-view": "^1.21.3",
"@microsoft/fetch-event-source": "^2.0.1",
"@monaco-editor/react": "4.6.0",
"@nx/cypress": "20.3.1",
"@nx/eslint": "20.3.1",
"@nx/jest": "20.3.1",
"@nx/storybook": "20.3.1",
"@nx/web": "20.3.1",
"@posthog/hogvm": "^1.0.66",
"@posthog/icons": "0.10.0",
"@posthog/plugin-scaffold": "^1.4.4",
Expand Down Expand Up @@ -158,6 +163,7 @@
"md5": "^2.3.0",
"monaco-editor": "^0.49.0",
"natural-orderby": "^3.0.2",
"nx": "20.3.1",
"papaparse": "^5.4.1",
"pmtiles": "^2.11.0",
"postcss": "^8.4.31",
Expand Down Expand Up @@ -210,11 +216,6 @@
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@cypress/webpack-preprocessor": "^5.17.1",
"@nx/cypress": "20.3.1",
"@nx/eslint": "20.3.1",
"@nx/jest": "20.3.1",
"@nx/storybook": "20.3.1",
"@nx/web": "20.3.1",
"@playwright/test": "1.45.0",
"@sentry/types": "7.112.1",
"@storybook/addon-a11y": "^7.6.4",
Expand Down Expand Up @@ -309,7 +310,6 @@
"mockdate": "^3.0.5",
"monaco-editor-webpack-plugin": "^7.0.1",
"msw": "^0.49.0",
"nx": "20.3.1",
"path-browserify": "^1.0.1",
"pixelmatch": "^5.3.0",
"pngjs": "^6.0.0",
Expand Down
Loading

0 comments on commit 8de12fe

Please sign in to comment.