@aklinker1/check 2.1.2 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -1,8 +1,8 @@
1
- import { i as ALL_TOOLS, t as check } from "./src-CKPF6CV1.js";
1
+ import { i as ALL_TOOLS, t as check } from "./src-DLILuPNJ.js";
2
2
  import { isCI } from "ci-info";
3
3
 
4
4
  //#region package.json
5
- var version = "2.1.2";
5
+ var version = "2.2.0";
6
6
 
7
7
  //#endregion
8
8
  //#region src/cli.ts
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as renderProblem, r as renderProblemGroup, t as check } from "./src-CKPF6CV1.js";
1
+ import { n as renderProblem, r as renderProblemGroup, t as check } from "./src-DLILuPNJ.js";
2
2
 
3
3
  export { check, renderProblem, renderProblemGroup };
@@ -227,9 +227,16 @@ const typescript = async ({ root, packageJson }) => {
227
227
  cmd: "vue-tsc --noEmit --pretty false",
228
228
  packageName: "vue-tsc"
229
229
  };
230
- const isVueTsc = packageJson.devDependencies?.["vue-tsc"] !== void 0;
230
+ const tsgo = {
231
+ name: "TypeScript (Go)",
232
+ cmd: "tsgo --noEmit --pretty false",
233
+ packageName: "@typescript/native-preview"
234
+ };
235
+ const isVueTsc = packageJson.devDependencies?.[vueTsc.packageName] !== void 0;
236
+ const isTsgo = packageJson.devDependencies?.[tsgo.packageName] !== void 0;
231
237
  debug("TypeScript: Is vue-tsc installed? " + isVueTsc);
232
- const mod = isVueTsc ? vueTsc : tsc;
238
+ debug("TypeScript: Is tsgo installed? " + isTsgo);
239
+ const mod = isVueTsc ? vueTsc : isTsgo ? tsgo : tsc;
233
240
  return {
234
241
  name: mod.name,
235
242
  packageName: mod.packageName,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aklinker1/check",
3
- "version": "2.1.2",
4
- "packageManager": "bun@1.3.0",
3
+ "version": "2.2.0",
4
+ "packageManager": "bun@1.3.2",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "tsdown src/index.ts src/cli.ts",
@@ -14,6 +14,7 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/bun": "latest",
17
+ "@typescript/native-preview": "^7.0.0-dev.20251114.1",
17
18
  "oxlint": "^1.22.0",
18
19
  "publint": "^0.3.14",
19
20
  "tsdown": "^0.15.9",