You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/03/10 01:48:13 UTC

[iotdb] 01/01: Fix website compile error

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

haonan pushed a commit to branch fix_npm
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 13e1295cee70861ee7ccdb7948438254cebca967
Author: HTHou <hh...@outlook.com>
AuthorDate: Fri Mar 10 09:47:56 2023 +0800

    Fix website compile error
---
 site/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/site/pom.xml b/site/pom.xml
index fc71376179..e3c51b3848 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -347,6 +347,18 @@
                                 </configuration>
                             </execution>
                             <!-- Install all project dependencies -->
+                            <!-- Install pnpm -->
+                            <execution>
+                                <id>npm install pnpm</id>
+                                <goals>
+                                    <goal>npm</goal>
+                                </goals>
+                                <phase>compile</phase>
+                                <!-- Optional configuration which provides for running any npm command -->
+                                <configuration>
+                                    <arguments>install -g pnpm</arguments>
+                                </configuration>
+                            </execution>
                             <execution>
                                 <id>npm install</id>
                                 <goals>