This is an automated email from the ASF dual-hosted git repository.
areusch pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new bd029cb52c [skip ci][wasm][ci] Fix WASM build and JS doc build (#11299)
bd029cb52c is described below
commit bd029cb52c4ac04081e0c1c7f793f6bf12844f34
Author: driazati <[email protected]>
AuthorDate: Thu May 12 16:03:38 2022 -0700
[skip ci][wasm][ci] Fix WASM build and JS doc build (#11299)
Co-authored-by: driazati <[email protected]>
---
tests/scripts/task_web_wasm.sh | 3 +--
web/tsconfig.json | 27 ++++++++++++++-------------
web/typedoc.json | 2 +-
3 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/tests/scripts/task_web_wasm.sh b/tests/scripts/task_web_wasm.sh
index bdb51a007e..8a08c1ecb5 100755
--- a/tests/scripts/task_web_wasm.sh
+++ b/tests/scripts/task_web_wasm.sh
@@ -16,8 +16,7 @@
# specific language governing permissions and limitations
# under the License.
-set -e
-set -u
+set -euxo pipefail
export PYTHONPATH=`pwd`/python
diff --git a/web/tsconfig.json b/web/tsconfig.json
index 6aec44858a..cd5bd8d0ca 100644
--- a/web/tsconfig.json
+++ b/web/tsconfig.json
@@ -1,13 +1,14 @@
-{
- "compilerOptions": {
- "module": "commonjs",
- "target": "es6",
- "outDir": "dist",
- "rootDir": "src",
- "declaration": true,
- "sourceMap": true,
- "strict": true
- },
- "include": ["src"],
- "exclude": ["node_modules"]
-}
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es6",
+ "outDir": "dist",
+ "rootDir": "src",
+ "declaration": true,
+ "sourceMap": true,
+ "strict": true,
+ "skipLibCheck": true,
+ },
+ "include": ["src"],
+ "exclude": ["**/node_modules/**"]
+}
diff --git a/web/typedoc.json b/web/typedoc.json
index 65631ea5ef..d4d69833f1 100644
--- a/web/typedoc.json
+++ b/web/typedoc.json
@@ -7,5 +7,5 @@
"listInvalidSymbolLinks": true,
"module": "umd",
"includes": ["src"],
- "exclude": ["node_modules"]
+ "exclude": ["**/node_modules/**"]
}