@oclif/plugin-search 1.0.19 → 1.0.20

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.
@@ -26,5 +26,5 @@
26
26
  ]
27
27
  }
28
28
  },
29
- "version": "1.0.19"
29
+ "version": "1.0.20"
30
30
  }
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@oclif/plugin-search",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "A command for searching commands",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-search/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "3.21.0",
8
+ "@oclif/core": "^3.21.0",
9
9
  "inquirer-autocomplete-standalone": "^0.8.1"
10
10
  },
11
11
  "devDependencies": {
12
- "@commitlint/config-conventional": "^17.8.1",
13
- "@oclif/plugin-help": "^5",
14
- "@oclif/plugin-plugins": "^2.4.7",
12
+ "@commitlint/config-conventional": "^18",
13
+ "@oclif/plugin-help": "^6",
14
+ "@oclif/plugin-plugins": "^4",
15
15
  "@oclif/prettier-config": "^0.2.1",
16
16
  "@oclif/test": "^3.2.1",
17
17
  "@types/chai": "^4",
@@ -19,14 +19,13 @@
19
19
  "@types/mocha": "^10.0.6",
20
20
  "@types/node": "^18",
21
21
  "chai": "^4",
22
- "commitlint": "^17.8.1",
22
+ "commitlint": "^18",
23
23
  "eslint": "^8.57.0",
24
24
  "eslint-config-oclif": "^5.0.2",
25
25
  "eslint-config-oclif-typescript": "^3.0.48",
26
26
  "eslint-config-prettier": "^9.1.0",
27
- "globby": "^11",
28
- "husky": "^8.0.3",
29
- "lint-staged": "^14.0.1",
27
+ "husky": "^9",
28
+ "lint-staged": "^15",
30
29
  "mocha": "^10.3.0",
31
30
  "oclif": "^4.4.19",
32
31
  "prettier": "^3.2.5",
@@ -39,7 +38,6 @@
39
38
  },
40
39
  "exports": "./dist/index.js",
41
40
  "files": [
42
- "/bin",
43
41
  "/dist",
44
42
  "/npm-shrinkwrap.json",
45
43
  "/oclif.manifest.json",
@@ -61,12 +59,15 @@
61
59
  },
62
60
  "repository": "oclif/plugin-search",
63
61
  "scripts": {
64
- "build": "shx rm -rf dist && tsc -b",
62
+ "build": "shx rm -rf lib && tsc",
63
+ "clean": "shx rm -f oclif.manifest.json npm-shrinkwrap.json oclif.lock",
64
+ "compile": "tsc",
65
65
  "lint": "eslint . --ext .ts",
66
- "postpack": "shx rm -f oclif.manifest.json oclif.lock",
66
+ "postpack": "yarn run clean",
67
67
  "posttest": "yarn lint",
68
- "prepack": "yarn build && oclif lock && oclif manifest && oclif readme",
69
- "prepare": "husky install && yarn build",
68
+ "prepack": "yarn build && oclif manifest && oclif readme && npm shrinkwrap && oclif lock",
69
+ "prepare": "husky && yarn build",
70
+ "pretest": "yarn build --noEmit && tsc -p test --noEmit",
70
71
  "test": "mocha --forbid-only \"test/**/*.test.ts\"",
71
72
  "version": "oclif readme && git add README.md"
72
73
  },
package/bin/dev.cmd DELETED
@@ -1,3 +0,0 @@
1
- @echo off
2
-
3
- node --loader ts-node/esm --no-warnings=ExperimentalWarning "%~dp0\dev" %*
package/bin/dev.js DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env -S node --loader ts-node/esm --no-warnings=ExperimentalWarning
2
- // eslint-disable-next-line node/shebang
3
- async function main() {
4
- const {execute} = await import('@oclif/core')
5
- await execute({development: true, dir: import.meta.url})
6
- }
7
-
8
- await main()
package/bin/run.cmd DELETED
@@ -1,3 +0,0 @@
1
- @echo off
2
-
3
- node "%~dp0\run" %*
package/bin/run.js DELETED
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // eslint-disable-next-line node/shebang
4
- async function main() {
5
- const {execute} = await import('@oclif/core')
6
- await execute({dir: import.meta.url})
7
- }
8
-
9
- await main()