@keystrokehq/cli 0.1.71 → 0.1.72
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/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -6795,8 +6795,8 @@ function resolveConfigsDir(fromModuleUrl = import.meta.url) {
|
|
|
6795
6795
|
const require = createRequire(import.meta.url);
|
|
6796
6796
|
/**
|
|
6797
6797
|
* Resolve a bundled dev tool's executable from the CLI's own node_modules. The tools
|
|
6798
|
-
* (oxlint, vitest, typescript) ship as CLI dependencies, so user projects don't
|
|
6799
|
-
* them. Their bins are Node launchers, so callers run them with `node <bin>`.
|
|
6798
|
+
* (oxlint, vitest, typescript/`tsc6`) ship as CLI dependencies, so user projects don't
|
|
6799
|
+
* declare them. Their bins are Node launchers, so callers run them with `node <bin>`.
|
|
6800
6800
|
*/
|
|
6801
6801
|
function resolveToolBin(pkg, binName) {
|
|
6802
6802
|
const packageJsonPath = require.resolve(`${pkg}/package.json`);
|
|
@@ -6838,11 +6838,13 @@ function runLint(root, args = ["."]) {
|
|
|
6838
6838
|
/**
|
|
6839
6839
|
* Type-check the project with the bundled TypeScript. tsdown (build) strips types without
|
|
6840
6840
|
* checking them, so build/deploy call this as a gate. Resolves with the tsc exit code.
|
|
6841
|
+
*
|
|
6842
|
+
* Catalog `typescript` is `@typescript/typescript6`, whose bin is `tsc6` (not `tsc`).
|
|
6841
6843
|
*/
|
|
6842
6844
|
async function runTypecheck(root) {
|
|
6843
6845
|
return runToolBin({
|
|
6844
6846
|
pkg: "typescript",
|
|
6845
|
-
binName: "
|
|
6847
|
+
binName: "tsc6",
|
|
6846
6848
|
args: [
|
|
6847
6849
|
"--noEmit",
|
|
6848
6850
|
"-p",
|