oclif 4.8.0 → 4.8.2

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.
@@ -195,6 +195,7 @@ class Generate extends generator_1.GeneratorCommand {
195
195
  dirname: bin,
196
196
  },
197
197
  repository: `${owner}/${repository}`,
198
+ version: '0.0.0',
198
199
  };
199
200
  if (packageManager !== 'yarn') {
200
201
  const scripts = (updatedPackageJSON.scripts || {});
@@ -203,6 +204,7 @@ class Generate extends generator_1.GeneratorCommand {
203
204
  const { default: sortPackageJson } = await import('sort-package-json');
204
205
  await (0, promises_1.writeFile)((0, node_path_1.join)(location, 'package.json'), JSON.stringify(sortPackageJson(updatedPackageJSON), null, 2));
205
206
  await (0, promises_1.rm)((0, node_path_1.join)(location, 'LICENSE'));
207
+ await (0, promises_1.rm)((0, node_path_1.join)(location, '.github', 'workflows', 'automerge.yml'));
206
208
  const existing = (await (0, promises_1.readFile)((0, node_path_1.join)(location, '.gitignore'), 'utf8')).split('\n');
207
209
  const updated = (0, util_1.uniq)((0, util_1.compact)([
208
210
  '*-debug.log',
@@ -121,8 +121,8 @@ class Generate extends generator_1.GeneratorCommand {
121
121
  await this.template((0, node_path_1.join)(this.templatesDir, 'src', 'init', 'run.cmd.ejs'), (0, node_path_1.join)(projectBinPath, 'run.cmd'), templateOptions);
122
122
  await this.template((0, node_path_1.join)(this.templatesDir, 'src', 'init', 'run.js.ejs'), (0, node_path_1.join)(projectBinPath, 'run.js'), templateOptions);
123
123
  if (process.platform !== 'win32') {
124
- await (0, generator_1.exec)(`chmod +x ${(0, node_path_1.join)(projectBinPath, 'run.js')}`);
125
- await (0, generator_1.exec)(`chmod +x ${(0, node_path_1.join)(projectBinPath, 'dev.js')}`);
124
+ await (0, generator_1.exec)(`chmod +x "${(0, node_path_1.join)(projectBinPath, 'run.js')}"`);
125
+ await (0, generator_1.exec)(`chmod +x "${(0, node_path_1.join)(projectBinPath, 'dev.js')}"`);
126
126
  }
127
127
  const updatedPackageJSON = {
128
128
  ...packageJSON,
@@ -1032,5 +1032,5 @@
1032
1032
  ]
1033
1033
  }
1034
1034
  },
1035
- "version": "4.8.0"
1035
+ "version": "4.8.2"
1036
1036
  }
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.8.0",
4
+ "version": "4.8.2",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "oclif": "bin/run.js"