feat(TypeScript): Add the workflow file for CI check (#1280)

* feat(TypeScript): Add the workflow file for CI check

* fix: Install TypeScript Execute (tsx)

* test: Test failed

* test: Test successful

* test: on windows

* Add a bug

* feat: type checking

* test: Test successful

* feat: add main

* fix: use process

* feat: use es-main

* Test failure

* feat: streamlined configuration

* Apply suggestions from code review
Co-authored-by: Yudong Jin <krahets@163.com>

* feat: remove lock file

* Test failure

* Test success

---------

Co-authored-by: Yudong Jin <krahets@163.com>
This commit is contained in:
Shyam Chen
2024-04-19 18:48:58 +08:00
committed by GitHub
parent 499419e4ce
commit 587344da62
8 changed files with 52 additions and 17 deletions
+9 -5
View File
@@ -1,8 +1,12 @@
{
"compilerOptions": {
"target": "ES6",
"module": "CommonJS",
"outDir": "out",
"sourceMap": true
}
"baseUrl": ".",
"module": "esnext",
"moduleResolution": "node",
"types": ["@types/node"],
"noEmit": true,
"target": "esnext",
},
"include": ["chapter_*/*.ts"],
"exclude": ["node_modules"]
}