@haxtheweb/create 11.0.2 → 11.0.4

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.
@@ -21,13 +21,6 @@ let sysGit = true;
21
21
  }
22
22
  });
23
23
  let sysSSH = true;
24
- (0, _utils.exec)('ssh -T git@github.com', (error, stdout, stderr) => {
25
- const output = stdout + stderr;
26
- // The GitHub SSH test always returns as stderr
27
- if (!output.includes('successfully authenticated')) {
28
- sysSSH = false;
29
- }
30
- });
31
24
  function partyActions() {
32
25
  return [{
33
26
  value: 'docs',
@@ -250,6 +243,13 @@ async function cloneHAXRepositories(commandRun) {
250
243
  ${_picocolors.default.underline(_picocolors.default.cyan(`https://git-scm.com/book/en/v2/Getting-Started-Installing-Git`))}`);
251
244
  process.exit(1);
252
245
  }
246
+ await (0, _utils.interactiveExec)('ssh -T git@github.com', (error, stdout, stderr) => {
247
+ const output = stdout + stderr;
248
+ // The GitHub SSH test always returns as stderr
249
+ if (!output.includes('successfully authenticated')) {
250
+ sysSSH = false;
251
+ }
252
+ });
253
253
  if (!sysSSH) {
254
254
  console.error(`${_picocolors.default.red(`SSH keys are not set up correctly. SSH is required to access GitHub with ${_picocolors.default.bold('hax party')}.`)}
255
255
  Please follow the instructions at:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haxtheweb/create",
3
- "version": "11.0.2",
3
+ "version": "11.0.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -45,8 +45,8 @@
45
45
  "dependencies": {
46
46
  "@clack/core": "0.3.4",
47
47
  "@clack/prompts": "0.7.0",
48
- "@haxtheweb/haxcms-nodejs": "^10.0.6",
49
- "@haxtheweb/open-apis": "^10.0.1",
48
+ "@haxtheweb/haxcms-nodejs": "^11.0.2",
49
+ "@haxtheweb/open-apis": "^11.0.3",
50
50
  "commander": "12.1.0",
51
51
  "ejs": "3.1.10",
52
52
  "js-yaml": "4.1.0",