@squiz/dxp-cli-next 5.20.0-develop.3 → 5.20.0-develop.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/lib/cmp/deploy.js CHANGED
@@ -44,6 +44,7 @@ const ApplicationConfig_1 = require("../ApplicationConfig");
44
44
  const definitions_1 = require("./utils/definitions");
45
45
  const fs = __importStar(require("node:fs/promises"));
46
46
  const path = __importStar(require("node:path"));
47
+ const SERVER_CMP_DEPRECATION_WARNING = "REMINDER: 'server' components are nearing end of life and will be replaced by 'edge' components. Please refer to the Component Service documentation for more information on migrating to, or creating 'edge' components: https://docs.squiz.net/component-service/latest/index.html";
47
48
  const deployCommand = new commander_1.Command()
48
49
  .name('deploy')
49
50
  .argument('<source>', 'folder containing a manifest.json file')
@@ -74,6 +75,7 @@ const deployCommand = new commander_1.Command()
74
75
  const componentServiceUrl = ((_b = options.componentServiceUrl) === null || _b === void 0 ? void 0 : _b.replace(/v1\/?$/, '')) ||
75
76
  (yield buildComponentServiceUrl(options.tenant));
76
77
  if (def.type === 'server') {
78
+ console.info(cli_color_1.default.yellow(SERVER_CMP_DEPRECATION_WARNING));
77
79
  yield definitions_1.ComponentPreUpload.forServer(def, outputDir);
78
80
  if (options.dryRun) {
79
81
  console.info(cli_color_1.default.yellow('INFO: Cancelling deployment due to --dry-run flag'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/dxp-cli-next",
3
- "version": "5.20.0-develop.3",
3
+ "version": "5.20.0-develop.4",
4
4
  "repository": {
5
5
  "url": "https://gitlab.squiz.net/dxp/dxp-cli-next"
6
6
  },