diff --git a/lerna.json b/lerna.json index 81870df..a1ccc37 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "packages": [ "packages/*" ], - "version": "2.0.6" + "version": "2.0.7" } diff --git a/packages/cli-plugin-contentful/README.md b/packages/cli-plugin-contentful/README.md index fd402fa..1fec19a 100644 --- a/packages/cli-plugin-contentful/README.md +++ b/packages/cli-plugin-contentful/README.md @@ -36,9 +36,9 @@ Import a Contentful project into a DatoCMS project ``` USAGE $ @datocms/cli-plugin-contentful contentful:import [--json] [--config-file ] [--profile ] [--api-token - ] [--log-level NONE|BASIC|BODY|BODY_AND_HEADERS] [--contentful-token ] [--contentful-space-id ] - [--contentful-environment ] [--autoconfirm] [--ignore-errors] [--skip-content] [--only-content-type ] - [--concurrency ] + ] [--log-level NONE|BASIC|BODY|BODY_AND_HEADERS] [--log-mode stdout|file|directory] [--contentful-token + ] [--contentful-space-id ] [--contentful-environment ] [--autoconfirm] [--ignore-errors] + [--skip-content] [--only-content-type ] [--concurrency ] FLAGS --api-token= Specify a custom API key to access a DatoCMS project @@ -54,6 +54,7 @@ FLAGS --contentful-token= Your Contentful project read-only API token --ignore-errors Ignore errors encountered during import --log-level=(NONE|BASIC|BODY|BODY_AND_HEADERS) Level of logging for performed API calls + --log-mode=(stdout|file|directory) Where logged output should be written to --only-content-type= Exclusively import the specified content types. Specify the content types you want to import with comma separated Contentful IDs - Example: blogPost,landingPage,author @@ -67,7 +68,7 @@ DESCRIPTION Import a Contentful project into a DatoCMS project ``` -_See code: [lib/commands/contentful/import.js](https://github.com/datocms/cli/blob/v2.0.6/packages/cli-plugin-contentful/lib/commands/contentful/import.js)_ +_See code: [lib/commands/contentful/import.js](https://github.com/datocms/cli/blob/v2.0.7/packages/cli-plugin-contentful/lib/commands/contentful/import.js)_ # Test diff --git a/packages/cli-plugin-contentful/package-lock.json b/packages/cli-plugin-contentful/package-lock.json index 86119fa..d7387c1 100644 --- a/packages/cli-plugin-contentful/package-lock.json +++ b/packages/cli-plugin-contentful/package-lock.json @@ -1,6 +1,6 @@ { "name": "@datocms/cli-plugin-contentful", - "version": "2.0.6", + "version": "2.0.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/cli-plugin-contentful/package.json b/packages/cli-plugin-contentful/package.json index a3400fa..d22d688 100644 --- a/packages/cli-plugin-contentful/package.json +++ b/packages/cli-plugin-contentful/package.json @@ -1,8 +1,12 @@ { "name": "@datocms/cli-plugin-contentful", - "version": "2.0.6", + "version": "2.0.7", "description": "Plugin for DatoCMS CLI to import projects from Contentful to DatoCMS", - "keywords": ["contentful", "datocms", "import"], + "keywords": [ + "contentful", + "datocms", + "import" + ], "engines": { "node": ">=12.0.0" }, @@ -11,7 +15,11 @@ "license": "MIT", "main": "lib/src/index.js", "types": "lib/src/index.d.js", - "files": ["/lib", "/npm-shrinkwrap.json", "/oclif.manifest.json"], + "files": [ + "/lib", + "/npm-shrinkwrap.json", + "/oclif.manifest.json" + ], "publishConfig": { "access": "public" }, @@ -31,7 +39,7 @@ "url": "https://github.com/datocms/cli/issues" }, "dependencies": { - "@datocms/cli-utils": "^2.0.5", + "@datocms/cli-utils": "^2.0.7", "@oclif/core": "^1.8.0", "async-scheduler": "^1.4.4", "contentful-management": "^10.6.0", diff --git a/packages/cli-plugin-wordpress/README.md b/packages/cli-plugin-wordpress/README.md index 8451dca..9236de7 100644 --- a/packages/cli-plugin-wordpress/README.md +++ b/packages/cli-plugin-wordpress/README.md @@ -35,8 +35,9 @@ Imports a WordPress site into a DatoCMS project ``` USAGE $ @datocms/cli-plugin-wordpress wordpress:import --wp-username --wp-password [--json] [--config-file - ] [--profile ] [--api-token ] [--log-level NONE|BASIC|BODY|BODY_AND_HEADERS] [--wp-json-api-url - | --wp-url ] [--autoconfirm] [--ignore-errors] [--concurrency ] + ] [--profile ] [--api-token ] [--log-level NONE|BASIC|BODY|BODY_AND_HEADERS] [--log-mode + stdout|file|directory] [--wp-json-api-url | --wp-url ] [--autoconfirm] [--ignore-errors] + [--concurrency ] FLAGS --api-token= Specify a custom API key to access a DatoCMS project @@ -47,6 +48,7 @@ FLAGS --config-file= [default: ./datocms.config.json] Specify a custom config file path --ignore-errors Try to ignore errors encountered during import --log-level=(NONE|BASIC|BODY|BODY_AND_HEADERS) Level of logging for performed API calls + --log-mode=(stdout|file|directory) Where logged output should be written to --profile= Use settings of profile in datocms.config.js --wp-json-api-url= The endpoint for your WordPress install (ex. https://www.wordpress-website.com/wp-json) @@ -62,7 +64,7 @@ DESCRIPTION Imports a WordPress site into a DatoCMS project ``` -_See code: [lib/commands/wordpress/import.js](https://github.com/datocms/cli/blob/v2.0.5/packages/cli-plugin-wordpress/lib/commands/wordpress/import.js)_ +_See code: [lib/commands/wordpress/import.js](https://github.com/datocms/cli/blob/v2.0.7/packages/cli-plugin-wordpress/lib/commands/wordpress/import.js)_ # Development diff --git a/packages/cli-plugin-wordpress/package-lock.json b/packages/cli-plugin-wordpress/package-lock.json index 3ef631e..07d956f 100644 --- a/packages/cli-plugin-wordpress/package-lock.json +++ b/packages/cli-plugin-wordpress/package-lock.json @@ -1,6 +1,6 @@ { "name": "@datocms/cli-plugin-wordpress", - "version": "2.0.5", + "version": "2.0.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/cli-plugin-wordpress/package.json b/packages/cli-plugin-wordpress/package.json index fdfa4e9..799f586 100644 --- a/packages/cli-plugin-wordpress/package.json +++ b/packages/cli-plugin-wordpress/package.json @@ -1,6 +1,6 @@ { "name": "@datocms/cli-plugin-wordpress", - "version": "2.0.5", + "version": "2.0.7", "description": "DatoCMS CLI plugin to import WordPress sites", "author": "DatoCMS ", "homepage": "https://github.com/datocms/cli", @@ -11,12 +11,16 @@ "url": "https://github.com/datocms/cli.git", "directory": "packages/cli-plugin-wordpress" }, - "files": ["/lib", "/npm-shrinkwrap.json", "/oclif.manifest.json"], + "files": [ + "/lib", + "/npm-shrinkwrap.json", + "/oclif.manifest.json" + ], "publishConfig": { "access": "public" }, "dependencies": { - "@datocms/cli-utils": "^2.0.5", + "@datocms/cli-utils": "^2.0.7", "@oclif/core": "^1.8.0", "async-scheduler": "^1.4.4", "enquirer": ">= 2.3.0 < 3", @@ -39,7 +43,10 @@ "node": ">=12.0.0" }, "bugs": "https://github.com/datocms/cli/issues", - "keywords": ["datocms", "cli"], + "keywords": [ + "datocms", + "cli" + ], "types": "lib/src/index.d.ts", "gitHead": "156eff36152666cf811463135b831818026501a0", "devDependencies": { diff --git a/packages/cli-utils/package-lock.json b/packages/cli-utils/package-lock.json index a166fc2..ccbbe81 100644 --- a/packages/cli-utils/package-lock.json +++ b/packages/cli-utils/package-lock.json @@ -1,6 +1,6 @@ { "name": "@datocms/cli-utils", - "version": "2.0.5", + "version": "2.0.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/cli-utils/package.json b/packages/cli-utils/package.json index 899739d..a19136b 100644 --- a/packages/cli-utils/package.json +++ b/packages/cli-utils/package.json @@ -1,6 +1,6 @@ { "name": "@datocms/cli-utils", - "version": "2.0.5", + "version": "2.0.7", "description": "Utils for DatoCMS CLI", "author": "Stefano Verna ", "homepage": "https://github.com/datocms/cli", @@ -10,7 +10,10 @@ "directories": { "lib": "lib" }, - "files": ["lib", "src"], + "files": [ + "lib", + "src" + ], "publishConfig": { "access": "public" }, diff --git a/packages/cli/README.md b/packages/cli/README.md index e9b093a..ab181a5 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -96,7 +96,7 @@ Destroys a sandbox environment ``` USAGE $ datocms environments:destroy [ENVIRONMENT_ID] [--json] [--config-file ] [--profile ] [--api-token - ] [--log-level NONE|BASIC|BODY|BODY_AND_HEADERS] + ] [--log-level NONE|BASIC|BODY|BODY_AND_HEADERS] [--log-mode stdout|file|directory] ARGUMENTS ENVIRONMENT_ID The environment to destroy @@ -105,6 +105,7 @@ FLAGS --api-token= Specify a custom API key to access a DatoCMS project --config-file= [default: ./datocms.config.json] Specify a custom config file path --log-level=(NONE|BASIC|BODY|BODY_AND_HEADERS) Level of logging for performed API calls + --log-mode=(stdout|file|directory) Where logged output should be written to --profile= Use settings of profile in datocms.config.js GLOBAL FLAGS @@ -114,7 +115,7 @@ DESCRIPTION Destroys a sandbox environment ``` -_See code: [lib/commands/environments/destroy.js](https://github.com/datocms/cli/blob/v2.0.5/packages/cli/lib/commands/environments/destroy.js)_ +_See code: [lib/commands/environments/destroy.js](https://github.com/datocms/cli/blob/v2.0.7/packages/cli/lib/commands/environments/destroy.js)_ ## `datocms environments:fork SOURCE_ENVIRONMENT_ID NEW_ENVIRONMENT_ID` @@ -123,7 +124,8 @@ Creates a new sandbox environment by forking an existing one ``` USAGE $ datocms environments:fork [SOURCE_ENVIRONMENT_ID] [NEW_ENVIRONMENT_ID] [--json] [--config-file ] [--profile - ] [--api-token ] [--log-level NONE|BASIC|BODY|BODY_AND_HEADERS] [--force --fast] + ] [--api-token ] [--log-level NONE|BASIC|BODY|BODY_AND_HEADERS] [--log-mode stdout|file|directory] + [--force --fast] ARGUMENTS SOURCE_ENVIRONMENT_ID The environment to copy @@ -137,6 +139,7 @@ FLAGS --force Forces the start of a fast fork, even there are users currently editing records in the environment to copy --log-level=(NONE|BASIC|BODY|BODY_AND_HEADERS) Level of logging for performed API calls + --log-mode=(stdout|file|directory) Where logged output should be written to --profile= Use settings of profile in datocms.config.js GLOBAL FLAGS @@ -146,7 +149,7 @@ DESCRIPTION Creates a new sandbox environment by forking an existing one ``` -_See code: [lib/commands/environments/fork.js](https://github.com/datocms/cli/blob/v2.0.5/packages/cli/lib/commands/environments/fork.js)_ +_See code: [lib/commands/environments/fork.js](https://github.com/datocms/cli/blob/v2.0.7/packages/cli/lib/commands/environments/fork.js)_ ## `datocms environments:index` @@ -155,8 +158,8 @@ Lists primary/sandbox environments of a project ``` USAGE $ datocms environments:index [--json] [--config-file ] [--profile ] [--api-token ] [--log-level - NONE|BASIC|BODY|BODY_AND_HEADERS] [--columns | -x] [--sort ] [--filter ] [--output - csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ] + NONE|BASIC|BODY|BODY_AND_HEADERS] [--log-mode stdout|file|directory] [--columns | -x] [--sort ] + [--filter ] [--output csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ] FLAGS -x, --extended show extra columns @@ -166,6 +169,7 @@ FLAGS --csv output is csv format [alias: --output=csv] --filter= filter property by partial string matching, ex: name=foo --log-level=(NONE|BASIC|BODY|BODY_AND_HEADERS) Level of logging for performed API calls + --log-mode=(stdout|file|directory) Where logged output should be written to --no-header hide table header from output --no-truncate do not truncate output to fit screen --output=