@squiz/dxp-cli-next 5.20.0-develop.4 → 5.20.0-develop.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.
package/lib/cmp/deploy.js CHANGED
@@ -44,7 +44,6 @@ 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";
48
47
  const deployCommand = new commander_1.Command()
49
48
  .name('deploy')
50
49
  .argument('<source>', 'folder containing a manifest.json file')
@@ -75,7 +74,6 @@ const deployCommand = new commander_1.Command()
75
74
  const componentServiceUrl = ((_b = options.componentServiceUrl) === null || _b === void 0 ? void 0 : _b.replace(/v1\/?$/, '')) ||
76
75
  (yield buildComponentServiceUrl(options.tenant));
77
76
  if (def.type === 'server') {
78
- console.info(cli_color_1.default.yellow(SERVER_CMP_DEPRECATION_WARNING));
79
77
  yield definitions_1.ComponentPreUpload.forServer(def, outputDir);
80
78
  if (options.dryRun) {
81
79
  console.info(cli_color_1.default.yellow('INFO: Cancelling deployment due to --dry-run flag'));
@@ -40,12 +40,12 @@ The logs are currently \`bunyan\` formatted and should be piped into the bunyan
40
40
  .addOption(new commander_1.Option('-nb, --no-browser', 'Disables launching browser when starting the server'))
41
41
  .addOption(new commander_1.Option('-e, --edge-components', 'For developing components of type "edge"'))
42
42
  .action((source, options) => __awaiter(void 0, void 0, void 0, function* () {
43
+ console.warn('Warning: The command "dev" is deprecated and will be removed in a future release. Please use "dev-ui" instead');
43
44
  const input = {
44
45
  port: options.port,
45
46
  loggingFormat: options.loggingFormat,
46
47
  noBrowser: !options.browser,
47
48
  };
48
- console.log(options);
49
49
  if (options.edgeComponents) {
50
50
  yield (0, component_cli_lib_1.startEdgeDevelopmentRender)(source, input);
51
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/dxp-cli-next",
3
- "version": "5.20.0-develop.4",
3
+ "version": "5.20.0-develop.6",
4
4
  "repository": {
5
5
  "url": "https://gitlab.squiz.net/dxp/dxp-cli-next"
6
6
  },
@@ -43,7 +43,7 @@
43
43
  "@apidevtools/swagger-parser": "10.1.0",
44
44
  "@squiz/component-cli-lib": "1.68.0",
45
45
  "@squiz/dxp-porter-shared": "0.4.0",
46
- "@squiz/local-component-dev-ui": "^0.4.1",
46
+ "@squiz/local-component-dev-ui": "0.4.3",
47
47
  "@squiz/render-runtime-lib": "^1.72.0",
48
48
  "axios": "1.1.3",
49
49
  "cli-color": "2.0.3",
@@ -102,6 +102,9 @@
102
102
  "lint-staged": {
103
103
  "*.ts": "eslint --cache --cache-location .eslintcache --fix"
104
104
  },
105
+ "overrides": {
106
+ "@squiz/edge-dev-render-runtime-lib": "2.1.1"
107
+ },
105
108
  "release": {
106
109
  "branches": [
107
110
  "master",