onnxruntime/tools/ci_build/github/azure-pipelines/templates
Yulong Wang 6b0c97b43f
[js/web] fix typescript type check (#18343)
### Description

This PR fixes the TypeScript type check.

Previously, when I use esbuild to replace webpack (#17745), typescript
typecheck was disabled. This causes a few TypeScript type error checked
in into the code base. This PR fixes the followings:

- Use "Node16" as default "module" value in tsconfig.json, because in
TypeScript v5, `(module == "ES2015" && moduleResolution == "Node16")` is
an invalid combination.
- Set `noUnusedParameters` to true as default. in web override it to
false because multiple code need to be updated ( a following-up PR will
do this )
- set correct project file for 'web/lib/**/*.ts' for ESLint (otherwise
WebGPU types are not populated correctly)
- fix type error in file js/web/lib/wasm/jsep/webgpu/program-manager.ts
- upgrade "@webgpu/types" to latest to fix type error in file
js/web/lib/wasm/jsep/backend-webgpu.ts
- add package script "prebuild" for web to run tsc type check
- add type check in CI yml file
2023-11-10 16:03:38 -08:00
..
jobs Rework/cleanup the C# build infrastructure for nuget packages. (#18127) 2023-11-03 09:05:17 -07:00
stages Use name of temporary provisioning profile. (#17459) 2023-09-12 10:56:35 -07:00
android-binary-size-check-stage.yml Upgrade Centos7 to Alamlinux8 (#16907) 2023-08-29 21:05:36 -07:00
android-dump-logs-from-steps.yml
android-java-api-aar-test.yml Attempt to make the usage of the Android emulator in CIs more robust (#17903) 2023-10-15 08:42:36 +10:00
android-java-api-aar.yml Upgrade Centos7 to Alamlinux8 (#16907) 2023-08-29 21:05:36 -07:00
build-linux-wasm-step.yml Add compiler cache in linux wasm build (#16579) 2023-07-06 06:58:48 +08:00
c-api-artifacts-package-and-publish-steps-posix.yml
c-api-artifacts-package-and-publish-steps-windows.yml Add cuda context headers to zip (#18330) 2023-11-09 14:53:58 -08:00
c-api-cpu.yml Rework/cleanup the C# build infrastructure for nuget packages. (#18127) 2023-11-03 09:05:17 -07:00
c-api-linux-cpu.yml Remove dnf update from docker build scripts (#17551) 2023-09-21 07:33:29 -07:00
check-cache-stats.yml Add compilation cache in react native CI (#15329) 2023-04-06 10:39:14 +08:00
clean-agent-build-directory-step.yml Build nuget pkg for ROCm (#16791) 2023-08-28 13:35:08 +08:00
common-variables.yml Update cmake to 3.27 and upgrade Linux CUDA docker files from CentOS7 to UBI8 (#16856) 2023-09-05 18:12:10 -07:00
compliance.yml Delete all Prefast tasks (#17522) 2023-09-12 17:40:49 -07:00
component-governance-component-detection-steps.yml Move DML build job's Prefast task to a CPU machine pool (#17192) 2023-08-17 13:16:29 -07:00
download-deps.yml Add a build validation for Linux ARM64 cross-compile (#18200) 2023-11-08 13:03:18 -08:00
esrp_nuget.yml
explicitly-defined-final-tasks.yml
flex-downloadPipelineArtifact.yml Run Final_Jar_Testing_Linux_GPU in docker (#17533) 2023-09-15 08:35:55 -07:00
get-docker-image-steps.yml
install-appcenter.yml Fix some build issues on MacOS with Xcode 14.3. (#15878) 2023-06-07 12:07:11 -07:00
java-api-artifacts-package-and-publish-steps-posix.yml
linux-build-step-with-cache.yml Add compilation cache in 2 Linux CPU pipelines and refactor the Linux build step with cache (#15484) 2023-04-14 23:56:59 +08:00
linux-ci.yml Update nodejs to 18.x (#17657) 2023-09-25 14:12:11 -07:00
linux-cpu-packaging-pipeline.yml Merge aiinfra-linux-ARM64-CPU-2019 and onnxruntime-linux-ARM64-CPU-2019 (#18069) 2023-10-24 13:04:08 -07:00
linux-gpu-tensorrt-packaging-pipeline.yml Change cuda image for tensorRT to the one with cudnn8 (#18102) 2023-10-26 16:28:57 -07:00
linux-wasm-ci.yml fix typo (node)->(browser) in linux-wasm-ci.yml (#18309) 2023-11-07 17:07:40 -08:00
linux-web-init-and-check.yml [js/web] fix typescript type check (#18343) 2023-11-10 16:03:38 -08:00
mac-build-step-with-cache.yml Add explicit 'set +x' before printing a vso[] command to avoid output getting parsed again with a trailing quote. (#15986) 2023-05-17 19:30:28 -07:00
mac-cpu-packaging-pipeline.yml keep symlinks in maven package (#16376) 2023-06-19 09:41:39 +08:00
mac-cpu-packaging-steps.yml keep symlinks in maven package (#16376) 2023-06-19 09:41:39 +08:00
mac-cpu-packing-jobs.yml Update min macos version (#18251) 2023-11-10 11:08:17 -08:00
mac-esrp-dylib.yml CodeSign Mac packages in nuget pipeline (#16291) 2023-06-10 06:35:47 +08:00
nodejs-artifacts-package-and-publish-steps-posix.yml
nodejs-artifacts-package-and-publish-steps-windows.yml
ondevice-training-cpu-packaging-pipeline.yml Rework/cleanup the C# build infrastructure for nuget packages. (#18127) 2023-11-03 09:05:17 -07:00
orttraining-linux-gpu-test-ci-pipeline.yml Updates to training pipelines (#17292) 2023-09-08 11:57:12 -07:00
publish-nuget.yml Build nuget pkg for ROCm (#16791) 2023-08-28 13:35:08 +08:00
py-linux-gpu.yml Change cuda image for tensorRT to the one with cudnn8 (#18102) 2023-10-26 16:28:57 -07:00
py-linux.yml Update cmake to 3.27 and upgrade Linux CUDA docker files from CentOS7 to UBI8 (#16856) 2023-09-05 18:12:10 -07:00
py-package-smoking-test.yml Remove dnf update from docker build scripts (#17551) 2023-09-21 07:33:29 -07:00
py-packaging-linux-test-cpu.yml Remove dnf update from docker build scripts (#17551) 2023-09-21 07:33:29 -07:00
py-packaging-linux-test-cuda.yml Change cuda image for tensorRT to the one with cudnn8 (#18102) 2023-10-26 16:28:57 -07:00
py-packaging-selectable-stage.yml update onnxruntime-gpu-winbuild-T4 to onnxruntime-Win2022-GPU-T4 (#16838) 2023-07-27 08:38:20 -07:00
py-packaging-stage.yml Update min macos version (#18251) 2023-11-10 11:08:17 -08:00
py-packaging-training-cuda-stage.yml Update cmake to 3.27 and upgrade Linux CUDA docker files from CentOS7 to UBI8 (#16856) 2023-09-05 18:12:10 -07:00
py-win-gpu.yml Delete all Prefast tasks (#17522) 2023-09-12 17:40:49 -07:00
react-native-ci.yml Attempt to make the usage of the Android emulator in CIs more robust (#17903) 2023-10-15 08:42:36 +10:00
rocm.yml [ROCm] Add ROCm Debug wheels to private ADO Feeds (#17887) 2023-10-13 10:28:10 +08:00
run-docker-build-steps.yml
set-nightly-build-option-variable-step.yml
set-python-manylinux-variables-step.yml
set-version-number-variables-step.yml Add explicit 'set +x' before printing a vso[] command to avoid output getting parsed again with a trailing quote. (#15986) 2023-05-17 19:30:28 -07:00
telemetry-steps.yml
upload-code-coverage-data.yml Update Win-CPU-2021 to onnxruntime-Win-CPU-2022 (#15967) 2023-05-17 08:29:27 -07:00
use-android-emulator.yml Attempt to make the usage of the Android emulator in CIs more robust (#17903) 2023-10-15 08:42:36 +10:00
use-android-ndk.yml Update NDK to 26.0.10792818 (#17852) 2023-10-12 14:08:43 -07:00
use-xcode-version.yml Fix some build issues on MacOS with Xcode 14.3. (#15878) 2023-06-07 12:07:11 -07:00
validate-package.yml
web-browserstack-ci.yml Update nodejs to 18.x (#17657) 2023-09-25 14:12:11 -07:00
web-ci.yml Update nodejs to 18.x (#17657) 2023-09-25 14:12:11 -07:00
win-ci.yml Update nodejs to 18.x (#17657) 2023-09-25 14:12:11 -07:00
win-esrp-dll.yml
win-wasm-ci.yml Update win-wasm-ci.yml: increase the timeout value (#18023) 2023-10-24 10:50:12 -07:00
win-web-ci.yml [js/web] fix typescript type check (#18343) 2023-11-10 16:03:38 -08:00
win-web-multi-browsers.yml Update nodejs to 18.x (#17657) 2023-09-25 14:12:11 -07:00
with-container-registry-steps.yml