@howdoi-cli/core 1.0.1 → 2.0.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,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ const __HOWDOI_VERSION__ = "2.0.0";
2
3
 
3
4
  // src/engine/loader.ts
4
5
  import { readFileSync, readdirSync, existsSync } from "fs";
@@ -308,7 +309,6 @@ function renderList(tools, packageFilter) {
308
309
  // src/cli/index.ts
309
310
  import chalk2 from "chalk";
310
311
  import { select } from "@inquirer/prompts";
311
- var VERSION = "__HOWDOI_VERSION__";
312
312
  async function promptSelect(message, choices) {
313
313
  try {
314
314
  return await select({
@@ -373,7 +373,7 @@ function intentSearch(query, engine) {
373
373
  }
374
374
  }
375
375
  function printVersion() {
376
- console.log(`howdoi v${VERSION}`);
376
+ console.log(`howdoi v${__HOWDOI_VERSION__}`);
377
377
  }
378
378
  function printHelp() {
379
379
  console.log();
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@howdoi-cli/core",
3
- "version": "1.0.1",
4
- "description": "The howdoi CLI engine intent-based command discovery for the terminal.",
3
+ "version": "2.0.0",
4
+ "description": "The howdoi CLI engine \u2014 intent-based command discovery for the terminal.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "howdoi": "./dist/cli.js"
@@ -47,4 +47,4 @@
47
47
  "bugs": {
48
48
  "url": "https://github.com/SiphoChris/howdoi-cli/issues"
49
49
  }
50
- }
50
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@howdoi-cli/core",
3
- "version": "1.0.1",
4
- "description": "The howdoi CLI engine intent-based command discovery for the terminal.",
3
+ "version": "2.0.0",
4
+ "description": "The howdoi CLI engine \u2014 intent-based command discovery for the terminal.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "howdoi": "./dist/cli.js"
@@ -47,4 +47,4 @@
47
47
  "bugs": {
48
48
  "url": "https://github.com/SiphoChris/howdoi-cli/issues"
49
49
  }
50
- }
50
+ }