@vlandoss/run-run 0.5.1-git-a7631bf.0 → 0.5.1-git-23c9c11.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.
@@ -1,7 +1,7 @@
1
1
  // @generated by @usage-spec/commander from Commander.js metadata
2
2
  name rr
3
3
  bin rr
4
- version "0.5.1-git-a7631bf.0"
4
+ version "0.5.1-git-23c9c11.0"
5
5
  usage "[options] <command...>"
6
6
  flag --usage help="print KDL spec for this CLI (https://kdl.dev)"
7
7
  cmd completion help="print shell completion script 🐚 (usage)" {
@@ -21,7 +21,7 @@ cmd jsc help="check format and lint 🔍 (biome)" {
21
21
  flag --fix-staged help="try to fix staged files only"
22
22
  cmd doctor help="check if the underlying tool is working correctly"
23
23
  }
24
- cmd tsc help="check typescript errors 🧩 (tsc)" {
24
+ cmd tsc help="check typescript errors 📐 (tsc)" {
25
25
  alias tscheck
26
26
  long_help "Checks the TypeScript code for type errors, ensuring that the code adheres to the defined type constraints and helps catch potential issues before runtime."
27
27
  cmd doctor help="check if the underlying tool is working correctly"
package/dist/run.mjs CHANGED
@@ -466,7 +466,7 @@ function createTsCheckCommand(ctx) {
466
466
  const { appPkg, shell, config: { config } } = ctx;
467
467
  const toolUi = config.future?.oxc ? TOOL_LABELS.OXLINT : TOOL_LABELS.TSC;
468
468
  const doctorService = config.future?.oxc ? new OxlintService(shell) : new TscService(shell);
469
- return createCommand("tsc").alias("tscheck").summary(`check typescript errors 🧩 (${toolUi})`).description("Checks the TypeScript code for type errors, ensuring that the code adheres to the defined type constraints and helps catch potential issues before runtime.").addCommand(createDoctorSubcommand(doctorService)).addHelpText("afterAll", `\nUnder the hood, this command uses the ${toolUi} CLI to check the code.`).action(async function typecheckAction() {
469
+ return createCommand("tsc").alias("tscheck").summary(`check typescript errors 📐 (${toolUi})`).description("Checks the TypeScript code for type errors, ensuring that the code adheres to the defined type constraints and helps catch potential issues before runtime.").addCommand(createDoctorSubcommand(doctorService)).addHelpText("afterAll", `\nUnder the hood, this command uses the ${toolUi} CLI to check the code.`).action(async function typecheckAction() {
470
470
  const isTsProject = (dir) => appPkg.hasFile("tsconfig.json", dir);
471
471
  const runTypecheck = async (shell) => {
472
472
  if (config.future?.oxc) await new OxlintService(shell).exec(`--type-aware --type-check --report-unused-disable-directives`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vlandoss/run-run",
3
- "version": "0.5.1-git-a7631bf.0",
3
+ "version": "0.5.1-git-23c9c11.0",
4
4
  "description": "The CLI toolbox to fullstack common scripts in Variable Land",
5
5
  "homepage": "https://github.com/variableland/dx/tree/main/packages/run-run#readme",
6
6
  "bugs": {
@@ -63,7 +63,7 @@
63
63
  "rimraf": "6.1.3",
64
64
  "tsdown": "0.21.10",
65
65
  "typescript": "6.0.3",
66
- "@vlandoss/clibuddy": "0.4.1-git-a7631bf.0",
66
+ "@vlandoss/clibuddy": "0.4.1-git-23c9c11.0",
67
67
  "@vlandoss/loggy": "0.2.0"
68
68
  },
69
69
  "devDependencies": {
@@ -59,7 +59,7 @@ export function createTsCheckCommand(ctx: Context) {
59
59
 
60
60
  return createCommand("tsc")
61
61
  .alias("tscheck")
62
- .summary(`check typescript errors 🧩 (${toolUi})`)
62
+ .summary(`check typescript errors 📐 (${toolUi})`)
63
63
  .description(
64
64
  "Checks the TypeScript code for type errors, ensuring that the code adheres to the defined type constraints and helps catch potential issues before runtime.",
65
65
  )