Update scripts and documentation to use nx and new monorepo architecture (#2912)

* Update scripts and documentation to use nx and new monorepo architecture

* Start fixing docker

* Migrate eslint plugin and postgres setup

* Fix docker

* Fix patches

* Fix

* fix: wip try to fix the patches

* Apply patches

---------

Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
This commit is contained in:
Charles Bochet
2023-12-11 10:54:57 +01:00
committed by GitHub
parent f91bb35573
commit 44baaee28e
67 changed files with 411 additions and 14097 deletions

View File

@@ -1,11 +1,15 @@
FROM node:18.16-bullseye as docs
FROM node:18.16-bullseye as twenty-docs
WORKDIR /app/docs
WORKDIR /app
COPY ../../docs/package.json .
COPY ../../docs/yarn.lock .
COPY ../../../../package.json .
COPY ../../../../yarn.lock .
COPY ../../../../.yarnrc.yml .
COPY ../../../packages/twenty-docs/package.json /app/packages/twenty-docs/package.json
RUN yarn set version 4.0.2
RUN yarn
COPY ../../docs .
WORKDIR /app/packages/twenty-docs
CMD ["yarn", "start"]
CMD ["tail", "-f", "/dev/null"]