@contentstack/cli-migration 1.10.0 → 1.10.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Contentstack
3
+ Copyright (c) 2026 Contentstack
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @contentstack/cli-migration
21
21
  $ csdx COMMAND
22
22
  running command...
23
23
  $ csdx (--version)
24
- @contentstack/cli-migration/1.9.0 darwin-arm64 node-v22.14.0
24
+ @contentstack/cli-migration/1.10.2 darwin-arm64 node-v22.14.0
25
25
  $ csdx --help [COMMAND]
26
26
  USAGE
27
27
  $ csdx COMMAND
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@contentstack/cli-migration",
3
- "version": "1.10.0",
3
+ "version": "1.10.2",
4
4
  "author": "@contentstack",
5
5
  "bugs": "https://github.com/contentstack/cli/issues",
6
6
  "dependencies": {
7
- "@contentstack/cli-command": "~1.6.1",
8
- "@contentstack/cli-utilities": "~1.14.4",
7
+ "@contentstack/cli-command": "~1.7.1",
8
+ "@contentstack/cli-utilities": "~1.16.0",
9
9
  "@oclif/core": "^4.3.0",
10
10
  "@oclif/plugin-help": "^6.2.28",
11
11
  "async": "^3.2.6",
@@ -72,7 +72,7 @@ class Parser {
72
72
  base.dispatch(callsite, null, { typeErrors }, 'typeError');
73
73
  }
74
74
  } else {
75
- console.log(error);
75
+ console.log('Error', error);
76
76
  // eslint-disable-next-line
77
77
  const [, filename, line] = error.stack.match(/\/([\/\w-_\.]+\.js):(\d*):(\d*)/);
78
78
  const callsite = {
@@ -95,7 +95,7 @@ module.exports = (errors, filePath) => {
95
95
  }
96
96
  if (isEmpty(messages) && errors !== undefined && isEmpty(errorsByFile)) {
97
97
  logger.log('error', { errors: errors });
98
- console.log(chalk`{bold.red Migration unsuccessful}`);
98
+ console.log(chalk`{bold.red migration unsuccessful}`);
99
99
  } else {
100
100
  logger.log('error', { error: messages.join('\n') });
101
101
  }
@@ -12,7 +12,7 @@ function checkWritePermissionToDirectory(directory) {
12
12
  fs.accessSync(directory, fs.constants.W_OK);
13
13
  return true;
14
14
  } catch (err) {
15
- console.log(`Permission Denied! You do not have the necessary write access for this directory.`);
15
+ console.log(`Permission denied. You do not have the necessary write access for this directory.`);
16
16
  return false;
17
17
  }
18
18
  }