@oclif/plugin-command-snapshot 5.1.0 → 5.1.1

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.
@@ -145,5 +145,5 @@
145
145
  ]
146
146
  }
147
147
  },
148
- "version": "5.1.0"
148
+ "version": "5.1.1"
149
149
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/plugin-command-snapshot",
3
3
  "description": "generates and compares OCLIF plugins snapshot files",
4
- "version": "5.1.0",
4
+ "version": "5.1.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-command-snapshot/issues",
7
7
  "dependencies": {
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@commitlint/config-conventional": "^18.6.2",
21
- "@oclif/plugin-help": "^5.2.20",
21
+ "@oclif/plugin-help": "^6",
22
22
  "@oclif/prettier-config": "^0.2.1",
23
23
  "@oclif/test": "^3.2.1",
24
24
  "@types/chai": "^4.3.11",
@@ -33,12 +33,13 @@
33
33
  "eslint-config-oclif": "^5.0.0",
34
34
  "eslint-config-oclif-typescript": "^3.0.48",
35
35
  "eslint-config-prettier": "^9.1.0",
36
- "husky": "^8.0.3",
36
+ "husky": "^9",
37
37
  "lint-staged": "^15.2.2",
38
38
  "mocha": "^10.2.0",
39
39
  "nyc": "^15",
40
40
  "oclif": "^4.4.19",
41
41
  "prettier": "^3.2.5",
42
+ "shx": "^0.3.4",
42
43
  "sinon": "^17.0.1",
43
44
  "ts-node": "^10.9.2",
44
45
  "typescript": "^5.2.2"
@@ -52,7 +53,6 @@
52
53
  "/npm-shrinkwrap.json",
53
54
  "/oclif.manifest.json",
54
55
  "/schemas",
55
- "/yarn.lock",
56
56
  "/oclif.lock"
57
57
  ],
58
58
  "homepage": "https://github.com/oclif/plugin-command-snapshot",
@@ -79,13 +79,15 @@
79
79
  },
80
80
  "repository": "oclif/plugin-command-snapshot",
81
81
  "scripts": {
82
- "build": "rm -rf lib && tsc -b",
83
- "commitlint": "commitlint",
82
+ "build": "shx rm -rf lib && tsc",
83
+ "clean": "shx rm -f oclif.manifest.json npm-shrinkwrap.json oclif.lock",
84
+ "compile": "tsc",
84
85
  "lint": "eslint . --ext .ts",
85
- "postpack": "rm -f oclif.lock oclif.manifest.json",
86
+ "postpack": "yarn run clean",
86
87
  "posttest": "yarn lint",
87
- "prepack": "rm -rf lib && tsc -b && oclif lock && oclif manifest . && oclif readme",
88
- "prepare": "husky install && yarn build",
88
+ "prepack": "yarn build && oclif manifest && oclif readme && npm shrinkwrap && oclif lock",
89
+ "prepare": "husky && yarn build",
90
+ "pretest": "yarn build --noEmit && tsc -p test --noEmit",
89
91
  "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\" --timeout 20000",
90
92
  "version": "oclif readme && git add README.md"
91
93
  },