@webiny/cli 5.39.0-beta.0 → 5.39.0-beta.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.
@@ -8,9 +8,8 @@ module.exports = {
8
8
  telemetry.enable();
9
9
  await telemetry.sendEvent({ event: "enable-telemetry" });
10
10
  context.info(
11
- `Webiny telemetry is now ${context.info.hl(
12
- "enabled"
13
- )}! Thank you for helping us in making Webiny better!`
11
+ `Webiny telemetry is now %s! Thank you for helping us in making Webiny better!`,
12
+ "enabled"
14
13
  );
15
14
  context.info(
16
15
  `For more information, please visit the following link: https://www.webiny.com/telemetry.`
@@ -20,11 +19,10 @@ module.exports = {
20
19
  yargs.command("disable-telemetry", "Disable anonymous telemetry.", async () => {
21
20
  await telemetry.sendEvent({ event: "disable-telemetry" });
22
21
  telemetry.disable();
23
- context.info(`Webiny telemetry is now ${context.info.hl("disabled")}!`);
22
+ context.info(`Webiny telemetry is now %s!`, "disabled");
24
23
  context.info(
25
- `Note that, in order to complete the process, you will also need to re-deploy your project, using the ${context.info.hl(
26
- "yarn webiny deploy"
27
- )} command.`
24
+ `Note that, in order to complete the process, you will also need to re-deploy your project, using the %s command.`,
25
+ "yarn webiny deploy"
28
26
  );
29
27
  });
30
28
  }
@@ -70,7 +70,8 @@ module.exports = [
70
70
  const npx = execa("npx", command, {
71
71
  env: {
72
72
  FORCE_COLOR: true
73
- }
73
+ },
74
+ stdin: process.stdin
74
75
  });
75
76
 
76
77
  npx.stdout.on("data", data => {
@@ -95,9 +95,8 @@ module.exports.command = () => ({
95
95
  } catch (e) {
96
96
  if (debug) {
97
97
  context.debug(
98
- `Could not use the provided ${context.debug.hl(
99
- patFromParams
100
- )} PAT because of the following error:`
98
+ `Could not use the provided %s PAT because of the following error:`,
99
+ patFromParams
101
100
  );
102
101
  console.debug(e);
103
102
  }
@@ -118,7 +117,7 @@ module.exports.command = () => ({
118
117
  )}&ref=cli`;
119
118
  const openUrl = `${getWcpAppUrl()}/login/cli?${queryParams}`;
120
119
 
121
- debug && context.debug(`Opening ${context.debug.hl(openUrl)}...`);
120
+ debug && context.debug(`Opening %s...`, openUrl);
122
121
  await open(openUrl);
123
122
 
124
123
  const graphql = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/cli",
3
- "version": "5.39.0-beta.0",
3
+ "version": "5.39.0-beta.2",
4
4
  "main": "index.js",
5
5
  "bin": {
6
6
  "webiny": "./bin.js"
@@ -13,8 +13,8 @@
13
13
  "author": "Pavel Denisjuk <pavel@webiny.com>",
14
14
  "description": "A tool to bootstrap a Webiny project.",
15
15
  "dependencies": {
16
- "@webiny/telemetry": "5.39.0-beta.0",
17
- "@webiny/wcp": "5.39.0-beta.0",
16
+ "@webiny/telemetry": "5.39.0-beta.2",
17
+ "@webiny/wcp": "5.39.0-beta.2",
18
18
  "boolean": "3.2.0",
19
19
  "camelcase": "5.3.1",
20
20
  "chalk": "4.1.2",
@@ -28,7 +28,7 @@
28
28
  "ncp": "2.0.0",
29
29
  "open": "8.4.0",
30
30
  "pirates": "4.0.5",
31
- "semver": "6.3.0",
31
+ "semver": "7.5.4",
32
32
  "ts-morph": "11.0.3",
33
33
  "typescript": "4.7.4",
34
34
  "uniqid": "5.4.0",
@@ -64,5 +64,5 @@
64
64
  ]
65
65
  }
66
66
  },
67
- "gitHead": "df94742fba6658ed3507e1e17ab53dc77bb66330"
67
+ "gitHead": "193039382160557448f23f43685f29136f58f87a"
68
68
  }