You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/04/13 11:36:09 UTC

[incubator-iotdb] 01/01: enlarge memory for vue compiling

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch vue_site
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 3bced8fdfef8a0e92aef05855f4768e30a8b32f7
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Mon Apr 13 19:35:46 2020 +0800

    enlarge memory for vue compiling
---
 site/pom.xml               | 4 ++--
 site/src/main/package.json | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/site/pom.xml b/site/pom.xml
index b417b5b..226955b 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -328,8 +328,8 @@
                         </goals>
                         <phase>package</phase>
                         <configuration>
-                            <nodeVersion>v11.5.0</nodeVersion>
-                            <npmVersion>6.4.1</npmVersion>
+                            <nodeVersion>v12.16.2</nodeVersion>
+                            <npmVersion>6.14.4</npmVersion>
                         </configuration>
                     </execution>
                     <!-- Install all project dependencies -->
diff --git a/site/src/main/package.json b/site/src/main/package.json
index 3b9e3f8..dd669a0 100644
--- a/site/src/main/package.json
+++ b/site/src/main/package.json
@@ -4,9 +4,9 @@
   "description": "Apache IoTDB (incubating) Website",
   "main": "index.js",
   "scripts": {
-    "dev": "vuepress dev src",
-    "build": "vuepress build src",
-    "deploy": "node deploy.js"
+    "dev": "node --max_old_space_size=1500 ./node_modules/vuepress/cli.js dev src",
+    "build": "node --max_old_space_size=1500 ./node_modules/vuepress/cli.js build src",
+    "deploy": "node --max_old_space_size=1500 deploy.js"
   },
   "repository": {
     "type": "git",