@haxtheweb/create 11.0.3 → 11.0.6

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:
@@ -1430,7 +1430,11 @@ async function siteProcess(commandRun, project, port = '3000') {
1430
1430
  let res = new Res();
1431
1431
  // unfortunately the twig exception is not blockable from output at this layer
1432
1432
  await hax.RoutesMap.post.createSite({
1433
- body: siteRequest
1433
+ body: siteRequest,
1434
+ query: {
1435
+ user_token: "fakeToken",
1436
+ site_token: "fakeToken"
1437
+ }
1434
1438
  }, res);
1435
1439
  // so we run it and then clear the screen
1436
1440
  // this is a bit of a hack but it works to give the user the feedback that the site was
@@ -28,27 +28,27 @@
28
28
  "test:watch": "web-test-runner test/**/*.test.js --node-resolve --watch"
29
29
  },
30
30
  "dependencies": {
31
- "lit": "^3.2.1",
32
- "@haxtheweb/d-d-d": "^10.0.2",
33
- "@haxtheweb/i18n-manager": "^10.0.2"
31
+ "lit": "3.3.1",
32
+ "@haxtheweb/d-d-d": "^11.0.5",
33
+ "@haxtheweb/i18n-manager": "^11.0.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@babel/preset-env": "^7.16.4",
37
- "@custom-elements-manifest/analyzer": "^0.10.3",
37
+ "@custom-elements-manifest/analyzer": "0.10.4",
38
38
  "@open-wc/building-rollup": "^3.0.2",
39
- "@rollup/plugin-babel": "^6.0.4",
40
- "@rollup/plugin-node-resolve": "^15.2.3",
39
+ "@open-wc/testing": "4.0.0",
40
+ "@rollup/plugin-babel": "6.0.4",
41
+ "@rollup/plugin-node-resolve": "16.0.1",
41
42
  "@rollup/plugin-terser": "^0.4.4",
42
- "@open-wc/testing": "^4.0.0",
43
- "@web/dev-server": "^0.4.6",
44
- "@web/test-runner": "^0.19.0",
43
+ "@web/dev-server": "0.4.6",
45
44
  "@web/rollup-plugin-html": "^2.3.0",
46
- "@web/rollup-plugin-import-meta-assets": "^2.2.1",
45
+ "@web/rollup-plugin-import-meta-assets": "2.3.0",
46
+ "@web/test-runner": "^0.19.0",
47
47
  "babel-plugin-template-html-minifier": "^4.1.0",
48
48
  "babel-plugin-transform-dynamic-import": "^2.1.0",
49
- "rollup-plugin-esbuild": "^6.1.1",
49
+ "commit-and-tag-version": "12.5.1",
50
50
  "rimraf": "^5.0.7",
51
- "commit-and-tag-version": "^12.4.1"
51
+ "rollup-plugin-esbuild": "6.2.1"
52
52
  },
53
53
  "private": false,
54
54
  "publishConfig": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haxtheweb/create",
3
- "version": "11.0.3",
3
+ "version": "11.0.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "@clack/core": "0.3.4",
47
47
  "@clack/prompts": "0.7.0",
48
- "@haxtheweb/haxcms-nodejs": "^11.0.2",
48
+ "@haxtheweb/haxcms-nodejs": "^11.0.15",
49
49
  "@haxtheweb/open-apis": "^11.0.3",
50
50
  "commander": "12.1.0",
51
51
  "ejs": "3.1.10",
@@ -61,7 +61,7 @@
61
61
  "@babel/plugin-syntax-import-attributes": "^7.26.0",
62
62
  "@babel/preset-env": "^7.26.9",
63
63
  "@babel/register": "^7.25.9",
64
- "@custom-elements-manifest/analyzer": "^0.10.3",
64
+ "@custom-elements-manifest/analyzer": "0.10.4",
65
65
  "babel-plugin-transform-dynamic-import": "^2.1.0",
66
66
  "commit-and-tag-version": "12.4.1",
67
67
  "nodemon": "^3.1.7"