@jungvonmatt/contentful-migrations 5.5.1 → 5.5.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/README.md CHANGED
@@ -152,7 +152,7 @@ You can do this using the `content` command.
152
152
  ```bash
153
153
  # Transfer content from one Contentful environment to another.
154
154
  # This command will not overwrite existing content unless you say so.
155
- npx migrations content --source-env <environment> --dest-env <environment>
155
+ npx migrations content --source-environment-id <environment> --dest-environment-id <environment>
156
156
  ```
157
157
 
158
158
  ##### Optional Arguments
package/lib/config.js CHANGED
@@ -111,7 +111,7 @@ const getPromts = (data) => {
111
111
  {
112
112
  type: 'list',
113
113
  name: 'storage',
114
- message: 'How do should the migrations be managed',
114
+ message: 'How should the migrations be managed',
115
115
  choices: [
116
116
  {
117
117
  name: 'Content-model (recommended)',
package/lib/content.js CHANGED
@@ -133,7 +133,7 @@ const transferContent = async (config) => {
133
133
  });
134
134
 
135
135
  // just a small helper to add a line break after the inquiry
136
- const br = diffConflicts && (Object.keys(assetOverwrites).length || Object.keys(entryOverwrites).length) ? '\n' : '';
136
+ const br = diffConflicts && Object.keys(entryOverwrites).length ? '\n' : '';
137
137
 
138
138
  if (assets.length === 0 && entries.length === 0) {
139
139
  console.log(chalk.green(`${br}All done`), '🚀');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jungvonmatt/contentful-migrations",
3
- "version": "5.5.1",
3
+ "version": "5.5.2",
4
4
  "description": "Helper to handle migrations in contentful",
5
5
  "main": "index.js",
6
6
  "files": [