oclif 4.7.7 → 4.7.8

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.
@@ -228,6 +228,9 @@ class Generate extends generator_1.GeneratorCommand {
228
228
  .sort()
229
229
  .join('\n') + '\n';
230
230
  await (0, promises_1.writeFile)((0, node_path_1.join)(location, '.gitignore'), updated);
231
+ if (packageManager !== 'yarn') {
232
+ await (0, promises_1.rm)((0, node_path_1.join)(location, 'yarn.lock'));
233
+ }
231
234
  await (0, generator_1.exec)(`${packageManager} install`, { cwd: location, silent: false });
232
235
  await (0, generator_1.exec)(`${(0, node_path_1.join)(location, 'node_modules', '.bin', 'oclif')} readme`, {
233
236
  cwd: location,
@@ -911,5 +911,5 @@
911
911
  ]
912
912
  }
913
913
  },
914
- "version": "4.7.7"
914
+ "version": "4.7.8"
915
915
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oclif",
3
3
  "description": "oclif: create your own CLI",
4
- "version": "4.7.7",
4
+ "version": "4.7.8",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "oclif": "bin/run.js"
@@ -52,14 +52,14 @@
52
52
  "chai": "^4.4.1",
53
53
  "commitlint": "^18",
54
54
  "eslint": "^8.57.0",
55
- "eslint-config-oclif": "^5.1.0",
55
+ "eslint-config-oclif": "^5.1.1",
56
56
  "eslint-config-oclif-typescript": "^3.1.2",
57
57
  "eslint-config-prettier": "^9.0.0",
58
58
  "eslint-plugin-perfectionist": "^2.6.0",
59
59
  "husky": "^9",
60
60
  "lint-staged": "^15",
61
61
  "lodash.clonedeep": "^4.5.0",
62
- "mocha": "^10.3.0",
62
+ "mocha": "^10.4.0",
63
63
  "nyc": "^15.1.0",
64
64
  "prettier": "^3.2.5",
65
65
  "shelljs": "^0.8.5",