@commercetools-frontend/create-mc-app 21.0.0 → 21.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @commercetools-frontend/create-mc-app
2
2
 
3
+ ## 21.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2546](https://github.com/commercetools/merchant-center-application-kit/pull/2546) [`dc76e5a9`](https://github.com/commercetools/merchant-center-application-kit/commit/dc76e5a9a7f875dadf2ed5a11c48a1ddff7b431c) Thanks [@renovate](https://github.com/apps/renovate)! - Upgrade dependencies
8
+
9
+ ## 21.3.0
10
+
11
+ ### Patch Changes
12
+
13
+ - [#2520](https://github.com/commercetools/merchant-center-application-kit/pull/2520) [`6f3a2083`](https://github.com/commercetools/merchant-center-application-kit/commit/6f3a2083efac387e9a2994fbaaeb18914e739aa8) Thanks [@renovate](https://github.com/apps/renovate)! - Upgrade dependencies
14
+
15
+ * [#2528](https://github.com/commercetools/merchant-center-application-kit/pull/2528) [`9235a721`](https://github.com/commercetools/merchant-center-application-kit/commit/9235a721df2be2ca5753994cd11312d577d0b293) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies
16
+
17
+ ## 21.1.0
18
+
19
+ ### Patch Changes
20
+
21
+ - [#2491](https://github.com/commercetools/merchant-center-application-kit/pull/2491) [`ede1624c`](https://github.com/commercetools/merchant-center-application-kit/commit/ede1624cdd1034a343940ff0a6dd2f4d5ccb9b84) Thanks [@kark](https://github.com/kark)! - Fix compatibility with Node `< v14.18` for reading user input.
22
+
23
+ * [#2490](https://github.com/commercetools/merchant-center-application-kit/pull/2490) [`99e2a570`](https://github.com/commercetools/merchant-center-application-kit/commit/99e2a57075db6eef67f774aa1e602f87e7c773ac) Thanks [@CarlosCortizasCT](https://github.com/CarlosCortizasCT)! - Update `engines.node` attribute in `package.json` to explicitly state supported versions (not 15)
24
+
3
25
  ## 21.0.0
4
26
 
5
27
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/create-mc-app",
3
- "version": "21.0.0",
3
+ "version": "21.3.4",
4
4
  "description": "Create Merchant Center applications to quickly get up and running",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -16,15 +16,15 @@
16
16
  },
17
17
  "bin": "./bin/cli.js",
18
18
  "dependencies": {
19
- "@babel/core": "^7.16.10",
19
+ "@babel/core": "^7.17.9",
20
20
  "execa": "5.1.1",
21
21
  "listr": "0.14.3",
22
22
  "mri": "1.2.0",
23
- "prettier": "2.5.1",
23
+ "prettier": "2.6.2",
24
24
  "rcfile": "1.0.3",
25
- "semver": "7.3.5"
25
+ "semver": "7.3.6"
26
26
  },
27
27
  "engines": {
28
- "node": ">=14"
28
+ "node": "14.x || 16.x || 17.x"
29
29
  }
30
30
  }
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable no-console */
2
2
  const path = require('path');
3
- const util = require('util');
4
3
  const readline = require('readline');
5
4
  const crypto = require('crypto');
6
5
  const {
@@ -14,7 +13,9 @@ const rl = readline.createInterface({
14
13
  input: process.stdin,
15
14
  output: process.stdout,
16
15
  });
17
- const question = util.promisify(rl.question).bind(rl);
16
+
17
+ const question = (query) =>
18
+ new Promise((resolve) => rl.question(query, resolve));
18
19
 
19
20
  const getTemplateName = (flags) => flags.template || 'starter';
20
21
  const getEntryPointUriPath = async (flags) => {