Commit 104d39f1 authored by Hadrien RENAUD's avatar Hadrien RENAUD

🐛 Solving out of memory problem

 It will surely fail in the future
parent 6c799dc5
Pipeline #6818 failed with stage
in 3 minutes
# build environment
FROM node:current as build
FROM node:current as installer
WORKDIR /app
# RUN npm i -g yarn
......@@ -12,6 +12,7 @@ ARG API_URL
ENV REACT_APP_API_URL=${API_URL}
ARG BUILD_VERSION
ENV REACT_APP_BUILD_VERSION=${BUILD_VERSION}
ENV GENERATE_SOURCEMAP=false
RUN npm run build
# production environment
......
......@@ -4,7 +4,6 @@
"private": true,
"dependencies": {
"@apollo/react-hooks": "^3.1.0",
"@ckeditor/ckeditor5-build-classic": "https://gitlab.binets.fr/br/sigma-ckeditor5-build.git",
"@ckeditor/ckeditor5-react": "^2.1.0",
"@types/google-libphonenumber": "^7.4.17",
"@types/jest": "24.0.18",
......@@ -28,12 +27,13 @@
"react-scripts": "^3.2.0",
"react-textarea-autosize": "^7.1.2",
"semantic-ui-react": "^0.88.1",
"sigma-ckeditor5-build": "https://gitlab.binets.fr/br/sigma-ckeditor5-build.git",
"typescript": "^3.6.3",
"use-debounce": "^3.3.0"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"build": "GENERATE_SOURCEMAP=false craco build",
"test": "craco test",
"eject": "craco eject"
},
......
......@@ -2,7 +2,7 @@ import React, {ChangeEvent} from "react";
// @ts-ignore
import CKEditor from '@ckeditor/ckeditor5-react';
// @ts-ignore
import ClassicEditor from '@ckeditor/ckeditor5-build-classic';
import ClassicEditor from 'sigma-ckeditor5-build';
export interface TextEditorProps {
......
......@@ -1054,12 +1054,6 @@
lodash "^4.17.13"
to-fast-properties "^2.0.0"
"@ckeditor/ckeditor5-build-classic@https://gitlab.binets.fr/br/sigma-ckeditor5-build.git":
version "16.0.0"
resolved "https://gitlab.binets.fr/br/sigma-ckeditor5-build.git#08a37c5a8cadde308848be71de65bd28f625380b"
dependencies:
"@ckeditor/ckeditor5-markdown-gfm" "^16.0.0"
"@ckeditor/ckeditor5-engine@^16.0.0":
version "16.0.0"
resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-16.0.0.tgz#68d8fabb4fa31541c9870cc94b021c5cb0f72d4f"
......@@ -9849,6 +9843,12 @@ shellwords@^0.1.1:
resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==
"sigma-ckeditor5-build@https://gitlab.binets.fr/br/sigma-ckeditor5-build.git":
version "16.0.0"
resolved "https://gitlab.binets.fr/br/sigma-ckeditor5-build.git#283bd8f34615f1492e66f4c1eda7c112f56436d0"
dependencies:
"@ckeditor/ckeditor5-markdown-gfm" "^16.0.0"
signal-exit@^3.0.0, signal-exit@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment