Add a custom rule to prevent colors from being hardcoded outside of theme (#288)
* Add a custom rule to prevent colors from being hardcoded in ESLint * Refactor colors * Create packages folder and fix colors * Remove external dependency for css alphabetical order linting * Fix install with yarn --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -3,12 +3,12 @@ FROM node:18.16.0-alpine as docs
|
||||
WORKDIR /app/docs
|
||||
|
||||
COPY ./docs/package.json .
|
||||
COPY ./docs/package-lock.json .
|
||||
RUN npm install
|
||||
COPY ./docs/yarn.lock .
|
||||
RUN yarn install
|
||||
|
||||
COPY ./docs .
|
||||
RUN npm run build
|
||||
|
||||
RUN npm install -g serve
|
||||
RUN yarn install -g serve
|
||||
|
||||
CMD ["serve", "-s", "./build"]
|
||||
|
||||
@ -6,9 +6,9 @@ ARG REACT_APP_AUTH_URL
|
||||
WORKDIR /app/front
|
||||
COPY ./front .
|
||||
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
RUN yarn install --install-links
|
||||
RUN yarn build
|
||||
|
||||
RUN npm install -g serve
|
||||
RUN yarn install -g serve
|
||||
|
||||
CMD ["serve", "-s", "build"]
|
||||
|
||||
@ -2,12 +2,12 @@ FROM node:18.16.0-alpine as server
|
||||
|
||||
WORKDIR /app/server
|
||||
COPY ./server/package.json ./
|
||||
COPY ./server/package-lock.json ./
|
||||
RUN npm install
|
||||
COPY ./server/yarn.lock ./
|
||||
RUN yarn install
|
||||
|
||||
COPY ./server .
|
||||
RUN npx prisma generate
|
||||
|
||||
RUN npm run build
|
||||
RUN yarn build
|
||||
|
||||
CMD ["node", "dist/main"]
|
||||
|
||||
Reference in New Issue
Block a user