@commercetools-frontend/create-mc-app 22.23.0 → 22.23.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @commercetools-frontend/create-mc-app
2
2
 
3
+ ## 22.23.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3478](https://github.com/commercetools/merchant-center-application-kit/pull/3478) [`ec61112`](https://github.com/commercetools/merchant-center-application-kit/commit/ec611124dad11f685d24bd33fbfca92decccc130) Thanks [@CarlosCortizasCT](https://github.com/CarlosCortizasCT)! - Fix documentation links used in the cli when creating a new custom aplication or custom view.
8
+
9
+ ## 22.23.1
10
+
3
11
  ## 22.23.0
4
12
 
5
13
  ### Patch Changes
@@ -71,7 +71,7 @@ var prettier__default = /*#__PURE__*/_interopDefault(prettier);
71
71
 
72
72
  var pkgJson = {
73
73
  name: "@commercetools-frontend/create-mc-app",
74
- version: "22.23.0",
74
+ version: "22.23.2",
75
75
  description: "Create Merchant Center applications to quickly get up and running",
76
76
  bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
77
77
  repository: {
@@ -535,11 +535,9 @@ process.on('unhandledRejection', err => {
535
535
  });
536
536
  const messagesByApplicationType = {
537
537
  [applicationTypes['custom-application']]: {
538
- docsLink: 'https://docs.commercetools.com/custom-applications',
539
538
  featureName: 'Custom Application'
540
539
  },
541
540
  [applicationTypes['custom-view']]: {
542
- docsLink: 'https://docs-beta-custom-views.commercetools.vercel.app/custom-views',
543
541
  featureName: 'Custom View'
544
542
  }
545
543
  };
@@ -556,7 +554,7 @@ const run = () => {
556
554
  }).option('--yes', '(optional) If set, the prompt options with default values will be skipped.', {
557
555
  default: false
558
556
  }).option('--entry-point-uri-path <value>', '(optional) The version of the template to install. (default: starter-<hash>)').option('--initial-project-key <value>', '(optional) A commercetools project key used for the initial login in development. By default, the value is prompted in the terminal.').option('--package-manager <value>', '(optional) The preferred package manager to use: npm, yarn, pnpm.').action(async (projectDirectory, options) => {
559
- var _context, _context2, _context3;
557
+ var _context, _context2;
560
558
  if (!projectDirectory) {
561
559
  cli.outputHelp();
562
560
  return;
@@ -566,7 +564,7 @@ const run = () => {
566
564
  const taskOptions = await processOptions(projectDirectory, options);
567
565
  const messages = messagesByApplicationType[taskOptions.applicationType];
568
566
  console.log('');
569
- console.log("Documentation available at ".concat(messages.docsLink));
567
+ console.log('Documentation available at https://docs.commercetools.com/merchant-center-customizations/');
570
568
  console.log('');
571
569
  const shouldInstallDependencies = !options.skipInstall ||
572
570
  // TODO: remove once we manage to ensure the package manager is installed, for example via Corepack.
@@ -584,7 +582,7 @@ const run = () => {
584
582
  }
585
583
  console.log("$ ".concat(packageManager, " start"));
586
584
  console.log('');
587
- console.log(_concatInstanceProperty__default["default"](_context3 = "Visit ".concat(messages.docsLink, " for more info about developing ")).call(_context3, messages.featureName, ". Enjoy \uD83D\uDE80"));
585
+ console.log("Visit https://docs.commercetools.com/merchant-center-customizations/ for more info about developing ".concat(messages.featureName, ". Enjoy \uD83D\uDE80"));
588
586
  });
589
587
  cli.help();
590
588
  cli.version(pkgJson.version);
@@ -71,7 +71,7 @@ var prettier__default = /*#__PURE__*/_interopDefault(prettier);
71
71
 
72
72
  var pkgJson = {
73
73
  name: "@commercetools-frontend/create-mc-app",
74
- version: "22.23.0",
74
+ version: "22.23.2",
75
75
  description: "Create Merchant Center applications to quickly get up and running",
76
76
  bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
77
77
  repository: {
@@ -535,11 +535,9 @@ process.on('unhandledRejection', err => {
535
535
  });
536
536
  const messagesByApplicationType = {
537
537
  [applicationTypes['custom-application']]: {
538
- docsLink: 'https://docs.commercetools.com/custom-applications',
539
538
  featureName: 'Custom Application'
540
539
  },
541
540
  [applicationTypes['custom-view']]: {
542
- docsLink: 'https://docs-beta-custom-views.commercetools.vercel.app/custom-views',
543
541
  featureName: 'Custom View'
544
542
  }
545
543
  };
@@ -556,7 +554,7 @@ const run = () => {
556
554
  }).option('--yes', '(optional) If set, the prompt options with default values will be skipped.', {
557
555
  default: false
558
556
  }).option('--entry-point-uri-path <value>', '(optional) The version of the template to install. (default: starter-<hash>)').option('--initial-project-key <value>', '(optional) A commercetools project key used for the initial login in development. By default, the value is prompted in the terminal.').option('--package-manager <value>', '(optional) The preferred package manager to use: npm, yarn, pnpm.').action(async (projectDirectory, options) => {
559
- var _context, _context2, _context3;
557
+ var _context, _context2;
560
558
  if (!projectDirectory) {
561
559
  cli.outputHelp();
562
560
  return;
@@ -566,7 +564,7 @@ const run = () => {
566
564
  const taskOptions = await processOptions(projectDirectory, options);
567
565
  const messages = messagesByApplicationType[taskOptions.applicationType];
568
566
  console.log('');
569
- console.log("Documentation available at ".concat(messages.docsLink));
567
+ console.log('Documentation available at https://docs.commercetools.com/merchant-center-customizations/');
570
568
  console.log('');
571
569
  const shouldInstallDependencies = !options.skipInstall ||
572
570
  // TODO: remove once we manage to ensure the package manager is installed, for example via Corepack.
@@ -584,7 +582,7 @@ const run = () => {
584
582
  }
585
583
  console.log("$ ".concat(packageManager, " start"));
586
584
  console.log('');
587
- console.log(_concatInstanceProperty__default["default"](_context3 = "Visit ".concat(messages.docsLink, " for more info about developing ")).call(_context3, messages.featureName, ". Enjoy \uD83D\uDE80"));
585
+ console.log("Visit https://docs.commercetools.com/merchant-center-customizations/ for more info about developing ".concat(messages.featureName, ". Enjoy \uD83D\uDE80"));
588
586
  });
589
587
  cli.help();
590
588
  cli.version(pkgJson.version);
@@ -35,7 +35,7 @@ import prettier from 'prettier';
35
35
 
36
36
  var pkgJson = {
37
37
  name: "@commercetools-frontend/create-mc-app",
38
- version: "22.23.0",
38
+ version: "22.23.2",
39
39
  description: "Create Merchant Center applications to quickly get up and running",
40
40
  bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
41
41
  repository: {
@@ -499,11 +499,9 @@ process.on('unhandledRejection', err => {
499
499
  });
500
500
  const messagesByApplicationType = {
501
501
  [applicationTypes['custom-application']]: {
502
- docsLink: 'https://docs.commercetools.com/custom-applications',
503
502
  featureName: 'Custom Application'
504
503
  },
505
504
  [applicationTypes['custom-view']]: {
506
- docsLink: 'https://docs-beta-custom-views.commercetools.vercel.app/custom-views',
507
505
  featureName: 'Custom View'
508
506
  }
509
507
  };
@@ -520,7 +518,7 @@ const run = () => {
520
518
  }).option('--yes', '(optional) If set, the prompt options with default values will be skipped.', {
521
519
  default: false
522
520
  }).option('--entry-point-uri-path <value>', '(optional) The version of the template to install. (default: starter-<hash>)').option('--initial-project-key <value>', '(optional) A commercetools project key used for the initial login in development. By default, the value is prompted in the terminal.').option('--package-manager <value>', '(optional) The preferred package manager to use: npm, yarn, pnpm.').action(async (projectDirectory, options) => {
523
- var _context, _context2, _context3;
521
+ var _context, _context2;
524
522
  if (!projectDirectory) {
525
523
  cli.outputHelp();
526
524
  return;
@@ -530,7 +528,7 @@ const run = () => {
530
528
  const taskOptions = await processOptions(projectDirectory, options);
531
529
  const messages = messagesByApplicationType[taskOptions.applicationType];
532
530
  console.log('');
533
- console.log("Documentation available at ".concat(messages.docsLink));
531
+ console.log('Documentation available at https://docs.commercetools.com/merchant-center-customizations/');
534
532
  console.log('');
535
533
  const shouldInstallDependencies = !options.skipInstall ||
536
534
  // TODO: remove once we manage to ensure the package manager is installed, for example via Corepack.
@@ -548,7 +546,7 @@ const run = () => {
548
546
  }
549
547
  console.log("$ ".concat(packageManager, " start"));
550
548
  console.log('');
551
- console.log(_concatInstanceProperty(_context3 = "Visit ".concat(messages.docsLink, " for more info about developing ")).call(_context3, messages.featureName, ". Enjoy \uD83D\uDE80"));
549
+ console.log("Visit https://docs.commercetools.com/merchant-center-customizations/ for more info about developing ".concat(messages.featureName, ". Enjoy \uD83D\uDE80"));
552
550
  });
553
551
  cli.help();
554
552
  cli.version(pkgJson.version);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/create-mc-app",
3
- "version": "22.23.0",
3
+ "version": "22.23.2",
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": {
package/src/cli.ts CHANGED
@@ -23,12 +23,9 @@ process.on('unhandledRejection', (err) => {
23
23
 
24
24
  const messagesByApplicationType = {
25
25
  [applicationTypes['custom-application']]: {
26
- docsLink: 'https://docs.commercetools.com/custom-applications',
27
26
  featureName: 'Custom Application',
28
27
  },
29
28
  [applicationTypes['custom-view']]: {
30
- docsLink:
31
- 'https://docs-beta-custom-views.commercetools.vercel.app/custom-views',
32
29
  featureName: 'Custom View',
33
30
  },
34
31
  } as const;
@@ -91,7 +88,9 @@ const run = () => {
91
88
  const messages = messagesByApplicationType[taskOptions.applicationType];
92
89
 
93
90
  console.log('');
94
- console.log(`Documentation available at ${messages.docsLink}`);
91
+ console.log(
92
+ 'Documentation available at https://docs.commercetools.com/merchant-center-customizations/'
93
+ );
95
94
  console.log('');
96
95
 
97
96
  const shouldInstallDependencies =
@@ -125,7 +124,7 @@ const run = () => {
125
124
  console.log(`$ ${packageManager} start`);
126
125
  console.log('');
127
126
  console.log(
128
- `Visit ${messages.docsLink} for more info about developing ${messages.featureName}. Enjoy 🚀`
127
+ `Visit https://docs.commercetools.com/merchant-center-customizations/ for more info about developing ${messages.featureName}. Enjoy 🚀`
129
128
  );
130
129
  });
131
130