From 34c0f07a48f2c1947bb66bd1fcc52429f7f21e69 Mon Sep 17 00:00:00 2001
From: chris <kokosias@yahoo.gr>
Date: Tue, 23 Apr 2019 18:43:53 +0300
Subject: [PATCH] modify create.sh

---
 create.sh    |  2 ++
 package.json | 10 ++++------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/create.sh b/create.sh
index 1d5d1c76e..96eff4761 100755
--- a/create.sh
+++ b/create.sh
@@ -19,6 +19,8 @@ rm -rf src/App.test.js
 rm -rf src/logo.svg
 sed -i "s/default/$1/" package.json
 cd ../../
+yarn reset
+wait
 sed -i '/"build": "lerna run build --concurrency=1 --stream",/a "'$1'": "cd editors/'$1' && yarn start",' package.json
 yarn $1
 fi
diff --git a/package.json b/package.json
index 25b7114e2..55d660608 100644
--- a/package.json
+++ b/package.json
@@ -3,8 +3,7 @@
   "version": "0.0.1",
   "main": "index.js",
   "author": "Collaborative Knowledge Foundation",
-  "description":
-    "Monorepo for wax-prosemirror, its components and its integrations",
+  "description": "Monorepo for wax-prosemirror, its components and its integrations",
   "repository": {
     "type": "git",
     "url": "git@gitlab.coko.foundation:wax/wax-prosemirror.git"
@@ -13,14 +12,12 @@
   "private": true,
   "scripts": {
     "bootstrap": "lerna bootstrap --no-ci --hoist",
-    "clean":
-      "yarn run clean:artifacts && yarn run clean:packages && yarn run clean:root",
+    "clean": "yarn run clean:artifacts && yarn run clean:packages && yarn run clean:root",
     "clean:artifacts": "lerna run clean --parallel",
     "clean:packages": "lerna clean --yes",
     "clean:root": "rm -rf node_modules",
     "reset": "yarn clean && yarn",
     "build": "lerna run build --concurrency=1 --stream",
-    "aleksis": "cd editors/aleksis && yarn start",
     "default": "cd editors/default && yarn start"
   },
   "dependencies": {},
@@ -30,6 +27,7 @@
     "@babel/preset-react": "^7.0.0",
     "css-loader": "^0.28.11",
     "lerna": "^2.6.0",
+    "react-app-rewired": "^2.1.2",
     "style-loader": "^0.23.1",
     "stylelint": "^8.2.0",
     "svg-inline-loader": "^0.8.0"
@@ -41,7 +39,7 @@
     "wax-prosemirror-themes",
     "wax-prosemirror-utilities",
     "wax-prosemirror-layouts",
-    "wax-prosemirror-plugins",   
+    "wax-prosemirror-plugins",
     "editors/*"
   ]
 }
-- 
GitLab